Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="customer-reviews">
  
  <!--   Title and arrows -->
  <div class="container-title">
    <h2>New frontiers</h2>
    <svg class="slider-left" width="21" height="32" viewBox="0 0 21 32" xmlns="http://www.w3.org/2000/svg">
      <path fill-rule="evenodd" clip-rule="evenodd" d="M20.0933 28.24L7.87999 16L20.0933 3.76L16.3333 -1.64355e-07L0.333322 16L16.3333 32L20.0933 28.24Z" fill="#0C12BB"></path>
    </svg>
    <svg class="slider-right" width="21" height="32" viewBox="0 0 21 32" xmlns="http://www.w3.org/2000/svg">
      <path fill-rule="evenodd" clip-rule="evenodd" d="M0.906678 3.76L13.12 16L0.906677 28.24L4.66668 32L20.6667 16L4.66668 4.48376e-08L0.906678 3.76Z" fill="#0C12BB"></path>
    </svg>
  </div>
  
  <!--   Cards - Slider!  -->
  <!--  //////////////////////////// slider-container  -->
  <div class="container-customer-reviews">
    
    <!--  First card --> 
    <!--  //////////////////////////// slide  -->
    <div class="card-customer-reviews card-mobile">
      <img class="image-customer" src="https://source.unsplash.com/200x150/?architecture,japan"/>
      <h3 class="title-customer-reviews">Best Service!</h3>
      <p class="text-content">Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
      
      <div class="client-profile">
        <img class="image-person" src="https://source.unsplash.com/200x150/?architecture,japan">
        <p class="name-customer">Oliver Roberts</p>
        <span class="status-customer">Client</span>
      </div>
    </div>
    
    <!--  Second card // First and big in Desktop -->
    <!--  //////////////////////////// slide  -->
    <div class="card-customer-reviews card-first">
      <img class="image-customer" src="https://source.unsplash.com/200x150/?architecture,mexico"/>
      <h3 class="title-customer-reviews">Best Service!</h3>
      <p class="text-content">Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
      
      <div class="client-profile">
        <img class="image-person" src="https://source.unsplash.com/200x150/?architecture,mexico">
        <p class="name-customer">Oliver Roberts</p>
        <span class="status-customer">Client</span>
      </div>
    </div>
    
    <!-- Third Card -->
    <!--  //////////////////////////// slide  -->
    <div class="card-customer-reviews">
      <img class="image-customer" src="https://source.unsplash.com/200x150/?architecture,japan" />
      <h3 class="title-customer-reviews">Amazing Experience</h3>

      <p class="text-content">
        Lorem ipsum dolor sit amet consectetur adipisicing elit.
      </p>
      <div class="client-profile">
        <img class="image-person" src="https://source.unsplash.com/200x150/?architecture,japan" >
        <p class="name-customer">Jack Brown</p>
        <span class="status-customer">Client</span>
      </div>
    </div>
    
    <!--  Fourth card -->
    <!--  //////////////////////////// slide  -->
    <div class="card-customer-reviews">
      <img class="image-customer" src="https://source.unsplash.com/200x150/?architecture,japan" />
      <h3 class="title-customer-reviews">Fast Response</h3>

      <p class="text-content">Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
      <div class="client-profile">
        <img class="image-person" src="https://source.unsplash.com/200x150/?architecture,japan">
        <p class="name-customer">Carlton Miller</p>
        <span class="status-customer">Client</span>
      </div>
    </div>

  
  </div>
  
  <!--  Arrow buttons in Mobile  -->
  <div class="control-slider-mobile">
    <svg class="arrow-left-mobile" width="12" height="19" viewBox="0 0 12 19" xmlns="http://www.w3.org/2000/svg">
      <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4729 16.1938L4.79373 9.5L11.4729 2.80625L9.41665 0.75L0.666649 9.5L9.41665 18.25L11.4729 16.1938Z" fill="#0C12BB"></path>
    </svg>
    <svg class="arrow-right-mobile" width="12" height="19" viewBox="0 0 12 19" xmlns="http://www.w3.org/2000/svg">
      <path fill-rule="evenodd" clip-rule="evenodd" d="M0.5271 2.80625L7.20627 9.5L0.5271 16.1937L2.58335 18.25L11.3334 9.5L2.58335 0.75L0.5271 2.80625Z" fill="#0C12BB"></path>
    </svg>
  </div>
  
  
</div>
              
            
!

CSS

              
                * {
  font-family: 'Montserrat' !important;
}
/* FIXES NAVBAR */
.navbar {
    background-color: transparent;
}

