:root {
  --grey-color: #4B4B4B;
  --grey-light-color: #999;
  --blue-color: #2B4DFF;
  --green-color: #40C700;
  --red-color: #F00;
}

body {
  font-family: 'TT Norms', sans-serif;
  font-size: 12px;

  background: #F8F8F8;
}


.container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  font-family: 'TT Norms', sans-serif;

  &__icon {
    width: 100%;

    &--white {
      fill: #fff;
    }

    &--small {
      height: 10px;
    }

    &--big {
      height: 30px;
    }
  }


  &__text {
    flex-shrink: 0;
  }

  &--small {
    padding: 8px;
    font-size: 13px;
    font-weight: 500;

    border-radius: 10px;
  }

  &--big {
    padding: 15px;
    border-radius: 15px;

    font-size: 18px;
    font-weight: 500;

    height: 50px;
    @media screen and (max-width: 600px) {
      font-size: 17px;
    }
  }

  &--grey {
    color: #fff;
    background: var(--grey-color);
  }
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;

  &__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.title {
  font-family: 'TT Norms', sans-serif;

  &--base {
    font-size: 12px;
    font-weight: 500;
  }

  &--small {
    font-size: 15px;
    font-weight: 500;
  }

  &--middle {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  &--biggest {
    font-size: 55px;
    font-weight: 700;
    line-height: 1;

    @media screen and (max-width: 600px) {
      font-size: 35px;
    }
  }

  &--medium {
    font-weight: 500;
  }

  &--black {
    color: #000;
  }

  &--white {
    color: #fff;
  }

  &--grey {
    color: var(--grey-color);

    &--light {
      color: var(--grey-light-color);
    }
  }

  &--green {
    color: var(--green-color);
  }

  &--blue {
    color: var(--blue-color);
  }

  &--uppercase {
    text-transform: uppercase;
  }

  &--mobile {
    @media screen and (min-width: 601px) {
      display: none;
    }
  }
}

.text {
  font-family: "TT Norms", sans-serif;

  &--base {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    @media screen and (max-width: 600px) {
      font-size: 15px;
    }
  }

  &--big {
    font-size: 13px;
    line-height: 1;
    font-weight: 400;
  }

  &--white {
    color: #fff;
  }

  &--grey {
    color: var(--grey-color);

    &--light {
      color: var(--grey-light-color);
    }
  }
}

.burger {
  width: 27px;
  height: 20px;
  flex-shrink: 0;

  position: relative;

  &:hover {
    cursor: pointer;
  }

  &__item {
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 6px;
    position: absolute;

    &:nth-child(1) {
      top: 0;
      left: 0;

      transition: .3s top, .3s transform;

    }

    &:nth-child(2) {
      top: calc(50% - 1.5px);
      left: 0;

      transition: .3s left, .3s opacity, .5s visibility;
    }

    &:nth-child(3) {
      top: calc(100% - 3px);
      left: 0;

      transition: .3s top, .3s transform;
    }
  }

  &--white &__item {
    background: #fff;
  }

  &--active &__item {
    background: #000;

    &:nth-child(1) {
      top: 8px;
      transform: rotate(45deg);
    }

    &:nth-child(2) {
      left: -10px;
      opacity: 0;
      visibility: hidden;
    }

    &:nth-child(3) {
      top: 8px;
      transform: rotate(-45deg);
    }
  }
}

.header {
  width: 100%;
  z-index: 10;
  position: relative;
  @media screen and (min-width: 1025px) {
    display: none;
  }

  &__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    padding: 25px 20px 20px 20px;
  }

  &__burger {
    position: relative;
    z-index: 21;
  }

  &__nav {
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;

    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    z-index: 20;
    justify-content: flex-end;
  }

  &-nav {
    display: none;

    &--active {
      display: flex;
    }

    &__wrapper {
      max-width: 265px;
      width: 100%;

      padding: 130px 0 0 0;

      background: #FFF;
      box-shadow: -5px 0px 50px 0px rgba(0, 0, 0, 0.10);
      height: 100%;
    }
  }
}

