/* lang */

.lang {
    position: relative;
    z-index: 10;
    text-align: center;
    perspective: 700px;
}

.lang_fixed {
    position: fixed;
    right: 64px;
    top: 26px;
}

@media only screen and (min-device-width: 280px) and (max-device-width: 1024px) {
    .lang_fixed {
        position: fixed;
        right: 60px;
        top: 25px;
    }
}

.lang__link {
    cursor: pointer;
    transition: .3s all;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 2px;
    padding: 4px;
}

.lang__img {
    width: 30px;
    height: 18px;
    flex-shrink: 0;
    font-size: 10px;
    display: block;
    transition: .3s all;
}

.lang__link_sub:hover {
    filter: drop-shadow(0 0 3px rgb(136, 136, 136)) brightness(130%);
}


.lang__name {
    color: #737b84;
    font-size: 12px;
    line-height: 12px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.lang__link_sub {
    width: auto;
    height: auto;
    position: relative;
    padding: 0;
    margin-bottom: 2px;
}

.lang__list {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50px;
    opacity: 0;
    visibility: hidden;
    transition: .3s all;
    transform: rotateX(-90deg);
    position: absolute;
    left: -5px;
    top: 120%;
    z-index: 10;
    line-height: 13px;
    padding: 10px;
    transform-origin: center top;
    box-sizing: border-box;
    gap: 1.25rem;
    border-radius: 0.5rem;;
}

.lang:hover .lang__list {
    opacity: 1;
    visibility: visible;
    transform: rotateX(0);
}

.lang__link_select {
    align-items: flex-start;
    text-align: center;
    font-size: 0;
}

@media (min-width: 80em) {
    .header__top-menu {
        margin-right: 60px;
    }

    .header__menu-btn {
        margin-right: 32px;
    }

    .header .lang_fixed {
        right: 76px;
        top: 28px
    }
}

@media (min-width: 90em) {
    .header .lang_fixed {
        right: 85px;
    }
}

@media (min-width: 100em) {
    .header .lang_fixed {
        right: 20px;
    }
}