.navbar>div>a img {
    filter: brightness(0) invert(1);
}

.navbar p,
.navbar a {
    color: white;
}

@media (min-width: 1024px) {
    .navbar>div>.nav-links>a {
        margin-left: 50px;
        padding: 12px 40px;
        border: 3px solid white;
    }

    .navbar > div > .nav-links ul a:hover {
        border-bottom: 4px solid white;  
    }
}

.navbar>div>label svg path {
    fill: white;
}

main {
    margin-top: 0;
}

.container-buttons a {
    cursor: pointer;
}

/*Principal*/
.principal {
    width: 100%;
    height: 880px;
    background-image: url(/static/homepage/img/Rectangle_26.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    color: white;
}

.principal .center {
    padding-top: 284px;
    text-align: center;
}

.principal .center h2 {
    width: 80%;
    margin: auto;
}

.principal .center p {
    width: 90%;
    margin: 28px auto;
    text-align: center;
    font-weight: 500;
}

.principal .center .container-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.principal .center .container-buttons a {
    width: 188px;
    margin-top: 22px;
    margin-left: 15px;
    margin-right: 15px;
    height: 49px;
    font-weight: 600;
    border: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.principal .center .container-buttons a:first-child {
    background: #0c12bb;
}

.principal .center .container-buttons a:first-child:hover {
    font-size: 0.8rem;
    background: transparent;
    color: #FFF;
    border: 3px solid #0c12bb;
    transition: .3s ease;
}

.principal .center .container-buttons a:first-child:active {
    box-shadow: inset 0 0 20px #0c12bb;
}

.principal .center .container-buttons a:last-child {
    background: #b07c4b;
}

.principal .center .container-buttons a:last-child:hover {
    font-size: 0.8rem;
    background: transparent;
    color: #FFF;
    border: 3px solid #b07c4b;
    transition: .3s ease;
}

.principal .center .container-buttons a:last-child:active {
    box-shadow: inset 0 0 20px #b07c4b;
}



.principal .center h1 {
    font-size: 4em;
    margin-top: 10px;
    margin-bottom: 0;
}

/*Arbitration Count*/

.arbitration-count {
    align-items: center;
    width: 100%;
    display: flex;
    height: 462px;
    justify-content: space-around;
    background: #223555;
    flex-flow: wrap;
    color: white;
}

.arbitration-count h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 440px;
    color: white;
    font-size: 52px;
    font-family: 'PT Serif', serif;
    margin: 0;
}

.arbitration-count .text-counter p {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 24px;
    line-height: 21px;
    color: #d6d7d9;
}

.arbitration-count .right .counter {
    display: grid;
    grid-template-columns: 1fr 0.9fr 0.6fr;
    grid-template-rows: 72px 1fr;
    gap: 0px 0px;
    grid-template-areas:
        "count-1 count-2 count-3"
        "text-1 text-2 text-3";
}

.arbitration-count .right .counter .count-1 { grid-area: count-1; }

.arbitration-count .right .counter .text-1 { grid-area: text-1; }

.arbitration-count .right .counter .count-2 { grid-area: count-2; }

.arbitration-count .right .counter .text-2 { grid-area: text-2; }

.arbitration-count .right .counter .count-3 { grid-area: count-3; }

.arbitration-count .right .counter .text-3 { grid-area: text-3; }

.arbitration-count .right .counter .count-1,
.arbitration-count .right .counter .count-2,
.arbitration-count .right .counter .count-3 {
    font-size: 48px;
    font-weight: 700;
    color: #b07c4b;
    height: fit-content !important;
    font-family: 'PT Serif', serif;
}

.arbitration-count .right .counter .text-1,
.arbitration-count .right .counter .text-2,
.arbitration-count .right .counter .text-3 {
    margin: 0;
    margin-top: 8px;
    font-size: 16px;
    height: fit-content !important;
    color: #a9a9a9;
    font-weight: bold;
}

.arbitration-count .right .counter p {
    margin: 10px 0;
}


.arbitration-count .text-counter {
    width: 504px;
    color: darkgrey;
    font-size: 14px;
}

.arbitration-count .text-counter a {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 3px solid white;
    padding-bottom: 7px;
}

/*Services*/

.questions-frequently .services-more,
.about-services .about-text a {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.about-services .about-text p {
    color: #666666
}

.questions-frequently .container-questions .question svg {
    display: none;
}

/*Let's Talk consulation*/
.container-consulation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: 100%;
    color: white;
    width: 100%;
    background: url(/static/homepage/img/Background_desktop.png) no-repeat center;
    margin: 40px auto;
    height: 429px;
    max-width: 1225px;
}

.container-consulation h2 {
    font-size: 52px;
    font-weight: 700;
    width: 100%;
    max-width: 584px;
    text-align: center;
    margin: 0;
    font-family: 'PT Serif', serif;
}

.container-consulation p {
    margin-top: 24px;
    margin-bottom: 0;
    font-size: 16px;
}

.container-consulation a,
.questions-frequently .services-more a,
.about-services a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0c12bb;
    width: 188px;
    height: 49px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.container-consulation .container-button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/*Question Frequently*/

.questions-frequently {
    margin-top: 120px;
    padding: 83px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    background: #223555;
}

.questions-frequently h2 {
    width: unset;
    margin: 0;
    font-size: 3em;
    font-family: 'PT Serif', serif;
}

.questions-frequently .subtitle {
    max-width: 397px;
    font-size: 16px;
    text-align: center;
    margin: 0;
    margin-top: 24px;
    margin-bottom: 41px;
    color: #E2E2E2;
}

.questions-frequently .container-questions {
    margin-top: 8px;
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
    max-width: 1230px;
}

.questions-frequently .container-questions .question {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    width: 504px;
    height: 56px;
    margin: 10px;
    background: #ffffff;
    color: #223555;
}

.questions-frequently .container-questions .question p,
.questions-frequently .container-questions .question a {
    width: unset;
    text-decoration: none;
    margin-right: 5px;
}

.about-services {
    padding: 120px 0;
    width: 100%;
    justify-content: space-around;
    display: inline-flex;
}

.about-services .about-text {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
}

.about-services .about-text a {
    margin-top: 24px;
}

.about-services .container-img {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 225px;
    gap: 0px 0px;
    grid-template-areas:
        "img-1-services img-3-services"
        "img-2-services img-3-services";
}

.about-services .container-img .img-1-services {
    grid-area: img-1-services;
    margin-left: auto;
    margin-right: 16px;
}

.about-services .container-img .img-2-services {
    grid-area: img-2-services;
    margin-left: auto;
    margin-right: 16px;
}

.about-services .container-img .img-3-services {
    grid-area: img-3-services;
    margin-top: 60px;
}

.about-services .about-text h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 0;
    color: #223555;
    max-width: 508px;
    font-family: 'PT Serif', serif;
}