.page-wrapper {
  display: flex;
  align-items: flex-start;
  @media screen and (max-width: 1024px) {
    flex-direction: column;
  }

  &__aside {
    max-width: 180px;
    width: 100%;
    flex-shrink: 0;

    position: sticky;
    top: 0;

    z-index: 10;

    @media screen and (max-width: 1024px) {
      display: none;
    }
  }

  &__back {
    position: relative;
    z-index: 4;

    &--mobile {
      @media screen and (max-width: 600px) {
        &--white {
          color: #fff;
        }
      }
    }
  }

  &__content {
    padding: 20px;
    flex-grow: 1;

    display: flex;
    flex-direction: column;

    max-width: 1300px;
    width: 100%;
    margin: 0 auto;

    overflow: hidden;

    @media screen and (max-width: 600px) {
      padding: 20px 15px;
    }
  }
}

.aside {
  overflow: hidden;
  background: #Fff;

  &__header {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 0 20px;
  }

  &__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  &__close {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    display: block;

    background: url("../images/icons/aside-close.svg") center center/contain no-repeat;
  }

  &__logo {
    width: 60px;
    height: 20px;

  }

  &__wrapper {
    display: flex;
    flex-direction: column;

    height: 100vh;

    padding: 0 0 20px 0;
  }

  &__footer, &__header {
    flex-shrink: 0;
  }

  &__content {
    padding: 20px 0;
    flex-grow: 1;

    display: flex;
    flex-direction: column;
    gap: 35px;

    overflow: hidden;
  }

  &__grid {
    overflow-x: hidden;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  &__header, &__content, &__footer {
    background: #fff;
  }

  &-block {
    &__title {
      color: #999;
      font-size: 12px;
      font-weight: 500;
    }

    &__header {
      padding: 0 20px;

      &:not(:last-child) {
        margin: 0 0 14px 0;
      }
    }
  }

  &-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    @media screen and (max-width: 1024px) {
      gap: 0;
    }

    &__link {
      display: flex;
      align-items: center;
      gap: 10px;

      font-size: 13px;
      font-weight: 500;

      padding: 6px 20px;

      transition: .3s border-radius, .3s background-color;

      &::before {
        content: '';
        width: 15px;
        height: 15px;
        display: block;

        flex-shrink: 0;
        border-radius: 50%;
        border: 1px solid #000;
      }

      &:hover {
        border-radius: 5px;
        background: #F6F6F6;
      }

      @media screen and (max-width: 1024px) {
        background: transparent;
        padding: 17px 25px;
        border-bottom: 1px solid rgba(108, 108, 108, 0.05);
        gap: 20px;

        border-radius: 0;

        font-size: 18px;
      }
    }

    &__icon {
      width: 10px;
      height: 10px;

      fill: #000;
    }
  }
}

.img {
  object-fit: contain;

  &--full {
    width: 100%;
    height: 100%;
  }

  &--cover {
    object-fit: cover;
  }

  &--round {
    border-radius: 50%;
  }
}

.content {
  &--home {
    .section {
      @media screen and (max-width: 600px) {
        order: 4;
      }

      &--hero {
        @media screen and (max-width: 600px) {
          order: 2;
        }
      }

      &--services {
        @media screen and (max-width: 600px) {
          order: 4;
        }
      }

      &--case {
        @media screen and (max-width: 600px) {
          order: 3;
        }
      }

      &--title {
        @media screen and (max-width: 600px) {
          order: 1;

        }
      }
    }
  }
}

.section {

  &__header {
    display: flex;
    align-items: center;

    &:not(:last-child) {
      margin: 0 0 20px 0;
    }
  }

  &__grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;

    &--big {
      grid-template-columns:510px minmax(0, 1fr);
    }

    &--reverse {
      grid-template-columns: minmax(0, 940px) 300px;
    }

    @media screen and (max-width: 600px) {
      gap: 25px;
      grid-template-columns: minmax(0, 1fr);
    }
  }

  &-slider {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
  }

  &-banner {
    &__wrapper {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 18px;

      height: 100%;
      border-radius: 15px;
      background: #EFF1F9;

      padding: 10px 10px 10px 0;
    }

    &__header {
      padding: 0 0 0 10px;
    }

    &__img {
      flex-grow: 1;
      width: 100%;
      height: 100%;
    }
  }
}

