/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&family=Montserrat:wght@300;400;600&display=swap');

/* General Styles */
body {
    font-family: 'Lora', serif;
    text-align: center;
    background: url("images/clear-sky.jpg") no-repeat center center fixed;
    background-size: cover; /* Ensures it fits the entire screen without zooming */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 1s ease-in-out;
}

/* Frosted Glass Effect */
.container {
    padding: 25px;
    width: 320px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.5s ease-in-out;
}

/* Weather Info */
#city {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Temperature Styling */
#temp {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
}

/* Number Style */
.big-temp {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
}

/* Degree Symbol Style */
.degree {
    font-family: 'Poppins', serif; /* OR Montserrat */
    font-size: 40px;
    font-weight: 500;
    margin-left: 5px;
    color: #ffffff;
}



#desc {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
    color: #ffffff;
}

/* Input and Button Styling */
input, button {
    width: 85%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 400;
}

input {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.3);
}

button {
    background: #0072ff;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

button:hover {
    background: #18cd60;
}

/* Floating Clouds */
.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1; /* Keep behind UI elements */
}

.cloud {
    position: absolute;
    opacity: 0.4;
    z-index: 1; /* Keeps them behind the main content */
}

/* Cloud Positions & Sizes */
#cloud1 { top: 5%; left: -300px; width: 400px; }
#cloud2 { top: 30%; left: -350px; width: 320px; }
#cloud3 { top: 50%; left: -400px; width: 380px; }
#cloud4 { top: 70%; left: -450px; width: 450px; }
#cloud5 { top: 85%; left: -500px; width: 420px; }

/* Footer Styling */
footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
}

.socials {
    margin-top: 5px;
}

.socials a {
    color: white;
    margin: 0 12px;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

.socials a:hover {
    color: #4a64e8; /* Highlight effect */
    transform: scale(1.2); /* Slight zoom effect */
}
#resetBtn {
    display: none; /* Hidden initially */
    background: #3b8dd5;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 30%; 
    margin: 10px auto 0; /* Center button */
    transition: all 0.3s ease;
    text-align: center;
}

/* Hover effect */
#resetBtn:hover {
    background: #c89b29;
}

/* Ensure buttons are aligned in a flexbox */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


