/*NAVIGATION STYLE*/
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    left: auto;
    right: 0;
    overflow: hidden;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .95);
    border-radius: 5px;
    transition: 0.5s;
}

.overlay:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    background: rgba(255, 250, 250, .85);
    backdrop-filter: blur(10px);
    filter: blur(10px);
    margin: -20px;
    overflow: hidden;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    color: #575151;
    display: block;
    transition: 0.3s;
    font-size: 1.5rem;
}

.overlay a:hover, .overlay a:focus {
    color: #000000;
}

.overlay .closebtn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 60px;
    line-height: 60px;
}

.overlay-menu {
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.overlay-menu ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    list-style: none;
    height: 100vh;
    margin: 0;
}

.overlay-menu ul li {
    padding: 0.75rem 0;
    text-shadow: 0 8px 10px rgba(113, 113, 113, 0.35);
}

.menu-btn {
    position: fixed;
    top: 2rem;
    left: auto;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    z-index: 1;
    background:  url("../img/menu-right.svg") no-repeat center right, radial-gradient(circle, rgba(0,0,0,0.05) 3%, transparent 65%, transparent 100%);
    background-size: contain;
    text-indent: -100000rem;
}

.language-switch {
    position: absolute;
    top: 4.5rem;
    left: auto;
    right: 2.25rem;
    width: auto;
    height: auto;
    z-index: 1;
}
.language-switch ul {
    text-decoration: none;
    list-style: none;
    display: inline-flex;
    padding: 0;
    font-size: 80%;
}
.language-switch ul li {
    margin: 0.5rem 0.25rem;
}

.language-switch ul li a {
    opacity: 0.7;
}
.language-switch ul li a:hover {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.language-switch ul li a.lang-btn-active {
    opacity: 0.3;
    pointer-events: none;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 3rem;
        right: 3rem;
    }
}

@media screen and (min-height: 992px) {
    .overlay a {
        font-size: 2rem;
    }

    .menu-btn {
        top: 3rem;
        left: auto;
        right: 3rem;
        width: 4rem;
        height: 4rem;
    }

    .overlay .closebtn {
        top: 1.75rem;
        right: 3rem;
        font-size: 75px;
        line-height: 75px;
    }

    .language-switch {
        position: absolute;
        top: 6rem;
        left: auto;
        right: 3.5rem;
        width: auto;
        height: auto;
        z-index: 1;
    }

    .language-switch ul li a {
        opacity: 0.5;
    }
}

@media screen and (min-height: 1920px) {

    .menu-btn {
        top: 5rem;
        left: auto;
        right: 5rem;
        width: 5rem;
        height: 5rem;
    }

    .overlay .closebtn {
        top: 1.75rem;
        right: 3rem;
        font-size: 90px;
        line-height: 90px;
    }

    .language-switch {
        position: absolute;
        top: 6.5rem;
        left: auto;
        right: 3.25rem;
        width: auto;
        height: 3rem;
        z-index: 1;
    }
}

/*NAV STYLE END*/