/* navbar.css */


.backgroundcontainer {
    width: 100vw;
    height: 50vh;
    background: url(../images/bgImage.jpg) center no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.backgroundcontainer .bgoverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 75, 75, 0.625);
}

.content {
    z-index: 2;
    padding: 0;
    margin: 0;
    position: relative;
}

.contentnav h1{
    margin:0 auto;
}

.contentnav .navbar {
    display: flex;
    justify-content: flex-end;
    padding: 1em 10em;
    position: relative;
    z-index: 3;
    padding-left: 0px;
}

.contentnav .navbar ul{
    position: relative;
    padding-left: 0px;
    list-style: none;
    display: flex;
    margin: 0px;
    padding: 0px;
}

.contentnav .navbar li{
    position: relative;
    padding-left: 0px;
    list-style: none;
    display: flex;
    margin: 0px;
    padding: 0px;

}


.contentnav .navbar a{
    text-decoration: none;
    font-size: 20px;
    color:rgb(255, 255, 255);
    padding: 0em 1.5em;
    margin-left:15px;
    

}

.contentnav .navbar a:hover{
    color:rgba(255, 255, 255, 0.795);
}



.contentnav .navbar .active{
    color:#f3ba28;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contentnav .navbar .active:hover{
    color:#f3ba28be;
    text-decoration: underline;
    text-underline-offset: 2px;
}



.contentnav .navbar .border{
    padding-top:10px;
}


.logo {
    margin: 0px;
    padding: 0px;
    margin-right:35vw;
}

.logo img {
    max-width: 100px; 
    height: auto;
}

.backgroundcontainer .heading {
    max-width: 30vw;
    color: white;
    position: relative;
    z-index: 10;
    padding-top: 3vh;
    padding-left: 4vw;
    font-size: 45px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.backgroundcontainer .heading h1{
    margin-bottom: 0px;
}



@media only screen and (max-width: 768px) {
    .backgroundcontainer {
        height: 100vh; /* Adjust height for mobile devices */
        background-position: center; /* Adjust as needed */
    }
}


@media screen and (max-width: 1200px) {
    .contentnav .navbar {
        padding: 1em 5em;
    }
}

@media screen and (max-width: 550px) {
    .contentnav .navbar {
        padding: 1em;
    }

    .contentnav .navbar ul {
        padding-left: 0;
    }

    .logo {
        margin-right: auto;
        margin-left: 1em;
    }

    .backgroundcontainer .heading,
    .backgroundcontainer .headingtext {
        max-width: 90vw;
        padding-left: 1em;
        font-size: 20px;
    }

    .backgroundcontainer .heading {
        font-size: 30px;
    }

    .backgroundcontainer .headingtext {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .contentnav .navbar {
        justify-content: center;
    }

    .contentnav .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .contentnav .navbar li {
        padding: 10px 0;
        
    }
    .menu {
        display: none;
    }
    
    .menu.open {
        display: block;
    }
    
}

@media screen and (max-width: 768px) {
    .contentnav .navbar {
        justify-content: center;
    }

    .contentnav .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .contentnav .navbar li {
        padding: 10px 0;
        
    }
}

@media only screen and (max-width: 768px) {
    .backgroundcontainer {
        height: 100vh; /* Adjust height for mobile devices */
        background-position: center; /* Adjust as needed */
    }
}
