#navBar {
    font-family: "Montserrat", sans-serif;
    z-index: 1000;
    width: 100%;
    height: 70px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#navBar.scrolled {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.5s ease, border-bottom 0.5s ease; /* Add transition duration */
}
#icon-navbar{
    display: none;
}
#link-home{
    text-decoration: none;
}

#img-logo {
    width: 50px;
    height: auto;
}
#navBar-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}
#list-navbar {
    margin: 0;
    list-style: none;
    display: flex;
}

.navbar-item {
    margin: 0 10px;
    font-size: 1.2em;
    font-weight: 600;
    color: #008486;
}

.link {
    text-decoration: none;
    color: #008486;
}
.link:hover{
    transition-duration: 250ms;
    color: #008486b1;
}
#title-navbar {
    margin: 0;
    font-size: 1.7em;
    font-weight: 700;
    color: #008486;
}
#dropdown {
    position: relative;
}

#icon-navbar {
    cursor: pointer;
}

#dropdown{
    display: none;
}

#list-navbar-drpdown {
    display: none;
    position: fixed; /* Change to fixed */
    top: 140px;/* Position at the vertical center */
    left: 50%; /* Position at the horizontal center */
    transform: translate(-50%, -50%); /* Center the menu */
    background-color: white; /* Semi-transparent white background */
    width: 100%; /* Take full width of the page */
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    border-radius: 25px;
}

.navbar-item a {
    text-decoration: none;
    color: #008486;
    display: block;
    padding: 12px 16px;
}

@media screen and (max-width: 900px) {
    #dropdown{
        display: block;
    }
    #list-navbar{
        display: none;
    }
    #icon-navbar{
        display: block;
    }
}

