@charset "utf-8";

.lang_switch {
  position: relative;
}
.lang_switch_btn {
  display: flex;
  align-items: center;
  transition: opacity 0.15s ease;
  cursor: pointer;
}
.lang_switch_btn_text {
  font-weight: 500;
}
.lang_switch_btn_arrow {
  width: 8px;
  margin-left: 8px;
  position: relative;
}
.lang_switch_btn_arrow::after,
.lang_switch_btn_arrow::before {
  content: "";
  display: block;
  width: 2px;
  height: 8px;
  position: absolute;
  top: -3px;
  background-color: #1b2228;
}
.lang_switch_btn_arrow::before {
  left: 1px;
  transform: rotate(-45deg);
}
.lang_switch_btn_arrow::after {
  right: 0;
  transform: rotate(45deg);
}
.lang_switch_list {
  overflow: hidden;
  display: none;
  position: absolute;
  right: -8px;
  z-index: 999;
  background-color: #fff;
  border-radius: 3px;
  box-shadow:
    0 50px 100px rgba(50, 50, 93, 0.1),
    0 15px 35px rgba(50, 50, 93, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.1);
}
.lang_switch_list_item_link {
  min-width: 88px;
  padding: 0 24px 0 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 42px;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.lang_switch_list.active {
  display: block;
}

@media screen and (min-width: 641px) {
  .lang_switch_btn:hover {
    opacity: 0.6;
  }
  .lang_switch_list_item_link:hover {
    background-color: #f6f8fa;
    color: #3892e5;
  }
}

@keyframes fadeInDown {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}
