* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
.testmonials-container .hide {
    display: none;
}
.testmonials-container {
    max-width: 550px;
    position: relative;
    margin: 0 auto;
    
    -webkit-box-shadow: 2px 4px 25px -8px rgba(194,194,194,1);
    -moz-box-shadow: 2px 4px 25px -8px rgba(194,194,194,1);
    box-shadow: 2px 4px 25px -8px rgba(194,194,194,1);
}
.testmonial {
    background-image: url("template/images/pattern-curve.svg");
    background-repeat: no-repeat;
    background-position: left 102.5%;
    background-size: 91%;
    padding:6% 3%;
}
.img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.testmonials-container .testmonial-image-container {
    margin-top: 30px;
    height: 100%;
    background-image: url("template/images/pattern-bg.svg");
    background-repeat: no-repeat;
    background-position: center -1px;
    background-size: contain;
    width: 100%;
    padding: 2%;
}

.img .client-img {
    margin-top: 20px;
    border-radius: 5px;
    width: 80%;
    box-shadow: -60px 100px 45px -85px #babacf;
    -webkit-box-shadow: -60px 100px 45px -85px #babacf;
    -moz-box-shadow: -60px 100px 45px -85px #babacf;
}

.sliders {
    justify-content: space-between;
    align-items: center;
    width: 80px;
    height: 40px;
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
    margin-top: -20px;
}
.slide-left, .slide-right {
    height: 100%;
    width: 100%;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

.sliders .slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 12px;
    height: 12px;
    overflow: hidden;
}


.testmonial-text-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    background-image: url("template/images/pattern-quotes.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 18%;
    padding: 5% 5%;
    text-align: center;
}

.testmonial-text-container p.main-text {
    font-size: 18px;
    font-weight: 300;
    color: hsl(240, 38%, 20%);
}

.testmonial-text-container p.name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    margin-top: 15px;
    color: hsl(240, 38%, 20%);
}

.testmonial-text-container p.position {
    line-height: 1;
    opacity: 0.4;
    margin-bottom: 20px;
    color: hsl(240, 38%, 20%);
}

footer{
    display: flex;
    justify-content: center;
    padding: 5px 0 10px 0;
    font-size: 12px;
    font-weight: 300;

}

footer small a {
    color: #D3629D;
}

@media screen and (min-width: 520px) {
    .testmonial {
         display: flex; 
         flex-direction: column;
        justify-content: center;
        align-items: center;
        background-position: left 110%;
        background-size: 90%; 
    }
        .testmonial-image-container {
            max-width: 470px;
        }
        
        .testmonial-text-container {

            background-size: 11%;

        }
    }

  @media screen and (min-width: 925px) {
      .testmonials-container {
          overflow: hidden;
          min-width: 950px;
          position: relative;
          margin: 20px auto;

      }
    .testmonial {   
        display: flex;
        flex-direction: row-reverse;
        background-position: left 110%;
        background-size: 60%; 
    }

    .testmonials-container .testmonial-image-container {
        align-self: center;
        position: relative;
        left: -70px;
        margin-top: 0;
        background-position: center top;
        background-size: contain;

    }
    
    .img .client-img {
        margin-top: 0;
    } 
  
    .testmonials-container .testmonial-image-container {
        padding: 5% 0 10% 0;
        flex: 1;
    }

    .sliders {
        align-self: flex-start;
        margin-left: 17%;
    }  
    .testmonials-container .testmonial-text-container {
        position: relative;
        flex: 1;

        padding: 5% 0 10% 9%;
        background-position: 120px top;
        background-size: 15%;
        align-self: center;

    }

    .testmonial-text-container p.main-text {
        font-size: 22px;
        text-align: left;
    }
    
    .client-info {
        text-align: left;
        width: 100%;

    }
    .client-info p {
        display: inline-block;
    }
  }