

/* ________ ELEMENTI MENU ________ */

.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--menu-height);
    background-color: white;
    z-index: 30;
    display: flex;
    align-items: center;
    padding: 1.1rem var(--hor-padding);
}

.menu-shop {
    color: white;
    background-image: url("../res/img/GUI/Shop_pallino.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-shop > .label-aires-small {
    margin-top: 0.5rem;
}

.menu-right {
    display: flex;
    gap: 1rem;
    justify-content: end;
    align-items: center;
    height: 100%;
}

.menu-logo {
    height: 3rem;
    cursor: pointer;
}

.hamburger-menu {
    width: 2.2rem;
    cursor: pointer;
    transition: 0.15s;
}

.hamburger-menu:hover {
    transform: scale(1.05);
}

.menu-navigation-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex: 2;
}

.navigation-link {
    margin-top: 1rem;
    white-space: nowrap;
}

.navigation-link:hover > .label-aires-small {
    text-decoration: underline;
    cursor: pointer;
    text-decoration-color: var(--yellow) !important;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

.navigation-link.current > .label-aires-small {
    text-decoration: underline;
    cursor: pointer;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

.navigation-link-side.current > .label-aires-small {
    text-decoration: underline;
    cursor: pointer;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

.side-menu {
    position: fixed;
    z-index: 50;
    height: 100vh;
    right: -30vw;
    top: 0;
    width: 30vw;
    background-color: var(--darkgrey);
    display: flex;
    transition: right 0.5s;
}

.side-menu.open {
    right: 0;
}

.side-menu-title {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.side-menu-title > .label-aires-big {
    text-orientation: mixed;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.menu-title-img {
    width: 4rem;
}

.side-menu-content {
    padding: 3rem var(--hor-padding) 3rem 0;
    margin-left: auto;
}

.side-menu-closecontainer {
    width: 100%;
    display: flex;
    justify-content: end;
    
}

.side-menu-close {
    width: 2.2rem;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 5rem;
    transition: 0.15s;
}

.side-menu-close:hover {
    transform: scale(1.05);
}


.side-menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: scroll;
    height: calc(100% - 5rem);
}

.side-menu-list::-webkit-scrollbar {
    display: none;
}

.side-menu-list .label-aires-small:hover {
    text-decoration: underline;
    cursor: pointer;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}






@media screen and (max-width: 1600px) {

    .menu-navigation-container > .label-small {
        font-size: 1.2rem;
    }

    .main-menu {
        gap: 3rem;
    }

    .menu-navigation-container {
        gap: 1rem;
    }
}

@media screen and (max-width: 1350px) {

    .menu-navigation-container {
        display: none;
    }

    .menu-left,
    .menu-right {
        flex-grow: 2;
    }

    .side-menu {
        right: -50vw;
        width: 50vw;
    }
}

@media screen and (max-width: 900px) {

    .side-menu {
        right: -100vw;
        width: 100vw;
    }

    .side-menu-title {
        padding: 1.5rem;
    }

    .menu-title-img {
        width: 3rem;
    }

    .side-menu-content {
        padding: 3rem var(--hor-padding) 1.5rem var(--hor-padding);
        width: 100%;
        margin: 0;
    }

    .side-menu-close {
        width: 1.6rem;
    }
}


@media screen and (max-width: 600px) {

    .side-menu-content {
        padding: 1.5rem 1.5rem 1.5rem 0;
    }

    .menu-shop {
        height: 3.2rem;
        width: 3.2rem;
    }

    .menu-shop > .label-small {
        margin-top: 0.2rem;
        font-size: 0.8rem;
    }

    .menu-logo {
        height: 2rem;
    }

    .hamburger-menu {
        height: 1rem;
    }

    .main-menu {
        padding: 1.1rem 1.4rem;
    }

    .side-menu-list .label-aires-small {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
}


@media screen and (max-height: 750px) and (orientation: landscape)  {

    .side-menu-content {
        padding-top: 1.3rem;
    }

    .menu-shop {
        height: 3.2rem;
        width: 3.2rem;
    }

    .navigation-link {
        margin-top: 0.4rem;
        font-size: 1.2rem;
    }

    .menu-shop > p {
        font-size: 1.2rem;
    }

    .menu-logo {
        height: 2rem;
    }

    .hamburger-menu {
        height: 1rem;
    }

    .main-menu {
        padding: 1.1rem var(--hor-padding);
    }

    .main-menu {
        gap: 3rem;
    }
}