body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f0f0f0;

}

header {
    background-color: #004d40;
    color: white;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

.logo {
    font-size: 24px;
    color: white;
    font-weight: bold;
    padding-left: 20px;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background-image: url('hero-image.jpg'); /* Replace with your hero image */
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    padding: 40px 20px;
}

footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 10px 0;
}
nav ul li.login-link {
    float: right;
    margin-right: 20px;
}
#main {


    text-align: center;
    margin:auto;
display: block;

}

/* Style the modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Adjusted location of the box from top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    display: block;
    margin: auto;
    width: 80%;
    max-width: 700px;
    max-height: 80vh; /* Add max-height to ensure it doesn't get cut off */
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
/* ... existing styles ... */

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    /* ... other existing styles ... */
}

/* Mobile view */
@media only screen and (max-width: 700px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header size */
        left: 0;
        background: #004d40;
        width: 100%;
        display: none;
    }

    @media only screen and (max-width: 700px) {
        /* ... other mobile styles ... */
        nav ul {
            flex-direction: column;
            width: 100%; /* Ensure the UL takes the full width */
            padding: 0;
            margin-top:10px;
            margin-right:5px;
        }

        nav ul li {
            display: block; /* Display list items in a block for vertical layout */
            width: 100%; /* Each list item takes full width */
            text-align: right; /* Align text to the left */
            margin: 0; /* Reset any margins */
            margin-top:5px;
            margin-right:5px;

        }

        .login-link {
            float: none; /* Remove float for mobile view */
            text-align: right; /* Align text to the left */
            width: 100%; /* Take the full width */
            margin:0px !important;
            margin-top:5px;
            margin-right:5px;
        }

        .nav-links {
            display: none; /* Initially hidden */
            margin-right:5px;
            /* ... other styles ... */
        }

        /* Show the nav-links when hamburger is clicked */


    }
}
