.menu--main {
    padding-right: 100px;
}

.navbar-light .nav-link {
    color: #222 !important;
}

/* ---------- OFFCANVAS  ----------- */

.offcanvas-header {    
    justify-content: end; 
    background-color: #222;   
}

.modal .btn-close, .offcanvas .btn-close, .toast .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");    
}

.dropdown-item {
    color: #333;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    padding: 10px;
    background-color: aliceblue;
    transition: opacity 0.3s ease;
    animation: slideIn 0.3s ease forwards;
    /* Add transition effect for opacity */
}

/* Show the dropdown menu when its parent is hovered */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

.dropdown-menu.nav-level-1 > .nav-item {
    padding: 10px 0;
}


.dropdown-item.active, .dropdown-item:active {
    background-color: transparent;
    color: #222;
}

.nav-item .dropdown-item a.active {
    color: #222;
}

/* Define animation keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width: 991px) {
    .nav-link {
        color: #222 !important;
    }
}

@media screen and (min-width: 1080px) {
    .navbar-expand-xxl .navbar-nav .dropdown-menu {        
        left: -150px;
    }
}