html{
    scroll-behavior: smooth;
}

.header-container {
    display: flex;
    text-align: center;
    align-items: center; /* Vertically align logo and heading */
    padding: 20px;
    box-sizing: border-box; /* Include padding in the element's total width and height */
    background-color: #000080;
    color: #FF8C00;
    overflow: hidden;
    width: 100%; 
}

.page-header {
    text-align: center;
    margin: 0; /* Remove default heading margins */
    flex-grow: 1; /* Allow heading to take up available space */
}

.logo {
    max-height: 75px; /* Adjust as needed for larger screens */
    margin-right: auto; /*Push the heading to the center */
}

.rc-menu-items{
    width: 100%;
    text-align: center;
    color: #FF8C00; 
    background-color: #000080; 
    display: none;
}

.rc-btn{
    width: 100%;
    padding: 5px;
    color: #FF8C00; 
    background-color: #000080;
    border-top: solid white 1px;
}

.rc-btn:hover{
    color: #000080;
    background-color: #FF8C00;
}

.rc-menu{
    position: fixed; 
    right: 20px; 
    top: 7px; 
    text-align: right; 
    cursor: pointer; 
    z-index: 10;
}

.rc-padder{
    padding-top: 75px;
}

@media (max-width: 768px){
    .rc-menu{
        right: 5px;
    }
}

.rc-leadin{
    width: 75%; 
    margin: auto; 
    font-size: large; 
    padding: 16px; 
    margin-bottom: 32px;
    text-align: justify;
}

.col-container {
    display: table; /* Make the container element behave like a table */
    width: 75%; /* Set full-width to expand the whole page */
    margin: auto;
}

.col {
   display: table-cell; /* Make elements inside the container behave like table cells */
   text-align: center;
   margin: 32px;
   vertical-align: middle;
}

.rc-img{
    width: 175px; 
    display: block; 
    margin: auto;
}

@media (max-width: 768px){
    .col-container{
        width: 95%;
    }

    .rc-leadin{
        width: 95%;
    }

    .rc-img{
        width: 100px;
    }
}

.rc-box-b{
    border: solid #849CC4 5px; box-shadow: 0 10px 10px #849CC4; padding: 25px; text-align: justify;
}

.rc-box-g{
    border: solid #90A955 5px; box-shadow: -0px 10px 10px #90A955; padding: 25px; text-align: justify;
}

.rc-box-o{
    border: solid #D3AC69 5px; box-shadow: 0 10px 10px #D3AC69; padding: 25px; text-align: justify;
}

.rc-footer{
    /* display: table; Make the container element behave like a table */
    width: 75%; 
    margin: auto;
    box-sizing: border-box;
}

.col-rl{
    display: table-cell; /* Make elements inside the container behave like table cells */
    text-align: center;
    vertical-align: middle;
    width: 30%;
}

.col-m{
    display: table-cell;
    width: 40%; 
    text-align: left; 
    text-indent: 30px;
}

.rc-foot{
    background-color: white; color: black; width: 75%;
}

.rc-footlinks{
    margin: 3%;
}

.rc-header{
    font-weight: bold;
}

@media (max-width: 768px){
    .col-rl{
        display: block;
        width: 95%;
    }
    .col-m{
        display: block;
        width: 95%; 
        text-align: left; 
        text-indent: 10px;
    }
    .rc-footer{
        display: block;
        width: 95%;
    }
    .rc-footlinks{
        margin: 5%
    }

    .rc-header{
        padding-left: 25px;
    }

    .rc-foot{
        width: 95%;
    }
}

/* 1. The Modal Background (Overlay) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place, even with scrolling */
    z-index: 1000; /* Sit on top of all other content */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black with transparency */
    
    /* Use Flexbox to center the modal content */
    justify-content: center;
    align-items: center;
}

/* 2. The Modal Content Box */
.modal-content {
    /*background-color: #1f1f1f; Dark background for the box */
    background-color: gray;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    width: 80%;
    max-width: 800px; /* Adjust max-width as needed */
    position: relative; /* Needed to position the close button absolutely */
}

@media (max-width: 768px) {
    .modal-content {
        /* On screens 600px or less, make the modal width 95% of the screen */
        width: 95%;
        
        /* Optional: Slightly reduce padding on small screens */
        padding: 20px;
    }
}

/* 3. The Close Button (X) */
.close-button {
    color: #ccc;
    position: absolute;
    top: -10px; /* Position it slightly outside the top */
    right: -10px; /* Position it slightly outside the right */
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    background-color: #333;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    background-color: #c00;
    color: white;
    text-decoration: none;
}

/* 4. The Responsive YouTube Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-launcher-btn {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    background-color: white;
    color: white;
    border: none;
    border-radius: 5px;
    /*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
    transition: background-color 0.3s ease;
}

.video-launcher-btn:hover {
    background-color: white;
}

.video-launcher-btn.secondary {
        background-color: white;
}

.video-launcher-btn.secondary:hover {
        background-color: white;
}