.header {
  padding: 20px 0;
  background: url('../img/page-bg.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header__logo img {
  width: 57px;
  margin-right: 54px;
}

.header__center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.header__nav {}


.header-menu-service__btn {
  padding: 22.5px 24px;
  border-radius: 100px;
  background: #ED4F5D;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-menu-service__btn img {
  padding-right: 12px;
}

.header-menu-service__btn span {
  margin-left: 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.5px;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  position: relative;
  white-space: nowrap;
}

.header-menu-service__btn span:before {
  content: "";
  position: absolute;
  left: -16px;
  width: 1px;
  height: 10px;
  background: #FFFFFF33;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.header__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header__item {
  position: relative;
  z-index: 3;
  margin-right: 14px;
}

.header-item-btn {
  padding: 0 12px;
  border-radius: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  -webkit-transition: 0.3s ease 0s;
  -o-transition: 0.3s ease 0s;
  transition: 0.3s ease 0s;
  /*width: 123px;*/
  height: 48px;
}

.header-item-btn.yt {
  background: rgba(247, 56, 73, 0.302);
}

.header-item-btn.telegram {
  background: rgba(14, 228, 112, 0.302);
}

.header-item-btn.tt {
  background: rgba(14, 164, 228, 0.302);
}

.header-item-btn.inst {
  background: rgba(216, 43, 203, 0.302);
}

@media (any-hover:hover) {
  .header-item-btn {
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  .header-item-btn.yt:hover {
    background: rgba(247, 56, 73, 0.602);
  }

  .header-item-btn.telegram:hover {
    background: rgba(14, 228, 112, 0.602);
  }

  .header-item-btn.tt:hover {
    background: rgba(14, 164, 228, 0.602);
  }

  .header-item-btn.inst:hover {
    background: rgba(216, 43, 203, 0.602);
  }

}


.header-item-btn__left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}

.header-item-btn__left img {
  margin-right: 12px;
}

.header-item-btn__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px;
  border-radius: 100px;
  color: white;
  font-size: 14px;
  font-weight: 400;
}

.header-item-btn__right img {
  margin-left: 4px;
}

.header-item-btn.active {
  width: 237px;
  background: #D82BCB;
  border-radius: 12px 12px 0 0;
  color: white;
}

.header-item__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: white;
  padding: 24px;
  opacity: 0;
  position: absolute;
  left: 0;
  pointer-events: none;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  width: 237px;
  border-radius: 0 0 12px 12px;
}

.header-item__content.active {
  opacity: 1;
  pointer-events: all;
}

.header-item__service {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  color: #D82BCB;
  padding: 8px;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  border-radius: 6px;
}

.header-item__service img {
  margin-right: 16px;
}

.header-item__service:hover {
  background: #F8DDFA4D;
}

.header-btn-wrap {}

.header-right__btn {
  font-size: 14px;
  font-weight: 500;
  color: #0EA4E4;
  border: 1px solid #0EA4E4;
  padding: 15.5px 43px;
  border-radius: 100px;
  text-transform: uppercase;
}

@media (any-hover:hover) {
  .header-right__btn {
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  .header-right__btn:hover {
    background-color: #0EA4E4;
    color: #fff;
  }
}

.header-right-menu {}

@media(max-width: 991.98px) {
  .header-right__btn {
    display: none;
  }
}

.header-right__content {
  display: none;
}

.header-list__top.account {
  margin: 0 10px 24px 18px;
}

.header-right__btn-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 10px 0 18px;
}

.header-right__btn-sign_in {
  width: 100%;
  background: rgba(237, 79, 93, 1);
  border-radius: 100px;
  gap: 21px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 21.5px 0;
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.header-right__btn-sign_up {
  width: 100%;
  border-radius: 100px;
  gap: 21px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 21.5px 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(237, 79, 93, 1);
  text-transform: uppercase;
  border: 1px solid rgba(237, 79, 93, 1);
}

.header__switch-lang {
  margin: 18px 10px 0 18px;
}

.switch-lang__btn {
  background: rgba(55, 113, 200, 0.1);
  width: 100%;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 400;
  padding: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lang-btn__left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.lang-btn__left img {
  padding-right: 12px;
}

.lang-btn__left span {
  padding-left: 12px;
  border-left: 1px solid white;
}

.header__accordion {
  margin-top: 24px;
}

.accordion__item {}

.accordion__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 18px 10px 18px 18px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

.accordion__header img {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.accordion__header.active img {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}


.accordion__content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease;
  -o-transition: max-height 0.3s ease;
  transition: max-height 0.3s ease;
}

.accordion__content.active {
  max-height: 500px;
  /* Достаточно большое значение, чтобы вмещать весь контент */
  -webkit-transition: max-height 0.9s ease;
  -o-transition: max-height 0.9s ease;
  transition: max-height 0.9s ease;
}

.accordion-link {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  font-weight: 300;
}

.header-right__telegram {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  margin: 0 10px 20px 18px;
  color: rgba(8, 107, 254, 1);
  border-radius: 12px;
  -webkit-box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.06);
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.06);
  text-decoration: underline;
  min-height: 48px;
}