.about-services .about-text p {
    font-size: 16px;
    color: #666666;
    padding-top: 1em;
}

@media(min-width: 1320px) {

    .about-services {
        max-width: 1235px;
        margin: auto;
    }

    .about-services {
        max-width: 1235px;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
    }

    .arbitration-count {
        justify-content: center;
        margin: auto;
    }

    .arbitration-count h2 {
        margin-right: 148px !important;
    }

    .arbitration-count .right {
        margin-right: 72px;
    }

    .about-services .about-text {
        margin-left: 120px;
    }

    .about-services .container-img {
        width: 51%;
        justify-content: flex-end;
    }

}

/*Resposive mode*/

@media(max-width: 1320px) {


    .container-consulation {
        width: 97%;
        margin: 40px auto;
    }

}

@media (max-width: 1143px) {
    .container-consulation {
        height: 340px;
    }

    .container-consulation h2 {
        font-size: 2.5em;
        max-width: 440px;
    }

    .container-consulation p {
        font-size: 12px;
        text-align: center;
    }

}

@media (max-width: 1065px) {
    .arbitration-count h2 {
        margin: 0;
        max-width: 325px;
        font-size: 2.5em;
    }

}

@media (max-width: 1052px) {

    .about-services .about-text a {
        margin-top: 36px;
    }

    .about-services .container-img {
        display: none;
    }

    .about-services .about-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;

    }

    .about-services .about-text p {
        margin: 0;
        font-size: 21px;
        max-width: 405px;
    }

    .about-services .about-text h2 {
        margin: 15px 0;
        font-size: 3em;
        width: 90%;
    }

}


