#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Snowflake animation */
@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Snowflake styling */
.snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    font-size: 20px;
    animation: snowfall linear infinite;
}

/* Popup content box */
#popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    padding: 30px;
    background-image: url('../images/Holidays4.jpg'); /* Add your image link here */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    z-index: 1001;
    color: #fff;
    font-family: 'Dancing Script', cursive, 'Pacifico', sans-serif; /* Added festive fonts */
}

/* Popup title */
#popup-content h2 {
    font-size: 30px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Pacifico', cursive; /* More festive */
}

/* Popup text */
#popup-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Close button */
#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #c82333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
}


/* Snowflake positions and animation durations */
.snowflake:nth-child(1) { 
    left: 10%; 
    animation-duration: 7s; 
    font-size: 14px; 
    animation-delay: 0s; 
}
.snowflake:nth-child(2) { 
    left: 20%; 
    animation-duration: 9s; 
    font-size: 18px; 
    animation-delay: 1s; 
}
.snowflake:nth-child(3) { 
    left: 30%; 
    animation-duration: 8s; 
    font-size: 16px; 
    animation-delay: 2s; 
}
.snowflake:nth-child(4) { 
    left: 40%; 
    animation-duration: 10s; 
    font-size: 20px; 
    animation-delay: 3s; 
}
.snowflake:nth-child(5) { 
    left: 50%; 
    animation-duration: 11s; 
    font-size: 18px; 
    animation-delay: 4s; 
}
.snowflake:nth-child(6) { 
    left: 60%; 
    animation-duration: 7s; 
    font-size: 22px; 
    animation-delay: 5s; 
}
.snowflake:nth-child(7) { 
    left: 70%; 
    animation-duration: 9s; 
    font-size: 16px; 
    animation-delay: 6s; 
}
.snowflake:nth-child(8) { 
    left: 80%; 
    animation-duration: 12s; 
    font-size: 20px; 
    animation-delay: 7s; 
}
.snowflake:nth-child(9) { 
    left: 90%; 
    animation-duration: 6s; 
    font-size: 14px; 
    animation-delay: 8s; 
}
.snowflake:nth-child(10) { 
    left: 15%; 
    animation-duration: 10s; 
    font-size: 18px; 
    animation-delay: 9s; }