.language_switcher {
    margin-left: 20px;
}
.lang-switcher {
    position: relative;
    display: inline-block;
}

/* при наведении показываем список */
.lang-switcher:hover .lang-switcher__list {
    opacity: 1;
    visibility: visible;
}

.lang-switcher__label {
    cursor: pointer;
    display: inline-block;
}

.lang-switcher__list {
    position: absolute;
    padding: 4px 0;
    top: 15px;
    right: 0;
    width: 120px;
    background-color: white;
    border: 1px solid hsl(0, 0%, 80%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.21);
    list-style-type: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.lang-switcher__list:before {
    content: '';
    position: absolute;
    top: -12px;
    height: 12px;
    width: 100%;
    background-color: transparent;
}



.lang-switcher__item {
    padding: 6px 10px;
    color: black;
    cursor: pointer;
    transition: all 100ms;
    position: relative;
}

.lang-switcher__item:hover {
    color: #43B6E8;
    text-decoration: none;
    background: rgba(42, 109, 244, 0.08);
}


