/* стили для обёртки, в которой заключены слайды */
.slider__wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* стили для контейнера слайдов */
.slider__items {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;

}

/* стили для слайдов */
.slider__item {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  z-index: 15;
}

/* стили для кнопок "вперед" и "назад" */
.slider__control {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  height: 40px;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
}

.slider__control:hover,
.slider__control:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.slider__control_prev {
  left: 0;
}

.slider__control_next {
  right: 0;
}

.slider__control::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.slider__control_prev::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.slider__control_next::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

/* стили для индикаторов */
.slider__indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin: 0 15%;
  list-style: none;
}

.slider__indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 4px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.slider__indicators li.active {
  background-color: #fff;
}
.slider__content {
  height: 100%;
  float: left;
}
.slider__content p {
  color: #ffffff;
  font-size: 52px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 25px;
}
.slider__content span {
  display: block;
  margin-bottom: 60px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}
.slider__content a {
    width: 260px;
    height: 60px;
    border-radius: 10px;
    background-color: #2a3759;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
.slider__content__right {
  height: 100%;
  top: 0;
  right: 0;
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  position: absolute;
  width: 50vw;
  z-index: -1;
}
.slider__content__left {
  align-items: center;
  padding-top: 7%;
  padding-left: 35px;
  max-width: 45%;
  height: 100%;
  width: 100%;
}

@media (max-width: 820px){
  .slider__content__right {
    display: none;
  }
  .slider__content__left {
    max-width: 100%;
    text-align: center;
    padding: 0 2% 6% 2%;
  }
  .slider__content a {
    margin: 0 auto;
  }
  .slider__content span {
    margin-bottom: 2%;
  }
}
@media (max-width: 1367px){
  .slider__content__right {
      width: 60vw;
  }
}