*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #c5f8f8;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #885df1;
}

.weather-app {
    background: #fff;
    max-width: 600px;
    margin: 45px auto;
    box-shadow: 0 30px 50px rgba(65, 50, 100, 0.08);
    border-radius: 16px;
    padding: 30px;
}

/* Header search layout */
.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-form-input {
    background-color: #f1e2f9;
    border: none;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
}

.search-form-button {
    background: #ec5df1;
    padding: 12px 18px;
    border: none;
    font-size: 16px;
    border-radius: 6px;
    color: white;
}

/* Main layout */
main {
    padding: 30px 0;
}

.weather-app-data {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.weather-app-city {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
}

.weather-app-details {
    font-size: 0.95rem;
    color: rgba(28, 14, 91, 0.6);
    line-height: 1.4;
    font-weight: 500;
}

.weather-app-details strong {
    color: #cd2759;
}

/* Temperature and icon container */
.weather-app-temperature-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-app-icon,
#icon {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
}

.weather-app-temperature {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.weather-app-unit {
    font-size: 1.25rem;
    color: #333;
}

/* Forecast */
.weather-forecast {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    gap: 12px;
    flex-wrap: wrap;
}

.weather-forecast-date {
    text-align: center;
    color: rgba(39, 33, 66, 0.6);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.weather-forecast-icon {
    width: 88px;
    height: 88px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.weather-forecast-temperatures {
    text-align: center;
    color: #f65282;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.weather-forecast-temperature {
    padding: 0 6px;
}


footer {
    border-top: 1px solid #f9f7fe;
    padding: 30px 0 0 0;
    text-align: center;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}
