* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato';
  background-color: #e1ebfa;
}

.header-container {
  background-color: #5898fc;
  padding: 15px;
}

.header {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Sansita Swashed';
  color: #c6d9f7;
  text-align: center;
}

.header em {
  font-size: 1.5em;
}

.header img {
  width: 40px;
}

.page {
  width: 99%;
  margin: auto;
  padding-bottom: 20px;
}

.weatherForm {
  margin: 35px 0;
  align-items: center;
  text-align: center;
}

.weatherResults {
  margin: 20px 0;
  border-radius: 10px;
  background-color: #8fb7f2;
  width: 100%;
  padding: 20px;
  padding-bottom: 30px;
  text-align: center;
}

.weatherInfo {
  width: 99%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.weatherInfo div {
  width: 50%;
}

.weatherInfo p {
  margin-top: 5px;
}

.forecastResults {
  margin-top: 20px;
  border-radius: 10px;
  background-color: #9fc2f5;
  width: 100%;
  padding: 10px 20px 20px 20px;
  text-align: center;
}

.forecastResults h3 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.forecastInfoContainer {
  background-color: #abcaf7;
  width: 100%;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
}

.forecastInfo {
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.forecastInfo div {
  width: 49%;
  padding-bottom: 5px;
  text-align: center;
}

.footer {
  background-color: #5898fc;
}

.credits {
  text-align: center;
}

.github,
.github:visited {
  font-family: 'Sansita Swashed';
  color: black;
  font-size: 1.2em;
  text-decoration: none;
}

/* tablets */
@media screen and (min-width: 420px) {
  .header {
    font-size: 30px;
  }
  .header img {
    width: 60px;
  }
  .weatherResults {
    text-align: left;
  }
  .weatherInfo div {
    width: auto;
  }
  .forecastResults {
    text-align: left;
  }
  .forecastInfo div {
    width: 25%;
  }
}

/* desktop */
@media screen and (min-width: 1001px) {
  .header {
    text-align: left;
  }
  .page {
    width: 80%;
  }
  .weatherInfo {
    width: 70%;
  }
  .forecastInfoContainer {
    width: 80%;
  }
  .forecastInfo div {
    width: auto;
  }
}
