#main-menu {
    position: relative;
background-color: white


}

.menu-box{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#main-menu .row{
    align-items: center;
    justify-content: space-between;
      flex-wrap: nowrap !important
}



#main-menu ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#main-menu ul li {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 1rem 0.5rem;
}

#main-menu ul li a {
    color:inherit;
     font-size:clamp(0.9rem, 0.833rem + 0.139vw, 1rem);
    line-height: 2.2rem;
    margin: 0 0 0 2vw;
    display: inline-block;
font-weight: 500;
    position: relative;
    text-align: right
}

#main-menu ul li ul li a {
    text-transform: none;
    font-weight: normal;
    font-size: smaller;
}

#main-menu ul li a:hover{
    color: var(--main-color) !important;
}

#main-menu ul li ul li a {
    white-space: nowrap;
}

.opener {
    right: 0px;
    position: absolute;
    top: 0px;
    width: 1rem;
    height: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}


.opener svg {
    width: 0.5rem;
    height: auto;
}

@media only screen and (min-width: 961px) {
    #main-menu ul li ul {
        z-index: 10;
        display: block;
        overflow: hidden;
        position: absolute;
        left: -0.5vw;
        background: #fff;
        top: 1.8em;
        padding: 0.5vw 0.5vw;
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #main-menu ul > li:hover ul {
        opacity: 1;
        visibility: visible;
        display: block;
        top: 2.2rem;
    }

    #main-menu div > ul > li > a:before {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--main-color);
        display: block;
        bottom: 0;
        left: 0;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }

    #main-menu div > ul > li > a:hover:before {
        width: 100%;
        height: 2px;
    }

    #main-menu ul li ul li {
        width: 100%;
    }
}

#hamburger,     .contact-box{
    display: none
}


.contact-box h3, .contact-box p {
        color:white !important
    }



@media only screen and (max-width: 1280px) {
    
    
    .contact-box{
           display: block;
    border-top: 1px solid rgba(255,255,255,.5);
    margin-top: 1rem;
    padding-top: 1rem;
    }
    
            .menu-box nav{
        position: absolute;
    top: 5rem;
    right: -100%;
                transition: all 0.2s ease-in-out;
                z-index: 4
        
    }
    
        .menu-box nav.open{
    right: 2rem !important;
        
    }


    #logo a {
        margin: 0.5rem 0;
    }

    #hamburger {
        height: 2rem;
        width: 2.5rem;
        padding: 0.5rem;
        border-radius: 50%;
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        margin: 1rem 0;
        cursor: pointer;
        position: relative;
        z-index: 4
    }

    #hamburger span {
        position: relative;
        display: block;
        height: 2px;
        background: black;
        opacity: 1;
        border-radius: 3px;
        -webkit-transition: .3s ease-in-out;
        -moz-transition: .3s ease-in-out;
        -o-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }
    
    #hamburger.open span{
       background: white;  
    }

    #hamburger span:nth-child(1) {
        top: 0;
    }

    #hamburger span:nth-child(3) {
        bottom: 0;
    }

    #hamburger.open span:nth-child(1) {
        top: 50%;
        margin-top: -1px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    #hamburger.open span:nth-child(3) {
        bottom: 50%;
        margin-bottom: -1px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    #hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    


    #main-menu ul {
        overflow: hidden;
        display: block;
        -webkit-transition: all .8s ease-in-out;
        -moz-transition: all .8s ease-in-out;
        -o-transition: all .8s ease-in-out;
        transition: all .8s ease-in-out;
    }

    #main-menu ul.sub-menu.open {
        opacity: 1;
        max-height: 1000px;
    }

    #main-menu ul.sub-menu{
        max-height: 0;
        opacity: 0;
    }

    #main-menu ul li {
        text-align: right;
        display: block;
        padding: 0.3rem 0;
    }

    #main-menu ul li:last-of-type a {
        border: none;
    }

    #main-menu ul li a {
        padding: 0;
        margin: 0;
        display: inline-block;

      
    }

    #main-menu ul li ul li a {
        padding: 0 15px;
        border: none;
    }

    .opener {
        right: 0px;
        position: absolute;
        top: 0px;
        width: 2rem;
        height: 2rem;
        cursor: pointer;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .opener svg {
        width: 50%;
        height: auto;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }

    .open.opener svg {
        -webkit-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}

.menu-box nav.open a{
    color: white !important
}

.darklayer {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+57&0+0,0+0,0.8+100 */
   background: linear-gradient(93deg, rgb(36 46 66 / 90%) 0.6%, #0b111d 100%);

    top: 0;
    left: 0;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
transition: all 0.2s ease-in-out
}

.darklayer.show {
    opacity: 1;
    visibility: visible
}

.lang-item, .lang-item a, .lang-item li {
    display: flex !important;
    align-items:center;
justify-content: flex-end
}

.lang-item img {
    width:2rem !important
}

.hero-text{
    padding-top:5rem!important;
    padding-bottom: 5rem!important
}
