@import url('https://fonts.googleapis.com/css2?family=REM:ital,wght@0,100..900;1,100..900&display=swap');

/* 1. RESET BODY MARGIN 
    This prevents white gaps around the banner */
body {
    padding-top: 120px;
    /* Important: Push body content down so the banner doesn't cover it */
}

/* 2. BANNER STYLING */
#top-banner {
    position: fixed;
    /* Keeps it at the top while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Explicit height */
    background-color: #FFB700;
    /* Modern Blue */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* Ensures it sits on top of everything else */
    font-family: 'REM', sans-serif;
}

/* 3. CONTENT STYLING */
.banner-content {
    font-weight: 500;
    font-size: 16px;
    margin-right: 20px;
}

/* 2. Style to block scrolling on the main page */
body.modal-open {
    overflow: hidden;
}

/* 3. MODAL OVERLAY STYLES */
#blockingModal {
    display: flex;
    /* Enables centering */
    position: fixed;
    /* Fixed to the viewport, covering the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Near-black background */
    z-index: 9999;
    /* Highest layer to block all other content */

    /* CENTERING CONTENT */
    align-items: center;
    /* Vertical centering */
    justify-content: center;
    /* Horizontal centering */
    flex-direction: column;
    /* Stack text and button vertically */

    color: white;
    /* Text color */
    font-family: 'REM', sans-serif;
    /* Apply REM font */
    text-align: center;
    /* Center text lines */
    padding: 20px;
    box-sizing: border-box;
}

/* 4. MODAL CONTENT STYLES */
/* Removed .modal-image styles as the image is no longer present */
/* NEW: 80% Modal Content Box Styles */
.modal-box {
    width: 80%;
    height: 80%;
    background-color: #1a1a1a;
    /* Solid black/dark gray for the content box */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* IMPORTANT: Set position relative for absolute positioning of the button */
    position: relative;
    /* Flex properties to center the text and button *inside* this box */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.2rem;
    /* Large, easy-to-read text */
    padding: 40px;
    box-sizing: border-box;
}

.modal-text {
    font-size: 2.5rem;
    /* Large, easy-to-read text */
    font-weight: 800;
    /* Extra bold for visibility */
    line-height: 1.3;
    max-width: 90%;
    margin-bottom: 30px;
    /* Space between text and button */
}

/* 6. MODAL BUTTON STYLES (Top Right Position) */
.modal-button {
    /* Position absolutely relative to .modal-box */
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    background-color: #2c7be5;
    background: #2c7be5;
    color: white;
    padding: 10px 20px;
    /* Reduced padding for a corner button */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    /* Reduced font size */

    /* Removed margin-top */
    transition: background-color 0.3s ease;
    font-family: 'REM', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* Lighter shadow */
}

.modal-button:hover {
    background-color: #1a64c4;
    background: #1a64c4;
}