/* background  */
html body {
    background-color: #FFE53B;
    background-image: linear-gradient(147deg, #FFE53B 0%, #FF2525 74%);
}

/* Base styles */
#container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* Use 100% width to be responsive */
    height: auto;
    /* Let the height adjust based on the content */
    max-width: 960px;
    /* Ensure a maximum width for larger screens */
    margin: 0 auto;
    /* Center the container */
}

/* Base styles */
#container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    max-width: 960px;
    margin: 0 auto;
}

/* Style for each grid cell */
.grid-cell {
    border: 1px solid #000;
    box-sizing: border-box;
    flex: 1 1 calc(10% - 2px);
    /* Default to a 10x10 grid */
    margin: 1px;
    aspect-ratio: 1 / 1;
    /* Ensures each cell is a square */
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .grid-cell {
        flex: 1 1 calc(20% - 2px);
        /* Adjust to a 5x5 grid */
    }
}

@media (max-width: 480px) {
    .grid-cell {
        flex: 1 1 calc(25% - 2px);
        /* Adjust to a 4x4 grid */
    }
}

/* button  */
/* Base styles for the button */
#resetButton {
    display: block;
    padding: 10px 20px;
    margin: 10px auto;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    align-content: center;
}

/* Hover effect */
#resetButton:hover {
 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Active effect */
#resetButton:active {

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Focus effect */
#resetButton:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 143, 255, 0.5);
}

/* h1 styles random color */
/* Base styles for the h1 */
h1 {
    font-size: 2.5em;
    text-align: center;
    margin: 55px 0;
    transition: color 0.3s;
    cursor: pointer;
    color: rgb(44, 108, 235);
}


