.header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 7px 0;
  font-weight: 500;
  color: rgba(45, 45, 45, 1);
  position: relative;
  align-items: center;
  font-size: 14px;
}

@media (max-width: 1550px) {
  .header {
    font-size: 13px;
  }
}

.header__logo {
  height: 50px;
}

.header__link__portal {
  background-color: rgba(255, 44, 79, 1);
  font-family: Roboto;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 4%;
  color: white;
  padding: 7px 32px;
  box-sizing: border-box;
  border-radius: 7px;
  text-decoration: none;
  transition: .2s;
  text-align: center;
}

.header__link__portal:hover {
  background-color: rgb(253, 77, 107);
  transition: .2s;
}

.header__nav__logo__mob {
  display: none;
}

.header__nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header__nav__logo {
  height: 50px;
}

.header__nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: rgb(86, 86, 107);
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.custom-select {
  position: relative;
  width: 100px;
  user-select: none;
  color: rgba(45, 45, 45, 1);
}

.select-trigger {
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.select-trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  background-image: url("../images/select.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s;
}

.custom-select.open .select-trigger::after {
  transform: rotate(-180deg);
}

.options {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  position: absolute;
  width: 100%;
  background: #fff;
  z-index: 10;
  opacity: 0;
}

.custom-select.open .options {
  max-height: 200px;
  opacity: 1;
}

.options li {
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.options li:hover {
  background: #f0f0f0;
}

.header__link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: rgba(99, 105, 124, 1);
  text-decoration: none;
  font-weight: 700;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
}

.header__burger span {
  width: 25px;
  height: 3px;
  background: rgba(99, 105, 124, 1);
  display: block;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center
}

.header__burger.open {
  position: fixed;
  right: 20px;
  top: 20px;
}

.header__burger span:nth-child(3) {
  width: 15px;
}

.header__burger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);

}

.header__burger.open span:nth-child(2) {
  opacity: 0;
}

.header__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
  width: 25px;
}

.header__burger-menu {
  display: none
}

@media (max-width: 1520px) {

  .header__nav__logo__mob {
    display: block;
  }

  .header__burger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: #f0f0f0;
    padding: 70px 20px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 150;
    overflow-y: auto;
  }

  .header__burger-menu.active {
    transform: translateX(0);
  }

  .header__burger-menu a {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }

  .header__burger-menu.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .header__nav,
  .header__controls {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__burger-menu__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .header__burger-menu__links a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
  }

  .header__burger-menu__selects {
    display: flex;
    justify-content: space-between;
  }

  .header__burger-menu__icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
}