body {
    background-color: black;
    background-image: url("https://i.postimg.cc/1Xhr9mcq/water-fall.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: "Roboto", sans-serif;
}

.weather-app {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    max-width: 900px;
    margin: 100px auto;
    box-shadow: 0 30px 50px rgba(65, 50, 100, 1.0);
    border-radius: 16px;
    padding: 30px;
}

header {
    border-bottom: 1px solid #f9f7fe;
    padding: 0 0 30px 0;
}

.search-form-input {
    background-color: #f9f7fe;
    border: none;
    border-radius: 6px;
    width: 80%;
    font-size: 16px;
    padding: 15px 20px;
    opacity: 0.5;
}

.search-form-button {
    background: navy;
    padding: 15px 30px;
    border: none;
    font-size: 16px;
    margin-left: 5px;
    border-radius: 6px;
    color: white;
    opacity: 0.7;
}

.search-form-button:hover {
    background-color: #95BBE9;
    color: black;
}

main {
    padding: 30px 0;
}

.weather-app-data {
    color: white;
    display: flex;
    justify-content: space-between;
}

.weather-app-city {
    color: white;
    margin: 0;
    font-size: 38px;
    line-height: 48px;
}

.weather-app-details {
    font-size: 16px;
    color: rgba(365, 365, 365);
    line-height: 24px;
    font-weight: 500;
}

.weather-app-details strong {
    color: #f65282;
}

.weather-app-temperature-container {
    display: flex;
}

.weather-app-icon {
    width: 88px;
    height: 88px;
}

.weather-app-temperature {
    font-size: 88px;
    line-height: 88px;
    font-weight: bold;
}

.weather-app-unit {
    margin-top: 6px;
    font-size: 28px;
}

.weather-forecast {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.weather-forecast-date {
    text-align: center;
    color: rgba(365, 365, 365);
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
}

.weather-forecast-icon {
    width: 88px;
    height: 88px;
    display: block;
    margin: 0 auto;
}

.weather-forecast-temperatures {
    text-align: center;
    color: #f65282;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.weather-forecast-temperature {
    padding: 0 10px;
}

footer {
    border-top: 1px solid #f9f7fe;
    padding: 30px 0 0 0;
    text-align: center;
    font-size: 14px;
    color: white;
}

a {
    color: #f65282;
    text-decoration: none;
}

@media screen and (max-width: 700px) {
  .weather-app {
    max-width: 700px;
  }
  .search-form-input {
    width: 72%;
  }
  .weather-app-details {
    font-size: 13px;
  }
  .weather-app-icon {
    width: 60px;
    height: 60px;
  }
  .weather-app-temperature {
    font-size: 55px;
    line-height: 55px;
  }
  .weather-app-unit {
    margin-top: 1px;
    font-size: 25px;
  }
  .weather-forecast {
    margin-top: 20px;
  }
  .weather-forecast-date {
    font-size: 15px;
    line-height: 15px;
  }
  .weather-forecast-icon {
    width: 45px;
    height: 45px;
  }
  .weather-forecast-temperatures {
    margin-top: 10px;
  }
  .weather-forecast-temperature {
    padding: 0 2.5px;
  }
  footer {
    padding: 20px 0 0 0;
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {
    .weather-app {
        max-width: 500px;
    }
    .search-form-input {
        width: 70%;
    }
    .weather-app-city {
        font-size: 30px;
        line-height: 30px;
    }
    .weather-app-details {
        font-size: 13px;
    }
    .weather-app-icon {
        width: 60px;
        height: 60px;
    }
    .weather-app-temperature {
        font-size: 55px;
        line-height: 55px;
    }
    .weather-app-unit {
        margin-top: 1px;
        font-size: 25px;
    }
    .weather-forecast {
        margin-top: 20px;
    }
    .weather-forecast-date {
        font-size: 15px;
        line-height: 15px;
    }
    .weather-forecast-icon {
        width: 45px;
        height: 45px;
    }
    .weather-forecast-temperatures {
        margin-top: 10px;
    }
    .weather-forecast-temperature {
        padding: 0 2.5px;
    }
    footer {
        padding: 20px 0 0 0;
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .weather-app {
        max-width: 400px;
    }
    .search-form-input {
        width: 63%;
        margin-left: -20px;
    }
    .weather-app-city {
        font-size: 25px;
        line-height: 25px;
        margin-left: -20px;
    }
    .weather-app-details {
        font-size: 10px;
        margin-left: -20px;
    }
    .weather-app-icon {
        width: 50px;
        height: 50px;
    }
    .weather-app-temperature {
        font-size: 50px;
        line-height: 50px;
    }
    .weather-app-unit {
        margin-top: 1px;
        font-size: 20px;
    }
    .weather-forecast {
        margin-top: 10px;
    }
    .weather-forecast-date {
        font-size: 10px;
        line-height: 10px;
        margin-bottom: 5px;
        margin-left: -50px;
    }
    .weather-forecast-icon {
        margin-left: -17px;
        width: 35px;
        height: 35px;
    }
    .weather-forecast-temperatures {
        margin-left: -23px;
        margin-top: 5px;
        padding: 0 7px;
    }
    .weather-forecast-temperature {
        padding: 0 15.5px;
        margin-left: -25px;
    }
    footer {
        padding: 15px 0 0 0;
        font-size: 10px;
    }
}