

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}




.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}




table {
    width: 80%;
    margin: 30px auto;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ccc;
}

th {
    background-color: #eee;
}




.weather-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}




.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.location {
    margin: 0;
    font-size: 18px;
    color: #6b7280;
}

.weather-header h1 {
    margin: 5px 0 0;
    font-size: 32px;
    font-weight: 800;
    text-transform: capitalize;
}

.clock-container {
    text-align: right;
}

    .clock-container span {
        display: block;
        margin-bottom: 3px;
        color: #6b7280;
        font-size: 14px;
        font-weight: 700;
    }

#clock {
    font-size: 24px;
    font-weight: 800;
}




.weather-card {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: white;
}


   

    .weather-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.30);
        z-index: 0;
    }


    

    .weather-card > * {
        position: relative;
        z-index: 1;
    }



.weather-rain {
    background-image: url('../images/weather/rain.gif');
}

.weather-snow {
    background-image: url('../images/weather/snow.gif');
}

.weather-thunder {
    background-image: url('../images/weather/thunder.gif');
}

.weather-fog {
    background-image: url('../images/weather/fog.gif');
}

.weather-clear {
    background-image: url('../images/weather/clear.gif');
}

.weather-cloudy {
    background-image: url('../images/weather/cloudy.gif');
}

.weather-default {
    background-image: url('../images/weather/default.gif');
}




.main-weather {
    text-align: center;
}

.weather-symbol {
    margin-bottom: 15px;
    font-size: 90px;
    line-height: 1;
}

.temperature {
    color: white;
    font-size: 64px;
    font-weight: 800;
}

.weather-description {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    font-weight: 700;
}




.weather-info {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.info-box {
    flex: 1;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

    .info-box span {
        display: block;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.80);
        font-size: 14px;
        font-weight: 700;
    }

    .info-box strong {
        color: white;
        font-size: 20px;
        font-weight: 800;
    }




.forecast-card {
    margin-top: 35px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

    .forecast-card h2 {
        margin: 0 0 20px;
        color: white;
        font-size: 22px;
        font-weight: 800;
    }

.forecast-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.forecast-symbol {
    font-size: 45px;
}

.forecast-item strong {
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.forecast-item p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 700;
}




@media (max-width: 600px) {

    .weather-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .clock-container {
        text-align: left;
    }

    .weather-card {
        padding: 30px 20px;
    }

    .weather-info {
        flex-direction: column;
    }

    .temperature {
        font-size: 52px;
    }

    .weather-symbol {
        font-size: 75px;
    }
}
