/* ----------------------------
    Global Styles
----------------------------- */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(-45deg, #ff0055, #0077ff, #00ffcc, #006eff);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ----------------------------
    Container
----------------------------- */
.container {
    max-width: 600px;
    margin-top: 40px;
}

/* ----------------------------
    Input Group Styling
----------------------------- */
.input-group {
    margin-top: 50px;
    margin-bottom: 30px;
}

.input-group .form-control {
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 18px;

}

/* Button Style */
.input-group button {
    border-radius: 40px;
    background: linear-gradient(#1900ff, #08921a);
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3 !important;
    transform: scale(1.05);
}

/* ----------------------------
    Weather Card
----------------------------- */
#weatherCard {
    background: rgba(235, 233, 137, 0.9);
    color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden by default */
    margin-top: 30px;
}

#weatherCard h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

#weatherCard p {
    font-size: 16px;
    margin: 5px 0;
}

/* Weather Icon */
#pic {
    width: 120px;
    height: auto;
    margin-top: 20px;
}

/* ----------------------------
    Footer
----------------------------- */
footer {
    margin-top: 60px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}

footer p {
    font-size: 15px;
    margin: 0;
}

/* ----------------------------
    Background Animation
----------------------------- */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}