/* Basic reset and typography */
body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #ffffff;
    color: #333; /* Adjusted to a readable color */
    margin: 0;
    padding: 20px;
    min-height: 100vh; /* Changed to full viewport height */
    position: relative;
}

/* Main container for centering content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    text-align: center; /* Adjusted to center the content */
    padding-top: 80px; /* Added padding to prevent overlap with fixed button */
}

/* Top header styling */
.top-header {
    text-align: center;
    margin-bottom: 50px;
}

.top-header h1 {
    font-size: 2.5rem;
    color: #2b7ea5;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

/* Grid container for buttons */
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

/* Button styles */
.button {
    background-color: #c3dadd;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    color: #2b7ea5;
    font-size: 25px;
    width: 100%;
    max-width: 600px; /* Limit the max width */
    text-align: center;
}

/* Hover and active effects for buttons */
.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background-color: #c3dadd;
    color: #2b7ea5;
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Link inside button */
.button a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    font-weight: bold;
}

/* Main menu button style */
.return-to-main-menu-btn {
    position: absolute; /* Changed from fixed to absolute */
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #2b7ea5;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

.return-to-main-menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Tooltip styling */
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2b7ea5;
    color: white;
    padding: 5px 5px;
    border-radius: 6px;
    white-space: wrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Show tooltip on hover */
.button:hover::after, .return-to-main-menu-btn:hover::after {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .top-header h1 {
        font-size: 1.8rem;
        padding: 15px 0;
    }
    
    .button {
        font-size: 20px;
        padding: 12px;
    }
    
    .return-to-main-menu-btn {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 14px;
    }
}