body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    font-family: "Inter", serif;
    font-weight: 400;
    margin: 0px;
    background-color: white;
}

#content-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
}

#game-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


#shape-bank-container {
    padding: 4px;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    box-sizing: border-box;
    margin: 0px 10px;
    margin-top: 8px;
    gap: 10px;
    background-color: #f4f4f4;
    position: relative;
    max-width: 382px;
}

#shape-bank {
display: grid;
grid-template-columns: repeat(3, 54px);
grid-template-rows: repeat(2, 54px);
gap: 4px;
justify-content: center;
background-color: none;
border-radius: 8px;
}



.shape-cell {
width: 54px;
height: 54px;
background-color: #f4f4f4;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}


.mini-date::after{
  content:" (Mini)";
}

#grid-container {
position: relative;
display: grid;
grid-template-columns: repeat(5, 60px)!important;
grid-template-rows: repeat(5, 60px);
gap: 2px;
background-color: white;
padding: 10px;
justify-content: center;
align-items: center;
touch-action: none;
-webkit-user-select: none;
user-select: none; 
min-width: 362px;
}

.grid-cell {
width: 60px;
height: 60px;
background-color: #e5e5e5; /* Default background */
display: flex;
justify-content: center;
align-items: center;
font-family: "Inter", sans-serif;
font-weight: 500;
font-size: 16px;
border-radius: 4px;
user-select: none;
}

.disabled {
background-color: #FFFFFF; /* White for disabled cells */
}

.blocked {
background-color: black; /* Black for blocked cells */
color: white;
}

.drawn {
background-color: #F7DA21; /* Highlighted color */
}



.shape-cell.placed {
background-color: #71bfeb;
}

.shape-block {
width: 7px;
height: 7px;
background-color: #606060;
position: absolute;
border-radius: 1px;
}


.shape-cell.placed .shape-block {
width: 7px;
height: 7px;
background-color: white;
position: absolute;
}

#current-date {
text-align: center;
margin-top: 5%;
font-family: 'Merriweather';
font-size: 18px;
font-weight: 600;
}

#shape-bank-container {
display: flex;
flex-direction: row;
}


#timerDisplay {
width: 50px;
}

.time-display-container {
    position: relative;
    top: 0px;
    transform: none;
width: auto;
height: 60px;
background-color: #F4F4F4;
box-sizing: border-box;
border-radius: 8px;
gap: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
color:#5E5E5E;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.time-display-container p {
margin: 0px!important;
}

#menu-button {
width: 54px;
height: 54px;
background-color: #F7DA21;
box-sizing: border-box;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 500;
color:#000000;
cursor: pointer;

position: relative;
top: 0px;
transform: none;
}


#hint-button {

border: 2px solid #f5f5f7;
background-color: #e5e5e5;
box-sizing: border-box;
border-radius: 8px;
display: flex;
height: 60px;
align-items: center;
justify-content: center;
font-size: 16px;
color:#5E5E5E;
cursor: pointer;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;

position: relative;
top: 0px;
transform: none;
width: 100%;

}

#leaderboard {
width: 54px;
height: 54px;
background-color: #71BFEB;
border: none;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
color:white;
cursor: pointer;

position: relative;
top: 0px;
transform: none;
}

/* Scale from 100% to 104% and back to 100% */
@keyframes pulseScale {
0% {
transform: scale(1);
}
50% {
transform: scale(1.06);
}
100% {
transform: scale(1);
}
}

/* A class that applies the animation once */
.pulse-animate {
animation: pulseScale 0.2s ease-in-out;
/* No forwards fill mode, so it returns to scale(1) at the end */
}

#resetButton {
background-color: transparent;
border: none;
cursor: pointer;
height: 50px;
position: relative;
top: 0px;
transform: none;

}

.menu-buttons-wrapper {
  display: grid;
  grid-template-columns: repeat(2, var(--slot-size, 54px));
  grid-auto-rows: var(--slot-size, 54px);
  gap: 6px; /* match your slot spacing */
}

/* place items in the grid */
#hint-button { grid-column: 1 / span 2; grid-row: 1; }
#menu-button  { grid-column: 1; grid-row: 2; }
#leaderboard  { grid-column: 2; grid-row: 2; }

/* optional: make the hint look like your tiles/buttons */
#hint-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  height: 54px;
}



#menu {
margin: 10px;

}


#how-to-play {
    margin: 10px;
    }


    .menu-container {
top: 5px;
    }


.menu-content-outer-wrapper {
    gap: 32px;
    display: flex;
    flex-direction: column;
}

#menu {
    display: none;
}

#daily-button {
    background-color: #F7DA21;
    }
    #mini-button {
    background-color: #c1e9ff;
    }

    #weekday-button {
        background-color: #F7DA21;
        }

        .puzzle-difficulty-banner {
margin-top: 8px;
}


@media screen and (min-width: 768px) {

.puzzle-difficulty-banner {
position: absolute;
bottom: 24px;
left: 200px;
}

#menu {
    display: flex;
}

#how-to-play {
    top: 10px;
    max-width: 50%;
    left: 25%;
}




.menu-container {
    position: relative;
opacity: 1;
top: 0;
margin: 10px;
width: calc(100% - 20px);
max-width: calc(100% - 20px);
box-sizing: border-box;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 40px;
    }
    .menu-content-wrapper {
        flex-direction: column;
        justify-content: flex-end;
        
    }
    .menu-cta-wrapper {
        flex-direction: row;
    }
    .menu-options-wrapper {
        gap: 4px;
        align-items: flex-start;
        justify-content: space-between;
        }
        #postSubmitActions .menu-options-wrapper {
  justify-content: space-between;
  max-width:330px;
}
    .menu-options-item {
    max-width: 110px;
    width: 160px;
    }

.menu-title-container {
max-width: 340px;
}


    .menu-content-outer-wrapper {
        width: 100%;
        height: 100%;
        gap: 32px;
        display: flex;
        flex-direction: column;
        align-items: left;
    }

    #current-date {
        display: none;
    }
    #closeMenu {
        display: none; 
    }
    #menu-button {
        display: none;  
    }
    #leaderboard {
        display: none;  
    }
    
        #game-wrapper {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }
    #content-container {
        position: relative;
        display: flex;
        flex-direction: row-reverse;
        gap: 8px;
        align-items: flex-end!important;
        justify-content: flex-start;
    }
    
          #shape-bank {
        display: grid;
        grid-template-columns: repeat(2, 60px)!important;
        grid-template-rows: repeat(3, 60px)!important;
        gap: 2px;
        justify-content: center;
        align-items: center;
    }
    #shape-bank-container {
    display: flex;
    flex-direction: column!important;
    gap: 3px;
    margin: 10px;
    margin-bottom: 72px;
    }
    
    
    body {
        display: flex;
        flex-direction: column;
    }


    }


    @media screen and (min-width: 1000px) {

    .menu-content-outer-wrapper {
        width: 100%;
        height: 100%;
        gap: 32px;
        display: flex;
        flex-direction: row;
    }
        .menu-options-wrapper {
        gap: 4px;
        justify-content: flex-end;
        align-items: center;
        }
    }