.card {
  &__video {
    aspect-ratio: 1;
    position: relative;
    @media screen and (max-width: 600px) {
      height: 40vh;
      aspect-ratio: unset;

      transition: .5s height;
    }

    iframe, img {
      width: 100%;
      height: 100%;
    }
  }
  &__text{
    @media screen and (max-width: 600px) {
      font-size: 18px;
    }
  }

  &-video {
    &--active{
      height: 70vh;
    }

    &--active &__item{
      &::before,&::after{
        opacity: 0;
      }
    }
    &__item {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 2;

      border-radius: 20px;
      overflow: hidden;

      object-fit: contain;

      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      video{
        width: 100%;
      }
      &::before {
        content: '';
        width: 100%;
        height: 100%;

        position: absolute;
        left: 0;
        top: 0;
        z-index: 3;

        background: rgba(#000, .4);
      }
      &::after{
        content: '';
        position: absolute;
        width: 50px;
        height: 50px;
        display: block;

        background: url("../images/icons/play.svg") center center/contain no-repeat;
        z-index: 3;
      }
      @media screen and (max-width: 600px) {
        width: calc(100% + 30px);
        transform: translateX(-15px) translateY(-115px);
        border-radius: 0;
        height: calc(100% + 165px);
      }
      &--active{
        &::before,&::after{
          opacity: 0;
        }
      }
    }
  }

  &__wrapper {
    padding: 10px 10px 10px 10px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);

    position: relative;
    z-index: 4;

    min-height: 70px;
    height: 100%;

    display: flex;
    flex-direction: column;
    &--services{
      border-radius: 15px;
    }
    &--blue {
      background: #2B4DFF;
    }

    &--row {
      flex-direction: row;
      gap: 6px;
      align-items: center;
      justify-content: space-between;
    }
    &--feed{
      &::before{
        content: '';
        width: 41px;
        height: 4px;
        display: block;

        background: #D9D9D9;

        margin: 5px auto 15px auto;
        border-radius: 4px;
      }
    }

    &--big {
      padding: 15px;
      gap: 15px;
      @media screen and (max-width: 600px) {
        padding: 10px;
      }
    }

    &--mobile {
      &--full {
        @media screen and (max-width: 600px) {
          width: calc(100% + 30px);
          transform: translateX(-15px);
        }
      }
    }
  }

  &__icon {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
  }

  &__footer {
    margin: auto 0 0 0;
  }

  &__header {
    display: flex;
    align-items: center;
    gap: 10px;

    &:not(:last-child) {
      margin: 0 0 10px 0;
    }
  }

  &__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -moz-box;
    -moz-line-clamp: 1;
    -moz-box-orient: vertical;
    overflow: hidden;
  }

  &__content {
    display: flex;
    flex-direction: column;
    gap: 5px;

    &--gap {
      &--big {
        gap: 10px;
      }
    }

    &--small {
      max-width: 178px;
      width: 100%;
    }

    &:not(:last-child) {
      margin: 0 0 10px 0;
    }

    &--between {
      justify-content: space-evenly;

      &:not(:last-child) {
        margin: 0;
      }
    }
  }

  &__img {
    width: 60px;
    height: 75px;

    flex-shrink: 0;

    @media screen and (max-width: 1280px){
      width: 45px;
      height: 55px;
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    &--blog {
      position: relative;
      top: 0;
      left: 0;
      width: 100%;
      height: 160px;

      img {
        border-radius: 10px;
        object-fit: cover;
      }

      @media screen and (max-width: 600px) {
        height: 182px;
      }
    }

  }

  &__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  &__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;

    border-radius: 20px;

    font-family: 'TT Norms', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #fff;

    &--grey {
      background: #D3D3D3;
    }

    &--purple {
      background: #BE6BB1;

      &--deep {
        background: #A071C6;
      }
    }

    &--blue {
      background: #676AB5;
    }

    &--green {
      background: #67A5B8;
    }

    &--brown {
      background: #B88D65;
    }
  }
}

.grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 20px;
  &--card {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
    @media screen and (max-width: 1280px) {
      grid-template-columns: repeat(3,minmax(0,1fr));
      gap: 10px;
    }
    @media screen and (max-width: 800px) {
      grid-template-columns: repeat(2,minmax(0,1fr));
    }
    @media screen and (max-width: 600px) {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
    }

    &--case,&--blog {
      @media screen and (max-width: 1280px) {
        .card {
          display: none;

          &:nth-child(-n+3) {
            display: block;
          }
        }
      }
      @media screen and (max-width: 800px) {
        .card{
          display: block;
        }
      }
      @media screen and (max-width: 600px) {
        .card {
          display: none;

          &:nth-child(-n+3) {
            display: block;
          }
        }
      }
    }

    &--services {
      .card {
        display: none;
      }

      @media screen and (max-width: 600px) {
        .card{
          &:nth-child(-n+4) {
            display: block;
          }
        }
        &.active {
          .card {
            display: block;
          }
        }
      }
    }

    &--hero {
      @media screen and (max-width: 600px) {
        .card {
          display: none;
        }
        .grid__item--big{
          display: block;
        }
      }
    }
  }
  &__item{
    &--big{
      @media screen and (max-width: 1280px) and (min-width: 800px){
        .title{
          font-size: 30px;
        }
      }
      @media screen and (max-width: 1280px){
        grid-column:2/-1;
        grid-row-start: 3;
      }
      @media screen and (max-width: 800px) {
        grid-column: 1/1;
        grid-row-start: 1;
      }
    }
  }
}

.slider {
  -webkit-user-select: none;
  user-select: none;

  &:hover {
    cursor: default;
  }

  &__controls {
    display: flex;
    align-items: center;
    gap: 34px;

    &--right {
      margin: 0 0 0 auto;
    }

    @media screen and (max-width: 600px) {
      display: none;
    }
  }

  &__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6px;
    height: 12px;

    flex-shrink: 0;

    transition: .3s opacity;

    &--next {
      transform: rotate(180deg);
    }

    &--disabled {
      opacity: 0.5;
    }

    &--hidden {
      display: none;
    }

    &.swiper-button-lock{
      display: none;
    }

    &:hover {
      cursor: pointer;
    }
  }

  &-button {
    &__icon {
      display: block;
      width: 100%;
      height: 100%;

      fill: transparent;
      stroke: #4B4B4B;

      transition: .3s stroke;

      &:hover {
        stroke: #000;
      }
    }
  }

  &-grid, &-auto, &-grid-big {
    .swiper-wrapper {
      display: flex;
      align-items: stretch;
    }

    .swiper-slide {
      max-width: 300px;
      width: 100%;

      height: auto;
    }
  }

  &-feed {
    .swiper-slide {
      max-width: 60px;
    }
  }

  &-feed {
    &-big {
      overflow: visible;
      .swiper-slide{
        width: 105px;
        @media screen and (min-width: 640px) {
        }
      }
    }
  }

  &__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin: 10px 0 0 0;

    max-width: 100%;
    width: 100%;

    @media screen and (min-width: 601px) {
      display: none;
    }
  }

  &-pagination {
    &--hidden {
      display: none;
    }

    &__bullet {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      display: block;

      flex-shrink: 0;

      background: #D9D9D9;

      transition: .3s background-color;

      &--active {
        background: var(--grey-color);
      }
    }
  }
}

