body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none; /* Prevents text or elements from being selected */
}

.button {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border: 2px solid white;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    outline: none;
    overflow: hidden; /* For loading effect */
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
}

.button:focus {
    outline: none;
}

.button:active {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.button.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white for loading effect */
    animation: fill-button 5s linear forwards; /* Fill the button over 3 seconds */
    z-index: 0; /* Make sure it appears behind the button text */
}

@keyframes fill-button {
    to {
        width: 100%; /* Fill the entire button */
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 3s ease; /* Gradual darkening */
    pointer-events: none;
}

.ripple {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(1);
    animation: ripple-animation 0.6s linear;
    user-select: none; /* Prevents text or elements from being selected */
    pointer-events: none; /* Makes the logo clickable through */
}

.footer-text {
    position: fixed; /* Fixes it at the bottom of the page */
    bottom: 10px; /* Adjust this value to position it closer or further from the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center-aligns the text horizontally */
    font-size: 12px; /* Small text size */
    color: white; /* White text color */
    font-family: 'Courier New', Courier, monospace; /* Fancy font (you can replace this with any font you like) */
    text-align: center;
    opacity: 0.85; /* Optional: Make the text slightly transparent */
    user-select: none; /* Prevents text or elements from being selected */
    pointer-events: none; /* Makes the logo clickable through */
}

@keyframes ripple-animation {
    to {
        transform: scale(10);
        opacity: 0;
    }
}

.logo {
    position: absolute;
    top: 15%; /* Adjust the percentage as needed for the exact position */
    left: 50%;
    width: auto; /* Allows the image to maintain its aspect ratio */
    height: 25%; /* Adjust the height as needed */
    transform: translateX(-50%); /* Centers the logo horizontally */
    user-select: none; /* Prevents text or elements from being selected */
    z-index: 10; /* Ensure the logo appears above other elements */
    user-select: none; /* Prevents text or elements from being selected */
    pointer-events: none; /* Makes the logo clickable through */
}

        
.grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust size */
    grid-template-rows: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust size */
    pointer-events: none; /* Makes the grid invisible */
}

.grid div {
    pointer-events: auto; /* Make the individual cells clickable */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Invisible but clickable */
}