/* --- MENU MOBILE --- */

.menu-mobile {
    display: none;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
    color: #fff !important;
    /*margin-left: 16px;*/
    user-select: none;
}

.menu-mobile:hover {
    color: #3498db !important;
}

/* --- MENU DI NAVIGAZIONE --- */

.nav-menu {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    gap: 40px;
}

.nav-menu li {
    /*margin-left: 30px;*/

    /*background-color: brown;
    display: flex;
    align-items: center;*/
    margin-bottom: 4px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -14px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- STICKY MENU --- */

.sticky-menu {

    background: #ffffff;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.15s ease,
        visibility 0s linear 0.15s;
    z-index: 10;
}

.sticky-menu-wrapper {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between;
    align-items: center;

}

.sticky-menu .logo img {
    width: 80%;
    height: auto;
}

.sticky-menu .nav-menu a {
    font-size: 14px;
}

.sticky-menu .menu-mobile {
    color: #000 !important;
}

.sticky-menu .menu-mobile:hover {
    color: #34db42ff !important;
}

.sticky-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 1.15s ease,
        visibility 0s linear 0s;
}

/* --- SIDE MENU --- */

/* Icona side-menu per schermi piccoli */
.side-menu-toggle {
    display: none;
    z-index: 9;
    font-size: 20px;
    color: black;
    cursor: pointer;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -75%;
    width: 70%;
    height: 100%;

    max-width: 340px;
    /*background: #2c3e50;*/
    background: #361f03;
    z-index: 99;
    transition: left 0.5s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0px 0 0 0;
}

.side-menu li {
    border-bottom: 1px solid #502e05;
}

.side-menu a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

.side-menu a:hover {
    color: #ff6600;
}

.side-menu i {
    margin-right: 16px;
}


/* Responsive Medeia Query */

/* --- RESPONSIVE --- */
@media (max-width: 1020px) {

    .nav-menu {
        gap: 28px;
    }
}

@media (max-width: 780px) {

    .nav-menu a {
        font-size: 15px;
    }

    .nav-menu {
        gap: 18px;
    }
}

/* --- MOBILE --- */
@media (max-width: 680px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;

    }

    .nav-menu {
        display: none;
    }

    .menu-mobile {
        display: inline-flex;
        width: 20px;
    }

    .sticky-menu-wrapper {
        gap: 20px;
    }

    .sticky-menu .logo img {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        /* lascia spazio per l'icona hamburgher */
        height: auto;
    }
}