.section {
  &--desktop {
    @media screen and (max-width: 600px) {
      display: none;
    }
  }

  &:first-child {
    .section__wrapper {
      padding-top: 0;
    }
  }

  &__wrapper {
    padding: 20px 0;

    &--small {
      padding: 10px 0;
    }

    @media screen and (max-width: 600px) {
      padding: 12px 0;
    }
  }

  &__header {
    display: flex;
    align-items: center;
    gap: 8px;

    max-width: 1260px;
    width: 100%;

    &--mobile {
      @media screen and (min-width: 769px) {
        display: none;
      }
    }
  }

  &__footer {
    margin: 20px 0 0 0;

    &--mobile {
      display: none;
      @media screen and (max-width: 600px) {
        display: block;
      }
    }
  }

  &__link {
    display: flex;
    align-items: center;
    gap: 8px;

    &::before {
      content: '';
      width: 1px;
      height: 10px;
      display: block;
      flex-shrink: 0;
      border-radius: 1px;

      background: #D9D9D9;
    }

    @media screen and (max-width: 600px) {
      justify-content: flex-end;
      &::before {
        display: none;
      }
    }

    &--header {
      @media screen and (max-width: 600px) {
        display: none;
      }
    }
  }
}

.blog {
  &-group {
    &__item {
      width: 8px;
      height: 15px;

      border-radius: 50%;
    }

    &__img {
      width: 15px;
      height: 15px;
      display: flex;
      align-items: center;
      justify-content: center;

      flex-shrink: 0;

      border-radius: 50%;
    }
  }

  &-stats {
    &__wrapper {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      @media screen and (max-width: 600px) {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
      }
    }

    &__block {
      display: flex;
      align-items: center;
      gap: 10px;

      @media screen and (max-width: 600px) {
        &:not(:last-child) {
          border-bottom: 1px solid #D9D9D9;
        }
        width: max-content;
        padding: 10px 0;
      }
    }

    &__info {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    &__group {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    &__icon {
      width: 15px;
      height: 15px;

      &--tg {
        fill: #00A3FF;
      }

      &--vk {
        fill: #0047FF;
      }

      &--dzen {
        fill: #000;
      }
    }

    &__view {
      display: flex;
      align-items: center;
      gap: 5px;

      .icon {
        fill: transparent;
        width: 18px;
        height: 10px;
      }
    }
  }

  &-view {
    display: flex;
    align-items: center;
    gap: 10px;

    .icon {
      width: 20px;
      height: 14px;
      flex-shrink: 0;
      fill: transparent;
    }
  }

  &__text {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 0 60px;

    h2 {
      font-size: 24px;
      font-weight: 700;
    }

    @media screen and (max-width: 600px) {
      padding: 0;
    }
  }

  &__wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;


    font-family: 'TT Norms', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--grey-color);

    &--small {
      gap: 15px;
    }

    @media screen and (max-width: 600px) {
      gap: 10px;
    }

    & > fimg {
      width: 100%;
      height: 204px;

      object-fit: cover;
      border-radius: 10px;
      @media screen and (max-width: 600px) {
        height: 100%;
      }
    }

    h3 {
      font-size: 18px;
    }

    h2 {
      @media screen and (max-width: 600px) {
        font-size: 18px;
      }
    }

    b {
      font-weight: 700;
      color: #000;
    }

    h4 {
      font-weight: 700;
      color: #999999;
      @media screen and (max-width: 600px) {
        font-size: 18px;
      }
    }

    blockquote {
      display: flex;
      align-items: center;
      gap: 15px;

      p {
        line-height: 25px;
        color: #000;
        @media screen and (max-width: 600px) {
          font-size: 12px;
        }
      }

      h3 {
        @media screen and (max-width: 600px) {
          font-size: 15px;
        }
      }

      img {
        width: 65px;
        height: 65px;
        object-fit: cover;
        border-radius: 50%;

        flex-shrink: 0;
      }
    }
  }

  &__tag {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 20px;
    padding: 2px 7px 2px 5px;

    font-family: 'TT Norms', sans-serif;
    font-size: 15px;
    font-weight: 500;

    width: max-content;

    img {
      width: 13px;
      height: 13px;
      flex-shrink: 0;
    }

    &--orange {
      background: #FF9737;
      color: #fff;
    }
  }
}

