.nav {
  background-color: #181a1c;
  --img1: scale(1);
  --img2: scale(0);
  z-index: 999;
  position: sticky;
  top: 0;
}

.nav:has(.dropdown:target) {
  --img1: scale(0);
  --img2: scale(1);
  --clip: inset(0 0 0 0);
}

.nav__container {
  width: 90%;
  margin: 0 auto;
  height: 80px;
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-areas: "title img login burg";
  justify-content: space-between;
  align-items: center;
}

.nav__title {
  width: 200px;
  color: #fff;
  grid-area: title;
}
.nav__title img {
  width: 70%;
}

.dropdown2 {
  margin-left: 70%;
  position: relative;
  grid-area: img;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}
.dropdown2 li {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  list-style: none;
}
.dropdown2 li a {
  vertical-align: middle;
  width: 25px;
}
.dropdown2 li a img {
  position: relative;
  width: 25px;
  height: auto;
  vertical-align: middle;
}
.dropdown2 li .buttonsnava {
  width: auto;
  height: auto;
  color: #fff;
  font-size: 15px;
  padding: 7px 13px;
  border-style: solid;
  border-width: 1px;
  border-color: #181a1c;
  border-radius: 3px;
  text-transform: uppercase;
  transition: 0.5s;
  text-decoration: none;
}
.dropdown2 li .buttonsnava:hover {
  border-color: rgb(254, 206, 26);
}
.dropdown2 li .buttonsnava:active {
  border-color: rgb(254, 206, 26);
  background-color: rgb(254, 206, 26);
  color: #181a1c;
}
.dropdown2 li .buttonsnava .languaje-icon {
  width: 30px;
}
.dropdown2 .nav1 {
  position: absolute;
  background-color: #181a1c;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.dropdown2 .nav1 .dropdown__sub {
  padding-left: 15%;
}
.dropdown2 .nav1 .dropdown__sub .dropdown__li .dropdown__anchor {
  width: auto;
  font-size: 15px;
  text-transform: uppercase;
}

.nav__menu {
  grid-area: burg;
  position: relative;
  transform: var(--img1);
  z-index: 999;
  display: none;
}

.nav__menu--second {
  transform: var(--img2);
  z-index: 999;
  display: none;
}

.dropdown {
  position: absolute;
  background-color: #181a1c;
  width: 75%;
  max-width: 300px;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 1em;
  display: none;
  align-content: center;
  gap: 1rem;
  overflow-y: auto;
  -webkit-clip-path: var(--clip, inset(0 0 100% 100%));
          clip-path: var(--clip, inset(0 0 100% 100%));
  transition: -webkit-clip-path 0.5s;
  transition: clip-path 0.5s;
  transition: clip-path 0.5s, -webkit-clip-path 0.5s;
  height: -moz-fit-content;
  height: fit-content;
  border-bottom-left-radius: 20px;
  z-index: 998;
}

.dropdown__list {
  list-style: none;
}

.dropdown__link {
  text-transform: uppercase;
  font-size: 15px;
  color: white;
  padding: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  background-color: var(--bg, transparent);
  border-radius: 6px;
}

.dropdown__list:has(:checked) {
  --rows: 1fr;
  --rotate: rotate(180deg);
  --bg: #28303b;
}

.dropdown__check {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropdown__arrow {
  margin-left: auto;
  transform: var(--rotate, 0);
  transition: 0.2s transform;
}

.dropdown__content {
  display: grid;
  grid-template-rows: var(--rows, 0fr);
  transition: 0.3s grid-template-rows;
}

.dropdown__sub {
  overflow: hidden;
  padding: 0;
}

.dropdown__li {
  width: 85%;
  list-style: none;
  margin-left: auto;
}

.dropdown__anchor {
  padding: 1em 0;
  font-size: 15px;
  text-transform: uppercase;
  display: block;
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 1800px) {
  .dropdown2 {
    position: absolute;
    right: 3%;
  }
}
@media screen and (max-width: 1500px) {
  .nav__container {
    width: 95%;
  }
}
@media screen and (max-width: 799px) {
  .nav__container {
    width: 95%;
  }
  .dropdown2 {
    display: none;
  }
  .nav__menu {
    display: block;
    position: absolute;
    right: 5%;
  }
  .nav__menu--second {
    display: block;
    position: absolute;
    right: 5%;
  }
  .dropdown {
    display: grid;
  }
}
@media screen and (max-width: 500px) {
  .dropdown {
    max-width: 200px;
  }
}
@media screen and (max-width: 399px) {
  .dropdown {
    max-width: 170px;
  }
}
@media screen and (max-width: 370px) {
  .dropdown {
    max-width: 150px;
  }
}
@media screen and (max-width: 355px) {
  .dropdown {
    max-width: 130px;
  }
}
@media screen and (max-width: 340px) {
  .dropdown {
    max-width: 120px;
  }
}/*# sourceMappingURL=navbar.css.map */