body {
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Prevents scrolling */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Snowflakes Styling */
.snowflake {
    position: absolute;
    top: -5%;
    color: white;
    font-size: 1.2rem;
    user-select: none;
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Media Query for Different Screens */
@media (max-width: 768px) {
    .snowflake {
        font-size: 1rem; /* Smaller snowflakes for small screens */
    }
}

@media (min-width: 1200px) {
    .snowflake {
        font-size: 1.5rem; /* Bigger snowflakes for larger screens */
    }
}


/* Panda Animation */
#panda-container {
    position: absolute;
    bottom: -200px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    animation: flyUp 3s ease-in-out forwards;
}

#panda {
    width: 100px; /* Adjust size as needed */
    cursor: pointer;
}

@keyframes flyUp {
    0% {
        bottom: -200px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 40%; /* Panda stops in the middle */
        opacity: 1;
    }
}

/* Letter Container - Initially Hidden */
#letter-container {
    position: absolute;
    bottom: -200px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    animation: flyUp1 3s ease-in-out forwards;
}

/* Letter Image */
#letter {
    width: 250px; 
    height: auto;
    cursor: pointer;
}

/* Show Letter with Animation */
.show-letter {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@keyframes flyUp1 {
    0% {
        bottom: -200px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 35%; /* Panda stops in the middle */
        opacity: 1;
    }
}


/* Letter V Container */
#letter-v-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* Ensure the container doesn't exceed the screen width */
    max-width: 500px; /* Maximum width for larger screens */
}

/* Letter V Image */
#letter-v {
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    height: auto; /* Maintain aspect ratio */
    width: 340px; /* Default size for larger screens */
}

/* Button Container */
#button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
}

/* Yes and No Buttons */
#yes-button, #no-button {
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    justify-content: center;
    border-radius: 8px; /* Rounded corners */
    color: white; /* Text color */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
}

#yes-button {
    background-color: #C00000; /* Green color for Yes button */
}

#no-button {
    background-color: #FF3334; /* Red color for No button */
}

#yes-button:hover, #no-button:hover {
    transform: scale(1.05); /* Slightly enlarge buttons on hover */
}

#yes-button:active, #no-button:active {
    transform: scale(0.95); /* Slightly shrink buttons on click */
}

/* Media Queries for Responsive Sizing */
@media (max-width: 768px) {
    #letter-v {
        width: 250px; /* Smaller size for mobile devices */
    }

    #yes-button, #no-button {
        padding: 10px 20px; /* Smaller padding for mobile devices */
        font-size: 14px; /* Smaller font size for mobile devices */
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    #letter-v {
        width: 300px; /* Medium size for tablets */
    }
}

/* Penguin Animation */
#penguin-container {
    position: absolute;
    bottom: -200px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    animation: flyUp 3s ease-in-out forwards;
}

#penguin {
    width: 100px; /* Adjust size as needed */
}

@keyframes flyUp {
    0% {
        bottom: -200px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 40%; /* Penguin stops in the middle */
        opacity: 1;
    }
}