.feed {
  &__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 20px;
    @media screen and (max-width: 600px) {
      gap: 15px;
    }

    &--four {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      @media screen and (max-width: 600px) {
        gap: 10px;
      }
    }
  }

  &-card {

    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    &__wrapper {
      position: relative;
      width: 100%;
      height: 100%;

      border-radius: 20px;
      overflow: hidden;
      display: block;

      &::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: 2;

        background: rgba(#000, .4);

        transition: .3s background-color;
      }
      &[data-tag="video"]{
        &::after{
          content: '';
          width: 36px;
          height: 36px;
          display: block;

          position: absolute;
          left: calc(50% - 18px);
          top:calc(50% - 18px);

          background: url("../images/icons/play.svg") center center/contain no-repeat;
          z-index: 2;

          opacity: 0;
          transition: .3s opacity;
        }
      }
      &:hover{
        &::before{
          background: rgba(#000, .7);
        }
        &::after{
          opacity: 1;
        }
      }



      &--transparent {
        border-radius: 5px;
        border: 1px solid #999;

        &::before {
          display: none;
        }
      }
    }

    &__img {
      display: flex;
      align-items: center;
      justify-content: center;

      position: relative;
      z-index: 1;

      img {
        aspect-ratio: 1/1.7;
        height: auto;

        object-position: top left;
      }
    }

    &__view {
      position: absolute;
      bottom: 8px;
      right: 8px;
      z-index: 3;


      color: #FFF;
      font-family: 'TT Norms', sans-serif;
      font-size: 12px;
      font-weight: 700;

      display: flex;
      align-items: center;
      gap: 5px;

      padding: 0 5px;

      transition: .3s opacity;
      &::before {
        content: '';
        width: 18px;
        height: 14px;
        display: block;
        flex-shrink: 0;

        background: url("../images/icons/view.svg") center center/contain no-repeat;
      }
    }

    &__wrapper:hover &__view{
      opacity: 0;
    }
  }
}

.fslightbox-container {
  display: flex;
  align-items: center;

  & > .fslightbox-absoluted {
    position: relative;
    width: unset;
    height: unset;

    & > .fslightbox-absoluted {
      width: unset;
      height: unset;
    }
  }

  .fslightbox-slide-btn-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 10;

  background: rgba(#000, .6);
  display: none;

  &--active {
    display: block;
  }

  &__wrapper {
    width: 100%;
    height: 100%;
  }

  &__container {
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    max-height: 90%;
    @media screen and (max-width: 600px) {
      max-width: 80%;
      width: 100%;
    }
  }

  &__content {
    order: 2;
    height: 100%;
    video{
      border-radius: 20px;
      width: 100%;
      max-height: 90vh;
    }
    img {
      border-radius: 20px;
    }
  }

  &__close {
    width: 22px;
    height: 22px;

    position: absolute;
    top: -20px;
    right: 0;

    &:hover {
      cursor: pointer;
    }

    &::before, &::after {
      content: '';
      width: 2px;
      height: 100%;
      background: #FFFFFF;
      display: block;

      border-radius: 2px;

      position: absolute;
      left: 10px;
      top: 0;

      transition: .3s filter;
    }

    &:hover {
      &::before, &::after {
        filter: invert(1);
      }
    }

    &::before {
      transform: rotate(45deg);
    }

    &::after {
      transform: rotate(-45deg);
    }
  }

  &__button {
    width: 10px;
    height: 18px;
    display: block;
    flex-shrink: 0;

    order: 3;
    background: url("../images/icons/arrow.svg") center center/contain no-repeat;

    transition: .3s filter;

    &:hover {
      cursor: pointer;
      filter: invert(1);
    }

    &--prev {
      order: 1;
      transform: rotate(180deg);
    }
  }
}

.js-toggle {
  &-link {
    &::after {
      content: attr(data-show);
    }

    &-active {
      &::after {
        content: attr(data-hide);
      }
    }
  }
}