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)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(6)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(0)
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
(28)
Non Standard
(1)
Reverse
(8)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(11)
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)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
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
(4)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(1)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(7)
Contact Forms
(7)
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)
Side By Side
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
<!-- ============================================ --> <!-- Why Choose Us --> <!-- ============================================ --> <section id="why-choose-1821"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Why Choose Us</span> <h2 class="cs-title">Why Choose Stitch Gym</h2> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym3.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym3.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym3.png" alt="body builder" width="562" height="568"> </picture> </div> <ul class="cs-card-group"> <li class="cs-item"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/red-house.svg" alt="icon" width="32" height="32"> <div class="cs-item-wrapper"> <h3 class="cs-h3"> 22,000 Square Feet Modern Gym </h3> <p class="cs-item-text"> Take advantage of our spacious gym equipped with a wide range of gym fitness machines so you can achieve. </p> </div> </li> <li class="cs-item"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/red-layer.svg" alt="icon" width="32" height="32"> <div class="cs-item-wrapper"> <h3 class="cs-h3"> State of The Art Equipment </h3> <p class="cs-item-text"> Take advantage of our spacious gym equipped with a wide range of gym fitness machines so you can achieve. </p> </div> </li> <li class="cs-item"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/red-hourglass.svg" alt="icon" width="32" height="32"> <div class="cs-item-wrapper"> <h3 class="cs-h3"> Programs for Proper Weight Loss </h3> <p class="cs-item-text"> Take advantage of our spacious gym equipped with a wide range of gym fitness machines so you can achieve. </p> </div> </li> <li class="cs-item"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/red-flower.svg" alt="icon" width="32" height="32"> <div class="cs-item-wrapper"> <h3 class="cs-h3"> Free Fitness Training for New </h3> <p class="cs-item-text"> Take advantage of our spacious gym equipped with a wide range of gym fitness machines so you can achieve. </p> </div> </li> </ul> </div> </section>
/*-- -------------------------- --> <--- Why Choose Us --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #why-choose-1821 { position: relative; overflow: hidden; z-index: 1; } #why-choose-1821 .cs-container { width: 100%; max-width: 106.25rem; margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } #why-choose-1821 .cs-content { text-align: center; width: 100%; padding: var(--sectionPadding); background-color: var(--primary); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } #why-choose-1821 .cs-topper { color: var(--bodyTextColorWhite); } #why-choose-1821 .cs-title { margin: 0 0 3rem; max-width: 13ch; color: var(--bodyTextColorWhite); } #why-choose-1821 .cs-picture { width: 100%; max-width: 36.625rem; height: auto; display: block; } #why-choose-1821 .cs-picture img { width: 100%; height: auto; display: block; } #why-choose-1821 .cs-card-group { width: 100%; max-width: 36.625rem; padding: var(--sectionPadding); /* 16px - 44px */ padding-left: clamp(1rem, 4vw, 2.75rem); /* 16px - 64px */ padding-right: clamp(1rem, 4vw, 4rem); box-sizing: border-box; margin: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; /* 32px - 40px */ gap: clamp(2rem, 0.5vw, 2.5rem); } #why-choose-1821 .cs-item { list-style: none; width: 100%; max-width: 36.625rem; /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; } #why-choose-1821 .cs-item-wrapper { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; } #why-choose-1821 .cs-icon { width: 2rem; height: auto; display: block; } #why-choose-1821 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); } #why-choose-1821 .cs-item-text { font-size: 1rem; line-height: 1.5em; margin: 0; color: var(--bodyTextColor); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #why-choose-1821 .cs-container { flex-direction: row; justify-content: center; align-items: stretch; } #why-choose-1821 .cs-content { text-align: left; width: 100%; align-items: flex-start; background-color: transparent; } #why-choose-1821 .cs-content:before { /* background color, moves to the section parent at desktop */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; } #why-choose-1821 .cs-picture { margin-left: auto; max-width: 100%; } #why-choose-1821 .cs-card-group { width: 65%; max-width: 100%; /* prevents flexbox from squishing it */ flex: none; } #why-choose-1821 .cs-item { flex-direction: row; } } /* Desktop - 1400px */ @media only screen and (min-width: 87.5rem) { #why-choose-1821:before { /* background color */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; display: block; position: absolute; left: auto; right: 50%; margin-right: 0.625rem; z-index: -1; } #why-choose-1821 .cs-content { width: 50%; padding-left: 0; padding-right: 0; } #why-choose-1821 .cs-content:before { left: auto; right: 50%; margin-right: 0.625rem; } #why-choose-1821 .cs-picture { width: auto; height: 80%; display: flex; align-items: flex-end; position: absolute; bottom: 2.5rem; right: 2.5rem; z-index: -1; } #why-choose-1821 .cs-picture img { width: auto; height: 100%; max-height: 47.5rem; object-fit: contain; } #why-choose-1821 .cs-card-group { width: 50%; } }
/*-- -------------------------- --> <--- Why Choose Us --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #why-choose-1821 { position: relative; overflow: hidden; z-index: 1; } #why-choose-1821 .cs-container { width: 100%; max-width: 106.25rem; margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } #why-choose-1821 .cs-content { text-align: center; width: 100%; padding: var(--sectionPadding); background-color: var(--primary); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } #why-choose-1821 .cs-topper { color: var(--bodyTextColorWhite); } #why-choose-1821 .cs-title { margin: 0 0 3rem; max-width: 13ch; color: var(--bodyTextColorWhite); } #why-choose-1821 .cs-picture { width: 100%; max-width: 36.625rem; height: auto; display: block; } #why-choose-1821 .cs-picture img { width: 100%; height: auto; display: block; } #why-choose-1821 .cs-card-group { width: 100%; max-width: 36.625rem; padding: var(--sectionPadding); /* 16px - 44px */ padding-left: clamp(1rem, 4vw, 2.75rem); /* 16px - 64px */ padding-right: clamp(1rem, 4vw, 4rem); box-sizing: border-box; margin: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; /* 32px - 40px */ gap: clamp(2rem, 0.5vw, 2.5rem); } #why-choose-1821 .cs-item { list-style: none; width: 100%; max-width: 36.625rem; /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; } #why-choose-1821 .cs-item-wrapper { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; } #why-choose-1821 .cs-icon { width: 2rem; height: auto; display: block; } #why-choose-1821 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); } #why-choose-1821 .cs-item-text { font-size: 1rem; line-height: 1.5em; margin: 0; color: var(--bodyTextColor); } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #why-choose-1821 .cs-container { flex-direction: row; justify-content: center; align-items: stretch; } #why-choose-1821 .cs-content { text-align: left; width: 100%; align-items: flex-start; background-color: transparent; } #why-choose-1821 .cs-content:before { /* background color, moves to the section parent at desktop */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; } #why-choose-1821 .cs-picture { margin-left: auto; max-width: 100%; } #why-choose-1821 .cs-card-group { width: 65%; max-width: 100%; /* prevents flexbox from squishing it */ flex: none; } #why-choose-1821 .cs-item { flex-direction: row; } } /* Desktop - 1400px */ @media only screen and (min-width: 87.5rem) { #why-choose-1821:before { /* background color */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; display: block; position: absolute; left: auto; right: 50%; margin-right: 0.625rem; z-index: -1; } #why-choose-1821 .cs-content { width: 50%; padding-left: 0; padding-right: 0; } #why-choose-1821 .cs-content:before { left: auto; right: 50%; margin-right: 0.625rem; } #why-choose-1821 .cs-picture { width: auto; height: 80%; display: flex; align-items: flex-end; position: absolute; bottom: 2.5rem; right: 2.5rem; z-index: -1; } #why-choose-1821 .cs-picture img { width: auto; height: 100%; max-height: 47.5rem; object-fit: contain; } #why-choose-1821 .cs-card-group { width: 50%; } } /* Dark Mode - Mobile */ @media only screen and (min-width: 0rem) { body.dark-mode #why-choose-1821 .cs-title, body.dark-mode #why-choose-1821 .cs-h3, body.dark-mode #why-choose-1821 .cs-item-text { color: var(--bodyTextColorWhite); } body.dark-mode #why-choose-1821 .cs-content { background-color: transparent; } body.dark-mode #why-choose-1821 .cs-content:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 0.4; position: absolute; display: block; top: 0; left: 0; } body.dark-mode #why-choose-1821 .cs-item-text { opacity: 0.8; } } /* Dark Mode Desktop 1400px */ @media only screen and (min-width: 87.5rem) { body.dark-mode #why-choose-1821:before { background: var(--primary); opacity: 0.4; } body.dark-mode #why-choose-1821 .cs-content { background-color: transparent; } body.dark-mode #why-choose-1821 .cs-content:before { display: none; } }
/*-- -------------------------- --> <--- Why Choose Us --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #why-choose-1821 { position: relative; overflow: hidden; z-index: 1; .cs-container { width: 100%; max-width: (1700/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-content { text-align: center; width: 100%; padding: var(--sectionPadding); background-color: var(--primary); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-topper { color: var(--bodyTextColorWhite); } .cs-title { margin: 0 0 (48/16rem); max-width: 13ch; color: var(--bodyTextColorWhite); } .cs-picture { width: 100%; max-width: (586/16rem); height: auto; display: block; img { width: 100%; height: auto; display: block; } } .cs-card-group { width: 100%; max-width: (586/16rem); padding: var(--sectionPadding); /* 16px - 44px */ padding-left: clamp(1rem, 4vw, 2.75rem); /* 16px - 64px */ padding-right: clamp(1rem, 4vw, 4rem); box-sizing: border-box; margin: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; /* 32px - 40px */ gap: clamp(2rem, .5vw, 2.5rem); } .cs-item { list-style: none; width: 100%; max-width: (586/16rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: (12/16rem); } .cs-item-wrapper { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: (12/16rem); } .cs-icon { width: (32/16rem); height: auto; display: block; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); } .cs-item-text { font-size: (16/16rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #why-choose-1821 { .cs-container { flex-direction: row; justify-content: center; align-items: stretch; } .cs-content { text-align: left; width: 100%; align-items: flex-start; background-color: transparent; &:before { /* background color, moves to the section parent at desktop */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; } } .cs-picture { margin-left: auto; max-width: 100%; } .cs-card-group { width: 65%; max-width: 100%; /* prevents flexbox from squishing it */ flex: none; } .cs-item { flex-direction: row; } } } /* Desktop - 1400px */ @media only screen and (min-width: 87.5rem) { #why-choose-1821 { &:before { /* background color */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; display: block; position: absolute; left: auto; right: 50%; margin-right: (10/16rem); z-index: -1; } .cs-content { width: 50%; padding-left: 0; padding-right: 0; &:before { left: auto; right: 50%; margin-right: (10/16rem); } } .cs-picture { width: auto; height: 80%; display: flex; align-items: flex-end; position: absolute; bottom: (40/16rem); right: (40/16rem); z-index: -1; img { width: auto; height: 100%; max-height: (760/16rem); object-fit: contain; } } .cs-card-group { width: 50%; } } }
/*-- -------------------------- --> <--- Why Choose Us --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #why-choose-1821 { position: relative; overflow: hidden; z-index: 1; .cs-container { width: 100%; max-width: (1700/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-content { text-align: center; width: 100%; padding: var(--sectionPadding); background-color: var(--primary); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-topper { color: var(--bodyTextColorWhite); } .cs-title { margin: 0 0 (48/16rem); max-width: 13ch; color: var(--bodyTextColorWhite); } .cs-picture { width: 100%; max-width: (586/16rem); height: auto; display: block; img { width: 100%; height: auto; display: block; } } .cs-card-group { width: 100%; max-width: (586/16rem); padding: var(--sectionPadding); /* 16px - 44px */ padding-left: clamp(1rem, 4vw, 2.75rem); /* 16px - 64px */ padding-right: clamp(1rem, 4vw, 4rem); box-sizing: border-box; margin: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; /* 32px - 40px */ gap: clamp(2rem, .5vw, 2.5rem); } .cs-item { list-style: none; width: 100%; max-width: (586/16rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: (12/16rem); } .cs-item-wrapper { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: (12/16rem); } .cs-icon { width: (32/16rem); height: auto; display: block; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); } .cs-item-text { font-size: (16/16rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #why-choose-1821 { .cs-container { flex-direction: row; justify-content: center; align-items: stretch; } .cs-content { text-align: left; width: 100%; align-items: flex-start; background-color: transparent; &:before { /* background color, moves to the section parent at desktop */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; } } .cs-picture { margin-left: auto; max-width: 100%; } .cs-card-group { width: 65%; max-width: 100%; /* prevents flexbox from squishing it */ flex: none; } .cs-item { flex-direction: row; } } } /* Desktop - 1400px */ @media only screen and (min-width: 87.5rem) { #why-choose-1821 { &:before { /* background color */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; display: block; position: absolute; left: auto; right: 50%; margin-right: (10/16rem); z-index: -1; } .cs-content { width: 50%; padding-left: 0; padding-right: 0; &:before { left: auto; right: 50%; margin-right: (10/16rem); } } .cs-picture { width: auto; height: 80%; display: flex; align-items: flex-end; position: absolute; bottom: (40/16rem); right: (40/16rem); z-index: -1; img { width: auto; height: 100%; max-height: (760/16rem); object-fit: contain; } } .cs-card-group { width: 50%; } } } /* Dark Mode - Mobile */ @media only screen and (min-width: 0rem) { body.dark-mode { #why-choose-1821 { .cs-title, .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-content { background-color: transparent; &:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .4; position: absolute; display: block; top: 0; left: 0; } } .cs-item-text { opacity: 0.8; } } } } /* Dark Mode Desktop 1400px */ @media only screen and (min-width: 87.5rem) { body.dark-mode { #why-choose-1821 { &:before { background: var(--primary); opacity: .4; } .cs-content { background-color: transparent; &:before { display: none; } } } } }
/*-- -------------------------- --> <--- Why Choose Us --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #why-choose-1821 { position: relative; overflow: hidden; z-index: 1; .cs-container { width: 100%; max-width: calc(1700/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-content { text-align: center; width: 100%; padding: var(--sectionPadding); background-color: var(--primary); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-topper { color: var(--bodyTextColorWhite); } .cs-title { margin: 0 0 calc(48/16 * 1rem); max-width: 13ch; color: var(--bodyTextColorWhite); } .cs-picture { width: 100%; max-width: calc(586/16 * 1rem); height: auto; display: block; img { width: 100%; height: auto; display: block; } } .cs-card-group { width: 100%; max-width: calc(586/16 * 1rem); padding: var(--sectionPadding); /* 16px - 44px */ padding-left: clamp(1rem, 4vw, 2.75rem); /* 16px - 64px */ padding-right: clamp(1rem, 4vw, 4rem); box-sizing: border-box; margin: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; /* 32px - 40px */ gap: clamp(2rem, .5vw, 2.5rem); } .cs-item { list-style: none; width: 100%; max-width: calc(586/16 * 1rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: calc(12/16 * 1rem); } .cs-item-wrapper { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: calc(12/16 * 1rem); } .cs-icon { width: calc(32/16 * 1rem); height: auto; display: block; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); } .cs-item-text { font-size: calc(16/16 * 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #why-choose-1821 { .cs-container { flex-direction: row; justify-content: center; align-items: stretch; } .cs-content { text-align: left; width: 100%; align-items: flex-start; background-color: transparent; &:before { /* background color, moves to the section parent at desktop */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; } } .cs-picture { margin-left: auto; max-width: 100%; } .cs-card-group { width: 65%; max-width: 100%; /* prevents flexbox from squishing it */ flex: none; } .cs-item { flex-direction: row; } } } /* Desktop - 1400px */ @media only screen and (min-width: 87.5rem) { #why-choose-1821 { &:before { /* background color */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; display: block; position: absolute; left: auto; right: 50%; margin-right: calc(10/16 * 1rem); z-index: -1; } .cs-content { width: 50%; padding-left: 0; padding-right: 0; &:before { left: auto; right: 50%; margin-right: calc(10/16 * 1rem); } } .cs-picture { width: auto; height: 80%; display: flex; align-items: flex-end; position: absolute; bottom: calc(40/16 * 1rem); right: calc(40/16 * 1rem); z-index: -1; img { width: auto; height: 100%; max-height: calc(760/16 * 1rem); object-fit: contain; } } .cs-card-group { width: 50%; } } }
/*-- -------------------------- --> <--- Why Choose Us --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #why-choose-1821 { position: relative; overflow: hidden; z-index: 1; .cs-container { width: 100%; max-width: calc(1700/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-content { text-align: center; width: 100%; padding: var(--sectionPadding); background-color: var(--primary); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } .cs-topper { color: var(--bodyTextColorWhite); } .cs-title { margin: 0 0 calc(48/16 * 1rem); max-width: 13ch; color: var(--bodyTextColorWhite); } .cs-picture { width: 100%; max-width: calc(586/16 * 1rem); height: auto; display: block; img { width: 100%; height: auto; display: block; } } .cs-card-group { width: 100%; max-width: calc(586/16 * 1rem); padding: var(--sectionPadding); /* 16px - 44px */ padding-left: clamp(1rem, 4vw, 2.75rem); /* 16px - 64px */ padding-right: clamp(1rem, 4vw, 4rem); box-sizing: border-box; margin: 0; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; /* 32px - 40px */ gap: clamp(2rem, .5vw, 2.5rem); } .cs-item { list-style: none; width: 100%; max-width: calc(586/16 * 1rem); /* prevents padding from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: calc(12/16 * 1rem); } .cs-item-wrapper { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: calc(12/16 * 1rem); } .cs-icon { width: calc(32/16 * 1rem); height: auto; display: block; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.2em; font-weight: 700; margin: 0; color: var(--headerColor); } .cs-item-text { font-size: calc(16/16 * 1rem); line-height: 1.5em; margin: 0; color: var(--bodyTextColor); } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #why-choose-1821 { .cs-container { flex-direction: row; justify-content: center; align-items: stretch; } .cs-content { text-align: left; width: 100%; align-items: flex-start; background-color: transparent; &:before { /* background color, moves to the section parent at desktop */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; position: absolute; display: block; top: 0; left: 0; z-index: -1; } } .cs-picture { margin-left: auto; max-width: 100%; } .cs-card-group { width: 65%; max-width: 100%; /* prevents flexbox from squishing it */ flex: none; } .cs-item { flex-direction: row; } } } /* Desktop - 1400px */ @media only screen and (min-width: 87.5rem) { #why-choose-1821 { &:before { /* background color */ content: ''; width: 100%; height: 100%; background: var(--primary); opacity: 1; display: block; position: absolute; left: auto; right: 50%; margin-right: calc(10/16 * 1rem); z-index: -1; } .cs-content { width: 50%; padding-left: 0; padding-right: 0; &:before { left: auto; right: 50%; margin-right: calc(10/16 * 1rem); } } .cs-picture { width: auto; height: 80%; display: flex; align-items: flex-end; position: absolute; bottom: calc(40/16 * 1rem); right: calc(40/16 * 1rem); z-index: -1; img { width: auto; height: 100%; max-height: calc(760/16 * 1rem); object-fit: contain; } } .cs-card-group { width: 50%; } } } /* Dark Mode - Mobile */ @media only screen and (min-width: 0rem) { body.dark-mode { #why-choose-1821 { .cs-title, .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-content { background-color: transparent; &:before { content: ''; width: 100%; height: 100%; background: var(--primary); opacity: .4; position: absolute; display: block; top: 0; left: 0; } } .cs-item-text { opacity: 0.8; } } } } /* Dark Mode Desktop 1400px */ @media only screen and (min-width: 87.5rem) { body.dark-mode { #why-choose-1821 { &:before { background: var(--primary); opacity: .4; } .cs-content { background-color: transparent; &:before { display: none; } } } } }
: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