.header-right__telegram img {
  margin-right: 12px;
}

@media(min-width: 991.98px) {

  .header-list__top,
  .header-right__btn-mobile,
  .header-menu-service__btn,
  .header-item-btn__right {
    display: none;
  }
}

@media(max-width: 991.98px) {

  .header__item {
    margin-right: 0;
    margin-top: 14px;
  }



  .header-item-btn {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .header {
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.02);
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    width: 100%;
  }

  .page {
    padding-top: 80px;
  }

  .header__container {
    gap: 24px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .header-list__wrapper {
    /* overflow: scroll; */
  }

  .header__center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .header__list {
    position: fixed;
    -webkit-transform: translateX(-300%);
    -ms-transform: translateX(-300%);
    transform: translateX(-300%);
    background: white;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 28px 10px 0 10px;
    overflow-y: scroll;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 1000;
  }

  .header__list.active {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
  }

  .background-black {
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 99;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }

  .background-black.active {
    background: rgba(0, 0, 0, 0.6);
    pointer-events: all;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }

  .header-right__content {
    position: fixed;
    -webkit-transform: translateX(300%);
    -ms-transform: translateX(300%);
    transform: translateX(300%);
    background: white;
    width: 257px;
    height: 100vh;
    top: 0;
    right: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 28px 0 0 0;
    overflow-y: scroll;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 1000;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .header-right__content.active {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
  }

  .header-list__title {
    font-size: 20px;
    font-weight: 700;
  }

  .header-list__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 24px;
  }

  .header-item-btn {
    width: 100%;
  }

  .header-item-btn.active {
    color: black;
    width: 100%;
  }

  .header-item-btn.inst,
  .header-item-btn.active.inst {
    background: rgba(216, 43, 203, 0.2);
  }

  .header-item-btn .header-item-btn__right img {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }

  .header-item-btn.inst .header-item-btn__right {
    background: rgba(216, 43, 203, 0.3);
  }

  .header-item-btn.active.inst .header-item-btn__right img {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .header-item-btn.tt,
  .header-item-btn.active.tt {
    background: rgba(14, 228, 112, 0.2);
  }

  .header-item-btn.tt .header-item-btn__right {
    background: rgba(14, 228, 112, 0.3);

  }

  .header-item-btn.active.tt .header-item-btn__right img {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .header-item-btn.telegram,
  .header-item-btn.active.telegram {
    background: rgba(14, 164, 228, 0.2);
  }

  .header-item-btn.telegram .header-item-btn__right {
    background: rgba(14, 164, 228, 0.3);
  }

  .header-item-btn.active.telegram .header-item-btn__right img {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .header-item-btn.yt,
  .header-item-btn.active.yt {
    background: rgba(247, 56, 73, 0.2);
  }

  .header-item-btn.yt .header-item-btn__right {
    background: rgba(247, 56, 73, 0.3);
  }

  .header-item-btn.active.yt .header-item-btn__right img {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .header__item {
    position: relative;
  }

  .header-item__content {
    position: absolute;
    max-height: 0;
    width: 100%;
    overflow: hidden;
    -webkit-transition: max-height 3s ease;
    -o-transition: max-height 3s ease;
    transition: max-height 3s ease;
  }

  .header-item__content.active {
    max-height: 1000px;
    -webkit-transition: max-height 0.3s ease;
    -o-transition: max-height 0.3s ease;
    transition: max-height 0.3s ease;
    position: relative;
  }

}

@media (max-width: 767px) {
  .wrapper .header {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
  }

  .header__logo img {
    margin-right: 0;
  }

  .header-right__content {
    width: 380px;
  }

  .header-right__btn-sign_in, .header-right__btn-sign_up, .lang-btn__left span {
    font-size: 18px;
  }

  .switch-lang__btn {
    padding: 16.5px 24px;
  }
}

@media (max-width: 410px) {
  .header-right__content {
    width: 257px;
  }

  .header-right__btn-sign_in, .header-right__btn-sign_up {
    font-size: 14px;
    padding: 21.5px;
  }

  .lang-btn__left span {
    font-size: 14px;
  }

  .switch-lang__btn {
    padding: 12.75px;
  }
}