/**
  * SimpleAdaptiveSlider by itchief (https://github.com/itchief/ui-components/tree/master/simple-adaptive-slider)
  * Copyright 2020 - 2022 Alexander Maltsev
  * Licensed under MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
  */

/* стили для корневого элемента слайдера */
.itcss {
  position: relative;
  max-width: 775px;
  width: 100%;
  height: 100%;
  margin: auto 0;
}

/* стили для wrapper */
.itcss__wrapper {
  position: relative;
  overflow: hidden;

}

/* стили для элемента, в котором непосредственно расположены элементы (слайды) */
.itcss__items {
  display: flex;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* стили для элементов */
.itcss__item {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

/* кнопки Prev и Next */
.itcss__btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 4rem;
  color: #fff;
  background: rgb(0 0 0 / 60%);
  border: none;
  outline: none;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.5;
  user-select: none;
}

.itcss__btn_hide {
  display: none;
}

.itcss__btn:hover,
.itcss__btn:focus {
  color: #fff;
  text-decoration: none;
  border: none;
  opacity: 0.7;
}

.itcss__btn_prev {
  left: 0;
}

.itcss__btn_next {
  right: 0;
}

.itcss__btn::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.itcss__btn_prev::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.itcss__btn_next::before {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Индикаторы */
.itcss__indicators {
  display: flex;
    justify-content: center;
    margin: 0 15%;
    padding-left: 0;
    list-style: none;
    user-select: none;
    margin-top: 19px;
}

.itcss__indicator {
  background: rgba(56, 62, 94, 1);
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 20px;
  margin: auto 6px;
 

}

.itcss__indicator_active {
  background: rgba(246, 215, 136, 1);
  width: 15px;
  height: 15px;
  border-radius: 30px;
	

}

/* класс для отключения transition */
.transition-none {
  transition: none;
}

.d-none {
  display: none;
}
.itcss__items {
  counter-reset: slide;
}

.itcss__item {
  counter-increment: slide;
}


.itcss__item div {
  max-width: 775px;
  width: 100%;
 
}
@media(max-width:1600px) {
  .itcss {
    width: 55%;
  }
  .itcss__item div img{
    width: 100%;
  }
  .itcss__btn {
    top: 44%;
  }
}
@media(max-width:900px){
  .itcss {
    width: 95%;
    margin: auto;
}
}
@media(max-width:500px){
  .itcss__indicator_active {
    width: 13px;
    height: 13px;
  }
  .itcss__indicator {
    width: 9px;
    height: 9px;
  }
  .itcss__btn {
    width: 2rem;
    height: 3rem;
  }
  .itcss__btn::before {
   width: 1.5rem;
    height: 1.5rem
  }
}