* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(#20d2fe, #a538fe);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 1rem 1rem;
}

header input {
  /*width: 100%;*/
  width: 300px;
  padding: 1rem;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 1rem;
  border-bottom: 3px solid #a538fe;
  color: white;
  font-size: 1rem;
  font-weight: 300;
  transition: all 0.4 ease-out;
}

header input:focus {
  background-color: rgba(0, 0, 0, 0.3);
}

main {
  flex: 1 1 100%;
  padding: 1.6rem 1.6rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.location .city {
  color: #eee;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.location .date {
  color: #fff;
  font-size: 1rem;
}
.current .temp {
  color: #fff;
  font-size: 8rem;
  font-weight: 900;
  margin: 2rem 0;
  text-shadow: 2px 10px rgba(0, 0, 0, 0.6);
}

.current .temp span {
  font-weight: 600;
}

.current .weather {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1rem;
  text-shadow: 0 3px rgba(0, 0, 0, 0.4);
}

.current .hi-low {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  header {
    padding: 5rem 1rem 1rem;
  }

  .current .temp {
    font-size: 7rem;
  }
}
@media (max-width: 360px) {
  .current .temp {
    font-size: 7rem;
  }
}

@media (max-width: 320px) {
  .current .temp {
    font-size: 6rem;
  }
}
