body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  font-family: 'Montserrat', 'Courier New', Courier, monospace;
  font-weight: bold;
}

main {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(0deg, rgba(238,242,243,1) 0%, rgba(142,158,171,1) 100%);
}

h1 {
  text-align: center;
  margin: 10px 0;
}

h3 {
  text-align: center;
  margin: 0;
}

p {
  margin: 5px 0;
}

header {
  background: rgb(142,158,171);
  height: 50px;
}

.city-selector {
  display: none;
}

.city-search {
  display: flex;
  justify-content: center;
  align-items: center;
}

select {
  height: 30px;
  width: 150px;
  font-size: 15px;
  font-weight: bold;
  margin: 5px 10px;
}

input {
  height: 30px;
  width: 142px;
  font-size: 15px;
  font-weight: bold;
  margin: 5px 10px;
}

.today {
  padding: 10px 0;
  border-bottom-left-radius: 80% 20%;
  border-bottom-right-radius: 80% 20%;
}

.weather {
  display: flex;
  justify-content: space-around;
}

.image {
  text-align: center;
  margin-top: -15px;
}

.forecasts {
  margin: 20px 10%;
}

.forecast {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.day-name {
  justify-self: start;
}

.day-icon {
  justify-self: center;
  margin-top: -10px;
}

.day-temp {
  justify-self: end;
}

@media (min-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  header {
    display: flex;
    justify-content: space-around;
  }

  main {
    width: 360px;
    height: fit-content;
    border-radius: 15px;
    box-shadow:10px 10px 5px 0px rgba(20,20,20,0.75);
  }

  header {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .city-selector {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .today {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 25px 0;
  }
}

@media (min-width: 1024px) {
  main {
    display: flex;
    flex-direction: row;
    width: 800px;
  }

  .today {
    border-top-right-radius: 30% 80%;
    border-bottom-right-radius: 30% 80%;
    border-bottom-left-radius: 15px;
    width: 55%;
  }

  .forecasts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 5%;
    width: 35%;
  }  
}