 .slider {
      max-width: 960px;
    }

    /* дополнительные стили для этого примера */
    .slider__items {
      counter-reset: slide;
    }

    .slider__item {
      height: 320px;
      overflow: hidden;
      position: relative;
      counter-increment: slide;
    }

   

   

    .slider__item:nth-child(1) {
      background: url(/img/otziv-fon.png);
      background-size: cover;
      height: 300px;
      width: 600px
    }

    .slider__item:nth-child(2) {
        background: url(/img/otziv-fon.png);
      background-size: cover;
      height: 300px;
      width: 600px
    }

    .slider__item:nth-child(3) {
       background: url(/img/otziv-fon.png);
      background-size: cover;
      height: 300px;
      width: 600px
    }

    .slider__item:nth-child(4) {
        background: url(/img/otziv-fon.png);
      background-size: cover;
      height: 300px;
      width: 600px
    }

    .slider__item_inner {
      position: absolute;
      left: 15%;
      right: 15%;
      top: 36px;
      bottom: 36px;
      overflow: hidden;
      color: #fff;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }

    .slider__item_img {
      flex: 0 0 80px;
      max-width: 80px;
    }

    .slider__item_testimonial {
      flex: 1 0 0;
      display: flex;
      flex-direction: column;
      text-align: center;

    }

    @media (min-width: 576px) {
      .slider__item {
        height: 250px;
      }

      .slider__item_inner {
        flex-direction: row;
      }

      .slider__item_testimonial {
        margin-left: 15px;
      }

      .slider__item_img {
        flex: 0 0 150px;
        max-width: 150px;
      }

      .slider__item_testimonial {
        text-align: left;
      }
    }

    .slider__item_name {
      font-size: 20px;
      margin-bottom: 8px;
      color: rgba(255, 255, 255, 0.8);
    }

    .slider__item_post {
      font-size: 14px;
      margin-bottom: 8px;
      color: rgba(255, 255, 255, 0.8);
    }

    .slider__item_text {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.5);
    }
    .slider{position:absolute;overflow:hidden;width:1000px;left: 0;right: 0;margin: auto;}

    .slider__wrapper{position:relative;overflow:hidden;background-color:#eee;width: 600px;margin:auto;border-radius: 15px}.slider__items{display:flex;transition:transform .5s ease}.transition-none{transition:none}
    .slider__item{flex:0 0 100%;max-width:100%;position:relative}.slider__control{position:absolute;top:50%;width:40px;height:50px;transform:translateY(-50%);display:none;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.3);opacity:.5;user-select:none}.slider__control_show{display:flex}.slider__control:focus,.slider__control:hover{color:#fff;text-decoration:none;opacity:.7}.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;left:0;right:0;bottom:10px;display:flex;justify-content:center;padding-left:0;margin:0 15%;list-style:none;user-select:none}.slider__indicator{flex:0 1 auto;width:30px;height:4px;margin-right:3px;margin-left:3px;background-color:rgba(255,255,255,.5);background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;cursor:pointer}.slider__indicator_active{background-color:#fff}
    @media(max-width: 1000px){
      .slider{
        width: 800px
      }
    }
    @media(max-width: 850px){
      .slider {
    width: 700px;
}
      .slider__wrapper{
        width: 570px
      }
      .slider__item:nth-child(1){
        width: 570px
      }
      .slider__item:nth-child(2){
        width: 570px
      }
      .slider__item:nth-child(3){
        width: 570px
      }

    }
    @media(max-width: 740px){
      .slider{
        width: 530px
      }
      .slider__wrapper{
        width: 400px;
        height: 350px
      }
       .slider__item:nth-child(1){
        width: 400px;
        height: 350px
      }
      .slider__item:nth-child(2){
        width: 400px;
        height: 350px
      }
      .slider__item:nth-child(3){
        width: 400px;
        height: 350px
      }
    }
    @media(max-width: 550px){

      .slider{
        width: 420px
      }
      .slider__wrapper{
        width: 300px;
        height: 370px
      }
      .slider__item:nth-child(1){
        width: 300px;
        height: 370px
      }
      .slider__item:nth-child(2){
        width: 300px;
        height: 370px
      }
      .slider__item:nth-child(3){
        width: 300px;
        height: 370px
      }

    }
    @media(max-width: 450px){
      .slider{
        width: 100%
      }
      .slider__wrapper{
        width: 300px;
       
      }
    }
    @media(max-width: 400px){
      .slider__control{
        height: 40px;
        width: 35px
      }
      .slider__wrapper{
        width: 270px
      }

      .slider__item:nth-child(1){
        width: 270px;
        height: 370px
      }
      .slider__item:nth-child(2){
        width: 270px;
        height: 370px
      }
      .slider__item:nth-child(3){
        width: 270px;
        height: 370px
      }
    }
    @media(max-width: 340px){
      .slider__wrapper{
        width: 250px
      }
    }