/************************************************************************************/
/* OVERRIDING STYLE.CSS *************************************************************/
/************************************************************************************/

.side-menu .menu-alt-section li a[href="/"] { /* White makes text look highlighted, signifying that this is current page */
    color: white;
}

/************************************************************************************/
/* MAIN CONTENT *********************************************************************/
/************************************************************************************/

.intro {
    margin: 0 auto 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    max-width: 1000px;
    box-shadow: 0 0px 20px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/************************************************************************************/
/* BUTTON GRID **********************************************************************/
/************************************************************************************/

.button-grid {
    display: grid;
    gap: 4vw 8vw;
    margin: 20px auto; /* Center the grid */
    padding: 0 5px; /* Smaller padding for small screens */
}

.grid-button {
    width: 100%; /* Ensure buttons take up the full width of their grid column */
	text-decoration: none;
}

.grid-button img {
    width: 100%; /* Ensure the image fills the button area */
    height: auto;
    object-fit: cover;
    display: block;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); /* Same as above, but by the pixel */
}

.grid-button .label {
    font-size: 2em;
    margin-top: 0.3em;  
	font-weight: bold;
	text-align: center;
	line-height: 1.2;
}

a.grid-button .label {
    color: white;
    transition: text-shadow 0.3s ease;
}

a.grid-button:hover .label {
    text-shadow: 0 0 10px #fff;
}

/************************************************************************************/
/* BREAKPOINTS **********************************************************************/
/************************************************************************************/

@media (min-width: 768px) {
    
    .button-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 0 20px;
    }
}

@media (min-width: 1200px) {
    
    .button-grid {
        padding: 0 20vw;
    }
}

@media (min-width: 1440px) {
    
    .intro {
        margin-bottom: 60px;
    }
    
    .button-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 4vw;
        padding: 0 5vw;
    }       
}
