* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100vw;
    height: 100vh;
    background-image: url(background.jpg);
    background-size: cover;
    padding: 0 8%;
    position: relative;
    display: flex; /* Flexbox for vertical centering */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 120px;
    padding: 20px 0;
    cursor: pointer;
}

.content {
    color: #fff;
    text-align: center; /* Center text for better mobile view */
}

.content h1 {
    font-size: 4rem; /* Adjusted font size for larger headings */
}

.content h1 span {
    color: red;
}

.content button {
    background: transparent;
    border: 2px solid #ffff;
    padding: 12px 25px;
    color: #fff;
    cursor: pointer;
    margin-top: 30px;
    font-size: 1rem; /* Base font size for button */
}

.launch-time {
    display: flex;
    justify-content: center; /* Center the countdown */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.launch-time div {
    flex-basis: 100px;
    margin: 10px; /* Add margin for spacing */
}

.launch-time div p {
    font-size: 3rem; /* Adjusted font size for countdown */
    margin-bottom: -10px;
}

/* Snowflakes CSS */
#snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevents interaction */
    overflow: hidden; /* Hides overflow from falling snowflakes */
}

.snowflake {
    position: absolute;
    top: -10px; /* Start above the screen */
    color: white;
    font-size: 1rem; /* Size of the snowflakes */
    opacity: 0.8; /* Slightly transparent */
    user-select: none; /* Prevents selection */
    pointer-events: none; /* Prevents interaction */
    animation: fall linear infinite; /* Animation */
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh); /* Fall to the bottom of the screen */
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .content h1 {
        font-size: 3rem; /* Smaller heading for mobile */
    }

    .content button {
        padding: 10px 20px; /* Adjust button padding */
        font-size: 0.9rem; /* Slightly smaller button text */
    }

    .launch-time div p {
        font-size: 2.5rem; /* Smaller countdown numbers */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5%; /* Less padding on small screens */
    }

    .content h1 {
        font-size: 2.5rem; /* Even smaller heading for very small devices */
    }

    .launch-time {
        flex-direction: column; /* Stack countdown vertically */
    }

    .launch-time div {
        flex-basis: auto; /* Remove fixed width */
        margin: 5px 0; /* Adjust spacing */
    }

    .launch-time div p {
        font-size: 2rem; /* Further reduce countdown numbers */
    }
}
