body {
  background-color: #d7eaf2;
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  padding: 0 20px;
}

h1 {
  text-align: center;
}

a {
  color: rgb(11, 11, 66);
}

i {
  color: #ffd700;
  font-size: 38px;
}

header {
  font-size: 28px;
  color: rgb(11, 11, 66);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  letter-spacing: 1px;
  font-weight: 600;
}

footer {
  border-top: 2px solid #f9f7fe;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 14px;
  color: rgb(11, 11, 66);
}

.currently-weather {
  background: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  max-width: 900px;
  margin: 45px auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;

  margin-top: 40px;
  width: 80%;
  align-items: flex-start;
}

.weather-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  align-items: flex-start;
}

.weather-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  height: 100%;
  min-height: 280px;
}

.weather-app-city {
  margin: 0;
  padding: 0;
  font-size: 38px;
  line-height: 48px;
  color: #e6f2ff;
  font-weight: 600;
  letter-spacing: 1px;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.weather-temp-row {
  margin: 0;
  padding: 0;
}

.weather-card {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.info-box {
  padding: 20px 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  text-align: center;
  color: #bbd4f0;

  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.search-form {
  width: 80%;
}

.weather-app-icon {
  width: 180px;
  height: 180px;
}

.weather-app-details {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;

  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);

  letter-spacing: 0.5px;
  margin-top: auto;
}

.weather-app-temperature {
  font-size: 64px;
  margin: 0;
  font-weight: 700;
  color: #ffffff;

  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

  letter-spacing: 1px;
}

.weather-forecast {
  background: #f9f7fe;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  max-width: 900px;
  margin: 45px auto;
  padding: 40px;
  border-radius: 20px;
}

.weather-forecast-date {
  text-align: center;
  color: rgba(37, 23, 101, 0.4);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 10px;
}

.weather-forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.weather-forecast-icon {
  width: 50px;
  height: 50px;
  margin: 5px 0;
}

.weather-forecast-temperatures {
  display: flex;
  justify-content: center;
}

.weather-forecast-temperature strong {
  text-align: center;
  color: rgb(171, 40, 40);
}

.weather-forecast-temperature {
  padding: 0 10px;
  color: rgb(32, 32, 148);
}

.search-form-input {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  width: 75%;
  padding: 12px 16px;
  font-size: 16px;
  text-align: left;

  backdrop-filter: blur(8px);

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

  outline: none;
  transition: all 0.25s ease;
}

.search-form-input:focus {
  border: 2px solid #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.search-form-button {
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 10px;
  width: 20%;
  padding: 12px;
  font-size: 16px;
  color: rgb(11, 11, 66);
  font-weight: 700;
  margin-left: 8px;
  cursor: pointer;

  backdrop-filter: blur(8px);

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

  transition: all 0.25s ease;
}

.search-form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .weather-app-data {
    flex-direction: column;
    align-items: center;
  }

  .weather-right {
    margin-top: 20px;
    align-items: center;
  }

  .search-form-input {
    width: 100%;
  }

  .search-form-button {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }

  .weather-forecast {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px;
  }

  .weather-forecast-day {
    width: calc(33% - 15px);
  }
}
