.lang-dropdown {
    display: inline-block;
}

.lang-dropdown.mobile {
    display: none !important;
}

.lang-dropdown button {
    background-color: transparent;
    min-width: 130px;
    width: max-content;
    height: 40px;
    border-radius: 5px;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    justify-content: space-evenly;
    border: 1px solid transparent;
}

@media only screen and (max-width: 770px) {
    .lang-dropdown.mobile {
        display: inline-block !important;
    }

    .lang-dropdown button {
        background-color: #f1f1f1;
        color: #000;
    }

    .arrow-down {
        border-color: #000 transparent transparent transparent !important;
    }
}

.lang-dropdown button:hover {
    cursor: pointer;
    border: 1px solid #f1f1f1;
}

.lang-dropdown button img {
    margin: 0 5px 0 0;
}

.lang-dropdown button img,
.lang-dropdown-content li img {
    width: 22px;
    border-radius: 2px;
}

.lang-dropdown button,
.lang-dropdown-content li {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Noto Sans Arabic", sans-serif;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 500;
}

.top-links .lang-dropdown button,
.top-links .lang-dropdown-content li {
    font-size: 16px;
}

.arrow-down {
    width: 0;
    height: 0;
    display: inline-block;
    vertical-align: middle;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #fff transparent transparent transparent;
    margin: 0 0 0 5px;
}

/* Style for the lang-dropdown content */
.lang-dropdown-content {
    display: none;
    position: absolute;
    margin: 1px 0 0 0;
    padding: 0;
    background-color: #f5f5f5;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow-y: scroll;
    max-height: 315px;
    top: 45px;
    z-index: 99;
}

/* Style for the lang-dropdown content items */
.lang-dropdown-content li {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    /* justify-content: end; */
}

.lang-dropdown-content li img {
    margin: 0 10px 0px 5px;
    vertical-align: middle;
}

/* Style for the lang-dropdown content items on hover */
.lang-dropdown-content li:hover {
    background-color: #f1f1f1;
    cursor: pointer;
    color: blue;
    border-radius: 5px;
}

/* Show the lang-dropdown content when the lang-dropdown button is clicked */
/* .lang-dropdown:focus-within .lang-dropdown-content {
    display: block;
} */
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

/* Animate the lang-dropdown content */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown-content {
    animation: slideIn 0.3s ease-out;
}

/* Scrollbar styles */
.lang-dropdown ::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

.lang-dropdown ::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c9d2;
}