body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black; /* Pitch black background */
    overflow: hidden;
    position: relative;
    font-family: 'Press Start 2P', cursive; /* Pixel font */
}

.header {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: yellow;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.8), 0 0 10px rgba(255, 255, 0, 0.6);
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.container {
    background: lavender; /* Lavender background */
    border: 2px solid rgba(0, 0, 0, 0.2);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

h1 {
    color: black;
    font-size: 16px;
    line-height: 1.5;
}

p {
    color: black;
    font-size: 12px;
    line-height: 1.5;
}

.snow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    background: white; /* Snowflake color */
    opacity: 0.8;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.snowflake {
    width: 5px;
    height: 5px;
    left: calc(100% * var(--random-left));
    animation-duration: calc(1.5s + var(--random-duration));
    animation-delay: calc(var(--random-delay));
}

/* Randomization for snowflakes */
.snowflake:nth-child(1) { --random-left: 0.1; --random-duration: 1s; --random-delay: 0s; }
.snowflake:nth-child(2) { --random-left: 0.2; --random-duration: 0.5s; --random-delay: 0.5s; }
.snowflake:nth-child(3) { --random-left: 0.3; --random-duration: 1.5s; --random-delay: 1s; }
.snowflake:nth-child(4) { --random-left: 0.4; --random-duration: 1s; --random-delay: 1.5s; }
.snowflake:nth-child(5) { --random-left: 0.5; --random-duration: 0.8s; --random-delay: 2s; }

.emojis {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.emoji {
    font-size: 24px; /* Adjust emoji size */
}

.coffee-cup {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background-color: #6F4F4F; /* Cup color */
    border-radius: 10px 10px 0 0; /* Rounded top */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.coffee-cup::before {
    content: '';
    position: absolute;
    bottom: 100%; /* Above the cup */
    left: 10px;
    width: 40px;
    height: 20px;
    background-color: #A0522D; /* Coffee color */
    border-radius: 5px; /* Rounded edges for coffee */
}

.handle {
    position: absolute;
    width: 10px;
    height: 20px;
    background-color: #6F4F4F; /* Same color as the cup */
    border-radius: 50%;
    top: 5px;
    right: -10px; /* Positioning to the right of the cup */
    transform: rotate(45deg); /* Angle the handle */
}

.stars {
    position: absolute;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: yellow;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    box-shadow: 0 0 5px yellow;
    animation: twinkle 1.5s infinite alternate; /* Twinkling effect */
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
