.modal {
    width: 100%;
    height: -moz-available;
    height: -webkit-fill-available;
    height: stretch;
    /* Latest specification */
    background-color: var(--secondary-color);
    min-height: 100vh;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform-origin: 100% 50%;
    transform: scale(0.4, 1);
}

.modal:global(.show-navigation) {
    animation: modal-navigation-scaleX 0.1s ease-in-out forwards;
}

.modal:global(.remove-navigation) {
    animation: modal-navigation-scaleX-remove 0.15s ease-in-out forwards;
}

.navigationWrapper {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    /* overflow-x: hidden; */
}

.navigationWrapper .modalNavigation:global(.show-navigation) {
    animation: modal-navigation-fade 0.15s ease-out forwards;
}

.navigationWrapper .modalNavigation:global(.remove-navigation) {
    animation: modal-navigation-fade 0.15s ease-out reverse;
}

.modalNavigation {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100%;
    width: 100%;
    opacity: 0;
}

.logoWrapper {
    position: absolute;
    top: 45px;
    left: calc(15px + 4vw);
    width: 200px;
}

.iconWrapper {
    position: absolute;
    top: 45px;
    right: calc(15px + 4vw);
    cursor: pointer;
    display: flex
}

.naviagtionInfo .informationWrapper,
.naviagtionInfo .informationWrapper a {
    color: #E5E5E5;
}

.naviagtionInfo .informationWrapper svg {
    fill: #E5E5E5;
}

.naviagtionInfo .informationWrapper p:hover svg,
.naviagtionInfo .informationWrapper a:hover svg {
    fill: white;
}

.naviagtionInfo .informationWrapper p:hover,
.naviagtionInfo .informationWrapper a:hover {
    color: white;
}

.langWrapper {
    margin-top: 30px;
    display: flex;
}

.navigationContent {
    display: flex;
    align-items: center;
    padding: 150px 30px 60px 30px;
    width: 100%;
    max-width: 800px;
    flex-direction: column;
    justify-content: center;
}

.languageNavigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media(max-width: 768px) {
    .logoWrapper {
        top: 20px;
        width: 120px;
        left: calc(10px + 2vw);
    }

    .iconWrapper {
        top: 10px;
        /* width: 40px; */
        height: 40px;
        right: calc(10px + 2vw);
    }

    .naviagtionInfo {
        text-align: center;
    }

    .navigationContent {
        flex-direction: column;
        padding: 80px 30px 80px 30px;
    }

    .languageNavigation {
        flex-direction: column;
        align-items: center;
    }

}

@keyframes modal-navigation-scaleX {
    from {
        transform: scale(0.4, 1)
    }

    to {
        transform: scale(1, 1)
    }
}

@keyframes modal-navigation-scaleX-remove {
    from {
        transform: scale(1, 1)
    }

    50% {
        transform: scale(0.4, 1)
    }

    to {
        transform: scale(0, 1);
    }
}

@keyframes modal-navigation-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}