.navbar {
    height: 100px;
    width: 100vw;
    position: fixed;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}



.navbar-logo {
    height: 80px;
    width: 300px;
    margin: 10px 0 auto 5%;
}

.logo-a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-items {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-right: 10%;
    font-size: 20px;
    padding: 20px;
    align-items: center;
}

.nav-link {
    color: #0a0a23;
    text-decoration: none;
    height: 100%;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-link:hover {
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

@media only screen and (max-width: 900px) {

    .navbar {
        height: auto; /* Start with fixed height */
        justify-content: space-between; /* Space the logo and the hamburger menu */
        padding: 10px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        transition: height 0.3s ease-in-out; /* Smooth height transition */
        overflow-y: hidden;
    }

    .navbar-logo {
        height: 50px;
        margin-left: 0;
    }

    .nav-items {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        top: 60px;
        left: 0;
        padding: 10px 0;
        text-align: center;
        z-index: 99;
    }

    .nav-items.active {
        display: flex;

    }

    .nav-link {
        font-size: 18px;
        color: #0a0a23;
        text-decoration: none;
        font-weight: bold;
        width: 100%;


    }

    .hamburger-menu {
        display: block;
        margin-right: 40;
    }

}