* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body {
    background-color: black; /* Black background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}
.hero {
    width: 90%; /* Adjust for smaller screens */
    height: 90vh; /* Height for larger screens */
    background: yellow; /* Yellow background */
    color: black; /* Black text */
    position: relative;
    border: 1px solid black; /* Black border */
    border-radius: 10px; /* Smooth corners */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.container {
    width: 400px; /* Square shape for PC */
    height: 400px; /* Square shape for PC */
    border: 1px solid black; /* Black border */
    border-radius: 10px; /* Smooth corners */
    background-color: yellow;
    display: flex;
    flex-wrap: wrap; /* Wrap numbers for square layout */
    justify-content: center;
    align-items: center;
}

.clock {
    width: 100%; /* Full width to allow space for all numbers */
    height: auto; /* Dynamic height based on content */
    background: rgba(255, 255, 255, 0.1); /* Slightly translucent background */
    border-radius: 10px; /* Smooth corners */
    display: flex; /* Flexbox for alignment */
    align-items: center; /* Vertically centers numbers */
    justify-content: flex-start; /* Aligns numbers to the left */
    flex-wrap: nowrap; /* Prevents wrapping to the next row */
    overflow-x: auto; /* Adds horizontal scroll if content overflows */
    border: 1px solid black; /* Black border */
    backdrop-filter: blur(40px); /* Background blur effect */
}
.clock span {
    font-size: 40px; /* Size of the numbers */
    width: 100px; /* Fixed width for each number */
    height: 100px; /* Fixed height for each number */
    display: flex; /* Flexbox for centering content */
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
    margin: 5px; /* Spacing between numbers */
    background-color: white; /* White background for numbers */
    border: 1px solid black; /* Black border for numbers */
    border-radius: 10px; /* Smooth corners for numbers */
    color: black; /* Text color */
}


/* Adjustments for mobile screens */
@media screen and (max-width: 768px) {
    .container {
        width: 100%; /* Take full width on mobile */
        height: auto; /* Adjust height dynamically */
        flex-wrap: nowrap; /* Force numbers into a single row */
        overflow-x: auto; /* Enable horizontal scroll for smaller devices */
    }
    .clock span {
        font-size: 30px; /* Slightly smaller text on mobile */
        width: 80px; /* Adjust number size for mobile */
        height: 80px; /* Keep square shape */
        margin: 5px; /* Maintain spacing between numbers */
    }
}
