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


.lang__link {
    cursor: pointer;
    transition: .3s all;
    display: flex;
    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: 20px;
    flex-shrink: 0;
    font-size: 10px;
    display: block;
    transition: .3s all;
}

.lang__link_sub:hover {
    color: #000!important;
    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: 100%;
    height: auto;
    position: relative;
    padding: 0;
    margin-bottom: 2px;
    flex-direction: row;
    gap: 5px;
}

.lang__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: .3s all;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 10;
    gap: 5px;
    padding: 8px;
    transform-origin: center top;
    box-shadow: 0px 4px 18px 1px #0000002b;
    background: #fff;
    border: 1px #dadada solid;
    border-radius: 8px;
}

.lang:hover .lang__list {
    opacity: 1;
    visibility: visible;
}

.lang__link_select {
    align-items: flex-start;
    text-align: center;
    flex-direction: row;
    gap: 4px;
}
