body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none; /* Disable text selection */
}

#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the logo */
    width: 220px; /* Resize to 50% of the original size */
    opacity: 0.20; /* Set opacity to 25% */
    pointer-events: none; /* Disable all pointer events on the logo */
}


#controls {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    box-sizing: border-box;
    background-color: #00000085;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 1;
}

#grid-container {
    position: relative; /* Makes the grid-container a reference point for positioning the logo */
    display: grid;
    grid-template-columns: repeat(32, 10px); /* Fixed size */
    grid-template-rows: repeat(32, 10px); /* Fixed size */
    margin-top: 50px; /* Adjusted space for the controls bar */
    z-index: 2; /* Ensures the logo is above other grid elements */    
    border: 8px solid white; /* Adding a thin white border */
    background-color: black;
    opacity: 90%;
    border-radius: 10px;
}


.cell {
    width: 10px;
    height: 10px;
    border: 0.1px solid #857b8908;
    display: flex; /* Use flexbox to center content */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    font-size: 8px; /* Adjust font size to fit emoji within cell */
    opacity: 95%;
}

.active-cell {
    border: 2px solid lightblue !important;
}

.cell:hover {
    border: 0.5px solid lightblue;
}

body, html {
    height: 100%;
    margin: 0;
}

#backgroundDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    opacity: 0.8; 
    transition: filter 1s ease-in-out;
    background: url('./background.png') no-repeat center center fixed; 
    background-size: cover;
}


button {
    background-color: transparent;  /* Make the button background transparent */
    border: 2px solid white;        /* White border */
    border-radius: 5px;             /* Slight rounding of corners */
    color: white;                   /* White text color */
    padding: 5px 10px;              /* Padding around the text/content */
    cursor: pointer;                /* Change cursor to pointer on hover */
    transition: 0.3s;               /* Smooth transition for hover effects */
}

button:hover {
    background-color: rgba(255, 255, 255, 0.1);  /* Slight white background on hover */
}

