nav {
    background-color: rgba(0, 97, 70, 1);
    width: 100%;
    transition: .3s ease-in;
}

nav .my-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    width: 250px;
    display: inline-block;
    height: 90px;
}

nav ul.links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

nav ul.links li {
    position: relative;
}

nav ul.links li:hover a {
    color: var(--main-color);
}

nav ul.links li::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    bottom: -33px;
    right: 0;
    transition: .5s;
}

nav ul.links li.active-link::before {
    width: 100%;
}

nav ul.links li.active-link a {
    color: var(--main-color);
}

nav ul.links li a {
    color: var(--white-color);
    transition: .3s;
}

nav .language {
    background-color: rgba(245, 245, 245, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
    color: var(--white-color);
}

nav .language .lang {
    padding: 5px 15px;
    border-radius: 5px;
    display: grid;
    place-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

nav .language .lang.active {
    background-color: #fff;
    color: var(--green-color);
}

.nav2 {
    display: none;
}

.desktob.navbar {
    padding: 0;
}

/* ************* Dropdown *************/
nav ul.links button.dropdown-toggle {
    background-color: transparent;
    border: none;
    padding: 0;
}

nav ul.links button.dropdown-toggle:hover,
nav ul.links button.dropdown-toggle:focus {
    background-color: transparent;
}

nav ul.links .dropdown-menu.show {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

nav ul.links li a.dropdown-item {
    color: var(--main-color);
    font-weight: bold;
    transition: .3s;
    text-align: right;
}

nav ul.links li a.dropdown-item:hover {
    background-color: rgb(201 170 121 / 15%);
}



/* ***************** Mobile Nav *****************/
.mobile-nav {
    background: var(--green-color);
    width: 250px;
    min-height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-block: 30px;
}

nav.mobile-nav ul.links {
    flex-direction: column;
    align-items: start;
}

nav.mobile-nav ul.links li::before {
    bottom: -3px;
}

nav.mobile-nav .close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--white-color);
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: #ffffff54;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: .3s;
}

nav.mobile-nav .close-menu:hover {
    transform: scale(1.09);
}

.mobile-nav {
    transform: translateX(100%);
    transition: .4s ease;
}

.mobile-nav.active {
    transform: translateX(0);
    /* right: 0; */
}

.mobile-nav .logo {
    width: 215px;
    height: 70px;
    margin-top: 40px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 90;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    display: none;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 1455px) {

    nav.desktob ul.links li a,
    nav.desktob ul.links button.dropdown-toggle {
        font-size: 12px;
    }

    nav .logo {
        width: 220px;
    }
}

@media (max-width: 1200px) {

    nav.desktob ul.links li a,
    nav.desktob ul.links button.dropdown-toggle {
        font-size: 10px;
    }

    nav .logo {
        width: 190px;
    }
}

/* @media (max-width: 1200px) { */
@media (max-width: 991px) {

    nav.desktob ul.links,
    nav.desktob .language {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}
