* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.blur {
  filter: blur(0.1rem);
}

.container {
  background: linear-gradient(to right, #6d53dc, #dc5356);
  min-height: 100vh;
  min-width: 100vw;
}

/* HEADER */
header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 1rem;
}

header h1 {
  color: #fff;
}

header input {
  width: 100%;
  height: 2.2rem;
  border-radius: 0.8rem;
  border: 0.2rem solid transparent;
}

header .results {
  position: absolute;
  top: 6rem;
  width: calc(100% - 2rem);
  max-height: 50vh;
  background: #333333c6;
  padding: 0.2rem 1rem;
  border-radius: 1rem;
}

header .results p {
  font-weight: bold;
  color: #fff;
  padding: 0.4rem;
}

header .results p .link {
  color: white;
  text-decoration: none;
}

/* LOCATIONS */

.location-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8rem;
  border: 1px solid gray;
  border-radius: 1.5rem;
  padding: 1rem;
  margin: 1rem 1rem;
  flex-wrap: wrap;
  width: calc(100% - 2rem);
  color: #ffff;
}

.location-wrapper .info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.5rem;
}

.location-wrapper .info2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
}

.location-wrapper .info2 .icon i {
  position: relative;
  top: -4rem;
}

@media only screen and (max-width: 575px) {
  .location-wrapper .info {
    padding: 0;
  }
  .location-wrapper .info2 {
    width: 100%;
    justify-content: space-between;
    padding: 0;
  }
  .location-wrapper .info2 .icon i {
    position: relative;
    top: -5rem;
  }
}
.location-wrapper .info2 .icon span {
  font-size: 4rem;
}

/* WEATHER PAGE */

.weather-wrapper {
  min-width: 100vw;
  min-height: 100vh;
  background: linear-gradient(145deg, #8a84e2, #84fab0, #ffd3a5);
}

.weather-wrapper .btn {
  min-width: calc(100% - 2rem);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.weather-wrapper .btn button {
  padding: 1rem;
  width: 100px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #fff;
  font-weight: bold;
  opacity: 2;
  cursor: pointer;
}

.weather-wrapper .location {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.weather-wrapper .location h1 {
  color: #fff;
  font-size: 4rem;
}

.weather-wrapper .datas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.weather-wrapper .datas .icon {
  font-size: 12rem;
}

.weather-wrapper .datas p {
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
}

/* DAY */

.weather {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.day {
  /* background-color: #f0d2ce; */
  padding: 1.6rem 0 2rem;
  width: 12.8rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
}

.day span {
  font-size: 5.2rem;
}

.day.important {
  background-color: #ecc5c0;
  outline: 2px solid #222;
}

@media only screen and (max-width: 575px) {
  .weather-wrapper .location h1 {
    color: #fff;
    font-size: 2rem;
  }
  .weather-wrapper .datas .icon {
    font-size: 6rem;
  }

  .weather {
    padding: 0 0.8rem;
  }

  .day span {
    font-size: 2.2rem;
  }

  .day p {
    font-size: 0.8rem;
  }
}
