.header {
  background-color: #121315;
  padding: 18px 0;
}

.header .container {
  width: 1410px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__nav-list {
  display: flex;
  align-items: center;
}

.header__list-item {
  margin-left: 60px;
}

.header__list-item:first-child {
  margin-left: 0;
}

.header__list-link {
  text-transform: capitalize;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.header__list-link:hover {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #04a070;
}

.header__functions {
  display: flex;
  align-items: center;
}

.header__functions-link {
  margin-right: 10px;
}

.header__functions-img path {
  transition: all 0.3s ease-in-out;
}

.header__functions-link:hover .header__functions-img path {
  fill: #29aaec;
  transition: all 0.3s ease-in-out;
}

.header__translator {
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.header__translator-dropbutton {
  border: none;
  outline: none;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.header__translator-dropdown {
  display: none;
  position: absolute;
  z-index: 1;
  cursor: pointer;
}

.header__translator-link {
  padding: 6px 0;
  text-decoration: none;
  display: block;
  color: #fff;
  transition: all 0.3 ease-in-out;
}

.header__translator-link:hover {
  color: #04a070;
  cursor: pointer;
  transition: all 0.3 ease-in-out;
}

.header__translator-img {
  margin-left: 8px;
  transition: all 0.3s ease-in-out;
}

.header__translator:hover .header__translator-dropdown {
  display: block;
}

.header__translator:target .header__translator-dropdown {
  display: block;
}

.header__translator:hover .header__translator-img {
  transform: rotate(180deg);
  transition: all 0.3s ease-in-out;
}

.header__menu-open {
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  transition: all 0.3s ease-in-out;
  display: none;
}

.header__menu-open:hover {
  color: #04a070;
  transition: all 0.3s ease-in-out;
}

.menu__modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100vh;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease-in;
  z-index: 2;
}

.menu__modal {
  background-color: #121315;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-400px);
  transition: all 0.6s ease-in;
  width: 100vw;
}

.modal-overlay--visible {
  opacity: 1;
  visibility: visible;
  transition: all 0.6s ease-in;
}

.modal--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.modal__opened {
  position: fixed;
  right: 0;
  left: 0;
  overflow: hidden;
}

.none {
  display: none;
}

.header__nav-menu {
  display: flex;
  justify-content: center;
  background-color: #04a070;
  padding: 40px 0;
}

.header__nav-menu ul {
  display: block;
  text-align: center;
}

.header__nav-menu ul li {
  margin-left: 0;
  margin-bottom: 20px;
  text-align: center;
}

.header__nav-menu ul li:last-child {
  margin-bottom: 0;
}

.header__nav-menu ul li a {
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  text-align: center;
  margin: 0 auto;
}

.header__menu-close {
  font-size: 18px;
  line-height: 22px;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.header__menu-close:hover {
  color: #04a070;
  transition: all 0.3s ease-in-out;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 20px;
}

.header__nav-menu .header__translator-inner {
  margin: 0 auto;
}

.header__menu-translator .header__translator-dropbutton,
.header__menu-translator .header__translator-link {
  font-weight: 700;
  text-transform: uppercase;
}
