/* MENU BUTTON */

.menuBTN {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

#mlineT {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 2px solid #343e5f;
    border-radius: 3px;
    transition: opacity 0.5s;
    background-color: #343e5f;
}

#mlineB {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border: 2px solid #343e5f;
    border-radius: 3px;
    transition: opacity 0.5s;
    background-color: #343e5f;
}

.mlineM {
    position: absolute;
    top: calc(50% - 2px);
    left: 0;
    width: 100%;
    border: 2px solid #343e5f;
    border-radius: 3px;
    transition: all 0.5s;
    background-color: #343e5f;
}

.mline1a { rotate: 45deg; }
.mline2a { rotate: -45deg; }
.mlineGone { opacity: 0; }


/* GENERAL MENU */

@media (min-width: 850px) {
    .mob { display: none; }
}

.topM { height: 5rem; }


/* MENU BACKGROUND */

.mMenuBg {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    background-color: #f18619;
    opacity: 0;
    z-index: -100;
    transition: opacity 0.3s ease-in-out;
}

.mMenuBgOpen {
    opacity: 1;
    z-index: 50;
}


/* FULLSCREEN MENU */

.mMenu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    transition: all 0.5s;
}

.mMenuOpen { display: none; }

.topMenu { height: calc(100vh - 5rem); }


/* MENU CONTENT */

.mMenuCont {
    position: relative;
    z-index: 99;
    display: flex;
    justify-content: center;
    padding-top: 8rem;
    width: 100%;
}

#mmLangSwitch {
    position: absolute;
    right: 1.3rem;
    top: 1rem;
    color: white;
}


/* NAVIGATION */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-navigation li {
    padding-top: 1rem;
}

.menu-item {
    opacity: 0;
    animation: dropIn 0.5s ease forwards;
}

@keyframes dropIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-navigation ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    margin: 0;
}


/* MENU BOTTOM */

.mMenuBot {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.mMenuBotOpen { opacity: 1; }


/* SOCIAL ROW */

.socialRow {
    display: flex;
    align-items: center;
    font-size: 2rem;
}

.socialLogo {
    height: 3rem;
    padding: 1rem;
}


/* LEGAL NAVIGATION */

.legal-navigation {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-navigation a {
    color: white;
    font-size: 16px;
    padding: 0 4px;
    text-decoration: none;
}

.copyright {
    padding: 1rem;
    color: #343e5f;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* SCROLL LOCK */

html.lts-menu-open,
body.lts-menu-open {
    overflow: hidden;
}


/* ACCESSIBILITY */

#menuBTN:focus-visible {
    outline: 2px solid #343e5f;
    outline-offset: 4px;
}


/* SMALL SCREEN HEIGHTS */

@media (max-height: 760px) {
    .mMenuCont { padding-top: 5.5rem; }
    .main-navigation .menu-item { margin-top: 0.45rem; }
    .main-navigation li { padding-top: 0.35rem; }
    .main-navigation ul li a { font-size: clamp(1.2rem, 3.3vh, 1.85rem); }
    .mMenuBot { bottom: 0.35rem; }
    .copyright { padding: 0.35rem; }
}


/* MOBILE */

@media (max-width: 600px) {
    .legal-navigation { font-size: 1rem; }
    .legal-navigation a { font-size: 0.85rem; }
    .copyright { font-size: 0.8rem; }
}

/* MENU MARKER FIX */

#mMenu .main-navigation ul {
    align-items: center;
}

#mMenu .main-navigation li.menu-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 1rem auto 0;
    padding: 0;
}

#mMenu .main-navigation li.menu-item > a,
#mMenu .main-navigation li.menu-item:hover > a,
#mMenu .main-navigation li.menu-item > a.active {
    display: block;
    margin: 0;
    margin-left: 0;
    text-align: center;
}

#mMenu .main-navigation li.menu-item > .menuIndex {
    position: absolute;
    top: 50%;
    left: -2rem;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background-color: #CFFF04;
    transform: translateY(-50%);
    display: none;
}

#mMenu .main-navigation li.menu-item > .menuIndex.active,
#mMenu .main-navigation li.menu-item:hover > .menuIndex {
    display: block;
}

/* MENU RESPONSIVE FONT SIZE */

#mMenu .main-navigation .menu-item > a {
    font-size: clamp(1.15rem, 2.7vw, 2rem);
    line-height: 1.25;
}


/* MOBILE */

@media (max-width: 480px) {

    #mMenu .main-navigation .menu-item > a {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }

}


/* SMALL SCREEN HEIGHT */

@media (max-height: 650px) {

    #mMenu .main-navigation .menu-item > a {
        font-size: clamp(1.05rem, 4.3vh, 1.5rem);
    }

}

/* MOBILE MENU FONT SIZE */

@media (max-width: 600px) {

    #mMenu .main-navigation .menu-item > a {
        font-size: clamp(1.6rem, 7vw, 1.95rem);
        line-height: 1.25;
    }

}

/* SMALL MOBILE SCREENS */

@media (max-width: 380px) {

    #mMenu .main-navigation .menu-item > a {
        font-size: 1.6rem;
    }

}