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

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

h2 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 10px 10px 10px;
  text-align: center;
}

h3 {
  font-size: 18px;
  font-weight: 500;
}

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

section {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

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

main img {
  width: 100%;
  margin-bottom: 20px
}

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

.group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

header {
  background-color: #ff385c;
  padding: 0;
  text-align: center;
  margin: 0;
  width: 100%;
}

header nav {
  display: flex;
  justify-content: center;
}

header nav ul {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  list-style: none;
}

.logo {
  font-family: "Pangolin", cursive;
  font-size: 60px;
  color: #fff;
}

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 {
  display: flex;
  flex-direction: column;
  border: 2px solid #ff385c;
  padding: 10px;
}

form div {
  display: flex;
  justify-content: space-between;
}

form label {
  font-weight: bold;
}

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

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

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

footer {
  background-color: #ff385c;
  width: 100%;
}

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;
      align-items: center;
      
  }

  .logo {
    font-family: "Pangolin", cursive;
    font-size: 40px;
    color: #fff;
    padding: 7px;
  }

  
  header nav ul li a:hover{
      color: pink;
  }

  form {
    display: flex;
    flex-direction: row;
    border: 2px solid #ff385c;
    padding: 15px 10px 0px 10px;
    justify-content: space-between;
    /* max-width: 100%; */
  }
  
  form div {
    display: flex;
    flex-direction: column;
    width: 15%;
    padding-left: 15px;
    padding-right: 15px;
    
  }

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

  form button {
    background-color: #ff385c;
    border: none;
    color: #fff;
    font-size: 17px;
    padding: 15px;
    width: 200px;
    margin-bottom: 15px;
    margin-right: 5px;
    /* padding-right: 20px; */
  }

  .group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    
  }

  .item {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
  }

  .item-double {
    flex: 2;
  }

  /* @media all and (max-width:360px){
    .logo {
    font-family: "Pangolin", cursive;
    font-size: 40px;
    color: #fff;
    padding: 7px;
  }
     */

}