.navbar {
    z-index: 1000;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    /* background-color: rgba(255, 255, 255, 0.9); */
    background-color: rgb(255, 255, 255);
}

/* .logo-img { */
.logo {
    /* max-height: 105px; */
    /* width: auto; */
    margin: 10px;

    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;

    align-content: center;
    list-style: none;
    margin: 0;
    /* background-color: deepskyblue; */
}

.nav-links a {
    text-decoration: none;
    display: block;

    padding: 1em;
    color: #007078;

    font-size: clamp(1.2rem, 5vw, 1.8rem);

    /* font-size: 1.8rem; */
    
    font-weight: bold;

}


.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-self: center;
    padding-right: 1.5rem;
    /* padding: 20px; */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #007078;
    border-radius: 5px;
}


@media only screen and (max-width: 1400px) {
    .nav-links a {
        font-size: 1.3rem;
        padding: 0.75rem;
    }

    .logo{
        /* max-height: 80px; */
        max-width: 60%;
    }
}

@media only screen and (max-width: 980px) {
    /* .logo {
        max-height: 60px;
        max-width: 40%;
    } */

    .nav-links {
        display: none;
    }

    .nav-links a {
        color: white;
    }

    
    .nav-links a:hover {
        background: #30919a;
    }

    

    .nav-links.active {
        z-index: 900;
        position:absolute;
        top: 100%;
        width: 100%;
        text-align: left;

        display: flex;
        flex-direction: column;

        align-content: flex-end;

        
        background-color: rgb(0, 112, 120);
        
    }

    .hamburger {
        display: flex;
    }

     /* Turn 3 bars into an X */
     @keyframes gotoX1 {
        from {
            transform: translateY(0px) rotate(0deg);
        }

        to {
            transform: translateY(8px) rotate(45deg);
        }
    }

    @keyframes gotoX2 {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    @keyframes gotoX3 {
        from {
            transform: translateY(0px) rotate(0deg);
        }

        to {
            transform: translateY(-8px) rotate(-45deg);
        }
    }

    .hamburger.active #bar1 {
        animation-name: gotoX1;
        animation-duration: 0.5s;
        /* Have to have end transform coordinates */
        transform: translateY(8px) rotate(45deg)
    }

    .hamburger.active #bar2 {
        animation-name: gotoX2;
        animation-duration: 0.5s;
        opacity: 0;
    }

    .hamburger.active #bar3 {
        animation-name: gotoX3;
        animation-duration: 0.5s;
        transform: translateY(-8px) rotate(-45deg);
    }

    .hamburger.inactive #bar1 {
        animation-name: gotoX1;
        animation-duration: 0.5s;
        animation-direction: reverse;
    }

    .hamburger.inactive #bar2 {
        animation-name: gotoX2;
        animation-duration: 0.5s;
        animation-direction: reverse;
    }

    .hamburger.inactive #bar3 {
        animation-name: gotoX3;
        animation-duration: 0.5s;
        animation-direction: reverse;
    }
}