

body {
    background: linear-gradient(to right, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
    font-family: 'Noto Sans', sans-serif;
}

header {
    border-bottom: 0.5px solid #eed1da;
}

main {
    margin-top: 50px;
    margin-bottom: 30px;
}

strong {
    color: #d15a7c;
}

a {
    color: #d15a7c;
}

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

.weather-app {
    max-width: 600px;
    margin: 150px auto;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.search-form-input {
    flex: 1;
    padding: 20px;
    font-size: 1rem;
    width: 80%;
    border: 0.5px solid #0d53bb;
    border-radius: 10px;
    background: #fcf4f4;
    box-sizing: border-box;
}

.search-form-button {
    padding: 20px;
    font-size: 14px;
    background-color: #0e3a7d;
    color: white;
    border: none;
    border-radius: 10px;
    width: 18%;
    margin-left: 8px;
    box-sizing: border-box;
}

.weather-app-details {
    color: rgba(0, 0, 0, 0.3);
    font-weight: 400;
    line-height: 30px;
}

.weather-app-city {
    font-size: 45px;
    line-height: 50px;
    margin: 0;
}

.weather-app-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
}

.weather-app-current-temperature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin-top: 10px;
}

.current-temperature-top {
    display: flex;
    align-items: center;
    gap: 4px;
}

.current-temperature-bottom {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.current-temperature {
    font-size: 80px;
    font-weight: bold;
    margin-left: 8px;
    line-height: 88px;
}

.icon {
    font-size: 50px;
    margin-top: 15px;
}

.unit {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 25px;
}

.time {
    font-weight: 600;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.weather-forecast {
    text-align: center;
    margin-top: 75px;
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-around;
}

.weather-forecast-day {
    font-size: 20px;
    color: #d15a7c;
    font-weight: 600;
}

.weather-forecast-temperature {
    font-size: 16px;
    display: flex;
    justify-content: space-evenly;
}

.weather-forecast-temperature-max {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
}

.weather-forecast-temperature-min {
    color: rgba(0, 0, 0, 0.3);
}

.weather-forecast-icon {
    width: 65px;
    height: 66px;
    display: block;
    margin: 10px;
}

.weather-forecast .row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 600px) {
    .weather-app {
        max-width: 100%;
        margin: 0;
        padding: 12px;
        border-radius: 0;
    }

    .weather-app-data {
        flex-direction: column;
        gap: 16px;
    }

    .weather-app-current-temperature {
        min-width: unset;
    }

    .search-form {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .weather-app {
        padding: 10px;
        margin: 40px auto;
    }

    main{
        margin-top: 30px;
    }

    .weather-app-city {
        font-size: 28px;
        line-height: 32px;
        text-align: center;
    }

    .weather-app-details {
        font-size: 14px;
        line-height: 18px;
        text-align: center;
    }

    .weather-app-current-temperature {
        margin-top: 0px;
    }

    .current-temperature {
        font-size: 48px;
        line-height: 52px;
        margin-left: 4px;
    }

    .current-temperature-top {
        display: flex;
        align-items: center;
        gap: 1px;
    }

    .unit {
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .icon {
        font-size: 32px;
        margin-top: 0;
    }

    .current-temperature-bottom,
    .weather-forecast-day,
    .weather-forecast-temperature {
        font-size: 14px;
        line-height: 18px;
    }

    .search-form {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .search-form-input {
        font-size: 14px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .search-form-button {
        padding: 10px;
        font-size: 12px;
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }

    .weather-forecast-icon {
        width: 40px;
        height: 40px;
        margin: 4px;
    }

    .weather-forecast {
        margin-top: 45px;
    }
}



