:root {
    --verde-10: #eceee5;
    --verde-20: #d9ddcb;
    --verde-40: #b5bb9a;
    --verde-40-trasparenza: rgba(181,187,154,.97);
    --verde-60: #929b6d;
    --verde-100: #4e5b20;
    --rosso-sociale: rgb(195,134,139);
    --rosso-sociale-trasparente7: rgba(195,134,139,.9);
    --transition-duration: 0.5s;
    --colore-testo-home-chiarissimo: rgb(234,234,234);
    --colore-testo-home-chiaro: rgb(193,193,193);
  }



#menu-container {

    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 110vw;
    transition: all .5s ease;
    overflow-y: auto;
    overflow-x: hidden;
    transition: left .5s;
    z-index:1000;
}


.menu-container {
    background-color: var(--colore-testo-home-chiarissimo);
    display: flex;
    flex-direction: column;
    padding: 120px 5% 50px 5%;
    z-index: 9990;
}



#menu-container.open {
    left: 0;
    display: flex;
}


@media  screen and (min-width: 992px) {


.menu-container {
    background-color: var(--colore-testo-home-chiarissimo);
    display: flex;
    flex-direction: column;
    padding: 2%;
    width: 30%;
    height: 85%;
    top: 7.5%;
    z-index: 1000;
    padding-top: 100px;
    
}
    #menu-container.open {
     
       left: 65%;
       width: 35%;
      
}
}

.menu-container a {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--verde-100);
    text-decoration: none;
    margin: 10px 0;
    cursor: pointer !important;
}

.menu-container a:hover {
    font-weight: 800;
}

.bianco.nascosto {
    display: none;
}

.verde.nascosto {
    display: none;
}

.sub-menu {

    width: 90%;
    height: max-content;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: rgba(217,221,203,.5);
    margin-left: 5%;
    transition: all var(--transition-duration) ease;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0 2%;
    flex-direction: column;
}

.sub-menu a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 20px;
}

.sub-menu img {
    transition: .5s transform;
}
.sub-menu img.rotate {
    transform: rotate(180deg);
}

.sub-menu a img {
    height: 30px;
}


@media  screen and (min-width: 992px) {
    .sub-menu {
        width: 80%;
        margin-left: 3%;
        flex-direction: column;
        padding: 0 1%;
    }

}
.linee-submenu {
    width: 90%;
    margin: 0 5%;
    background-color: var(--colore-testo-home);
    margin: 0 0 15px 5%;
    border-radius: 5px 5px;
}
 
.linee-submenu.hidden {
    height: 0;
    overflow: hidden;
    margin: 0 0 0 0;
    border-radius: 0 0;
}

#linee-submenu {
    height: max-content;
    
}

#linee-submenu.hidden {
    height: 0;
}

.sub-menu ul {
    padding: 1% 5%;
    list-style: none;
    height: 100%;
    width: 100% !important;
}

.sub-menu ul li, .sub-menu ul li a {
    color: #4e5b20;
    font-size: 1rem;
    font-weight: 400;
    padding: 5px 0;
    cursor: pointer;
    width: 100%;
    height: 35px;
    display: flex
    ;
        align-items: center;
}

.sub-menu ul li.titolo-submenu {
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.border-left-scuro {
    border-left: 10px solid var(--colore-testo-home);
}


.sub-menu.hidden {
    height: 0;
   
}
#prodotti-submenu {
    width: 90%;
}

#prodotti-submenu ul {
    width: 50%;
}

.img-menu-logo {
    display: none;
}

.img-menu-logo.img-menu-visibile {
    display: inline !important;
}

.img-menu-logo.img-menu-visibile.nascosto {
    display: none !important;
}

.menu-container a {
    color: var(--colore-testo-home) !important;
    text-transform: uppercase;
}

.menu-container a img {
    height: 1rem;
    width: auto;
}
.sub-menu {
    background-color: var(--colore-testo-home);
}

.sub-menu a {
    padding: 2px 5px;
    color: var(--bianco) !important;
    font-size: .9rem;
    font-weight: 300;
}