/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: flex-start;
    flex-direction: column;
    min-height: 100vh;
    width: 100%; /* Ensure the body takes full width */
}

/* Header styles */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #082d57;
    padding: 20px;
    color: white;
    width: -webkit-fill-available; /* Make header full width */
}

header img {
    height: 50px;
    margin-right: 20px;
}

header h1 {
    font-size: 1.5em;
    margin: 0;
}

/* Container styles */
.container {
    padding: 20px;
    text-align: center;
    width: -webkit-fill-available; /* Ensure the container takes full width */
	flex-grow: 1;
}

/* Hamburger styles */
#hamburg {
    justify-content: space-between;
    background-color: #082d57;
    padding: 0px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 25px;
    background: none;
    border: none;    
    margin: 10px;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

/* Navigation styles */
nav {
    background-color: #0c3960;
    padding: 10px 0;
    width: 100%; /* Make the navigation full width */
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
    width: -webkit-fill-available; /* Ensure the nav list stretches across the screen */
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
}

nav ul li a:hover {
    background-color: #5698ed;
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #003e7e;
    z-index: 9999;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li .dropdown li {
    display: block;
}

nav ul li .dropdown li a {
    padding: 10px;
    white-space: nowrap;
}

/* Footer styles */
footer {
    background-color: #082d57;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%; /* Ensure footer takes full width */
}

/* Responsive styles */
@media (max-width: 768px) {
    header .title {
        flex-direction: column;
        text-align: center;
    }

    header h1 {
        font-size: 1.2em;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        display: none; /* Hide menu on mobile initially */
    }

    .hamburger {
        display: flex;
    }

    nav.active ul {
        display: flex; /* Show the menu when active */
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 15px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1em;
    }

    nav ul li a {
        padding: 8px;
    }
}
