/* General Styles */
body {
    font-family: sans-serif;
    margin: 0;
    color: #333;
    background-color: #f0f0f0;
}

/* Header Styles */
header {
    background-color: #00344d;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 100; /* Ensures the header is always on top */
    isolation: isolate; /* Creates a new stacking context */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: #f0f0f0;
}


.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    padding-right: 5px;
}


.menu-icon .bar {
    width: 100%;
    height: 3px;
    background-color: #f0f0f0;
    margin: 2px 0;
}

header nav {
    display: none; /* Hide the menu by default */
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #00344d;
    width: 200px;
    z-index: 10; /* ensures the menu is on top of everything else in the header */
}

header nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 10px 20px;
    display: block;
    text-align: left;
}

header nav.show {
    display: flex; /* Show menu when 'show' class is added */
}


.header-line {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    margin: 10px 0;
}

/* Full-Width Image Styles */
.full-width-image {
    position: relative;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    z-index: 1; /* ensures the image is behind the header*/
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

/*Optional overlay to make text more visible*/
.full-width-image::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity here */
            z-index: 1;
        }

.floating-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3vw;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

/* Main Content Area */
main {
    padding: 20px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 8px;
    z-index: 1; /* ensures the main is behind the header */
}

/* Footer Styles */
footer {
    background-color: #00344d;
    color: #f0f0f0;
    padding: 1em;
    text-align: center;
}

/* Media Queries */
@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
    }

    .floating-text{
        font-size: 6vw; /*Adjust font size for smaller screens*/
    }
}