﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8faff, #eaf0ff);
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.weather-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 80px;
    animation: fadeInUp 1.5s ease;
}

.weather-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.weather-container h2 {
    color: #1f3b73;
    font-size: 2em;
    margin-bottom: 10px;
}

.subtitle {
    color: #555;
    margin-bottom: 30px;
}

.weather-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.weather-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(57, 125, 250, 0.25);
}

.weather-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.weather-icon {
    font-size: 48px;
    color: #397DFA;
}

#temperature {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 15px 0;
    color: #1f3b73;
}

.weather-details {
    margin-top: 20px;
    text-align: left;
    color: #555;
}

.weather-details p {
    margin-bottom: 8px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    background-color: #397DFA;
    color: white;
    text-align: center;
    padding: 18px 0;
    width: 100%;
    font-size: 0.95em;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    margin-top: auto;
}

.map-container iframe {
    width: 400px;
    border-radius: 12px;

}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 100px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    right: 0;
}

.dropdown-content a {
    color: #000;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.user-dropdown.show .dropdown-content {
    display: block;
}



@media (max-width: 768px) {
    .weather-section {
        flex-direction: column;
        padding: 80px 20px 40px;
    }

    .weather-card {
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;

    }

    .weather-header h3 {
        font-size: 1.5rem;
    }

    #temperature {
        font-size: 2rem;
    }
}