@media(max-width: 992px) {

    .principal {
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        background-clip: content-box;
        height: 600px;
    }

    .principal .center h1 {
        font-size: 2.4em;
        margin-top: 5px;
    }

    .principal .center {
        padding-top: 179px;
    }

    .principal .top {
        display: none;
    }

    .principal p {
        width: 100%;
        max-width: 350px;
        font-size: 1.2em;
        margin: 22px auto;
    }


    .principal .center p {
        width: 78%;
        max-width: 481px;
        font-size: 18px;
        font-weight: 500;
        margin: 30px auto;
    }

    .arbitration-count h2 {
        width: 90%;
        font-size: 1.5em;
        max-width: 500px;
        margin: 15px 0;
        text-align: center;
    }

    .arbitration-count {
        padding: 0;
        align-items: unset;
    }

    .arbitration-count h2 {
        margin-top: 35px;
    }

    .arbitration-count .text-counter .link span {
        margin-top: -5px;
    }

    .arbitration-count .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .arbitration-count .right .counter {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 24px 30px;
        align-items: center;
        justify-items: center;
        margin: 0;
        margin-top: 8px;
        width: 92%;
        max-width: 420px;
    }

    .arbitration-count .right .text-counter {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .arbitration-count .right .counter .count-1,
    .arbitration-count .right .counter .count-2,
    .arbitration-count .right .counter .count-3 {
        font-size: 36px;
    }

    .arbitration-count .right .text-counter p {
        text-align: center;
        font-size: 12px;
        max-width: 415px;
    }

    .arbitration-count .right .text-counter a {
        font-size: 18px;
        margin: 10px 0;
    }

    .questions-frequently .services-more a,
    .about-services .about-text a {
        width: 179px;
        height: 39px;
        font-size: 13px;
    }

    /*Question frenquently*/

    .questions-frequently {
        padding: 49px 0;
    }

    .questions-frequently h2 {
        text-align: center;
        font-size: 1.5em;
        padding: 0px 10px;
    }

    .questions-frequently .subtitle {
        margin-top: 15px;
        margin-bottom: 0;
        font-size: 14px;
    }

    .questions-frequently .container-questions {
        margin-top: 59px;
        max-width: 375px;
    }

    .questions-frequently .container-questions .question {
        font-size: 12px;
        margin: 5px 0;
    }

    .questions-frequently .container-questions .question {
        width: 95%;
        max-width: 341px;
        padding: 0;
    }

    .questions-frequently .services-more {
        margin-top: 36px;
    }

    /*About Services*/

    .about-services {
        padding: 0;
        padding-top: 69px;
        padding-bottom: 67px;
    }

    .container-consulation {
        height: 267px;
    }

    .questions-frequently .subtitle {
        width: 95%;
        max-width: 360px;
    }

    /*Container consulation*/

    .container-consulation {
        height: 274px;
        margin: 40px auto;
        background-image: url('/static/homepage/img/mobile/Background_mob.png');
        background-position: center;
        max-width: 335px;
    }

    .container-consulation h2 {
        font-size: 24px;
        max-width: 260px;
    }

    .container-consulation p {
        margin-top: 15px;
        font-size: 14px;
        max-width: 260px;
    }

    .container-consulation a {
        width: 147px;
        height: 37px;
    }

}

@media (max-width: 860px) {

    .arbitration-count .right .counter {
        justify-content: center;
    }

    .arbitration-count .right .counter .count-1,
    .arbitration-count .right .counter .count-2,
    .arbitration-count .right .counter .count-3 {
        font-size: 24px !important;
    }

    .arbitration-count .right .counter .text-1,
    .arbitration-count .right .counter .text-2,
    .arbitration-count .right .counter .text-3 {
        font-size: 14px !important;
        text-align: center;
    }

    .arbitration-count .right .text-counter a {
        font-size: 14px;
    }

    .container-consulation a,
    .questions-frequently .services-more a,
    .about-services .services-more a {
        width: 147px;
        height: 37px;
    }

    .about-services .about-text h2 {
        font-size: 24px;
        max-width: 230px;
    }

    .about-services .about-text p {
        font-size: 14px;
        max-width: 262px;
    }
}

@media (max-width: 525px) {
    .principal {
        background-image: url('/static/homepage/img/mobile/Rectangle_26_mob.png');
        height: 425px;
    }

    .principal .center h1 {
        font-size: 24px;
    }

    .principal .center {
        padding-top: 135px;
    }

    .principal .center p {
        margin-top: 14px;
        margin-bottom: 0;
        font-size: 14px;
        max-width: 320px;
    }

    .principal .center .container-buttons a {
        margin-top: 25px;
        width: 147px;
        height: 39px;
        font-size: 13px;
    }

}

@media(max-width: 443px) {

    .arbitration-count .right .counter div {
        margin: 0;
    }


    .arbitration-count .right .counter {
        justify-content: space-around;
    }

    .container-consulation {
        width: 91%;
    }
}

/*Customers Reviews*/

.customer-reviews {
    padding: 20px;
    background: #f9f9f9;
    margin: auto;
}

.customer-reviews .control-slider-desktop {
    display: none;
}

.customer-reviews h2 {
    color: #0c224c;
    max-width: 220px;
    font-size: 1.5em;
}

.customer-reviews h2:first-child {
    text-align: center;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'PT Serif', serif;
}

.customer-reviews .card-customer-reviews .title-customer-reviews {
    color: #223555;
    font-size: 20px;
    align-self: center;
    margin: 0;
}

.customer-reviews .card-customer-reviews p { font-size: 14px; }

.customer-reviews .control-slider-mobile {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.customer-reviews .card-customer-reviews img {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.customer-reviews .control-slider-mobile svg {
    margin: 0 18px;
    cursor: pointer;
}

.customer-reviews .container-customer-reviews {
    display: flex;
    justify-content: center;
}

.customer-reviews .container-customer-reviews .card-customer-reviews {
    display: none;
}

.customer-reviews .container-customer-reviews .card-mobile { display: grid !important; }

.customer-reviews .card-customer-reviews {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr auto auto 66px;
    gap: 4px 0px;
    grid-template-areas:
        "image-customer image-customer"
        "title-customer-reviews stars-customer-reviews"
        "text-content text-content"
        "client-profile client-profile";
    max-width: 333px;
    min-height: 355px;
    width: 100%;
}

.customer-reviews .card-customer-reviews .client-profile {
    display: grid !important;
    grid-template-columns: auto 0.99fr;
    grid-template-rows: 22px 1fr;
    margin-top: 7px;
}

.customer-reviews .card-customer-reviews .client-profile img {
    width: 32px;
    height: 32px;
}


.customer-reviews .card-customer-reviews .client-profile p {
    font-weight: bold;
    color: #333333;
    margin-top: 5px !important;
    height: fit-content;
}

.customer-reviews .card-customer-reviews .client-profile span {
    color: #666666;
    margin-top: 6px;
    font-size: 14px;
}

.customer-reviews .card-customer-reviews .client-profile img {
    margin-top: 10px;
    width: 32px;
    height: 32px;
}

.customer-reviews .card-customer-reviews .text-content {
    padding-top: 10px;
    color: #666666;
    margin: 0;
}

.customer-reviews .card-customer-reviews .stars-customer-reviews {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: auto;
}

.customer-reviews .card-customer-reviews .stars-customer-reviews svg { margin: 0 1.6px; }

.customer-reviews .image-customer { grid-area: image-customer; }

.customer-reviews .title-customer-review { grid-area: title-customer-reviews;}

.customer-reviews .stars-customer-reviews { grid-area: stars-customer-reviews;}

.customer-reviews .text-content { grid-area: text-content; }

.customer-reviews .client-profile { grid-area: client-profile; }

.customer-reviews .container-title svg { display: none; }

.image-person { grid-area: 1 / 1 / 3 / 2; }

.name-customer { grid-area: 1 / 2 / 2 / 3; }

.status-customer { grid-area: 2 / 2 / 3 / 3; }

@media(min-width: 992px) {

    .customer-reviews .container-title {
        max-width: 1230px;
        margin: auto;
        display: grid;
        grid-auto-columns: 1fr;
        grid-template-columns: 1fr 95px 63px;
        grid-template-rows: 1fr;
        gap: 0px 0px;
        grid-template-areas:
            "title slider-left slider-right";
    }

    .customer-reviews .container-title .title {
        grid-area: title;
    }

    .customer-reviews .container-title .slider-left {
        grid-area: slider-left;
        align-self: center;
        cursor: pointer;
    }

    .customer-reviews .container-title .slider-right {
        grid-area: slider-right;
        align-self: center;
        cursor: pointer;
    }

    .customer-reviews .container-customer-reviews {
        max-width: 1230px;
        margin: auto;
        justify-content: unset;
    }

    .customer-reviews .card-customer-reviews .text-content {
        padding-top: 0;
    }

    .customer-reviews .stars-customer-reviews {
        margin: auto !important;
    }

    .customer-reviews .container-customer-reviews .card-customer-reviews {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1.9fr 156px 31px 105px;
        gap: 0px 0px;
        grid-template-areas:
            "title-customer-reviews title-customer-reviews"
            "text-content text-content"
            "stars-customer-reviews stars-customer-reviews"
            "client-profile client-profile" !important;
        padding: 0 10px;
        max-width: 296px;
        margin: 15px 8px;
        height: 392px;
        background: white;
        width: 45%;
        margin: auto;
    }
  
  .image-customer {
    border-radius: 50%;
  }

    .customer-reviews .container-customer-reviews .card-first {
        width: 100%;
        max-width: 596px;
        grid-template-areas:
            "image-customer stars-customer-reviews"
            "image-customer title-customer-reviews"
            "image-customer text-content"
            "image-customer client-profile" !important;
        grid-template-columns: 227px 1.2fr;
        gap: 8px 0px;
        align-content: center;
        grid-template-rows: 16px 36px 70px 111px;
        margin-left: 0;
        margin-right: 16px;
    }

    .customer-reviews .card-first .title-customer-reviews {
        text-align: left !important;
    }

    .customer-reviews .card-first p {
        max-width: 260px !important;
    }

    .customer-reviews .card-first .text-content {
        width: 100% !important;
    }

    .customer-reviews .card-first .text-content,
    .customer-reviews .card-first .title-customer-reviews {
        margin: 0 !important;
        margin-left: 16px !important;
    }

    .customer-reviews .card-first .client-profile {
        margin: 0 !important;
        margin-left: 23px !important;
    }

    .customer-reviews .card-first .stars-customer-reviews {
        margin: 0 !important;
        width: 148px !important;
        margin-left: 14px !important;
    }

    .customer-reviews .card-first .text-content {
        font-size: 16px !important;
        text-align: left !important;
    }

    .customer-reviews .container-customer-reviews .card-first .image-customer {
        margin: auto;
        width: 100%;
        object-fit: contain;
    }

    .customer-reviews .card-customer-reviews .title-customer-reviews {
        color: #223555;
        font-size: 24px;
        align-self: center;
        margin-bottom: 0;
        width: 100%;
        text-align: center;
        max-width: unset;
    }

    .customer-reviews .card-customer-reviews .stars-customer-reviews svg {
        width: 24px;
        height: 22px;
        margin: 0 2px;
    }

    .customer-reviews h2:first-child {
        margin-left: 0;
        color: #0c224c;
        max-width: 433px;
        font-weight: 700;
        font-size: 52px;
        text-align: initial;
    }

    .customer-reviews .card-customer-reviews .image-customer,
    .customer-reviews .control-slider-mobile,
    .customer-reviews .container-customer-reviews .card-mobile {
        display: none !important;
    }

    .customer-reviews .card-first .image-customer,
    .customer-reviews .control-slider-desktop,
    .customer-reviews .container-title svg,
    .customer-reviews .card-first .image-customer {
        display: block !important;
    }


    .customer-reviews .card-customer-reviews .stars-customer-reviews {
        width: 156px;
        justify-content: space-between;
    }

    .customer-reviews .card-customer-reviews .text-content {
        text-align: center;
        width: 83%;
        font-size: 12px;
        max-width: 220.78px;
        margin: 0 auto;
    }

    .customer-reviews .card-customer-reviews .client-profile {
        margin: auto;
        width: fit-content;
        grid-template-columns: auto;
        justify-content: center;
    }

    .customer-reviews .card-customer-reviews .client-profile div {
        margin-left: 14px;
    }

    .customer-reviews .card-customer-reviews .client-profile p,
    .customer-reviews .card-customer-reviews .client-profile span {
        font-size: 16px;
    }

    .customer-reviews .card-customer-reviews .client-profile img {
        margin-top: 3px;
        margin-right: 14px;
        width: 40px !important;
        height: 40px !important;
    }

    .customer-reviews .card-first .client-profile img {
        margin-right: 15px !important;
    }

    .customer-reviews .card-first .client-profile {
        margin-top: 30px !important;
    }

}


/* CARDS SLIDER */

.container-customer-reviews {
  position: relative;
/*   overflow: hidden; */
    width: 80vw;
}

.card-customer-reviews {

}
              
            
!

JS

              
                const slides = document.querySelectorAll(".card-customer-reviews");
const nextBtn = document.querySelector(".arrow-right-mobile");
const prevBtn = document.querySelector(".arrow-left-mobile");

slides.forEach(function (slide, index) {
  slide.style.left = `${index * 100}%`;
});

let counter = 0;
nextBtn.addEventListener("click", function () {
  counter++;
  carousel();
});

prevBtn.addEventListener("click", function () {
  counter--;
  carousel();
});

function carousel() {

  slides.forEach(function (slide) {
    slide.style.transform = `translateX(-${counter * 100}%)`;
  });
}

              
            
!
999px

Console