.menu{
    position: fixed;
    top: -120vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #242424;
    color: white;
    z-index: 123;
    padding: 60px;
    transition: 1.2s;
}
.menu:after{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20vh;
    background-color: #FCB64E;
    transition: 1.4s;
    max-height: 20vh;
    content: ' ';
}
.menu.active:after{
    max-height: 0vh;
}
.menu.active{
    top: 0px;
}
.menu .top{
    display: flex;
    justify-content: space-between;
}
.menu .logo #logo .cls-2{
    fill: white;
    stroke: white;
}
.menu .close-button{
    color: white;
    font-size: 16px;
    display: flex;
}
.menu .close-button .lines{
    position: relative;
    margin-left: 20px;
    width: 12px;
}
.menu .close-button .lines .line{
    background-color: white;
    height: 24px;
    width: 3px;
    position: absolute;
    top: 0;
    transition-delay: 0.2s;
}
.menu .close-button .lines .line .fill{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 0px;
    background-color: #FCB64E;
    transition: 0.2s;
}
.menu .close-button .lines .line:first-child{
    transform: rotate(-45deg);
}
.menu .close-button .lines .line:last-child{
    transform: rotate(45deg);
}
.menu .close-button .lines .line:first-child .fill{
    transition-delay: 0.1s;
    bottom: 50%;
    transform: translateY(50%);
}
.menu .close-button:hover .lines .line{
    background-color: #FCB64E;
}
.menu .close-button:hover .lines .line .fill{
    max-height: 100%;
}
.menu .middle{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.menu .middle .center{
    width: 768px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
nav{ grid-area: 1 / 1 / 3 / 2; }
.item-parent{
    position: relative;
    display: block;
    margin-left: -200px;
    transition: 0.4s ease-in-out;
    opacity: 0.1;
    cursor: pointer;
}
.menu.active .item-parent{
    margin-left: 0px;
    opacity: 1;
}
nav .item{
    font-size: 40px;
    font-family: caps;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    color: white;
}
nav .item-parent:last-child .item{
    margin-bottom: -10px;
}
nav .item-parent:nth-child(1){
    transition-delay: 0.6s;
}
nav .item-parent:nth-child(2){
    transition-delay: 0.5s;
}
nav .item-parent:nth-child(3){
    transition-delay: 0.4s;
}
nav .item-parent:nth-child(4){
    transition-delay: 0.3s;
}
nav .item-parent:nth-child(5){
    transition-delay: 0.2s;
}
nav .item-parent:nth-child(6){
    transition-delay: 0.1s;
}
.item-parent span{
    position: absolute;
    top: 0;
    left: 0;
    font-size: 40px;
    font-family: caps;
    font-weight: bold;
    color: #FCB64E;
    max-width: 0px;
    overflow: hidden;
    transition: 1.4s;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
}
nav .item-parent.active .item,
nav .item-parent:hover .item{
    opacity: 0.2;
}
nav .item-parent.active span,
nav .item-parent:hover span{
    max-width: 100%;
}
.langs{
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    justify-content: flex-end;
    margin-right: -200px;
    transition: 1s ease-in-out;
    transition-delay: 0.1s;
    opacity: 0.1;
}
.langs button,
.langs a{
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 100%;
    border: 2px solid white;
    font-size: 16px;
    font-weight: bold;
    margin-left: 20px;
    transition: 0.2s;
}
.langs button:hover,
.langs button.active,
.langs a:hover,
.langs a.active{
    border-color: #FCB64E;
    color: #FCB64E;
}
.menu.active .langs{
    padding-top: 10px;
    margin-right: 0px;
    opacity: 1;
}
.contact{
    grid-area: 2 / 2 / 3 / 3;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
    position: relative;
}
.menu.active .contact{
    margin-right: 0px;
}
.contact .header,
.contact a{
    display: block;
    width: 100%;
    text-align: right;
    white-space: nowrap;
    min-width: 120px;
    position: absolute;
    right: -200px;
    opacity: 0.2;
}
.menu.active .contact .header,
.menu.active .contact a{
    right: 0px;
    opacity: 1;
}
.contact .header{
    color: #FCB64E;
}
.contact a{
    color: white;
}
.contact a:hover{
    color: #FCB64E;
}
.contact .header{
    transition: 1.2s;
    bottom: 50px;
}
.contact a:nth-child(2){
    bottom: 25px;
    transition: 1s;
}
.contact a:nth-child(3){
    bottom: 0px;
    transition: 0.8s;
}
.menu.active .contact .header,
.menu.active .contact a{
    right: 0;
}
@media (max-height:500px){
    .menu .middle .center{
        overflow-y: scroll;
        max-height: 55vh;
        padding-right: 20px;
    }
}
@media (max-width: 575px) {
    nav .item,
    .item-parent span{
        font-size: 26px;
    }
    .menu.active .langs{
        padding-top: 11px;
    }
    .menu.active .contact{
        margin-bottom: -6px;
    }
    .menu{
        padding: 20px;
    }
}
  
@media (max-width: 330px) {
    nav .item,
    .item-parent span{
        font-size: 18px!important;
    }
}

@media (max-width: 991px) {

}

@media (max-width: 1199px) {

}