/* -------  General Styles ------- */

body {
  font-family: "Lato", sans-serif;
}

h2 {
  display: flex;
  font-size: 26px;
  font-weight: 400;
  margin: 0 10px 10px 10px;
  justify-content: center;
  flex-wrap: wrap;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  font-weight: bold;
}

p {
  line-height: 1.5em;
  margin: 0;
}

section {
  padding: 20px;
}

section.alternate-background {
  background-color: #00a699;
  color: #fff;
}

main img {
  width: 100%;
}


/* ---  Groups & Items --- */

.group, .about, .ideas1, .ideas2, .host {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.item, .item1, .item2 {
  flex: 1;
  margin: 10px;
}

.item-double {
  flex: 1;
  margin: 10px;
}

/* -------  Navigation ------- */

header {
  background-color: #ff385c;
  padding: 20px 20px 0 20px;
  text-align: center;
}

.logo {
  font-family: "Pangolin", cursive;
  font-size: 51px;
  color: #fff;
}
header nav {
  display: flex;
  justify-content: center;
}

header nav ul {
  display: flex;
}

header nav ul li {
  list-style-type: none;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0 20px 0 0;
}

header nav ul li a:hover {
  color: #bdbdbd;
  text-decoration: none;
}

/* -------  Search Form ------- */
form {
  border: 2px solid #ff385c;
  padding: 10px;
  margin-top: 22px;
}


div.form {
  display: flex;
}

form label {
  font-weight: bold;
}


form select,
form input {
  margin-bottom: 20px;
  width: 15px;
}

form button {
  background-color: #ff385c;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 15px;
  width: 100%;
  margin-top: 20px;
}

/* -------  Footer ------- */

footer {
  background-color: #ff385c;
}

footer p {
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* -------  Media Query ------- */
@media all and (min-width: 480px) {
header {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  align-items: center;
}

.logo {
  font-size: 41px;
}

form  {
  display: flex;
  justify-content: space-between;
  width: 97%;
}

div.form {
flex-direction: column;

}
 
form input, form label, form select {
  margin: 0px;
  width: 100%
} 

form label.item {
  padding: 0;
  margin: 0;
  font-size: 14px;
}

form input.item, form select.item {
  margin: 0;
}

form button {
  width: 10%;
  font-size: 12px;
  padding: 2px;
  margin-top: 10px;
  /* padding-right: 40px; */
}

 .about {
  flex-direction: row;
  align-items: center;
}

.item-double {
  flex: 2;
}

.ideas1, .ideas2 {
  flex-direction: row;
}

.host {
  flex-direction: row;
  align-items: center;
}

}