Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Double Dropdown
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(7)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(1)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(34)
Combo
(0)
Non Standard
(1)
Reverse
(11)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(14)
Gallery
All
(7)
4 Images
(1)
5 Images
(1)
6 Images
(1)
8 Images
(2)
Full Width
(0)
Mosaic
(0)
Multi Gallery
(1)
Simple
(1)
Meet Our Team
All
(5)
2 Card
(0)
3 Card
(1)
4 Card
(2)
5 Card
(1)
6 Card
(0)
7 Card
(0)
8 Card
(1)
Combo
(0)
Steps
All
(4)
3 Steps
(2)
4 Steps
(2)
5 Steps
(0)
Stats
All
(5)
2 Stats
(0)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
Price List
(0)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(5)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(2)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Slideshow
(0)
Forms & Contact
All
(8)
Contact Forms
(8)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
Service Page
(0)
Combos
HTML
CSS
Core Styles
Choose your preferred CSS
CSS
LESS
SCSS
CSS Dark
LESS Dark
SCSS Dark
Choose your preferred Core Styles CSS
CSS
LESS
SCSS
-
Dark Mode
+
Dark Mode
Copy
to Clipboard
<!-- ============================================ --> <!-- CTA --> <!-- ============================================ --> <section id="cta-1192"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Trusted Car Repair Company</span> <h2 class="cs-title">The Best Service Is Our Main Goal</h2> <a href="" class="cs-button-solid">Contact Now</a> </div> <!--To make an image like this one, use https://www.remove.bg/ to remove the background of any image--> <picture class="cs-image"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/yellow-car.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/yellow-car.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/yellow-car.png" alt="yellow car" width="779" height="482"> </picture> </div> <!--Tire Screech--> <picture class="cs-graphic-wrapper"> <img class="cs-graphic" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/tire-screech2.svg" alt="tire screech" width="1462" height="434"> </picture> </section> <!-- ============================================ --> <!-- Reviews --> <!-- ============================================ --> <section id="reviews-1192"> <div class="cs-container"> <!--Person--> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/suit.jpg"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/suit.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/suit.jpg" alt="man in suit" width="738" height="493"> </picture> <div class="cs-review-group"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/red-quotes.svg" alt="red quotes" width="97" height="80" aria-hidden="true"> <p class="cs-review-text"> When you think about collecting customer feed back, it’s easy to get overwhelmed by the sheer volume of . With so many more customers and so many ways to connect with their feedback it’s hard to know to where to start. </p> <div class="cs-info"> <img class="cs-profile" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/mech-profile.png" alt="profile" width="50" height="50" aria-hidden="true"> <div class="cs-flex"> <span class="cs-name">George Thomas</span> <span class="cs-desc">Founder Of Yokoloko</span> </div> </div> </div> </div> </section>
/*-- -------------------------- --> <--- CTA --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cta-1192 { margin-top: 1.875rem; padding: var(--sectionPadding); padding-left: 0; padding-right: 0; padding-bottom: 0; position: relative; z-index: 1; } #cta-1192:before { /* yellow shape */ content: ""; width: 12.25rem; /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: 1.875rem; left: 0; z-index: 2; transform: skew(-17deg); } #cta-1192:after { /* covers the rest of the :before shape on the left */ content: ""; width: 6.25rem; /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: 1.875rem; left: 0; z-index: 1; } #cta-1192 .cs-container { width: 100%; max-width: 80rem; margin: auto; padding: var(--sectionPadding); /* 96px - 120px */ padding-top: clamp(6rem, 20vw, 7.5rem); /* 100px - 240px */ padding-bottom: clamp(6.25rem, 25vw, 15rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 2; } #cta-1192 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cta-1192 .cs-title { max-width: 17ch; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); color: var(--bodyTextColorWhite); } #cta-1192 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 2rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #cta-1192 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #cta-1192 .cs-button-solid:hover:before { width: 100%; } #cta-1192 .cs-image { width: 100%; /* changes to 779px at large desktop */ max-width: 25.9375rem; max-height: 30.125rem; height: auto; display: block; position: relative; z-index: 10; } #cta-1192 .cs-image img { width: 100%; height: auto; object-fit: contain; } #cta-1192 .cs-graphic-wrapper { width: 100%; height: 100%; overflow: hidden; background-color: #1a1a1a; display: block; position: absolute; /* same as --secitonPadding variable */ top: clamp(3.75rem, 7.82vw, 6.25rem); left: 0; z-index: 1; } #cta-1192 .cs-graphic { width: 140vw; height: auto; position: absolute; bottom: 10%; left: 50%; z-index: -1; transform: translateX(-60%) rotate(-10deg); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #cta-1192 { overflow: visible; } #cta-1192 .cs-container { flex-direction: row; overflow: hidden; } #cta-1192 .cs-content { text-align: left; width: 50%; max-width: 31.25rem; align-items: flex-start; } #cta-1192 .cs-image { flex: none; position: absolute; top: 5rem; right: 0; } #cta-1192 .cs-graphic { width: 90vw; max-width: 91.375rem; margin-left: -15.625rem; left: 50%; transform: rotate(-10deg); } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cta-1192 { overflow: hidden; } #cta-1192 .cs-container { overflow: visible; } #cta-1192 .cs-image { width: 48vw; max-width: 48.6875rem; } #cta-1192 .cs-graphic { width: 80vw; } } /* Large Desktop 1300px */ @media only screen and (min-width: 81.25rem) { #cta-1192 { overflow: hidden; } #cta-1192:before { height: 17.6875rem; width: 50vw; margin-right: 30.625rem; right: 50%; left: auto; } #cta-1192:after { height: 17.6875rem; width: 10vw; } #cta-1192 .cs-container { padding-left: 13.5625rem; padding-right: 0; } #cta-1192 .cs-image { margin-left: clamp(2rem, 4.5vw, 5rem); left: 50%; right: auto; } } /*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-1192 { padding: var(--sectionPadding); padding-top: 0; } #reviews-1192 .cs-container { width: 100%; /* changed to 1280px at tablet */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; } #reviews-1192 .cs-picture { width: 100%; max-width: 46.125rem; /* 296px - 493px */ height: clamp(18.5rem, 37vw, 30.8125rem); /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */ margin-top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); display: block; position: relative; z-index: 10; } #reviews-1192 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #reviews-1192 .cs-review-group { width: 90%; max-width: 39.375rem; /* makes it overlap the image, removed at tablet */ margin-top: -2.625rem; /* 24px - 80px */ padding: clamp(1.5rem, 5.5vw, 5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #f7f7f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; position: relative; z-index: 10; } #reviews-1192 .cs-icon { /* 48px - 97px */ width: clamp(3rem, 7vw, 6rem); height: auto; display: block; } #reviews-1192 .cs-review-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } #reviews-1192 .cs-info { display: flex; justify-content: center; align-items: center; gap: 0.75rem; } #reviews-1192 .cs-profile { width: 3.125rem; height: auto; border-radius: 50%; border: 4px solid #fff; background-color: #fff; } #reviews-1192 .cs-name { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); display: block; } #reviews-1192 .cs-desc { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-1192 .cs-container { max-width: 80rem; flex-direction: row; justify-content: flex-end; } #reviews-1192 .cs-picture { /* changes at desktop */ width: 47%; margin: 0; position: absolute; top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); left: 0; } #reviews-1192 .cs-review-group { width: 57%; margin: 0; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-1192 .cs-picture { width: 55%; } }
/*-- -------------------------- --> <--- CTA --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cta-1192 { margin-top: 1.875rem; padding: var(--sectionPadding); padding-left: 0; padding-right: 0; padding-bottom: 0; position: relative; z-index: 1; } #cta-1192:before { /* yellow shape */ content: ""; width: 12.25rem; /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: 1.875rem; left: 0; z-index: 2; transform: skew(-17deg); } #cta-1192:after { /* covers the rest of the :before shape on the left */ content: ""; width: 6.25rem; /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: 1.875rem; left: 0; z-index: 1; } #cta-1192 .cs-container { width: 100%; max-width: 80rem; margin: auto; padding: var(--sectionPadding); /* 96px - 120px */ padding-top: clamp(6rem, 20vw, 7.5rem); /* 100px - 240px */ padding-bottom: clamp(6.25rem, 25vw, 15rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 2; } #cta-1192 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #cta-1192 .cs-title { max-width: 17ch; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); color: var(--bodyTextColorWhite); } #cta-1192 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 2rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #cta-1192 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #cta-1192 .cs-button-solid:hover:before { width: 100%; } #cta-1192 .cs-image { width: 100%; /* changes to 779px at large desktop */ max-width: 25.9375rem; max-height: 30.125rem; height: auto; display: block; position: relative; z-index: 10; } #cta-1192 .cs-image img { width: 100%; height: auto; object-fit: contain; } #cta-1192 .cs-graphic-wrapper { width: 100%; height: 100%; overflow: hidden; background-color: #1a1a1a; display: block; position: absolute; /* same as --secitonPadding variable */ top: clamp(3.75rem, 7.82vw, 6.25rem); left: 0; z-index: 1; } #cta-1192 .cs-graphic { width: 140vw; height: auto; position: absolute; bottom: 10%; left: 50%; z-index: -1; transform: translateX(-60%) rotate(-10deg); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #cta-1192 { overflow: visible; } #cta-1192 .cs-container { flex-direction: row; overflow: hidden; } #cta-1192 .cs-content { text-align: left; width: 50%; max-width: 31.25rem; align-items: flex-start; } #cta-1192 .cs-image { flex: none; position: absolute; top: 5rem; right: 0; } #cta-1192 .cs-graphic { width: 90vw; max-width: 91.375rem; margin-left: -15.625rem; left: 50%; transform: rotate(-10deg); } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cta-1192 { overflow: hidden; } #cta-1192 .cs-container { overflow: visible; } #cta-1192 .cs-image { width: 48vw; max-width: 48.6875rem; } #cta-1192 .cs-graphic { width: 80vw; } } /* Large Desktop 1300px */ @media only screen and (min-width: 81.25rem) { #cta-1192 { overflow: hidden; } #cta-1192:before { height: 17.6875rem; width: 50vw; margin-right: 30.625rem; right: 50%; left: auto; } #cta-1192:after { height: 17.6875rem; width: 10vw; } #cta-1192 .cs-container { padding-left: 13.5625rem; padding-right: 0; } #cta-1192 .cs-image { margin-left: clamp(2rem, 4.5vw, 5rem); left: 50%; right: auto; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #cta-1192 .cs-graphic-wrapper { background-color: rgba(0, 0, 0, 0.6); } } /*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-1192 { padding: var(--sectionPadding); padding-top: 0; } #reviews-1192 .cs-container { width: 100%; /* changed to 1280px at tablet */ max-width: 34.375rem; margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; } #reviews-1192 .cs-picture { width: 100%; max-width: 46.125rem; /* 296px - 493px */ height: clamp(18.5rem, 37vw, 30.8125rem); /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */ margin-top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); display: block; position: relative; z-index: 10; } #reviews-1192 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } #reviews-1192 .cs-review-group { width: 90%; max-width: 39.375rem; /* makes it overlap the image, removed at tablet */ margin-top: -2.625rem; /* 24px - 80px */ padding: clamp(1.5rem, 5.5vw, 5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #f7f7f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; position: relative; z-index: 10; } #reviews-1192 .cs-icon { /* 48px - 97px */ width: clamp(3rem, 7vw, 6rem); height: auto; display: block; } #reviews-1192 .cs-review-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } #reviews-1192 .cs-info { display: flex; justify-content: center; align-items: center; gap: 0.75rem; } #reviews-1192 .cs-profile { width: 3.125rem; height: auto; border-radius: 50%; border: 4px solid #fff; background-color: #fff; } #reviews-1192 .cs-name { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); display: block; } #reviews-1192 .cs-desc { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-1192 .cs-container { max-width: 80rem; flex-direction: row; justify-content: flex-end; } #reviews-1192 .cs-picture { /* changes at desktop */ width: 47%; margin: 0; position: absolute; top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); left: 0; } #reviews-1192 .cs-review-group { width: 57%; margin: 0; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-1192 .cs-picture { width: 55%; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #reviews-1192 .cs-review-group { background-color: var(--medium); } body.dark-mode #reviews-1192 .cs-review-text, body.dark-mode #reviews-1192 .cs-name, body.dark-mode #reviews-1192 .cs-desc { color: var(--bodyTextColorWhite); } body.dark-mode #reviews-1192 .cs-review-text { opacity: 0.8; } }
/*-- -------------------------- --> <--- CTA --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cta-1192 { margin-top: (30/16rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; padding-bottom: 0; position: relative; z-index: 1; &:before { /* yellow shape */ content: ""; width: (196/16rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: (30/16rem); left: 0; z-index: 2; transform: skew(-17deg); } &:after { /* covers the rest of the :before shape on the left */ content: ""; width: (100/16rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: (30/16rem); left: 0; z-index: 1; } .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; padding: var(--sectionPadding); /* 96px - 120px */ padding-top: clamp(6rem, 20vw, 7.5rem); /* 100px - 240px */ padding-bottom: clamp(6.25rem, 25vw, 15rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 2; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 17ch; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); color: var(--bodyTextColorWhite); } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (32/16rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image { width: 100%; /* changes to 779px at large desktop */ max-width: (415/16rem); max-height: (482/16rem); height: auto; display: block; position: relative; z-index: 10; img { width: 100%; height: auto; object-fit: contain; } } .cs-graphic-wrapper { width: 100%; height: 100%; overflow: hidden; background-color: #1a1a1a; display: block; position: absolute; /* same as --secitonPadding variable */ top: clamp(3.75rem, 7.82vw, 6.25rem); left: 0; z-index: 1; } .cs-graphic { width: 140vw; height: auto; position: absolute; bottom: 10%; left: 50%; z-index: -1; transform: translateX(-60%) rotate(-10deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #cta-1192 { overflow: visible; .cs-container { flex-direction: row; overflow: hidden; } .cs-content { text-align: left; width: 50%; max-width: (500/16rem); align-items: flex-start; } .cs-image { flex: none; position: absolute; top: (80/16rem); right: 0; } .cs-graphic { width: 90vw; max-width: (1462/16rem); margin-left: (-250/16rem); left: 50%; transform: rotate(-10deg); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cta-1192 { overflow: hidden; .cs-container { overflow: visible; } .cs-image { width: 48vw; max-width: (779/16rem); } .cs-graphic { width: 80vw; } } } /* Large Desktop 1300px */ @media only screen and (min-width: 81.25rem) { #cta-1192 { overflow: hidden; &:before { height: (283/16rem); width: 50vw; margin-right: (490/16rem); right: 50%; left: auto; } &:after { height: (283/16rem); width: 10vw; } .cs-container { padding-left: (217/16rem); padding-right: 0; } .cs-image { margin-left: clamp(2rem, 4.5vw, 5rem); left: 50%; right: auto; } } } /*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-1192 { padding: var(--sectionPadding); padding-top: 0; .cs-container { width: 100%; /* changed to 1280px at tablet */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; } .cs-picture { width: 100%; max-width: (738/16rem); /* 296px - 493px */ height: clamp(18.5rem, 37vw, 30.8125rem); /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */ margin-top: ~"calc(clamp(4.6875rem, 13vw, 7.5rem)*-1)"; display: block; position: relative; z-index: 10; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-review-group { width: 90%; max-width: (630/16rem); /* makes it overlap the image, removed at tablet */ margin-top: (-42/16rem); /* 24px - 80px */ padding: clamp(1.5rem, 5.5vw, 5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #f7f7f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: (24/16rem); position: relative; z-index: 10; } .cs-icon { /* 48px - 97px */ width: clamp(3rem, 7vw, 6rem); height: auto; display: block; } .cs-review-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } .cs-info { display: flex; justify-content: center; align-items: center; gap: (12/16rem); } .cs-profile { width: (50/16rem); height: auto; border-radius: 50%; border: 4px solid #fff; background-color: #fff; } .cs-name { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); display: block; } .cs-desc { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-1192 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: flex-end; } .cs-picture { /* changes at desktop */ width: 47%; margin: 0; position: absolute; top: ~"calc(clamp(4.6875rem, 13vw, 7.5rem)*-1)"; left: 0; } .cs-review-group { width: 57%; margin: 0; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-1192 { .cs-picture { width: 55%; } } }
/*-- -------------------------- --> <--- CTA --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cta-1192 { margin-top: (30/16rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; padding-bottom: 0; position: relative; z-index: 1; &:before { /* yellow shape */ content: ""; width: (196/16rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: (30/16rem); left: 0; z-index: 2; transform: skew(-17deg); } &:after { /* covers the rest of the :before shape on the left */ content: ""; width: (100/16rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: (30/16rem); left: 0; z-index: 1; } .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; padding: var(--sectionPadding); /* 96px - 120px */ padding-top: clamp(6rem, 20vw, 7.5rem); /* 100px - 240px */ padding-bottom: clamp(6.25rem, 25vw, 15rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 2; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 17ch; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); color: var(--bodyTextColorWhite); } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (32/16rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image { width: 100%; /* changes to 779px at large desktop */ max-width: (415/16rem); max-height: (482/16rem); height: auto; display: block; position: relative; z-index: 10; img { width: 100%; height: auto; object-fit: contain; } } .cs-graphic-wrapper { width: 100%; height: 100%; overflow: hidden; background-color: #1a1a1a; display: block; position: absolute; /* same as --secitonPadding variable */ top: clamp(3.75rem, 7.82vw, 6.25rem); left: 0; z-index: 1; } .cs-graphic { width: 140vw; height: auto; position: absolute; bottom: 10%; left: 50%; z-index: -1; transform: translateX(-60%) rotate(-10deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #cta-1192 { overflow: visible; .cs-container { flex-direction: row; overflow: hidden; } .cs-content { text-align: left; width: 50%; max-width: (500/16rem); align-items: flex-start; } .cs-image { flex: none; position: absolute; top: (80/16rem); right: 0; } .cs-graphic { width: 90vw; max-width: (1462/16rem); margin-left: (-250/16rem); left: 50%; transform: rotate(-10deg); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cta-1192 { overflow: hidden; .cs-container { overflow: visible; } .cs-image { width: 48vw; max-width: (779/16rem); } .cs-graphic { width: 80vw; } } } /* Large Desktop 1300px */ @media only screen and (min-width: 81.25rem) { #cta-1192 { overflow: hidden; &:before { height: (283/16rem); width: 50vw; margin-right: (490/16rem); right: 50%; left: auto; } &:after { height: (283/16rem); width: 10vw; } .cs-container { padding-left: (217/16rem); padding-right: 0; } .cs-image { margin-left: clamp(2rem, 4.5vw, 5rem); left: 50%; right: auto; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #cta-1192 { .cs-graphic-wrapper { background-color: rgba(0, 0, 0, 0.6); } } } } /*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-1192 { padding: var(--sectionPadding); padding-top: 0; .cs-container { width: 100%; /* changed to 1280px at tablet */ max-width: (550/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; } .cs-picture { width: 100%; max-width: (738/16rem); /* 296px - 493px */ height: clamp(18.5rem, 37vw, 30.8125rem); /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */ margin-top: ~"calc(clamp(4.6875rem, 13vw, 7.5rem)*-1)"; display: block; position: relative; z-index: 10; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-review-group { width: 90%; max-width: (630/16rem); /* makes it overlap the image, removed at tablet */ margin-top: (-42/16rem); /* 24px - 80px */ padding: clamp(1.5rem, 5.5vw, 5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #f7f7f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: (24/16rem); position: relative; z-index: 10; } .cs-icon { /* 48px - 97px */ width: clamp(3rem, 7vw, 6rem); height: auto; display: block; } .cs-review-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } .cs-info { display: flex; justify-content: center; align-items: center; gap: (12/16rem); } .cs-profile { width: (50/16rem); height: auto; border-radius: 50%; border: 4px solid #fff; background-color: #fff; } .cs-name { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); display: block; } .cs-desc { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-1192 { .cs-container { max-width: (1280/16rem); flex-direction: row; justify-content: flex-end; } .cs-picture { /* changes at desktop */ width: 47%; margin: 0; position: absolute; top: ~"calc(clamp(4.6875rem, 13vw, 7.5rem)*-1)"; left: 0; } .cs-review-group { width: 57%; margin: 0; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-1192 { .cs-picture { width: 55%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #reviews-1192 { .cs-review-group { background-color: var(--medium); } .cs-review-text, .cs-name, .cs-desc { color: var(--bodyTextColorWhite); } .cs-review-text { opacity: 0.8; } } } }
/*-- -------------------------- --> <--- CTA --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cta-1192 { margin-top: calc(30 / 16 * 1rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; padding-bottom: 0; position: relative; z-index: 1; &:before { /* yellow shape */ content: ""; width: calc(196 / 16 * 1rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: calc(30 / 16 * 1rem); left: 0; z-index: 2; transform: skew(-17deg); } &:after { /* covers the rest of the :before shape on the left */ content: ""; width: calc(100 / 16 * 1rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: calc(30 / 16 * 1rem); left: 0; z-index: 1; } .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; padding: var(--sectionPadding); /* 96px - 120px */ padding-top: clamp(6rem, 20vw, 7.5rem); /* 100px - 240px */ padding-bottom: clamp(6.25rem, 25vw, 15rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 2; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 17ch; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); color: var(--bodyTextColorWhite); } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(32 / 16 * 1rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image { width: 100%; /* changes to 779px at large desktop */ max-width: calc(415 / 16 * 1rem); max-height: calc(482 / 16 * 1rem); height: auto; display: block; position: relative; z-index: 10; img { width: 100%; height: auto; object-fit: contain; } } .cs-graphic-wrapper { width: 100%; height: 100%; overflow: hidden; background-color: #1a1a1a; display: block; position: absolute; /* same as --secitonPadding variable */ top: clamp(3.75rem, 7.82vw, 6.25rem); left: 0; z-index: 1; } .cs-graphic { width: 140vw; height: auto; position: absolute; bottom: 10%; left: 50%; z-index: -1; transform: translateX(-60%) rotate(-10deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #cta-1192 { overflow: visible; .cs-container { flex-direction: row; overflow: hidden; } .cs-content { text-align: left; width: 50%; max-width: calc(500 / 16 * 1rem); align-items: flex-start; } .cs-image { flex: none; position: absolute; right: 0; top: calc(80 / 16 * 1rem); } .cs-graphic { width: 90vw; max-width: calc(1462 / 16 * 1rem); margin-left: calc(-250 / 16 * 1rem); left: 50%; transform: rotate(-10deg); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cta-1192 { overflow: hidden; .cs-container { overflow: visible; } .cs-image { width: 48vw; max-width: calc(779 / 16 * 1rem); } .cs-graphic { width: 80vw; } } } /* Large Desktop 1300px */ @media only screen and (min-width: 81.25rem) { #cta-1192 { overflow: hidden; &:before { height: calc(283 / 16 * 1rem); width: 50vw; margin-right: calc(490 / 16 * 1rem); right: 50%; left: auto; } &:after { height: calc(283 / 16 * 1rem); width: 10vw; } .cs-container { padding-left: calc(217 / 16 * 1rem); padding-right: 0; } .cs-image { margin-left: clamp(2rem, 4.5vw, 5rem); left: 50%; right: auto; } } } /*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-1192 { padding: var(--sectionPadding); padding-top: 0; .cs-container { width: 100%; /* changed to 1280px at tablet */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; } .cs-picture { width: 100%; max-width: calc(738 / 16 * 1rem); /* 296px - 493px */ height: clamp(18.5rem, 37vw, 30.8125rem); /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */ margin-top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); display: block; position: relative; z-index: 10; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-review-group { width: 90%; max-width: calc(630 / 16 * 1rem); /* makes it overlap the image, removed at tablet */ margin-top: calc(-42 / 16 * 1rem); /* 24px - 80px */ padding: clamp(1.5rem, 5.5vw, 5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #f7f7f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(24 / 16 * 1rem); position: relative; z-index: 10; } .cs-icon { /* 48px - 97px */ width: clamp(3rem, 7vw, 6rem); height: auto; display: block; } .cs-review-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } .cs-info { display: flex; justify-content: center; align-items: center; gap: calc(12 / 16 * 1rem); } .cs-profile { width: calc(50 / 16 * 1rem); height: auto; border-radius: 50%; border: 4px solid #fff; background-color: #fff; } .cs-name { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); display: block; } .cs-desc { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-1192 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: flex-end; } .cs-picture { /* changes at desktop */ width: 47%; margin: 0; position: absolute; top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); left: 0; } .cs-review-group { width: 57%; margin: 0; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-1192 { .cs-picture { width: 55%; } } }
/*-- -------------------------- --> <--- CTA --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #cta-1192 { margin-top: calc(30 / 16 * 1rem); padding: var(--sectionPadding); padding-left: 0; padding-right: 0; padding-bottom: 0; position: relative; z-index: 1; &:before { /* yellow shape */ content: ""; width: calc(196 / 16 * 1rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: calc(30 / 16 * 1rem); left: 0; z-index: 2; transform: skew(-17deg); } &:after { /* covers the rest of the :before shape on the left */ content: ""; width: calc(100 / 16 * 1rem); /* 64px - 284px */ height: clamp(4rem, 10vw, 17.75rem); background: var(--secondary); opacity: 1; position: absolute; display: block; top: calc(30 / 16 * 1rem); left: 0; z-index: 1; } .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; padding: var(--sectionPadding); /* 96px - 120px */ padding-top: clamp(6rem, 20vw, 7.5rem); /* 100px - 240px */ padding-bottom: clamp(6.25rem, 25vw, 15rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 2; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { max-width: 17ch; /* 28px - 40px */ margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); color: var(--bodyTextColorWhite); } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(32 / 16 * 1rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-image { width: 100%; /* changes to 779px at large desktop */ max-width: calc(415 / 16 * 1rem); max-height: calc(482 / 16 * 1rem); height: auto; display: block; position: relative; z-index: 10; img { width: 100%; height: auto; object-fit: contain; } } .cs-graphic-wrapper { width: 100%; height: 100%; overflow: hidden; background-color: #1a1a1a; display: block; position: absolute; /* same as --secitonPadding variable */ top: clamp(3.75rem, 7.82vw, 6.25rem); left: 0; z-index: 1; } .cs-graphic { width: 140vw; height: auto; position: absolute; bottom: 10%; left: 50%; z-index: -1; transform: translateX(-60%) rotate(-10deg); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #cta-1192 { overflow: visible; .cs-container { flex-direction: row; overflow: hidden; } .cs-content { text-align: left; width: 50%; max-width: calc(500 / 16 * 1rem); align-items: flex-start; } .cs-image { flex: none; position: absolute; right: 0; top: calc(80 / 16 * 1rem); } .cs-graphic { width: 90vw; max-width: calc(1462 / 16 * 1rem); margin-left: calc(-250 / 16 * 1rem); left: 50%; transform: rotate(-10deg); } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #cta-1192 { overflow: hidden; .cs-container { overflow: visible; } .cs-image { width: 48vw; max-width: calc(779 / 16 * 1rem); } .cs-graphic { width: 80vw; } } } /* Large Desktop 1300px */ @media only screen and (min-width: 81.25rem) { #cta-1192 { overflow: hidden; &:before { height: calc(283 / 16 * 1rem); width: 50vw; margin-right: calc(490 / 16 * 1rem); right: 50%; left: auto; } &:after { height: calc(283 / 16 * 1rem); width: 10vw; } .cs-container { padding-left: calc(217 / 16 * 1rem); padding-right: 0; } .cs-image { margin-left: clamp(2rem, 4.5vw, 5rem); left: 50%; right: auto; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #cta-1192 { .cs-graphic-wrapper { background-color: rgba(0, 0, 0, 0.6); } } } } /*-- -------------------------- --> <--- Reviews --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #reviews-1192 { padding: var(--sectionPadding); padding-top: 0; .cs-container { width: 100%; /* changed to 1280px at tablet */ max-width: calc(550 / 16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; } .cs-picture { width: 100%; max-width: calc(738 / 16 * 1rem); /* 296px - 493px */ height: clamp(18.5rem, 37vw, 30.8125rem); /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */ margin-top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); display: block; position: relative; z-index: 10; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } } .cs-review-group { width: 90%; max-width: calc(630 / 16 * 1rem); /* makes it overlap the image, removed at tablet */ margin-top: calc(-42 / 16 * 1rem); /* 24px - 80px */ padding: clamp(1.5rem, 5.5vw, 5rem); /* prevents padding and border from affecting height and width */ box-sizing: border-box; background-color: #f7f7f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(24 / 16 * 1rem); position: relative; z-index: 10; } .cs-icon { /* 48px - 97px */ width: clamp(3rem, 7vw, 6rem); height: auto; display: block; } .cs-review-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } .cs-info { display: flex; justify-content: center; align-items: center; gap: calc(12 / 16 * 1rem); } .cs-profile { width: calc(50 / 16 * 1rem); height: auto; border-radius: 50%; border: 4px solid #fff; background-color: #fff; } .cs-name { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); display: block; } .cs-desc { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; text-align: center; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #reviews-1192 { .cs-container { max-width: calc(1280 / 16 * 1rem); flex-direction: row; justify-content: flex-end; } .cs-picture { /* changes at desktop */ width: 47%; margin: 0; position: absolute; top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1); left: 0; } .cs-review-group { width: 57%; margin: 0; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #reviews-1192 { .cs-picture { width: 55%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #reviews-1192 { .cs-review-group { background-color: var(--medium); } .cs-review-text, .cs-name, .cs-desc { color: var(--bodyTextColorWhite); } .cs-review-text { opacity: 0.8; } } } }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 43.75rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 40.625rem; margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: (700/16rem); margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4 / 16 * 1rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: calc(700 / 16 * 1rem); margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: calc(650 / 16 * 1rem); margin: 0; color: var(--bodyTextColor); }
Lorem Ipsum
Undo