/* General styling for the masthead */
.masthead {
    background-size: cover;
    min-height: 100vh;
    position: relative;
    color: #eded0c;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    z-index: 0;
    display: flex;
    flex-direction: column;
}

/* Top Content Section */
.top-content {
    position: relative;
    z-index: 2; /* Ensure top content remains above */
    margin-bottom: 40px; /* Add space between top content and video */
    pointer-events: auto; /* Ensure links are clickable */
}

/* Video Content Section */
.video-content {
    position: relative;
    z-index: 1; /* Lower priority than the top content */
}

/* Overlay for masthead */
.color-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none; /* Prevent overlay from blocking interactions */
}

/* Heading styles */
h3 {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Link styles */
a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    
    transition: all 0.3s ease;
}

a:hover {
    color: #1993f0;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .masthead {
        min-height: 100vh;
    }

    .top-content {
        margin-bottom: 30px; /* Add more spacing for mobile */
    }

    h3 {
        font-size: calc(1rem + 2vw);
    }

    a {
        font-size: calc(0.875rem + 1vw);
        padding: 0.4rem 0.8rem;
    }
}
