.functional {
  background: linear-gradient(180deg, #eff6ff 0%, #eff6ff 100%);
  padding: 80px 60px;
}

.functional-title {
  font-weight: 700;
  font-size: 48px;
}

.functional-subtitle {
  font-weight: 600;
  font-size: 26px;
  text-align: center;
  margin-bottom: 26px;
}

.functional .container {
  max-width: 1200px;
  margin: 0 auto;
}

.functional-descr {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #5f5e5e;
  max-width: 1000px;
  margin: 22px auto 0;
}

.functional-arrow {
  display: none;
}

.functional-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.carusel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  margin: auto;
  aspect-ratio: 16 / 5;
  min-height: 450px;
  height: auto;
}

.carusel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all 0.5s ease-in-out;
  transform: translate(-50%, -50%);
}

.carusel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;
  border-radius: 7px;
}

.carusel-item-video {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
}

.carusel-item-right {
  z-index: 1;
  transform: translate(5%, -50%) scale(0.8);
}

.carusel-item-left {
  z-index: 1;
  transform: translate(-105%, -50%) scale(0.8);
}

.carusel-item-center {
  z-index: 2;
  transform: translate(-50%, -50%) scale(1.3);
}

.arrow {
  position: absolute;
  z-index: 10;
  padding: 15px;
}

.arrow-right :hover {
  transform: scale(1.2);
}

.arrow-right {
  right: -1%;
  transform: rotate(180deg) !important;
}

.arrow-left {
  left: -1%;
}

.functional-note {
  display: flex;
  align-items: center;
  margin-top: 50px;
  background: #daebff;
  border-radius: 15px;
  padding: 22px 33px;
  gap: 27px;
  font-weight: 600;
  font-size: 24px;
}

.functional-note-title {
  display: none;
}

.functional-note p {
  color: #5f5e5e;
}

.functional__mob_container {
  display: none;
}

.functional__mob_wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.functional__mob_item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;

  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.functional__mob_item.visible {
  opacity: 1;
  transform: translateY(0);
}

.functional__item_content {
  border-radius: 7px;
  overflow: hidden;
}

.functional__item_content img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 1200px) {
  .carusel {
    min-height: 330px;
  }
}

@media screen and (max-width: 1000px) {
  .carusel {
    min-height: 300px;
  }
}

@media screen and (max-width: 900px) {
  .carusel {
    min-height: 270px;
  }
}

@media screen and (max-width: 848px) {
  .functional {
    padding: 60px 16px 40px;
  }

  .functional-title-container {
    margin-bottom: 36px;
  }

  .functional-title {
    font-size: 28px;
    font-weight: 700;
  }

  .functional__mob_container {
    display: block;
  }

  .carusel-item-video {
    transform: translate(0, 0);
  }

  .carusel__wrapper {
    display: none;
  }

  .functional-subtitle {
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
  }

  .functional-descr {
    font-size: 16px;
    text-align: left;
    margin-top: 0;
  }

  .functional-note {
    margin-top: 28px;
    padding: 26px;
    flex-direction: column;
    align-items: start;
    gap: 14px;
    font-size: 16px;
  }

  .functional-note img {
    display: none;
  }

  .functional-note-title {
    display: inline;
    font-size: 18px;
  }
}

@media screen and (max-width: 750px) {
  .functional-arrow {
    display: block;
  }

  .functional-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
