/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark mode background */
    color: #e0e0e0; /* Light text for readability */
    text-align: center;
    overflow: hidden; /* Prevent scrollbar from snowflakes */
    margin: 0;
    padding: 0;
}

/* Container Styles */
.container {
    margin: 50px auto;
    max-width: 600px;
    padding: 20px;
    border: 2px solid #ff4500;
    border-radius: 10px;
    background-color: #1e1e1e; /* Dark background for container */
    position: relative; /* Position for snowflakes */
    z-index: 1; /* Ensure container is above snowflakes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Heading Styles */
h1 {
    color: #ff4500;
}

/* Input and Button Styles */
input {
    padding: 10px;
    width: 60%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333; /* Darker input background */
    color: #fff; /* White text in input */
}

button {
    padding: 10px;
    margin-left: 10px;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #e63946;
}

/* List Styles */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px;
    border: 1px solid #ccc;
    margin: 5px 0;
    border-radius: 5px;
    background-color: #2c2c2c; /* Dark list item background */
    color: #fff;
}

/* Snowflake styles */
.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Make sure snowflakes do not interfere with inputs */
    z-index: 0; /* Ensure snowflakes are below other content */
}

.snowflake {
    position: absolute;
    top: -10%;
    color: #fff; /* White snowflakes */
    font-size: 24px;
    opacity: 0.8;
    animation: fall linear infinite;
}

/* Snowflake animation */
@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Different snowflake animations */
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 5s;
}
.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 6s;
}
.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 4s;
}
.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 7s;
}
.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 5.5s;
}
.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 6.5s;
}
.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 4.5s;
}
.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 5.8s;
}
.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 6.2s;
}
.snowflake:nth-child(10) {
    left: 95%;
    animation-duration: 4.8s;
}
/* Styling for the clickable buttons */
.product-button {
    display: inline-block;
    padding: 9px 15px;
    margin-left: 15px;
    background-color:purple;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.product-button:hover {
    background-color: #e63946;
}
