/* Page background */
html, body {
    margin: 0;
    padding: 0;
    background-color: #fdf6e3; /* offwhite cream */
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
    height: 100vh;
}

/* Center the ad */
.ad-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #007BFF; /* blue border */
    padding: 10px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Redirect info below ad */
.redirect-info {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #333;
    font-size: 14px;
    z-index: 10;
}

/* Snowflakes v1 */
/*
.snowflake {
    position: absolute;
    top: -20px;
    color: #fff;
    font-size: 10px;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}
*/


/* Snowflakes v3 */
.snowflake {
    position: absolute;
    top: -20px;
    font-size: 10px;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    animation-name: colorFade;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    overflow: hidden; /* clip flakes at bottom */
}

/* Snowflake color animation */
@keyframes colorFade {
    0% { color: red; }
    33% { color: white; }
    66% { color: #39ff14; } /* neon green */
    100% { color: red; }
}


/* Snowflakes v2 */
/*
.snowflake {
    position: absolute;
    top: -20px;
    color: #fffa;
    font-size: 20px;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    animation-name: fall, fade;
    animation-duration: 8s, 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear, ease-in-out;
    opacity: 0;
}

@keyframes fall {
    0% { transform: translateY(-20px) translateX(0px); }
    100% { transform: translateY(110vh) translateX(50px); }
}

@keyframes fade {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
*/