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)
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)
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)
Combo
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
<!-- ============================================ --> <!-- Services + Stats --> <!-- ============================================ --> <section id="services-2051"> <div class="cs-container"> <div class="cs-wrapper"> <div class="cs-content"> <span class="cs-topper">About Us</span> <h2 class="cs-title">Smiles More Radiant and Healthy is Our Passion</h2> <p class="cs-text"> Enthusiastically supply parallel convergence after high standards in e-markets. Progressively administrate fully researched partnerships and market positioning web-readiness. Credibly scale an expanded. </p> <p class="cs-text"> Orci eu lobortis elementum nibh tellus. Vulputate eu scelerisque felis imperdiet proin fermentum leo vel. Luctus accumsan tortor posuere ac ut consequat semper. Et pharetra pharetra massa massa ultricies mi quis. </p> <a href="" class="cs-button-solid">Get Started</a> </div> <div class="cs-picture-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/dental-sbs-2.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/dental-sbs-2.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/dental-sbs-2.png" alt="dental checkup" width="328" height="520"> </picture> <div class="cs-box"> <img class="cs-box-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/dental-icon-people.svg" alt="people" width="60" height="60"> <span class="cs-box-number">24,000+</span> <span class="cs-box-desc"> Patients served and bring back their happy smile </span> </div> </div> </div> <div class="cs-stat-group"> <p class="cs-text"> Aenean et egestas nulla. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce gravida, ligula non molestie tristique, justo elit blandit risus, blandit maximus augue magna accumsan ante. </p> <ul class="cs-stats"> <li class="cs-li"> <img class="cs-icon" aria-hidden="true" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/dental-first-aid.svg" decoding="async" alt="icon" width="48" height="48" loading="lazy"> <div class="cs-flex"> <span class="cs-stat">12+</span> <p class="cs-stat-text">Years of scientific and clinical work.</p> </div> </li> <li class="cs-li"> <img class="cs-icon" aria-hidden="true" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/dental-merit.svg" decoding="async" alt="icon" width="48" height="48" loading="lazy"> <div class="cs-flex"> <span class="cs-stat">35</span> <p class="cs-stat-text">Certified specialists in various fields</p> </div> </li> </ul> </div> <ul class="cs-card-group"> <li class="cs-item"> <div class="cs-flex"> <h3 class="cs-h3">Gum Surgery</h3> <p class="cs-item-text"> Dentitch provides the best service and has won many awards. Our mission is to make everyone confident to give their best smile. </p> <a href="" class="cs-link"> Learn More </a> </div> <picture class="cs-item-picture"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/toothache.png" alt="icon" width="181" height="102"> </picture> </li> <li class="cs-item"> <div class="cs-flex"> <h3 class="cs-h3">Dental Implants</h3> <p class="cs-item-text"> Dentitch provides the best service and has won many awards. Our mission is to make everyone confident to give their best smile. </p> <a href="" class="cs-link"> Learn More </a> </div> <picture class="cs-item-picture"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/implant.png" alt="icon" width="181" height="102"> </picture> </li> </ul> </div> </section>
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-2051 { padding: var(--sectionPadding); background-color: #f3fcfb; overflow: hidden; position: relative; z-index: 1; } #services-2051::before { /* black background, removed at tablet */ content: ""; width: 100%; background-color: #1a1a1a; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; top: 0; bottom: 36.25rem; left: 0; z-index: -1; } #services-2051 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 36.5rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #services-2051 .cs-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 1; } #services-2051 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 39.375rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #services-2051 .cs-topper { color: var(--secondary); } #services-2051 .cs-title { /* 23 characters wide including spaces */ max-width: 26ch; color: var(--bodyTextColorWhite); } #services-2051 .cs-text { margin-bottom: 0.75rem; color: var(--bodyTextColorWhite); } #services-2051 .cs-text:last-of-type { margin-bottom: 0; } #services-2051 .cs-button-solid { font-size: 1rem; font-weight: 700; line-height: 3.5rem; text-decoration: none; margin: 2rem 0 0; padding: 0 3rem; background-color: var(--primary); overflow: hidden; color: #fff; border-radius: 0.5rem; display: inline-block; position: relative; z-index: 1; transition: color 0.3s; } #services-2051 .cs-button-solid:before { content: ""; width: 0; height: 100%; background: #1a1a1a; opacity: 1; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #services-2051 .cs-button-solid:hover { color: var(--primary); } #services-2051 .cs-button-solid:hover:before { width: 100%; } #services-2051 .cs-picture-group { width: 100%; min-height: 32.5rem; display: flex; position: relative; z-index: 1; } #services-2051 .cs-picture { width: 100%; min-height: 22.625rem; /* clips img tag corners */ overflow: hidden; border-radius: 0.5rem; display: block; position: relative; z-index: 1; } #services-2051 .cs-picture img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } #services-2051 .cs-box { text-align: left; width: 88%; max-width: 19.0625rem; /* prevents padding from affecting height and width */ box-sizing: border-box; padding: 2rem; border-radius: 0.5rem; background-color: #fff; position: absolute; /* 16px - 40px */ bottom: clamp(1rem, 4vw, 2.5rem); /* 16px - 40px */ left: clamp(1rem, 4vw, 2.5rem); z-index: 1; } #services-2051 .cs-box:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } #services-2051 .cs-box-icon { width: 3.75rem; height: auto; margin: 0 0 1rem; display: block; } #services-2051 .cs-box-number { font-size: 1.9375rem; font-weight: 900; line-height: 1.2em; margin: 0 0 0.75rem; color: var(--headerColor); display: block; } #services-2051 .cs-box-desc { font-size: 1rem; line-height: 1.5em; color: var(--bodyTextColor); display: block; } #services-2051 .cs-stat-group { display: flex; flex-direction: column; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 10; } #services-2051 .cs-stats { width: 100%; max-width: 39.375rem; margin: 0; padding: 0; display: flex; /* 16px - 24px */ gap: clamp(1rem, 2.5vw, 1.5rem); } #services-2051 .cs-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; } #services-2051 .cs-icon { /* 64px - 80px */ width: clamp(4rem, 8vw, 5rem); height: auto; display: block; flex: none; } #services-2051 .cs-stat { /* 31px - 39px */ font-size: clamp(1.9375rem, 3vw, 2.4375rem); font-weight: 900; line-height: 1.2em; margin: 0 0 0.25rem; color: var(--bodyTextColorWhite); display: block; } #services-2051 .cs-stat-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.8vw, 1rem); line-height: 1.5em; text-align: left; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; } #services-2051 .cs-card-group { width: 100%; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #services-2051 .cs-item { text-align: left; list-style: none; width: 100%; margin: 0 auto; /* prevents padding and border from affecting height and width */ /* 16px - 32px */ padding: clamp(1rem, 4.5vw, 2rem); background-color: #fff; border-radius: 0.5rem; box-sizing: border-box; display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; gap: 2rem; position: relative; z-index: 1; border: 1px solid transparent; transition: border-color 0.3s; } #services-2051 .cs-item:hover { border-color: var(--primary); } #services-2051 .cs-flex { display: flex; flex-direction: column; } #services-2051 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; text-align: inherit; margin: 0 0 1rem 0; color: var(--headerColor); transition: color 0.3s; } #services-2051 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; max-width: 28.125rem; margin: 0; margin-bottom: 1.5rem; padding: 0; color: var(--bodyTextColor); } #services-2051 .cs-link { font-size: 1rem; font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; max-width: fit-content; margin-top: auto; color: var(--primary); border-bottom: 1px solid var(--primary); display: flex; justify-content: flex-start; align-items: center; } #services-2051 .cs-item-picture { margin: 0; padding: 3.625rem 0 0 7.1875rem; border-radius: 0.5rem; overflow: hidden; display: flex; justify-content: flex-end; align-items: flex-end; position: relative; } #services-2051 .cs-item-picture:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } #services-2051 .cs-item-picture img { width: 100%; height: auto; display: block; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-2051:before { /* 100px - 200px */ top: clamp(6.25rem, 15vw, 12.5rem); bottom: 12.5rem; } #services-2051 .cs-container { max-width: 80rem; align-items: flex-start; } #services-2051 .cs-content { width: 50%; /* 140px - 200px top */ /* 48px - 64px right */ /* 20px - 80px bottom*/ padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0; } #services-2051 .cs-wrapper { flex-direction: row; justify-content: flex-start; } #services-2051 .cs-picture-group { width: 50vw; position: absolute; top: 0; left: 50%; bottom: 0; } #services-2051 .cs-picture { border-radius: 0.5rem 0 0 0.5rem; } #services-2051 .cs-stat-group { flex-direction: row; } #services-2051 .cs-item { flex-direction: row; justify-content: space-between; align-items: stretch; grid-column: span 6; } #services-2051 .cs-item-picture { width: 50%; max-width: 11.5625rem; height: auto; padding: 3.8125rem 0 0 0.25rem; flex: none; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-2051 .cs-picture-group { margin-left: 2.5rem; } #services-2051 .cs-li { flex-direction: row; align-items: center; } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-2051 { padding: var(--sectionPadding); background-color: #f3fcfb; overflow: hidden; position: relative; z-index: 1; } #services-2051::before { /* black background, removed at tablet */ content: ""; width: 100%; background-color: #1a1a1a; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; top: 0; bottom: 36.25rem; left: 0; z-index: -1; } #services-2051 .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: 36.5rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #services-2051 .cs-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 1; } #services-2051 .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: 39.375rem; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } #services-2051 .cs-topper { color: var(--secondary); } #services-2051 .cs-title { /* 23 characters wide including spaces */ max-width: 26ch; color: var(--bodyTextColorWhite); } #services-2051 .cs-text { margin-bottom: 0.75rem; color: var(--bodyTextColorWhite); } #services-2051 .cs-text:last-of-type { margin-bottom: 0; } #services-2051 .cs-button-solid { font-size: 1rem; font-weight: 700; line-height: 3.5rem; text-decoration: none; margin: 2rem 0 0; padding: 0 3rem; background-color: var(--primary); overflow: hidden; color: #fff; border-radius: 0.5rem; display: inline-block; position: relative; z-index: 1; transition: color 0.3s; } #services-2051 .cs-button-solid:before { content: ""; width: 0; height: 100%; background: #1a1a1a; opacity: 1; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #services-2051 .cs-button-solid:hover { color: var(--primary); } #services-2051 .cs-button-solid:hover:before { width: 100%; } #services-2051 .cs-picture-group { width: 100%; min-height: 32.5rem; display: flex; position: relative; z-index: 1; } #services-2051 .cs-picture { width: 100%; min-height: 22.625rem; /* clips img tag corners */ overflow: hidden; border-radius: 0.5rem; display: block; position: relative; z-index: 1; } #services-2051 .cs-picture img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } #services-2051 .cs-box { text-align: left; width: 88%; max-width: 19.0625rem; /* prevents padding from affecting height and width */ box-sizing: border-box; padding: 2rem; border-radius: 0.5rem; background-color: #fff; position: absolute; /* 16px - 40px */ bottom: clamp(1rem, 4vw, 2.5rem); /* 16px - 40px */ left: clamp(1rem, 4vw, 2.5rem); z-index: 1; } #services-2051 .cs-box:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } #services-2051 .cs-box-icon { width: 3.75rem; height: auto; margin: 0 0 1rem; display: block; } #services-2051 .cs-box-number { font-size: 1.9375rem; font-weight: 900; line-height: 1.2em; margin: 0 0 0.75rem; color: var(--headerColor); display: block; } #services-2051 .cs-box-desc { font-size: 1rem; line-height: 1.5em; color: var(--bodyTextColor); display: block; } #services-2051 .cs-stat-group { display: flex; flex-direction: column; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 10; } #services-2051 .cs-stats { width: 100%; max-width: 39.375rem; margin: 0; padding: 0; display: flex; /* 16px - 24px */ gap: clamp(1rem, 2.5vw, 1.5rem); } #services-2051 .cs-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; } #services-2051 .cs-icon { /* 64px - 80px */ width: clamp(4rem, 8vw, 5rem); height: auto; display: block; flex: none; } #services-2051 .cs-stat { /* 31px - 39px */ font-size: clamp(1.9375rem, 3vw, 2.4375rem); font-weight: 900; line-height: 1.2em; margin: 0 0 0.25rem; color: var(--bodyTextColorWhite); display: block; } #services-2051 .cs-stat-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.8vw, 1rem); line-height: 1.5em; text-align: left; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; } #services-2051 .cs-card-group { width: 100%; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #services-2051 .cs-item { text-align: left; list-style: none; width: 100%; margin: 0 auto; /* prevents padding and border from affecting height and width */ /* 16px - 32px */ padding: clamp(1rem, 4.5vw, 2rem); background-color: #fff; border-radius: 0.5rem; box-sizing: border-box; display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; gap: 2rem; position: relative; z-index: 1; border: 1px solid transparent; transition: border-color 0.3s; } #services-2051 .cs-item:hover { border-color: var(--primary); } #services-2051 .cs-flex { display: flex; flex-direction: column; } #services-2051 .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; text-align: inherit; margin: 0 0 1rem 0; color: var(--headerColor); transition: color 0.3s; } #services-2051 .cs-item-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.5em; max-width: 28.125rem; margin: 0; margin-bottom: 1.5rem; padding: 0; color: var(--bodyTextColor); } #services-2051 .cs-link { font-size: 1rem; font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; max-width: fit-content; margin-top: auto; color: var(--primary); border-bottom: 1px solid var(--primary); display: flex; justify-content: flex-start; align-items: center; } #services-2051 .cs-item-picture { margin: 0; padding: 3.625rem 0 0 7.1875rem; border-radius: 0.5rem; overflow: hidden; display: flex; justify-content: flex-end; align-items: flex-end; position: relative; } #services-2051 .cs-item-picture:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } #services-2051 .cs-item-picture img { width: 100%; height: auto; display: block; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-2051:before { /* 100px - 200px */ top: clamp(6.25rem, 15vw, 12.5rem); bottom: 12.5rem; } #services-2051 .cs-container { max-width: 80rem; align-items: flex-start; } #services-2051 .cs-content { width: 50%; /* 140px - 200px top */ /* 48px - 64px right */ /* 20px - 80px bottom*/ padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0; } #services-2051 .cs-wrapper { flex-direction: row; justify-content: flex-start; } #services-2051 .cs-picture-group { width: 50vw; position: absolute; top: 0; left: 50%; bottom: 0; } #services-2051 .cs-picture { border-radius: 0.5rem 0 0 0.5rem; } #services-2051 .cs-stat-group { flex-direction: row; } #services-2051 .cs-item { flex-direction: row; justify-content: space-between; align-items: stretch; grid-column: span 6; } #services-2051 .cs-item-picture { width: 50%; max-width: 11.5625rem; height: auto; padding: 3.8125rem 0 0 0.25rem; flex: none; } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-2051 .cs-picture-group { margin-left: 2.5rem; } #services-2051 .cs-li { flex-direction: row; align-items: center; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #services-2051 { background-color: var(--dark); } body.dark-mode #services-2051:before { background-color: rgba(0, 0, 0, 0.6); } body.dark-mode #services-2051 .cs-topper { color: var(--primary); } body.dark-mode #services-2051 .cs-title, body.dark-mode #services-2051 .cs-text, body.dark-mode #services-2051 .cs-h3, body.dark-mode #services-2051 .cs-item-text { color: var(--bodyTextColorWhite); } body.dark-mode #services-2051 .cs-text, body.dark-mode #services-2051 .cs-item-text { opacity: 0.8; } body.dark-mode #services-2051 .cs-item { background-color: var(--medium); } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-2051 { padding: var(--sectionPadding); background-color: #f3fcfb; overflow: hidden; position: relative; z-index: 1; &::before { /* black background, removed at tablet */ content: ""; width: 100%; background-color: #1a1a1a; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; top: 0; bottom: (580/16rem); left: 0; z-index: -1; } .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (584/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 1; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (630/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-topper { color: var(--secondary); } .cs-title { /* 23 characters wide including spaces */ max-width: 26ch; color: var(--bodyTextColorWhite); } .cs-text { margin-bottom: (12/16rem); color: var(--bodyTextColorWhite); &:last-of-type { margin-bottom: 0; } } .cs-button-solid { font-size: (16/16rem); font-weight: 700; line-height: (56/16rem); text-decoration: none; margin: (32/16rem) 0 0; padding: 0 (48/16rem); background-color: var(--primary); overflow: hidden; color: #fff; border-radius: (8/16rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; &:before { content: ""; width: 0; height: 100%; background: #1a1a1a; opacity: 1; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: var(--primary); &:before { width: 100%; } } } .cs-picture-group { width: 100%; min-height: (520/16rem); display: flex; position: relative; z-index: 1; } .cs-picture { width: 100%; min-height: (362/16rem); /* clips img tag corners */ overflow: hidden; border-radius: (8/16rem); display: block; position: relative; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } } .cs-box { text-align: left; width: 88%; max-width: (305/16rem); /* prevents padding from affecting height and width */ box-sizing: border-box; padding: (32/16rem); border-radius: (8/16rem); background-color: #fff; position: absolute; /* 16px - 40px */ bottom: clamp(1rem, 4vw, 2.5rem); /* 16px - 40px */ left: clamp(1rem, 4vw, 2.5rem); z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-box-icon { width: (60/16rem); height: auto; margin: 0 0 (16/16rem); display: block; } .cs-box-number { font-size: (31/16rem); font-weight: 900; line-height: 1.2em; margin: 0 0 (12/16rem); color: var(--headerColor); display: block; } .cs-box-desc { font-size: (16/16rem); line-height: 1.5em; color: var(--bodyTextColor); display: block; } .cs-stat-group { display: flex; flex-direction: column; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 10; } .cs-stats { width: 100%; max-width: (630/16rem); margin: 0; padding: 0; display: flex; /* 16px - 24px */ gap: clamp(1rem, 2.5vw, 1.5rem); } .cs-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: (16/16rem); } .cs-icon { /* 64px - 80px */ width: clamp(4rem, 8vw, 5rem); height: auto; display: block; flex: none; } .cs-stat { /* 31px - 39px */ font-size: clamp(1.9375rem, 3vw, 2.4375rem); font-weight: 900; line-height: 1.2em; margin: 0 0 (4/16rem); color: var(--bodyTextColorWhite); display: block; } .cs-stat-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.8vw, 1rem); line-height: 1.5em; text-align: left; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; } .cs-card-group { width: 100%; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { text-align: left; list-style: none; width: 100%; margin: 0 auto; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 32px */ padding: clamp(1rem, 4.5vw, 2rem); background-color: #fff; border-radius: (8/16rem); box-sizing: border-box; display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; gap: (32/16rem); position: relative; z-index: 1; border: 1px solid transparent; transition: border-color 0.3s; &:hover { border-color: var(--primary); } } .cs-flex { display: flex; flex-direction: column; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; text-align: inherit; margin: 0 0 (16/16rem) 0; color: var(--headerColor); transition: color 0.3s; } .cs-item-text { /* 14px - 16px */ font-size: clamp(.875rem, 1.5vw, 1rem); line-height: 1.5em; max-width: (450/16rem); margin: 0; margin-bottom: (24/16rem); padding: 0; color: var(--bodyTextColor); } .cs-link { font-size: (16/16rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; max-width: fit-content; margin-top: auto; color: var(--primary); border-bottom: 1px solid var(--primary); display: flex; justify-content: flex-start; align-items: center; } .cs-item-picture { margin: 0; padding: (58/16rem) 0 0 (115/16rem); border-radius: (8/16rem); overflow: hidden; display: flex; justify-content: flex-end; align-items: flex-end; position: relative; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } img { width: 100%; height: auto; display: block; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-2051 { &:before { /* 100px - 200px */ top: clamp(6.25rem, 15vw, 12.5rem); bottom: (200/16rem); } .cs-container { max-width: (1280/16rem); align-items: flex-start; } .cs-content { width: 50%; /* 140px - 200px top */ /* 48px - 64px right */ /* 20px - 80px bottom*/ padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0; } .cs-wrapper { flex-direction: row; justify-content: flex-start; } .cs-picture-group { width: 50vw; position: absolute; top: 0; left: 50%; bottom: 0; } .cs-picture { border-radius: (8/16rem) 0 0 (8/16rem); } .cs-stat-group { flex-direction: row; } .cs-item { flex-direction: row; justify-content: space-between; align-items: stretch; grid-column: span 6; } .cs-item-picture { width: 50%; max-width: (185/16rem); height: auto; padding: (61/16rem) 0 0 (4/16rem); flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-2051 { .cs-picture-group { margin-left: (40/16rem); } .cs-li { flex-direction: row; align-items: center; } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-2051 { padding: var(--sectionPadding); background-color: #f3fcfb; overflow: hidden; position: relative; z-index: 1; &::before { /* black background, removed at tablet */ content: ""; width: 100%; background-color: #1a1a1a; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; top: 0; bottom: (580/16rem); left: 0; z-index: -1; } .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: (584/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 1; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: (630/16rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-topper { color: var(--secondary); } .cs-title { /* 23 characters wide including spaces */ max-width: 26ch; color: var(--bodyTextColorWhite); } .cs-text { margin-bottom: (12/16rem); color: var(--bodyTextColorWhite); &:last-of-type { margin-bottom: 0; } } .cs-button-solid { font-size: (16/16rem); font-weight: 700; line-height: (56/16rem); text-decoration: none; margin: (32/16rem) 0 0; padding: 0 (48/16rem); background-color: var(--primary); overflow: hidden; color: #fff; border-radius: (8/16rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; &:before { content: ""; width: 0; height: 100%; background: #1a1a1a; opacity: 1; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: var(--primary); &:before { width: 100%; } } } .cs-picture-group { width: 100%; min-height: (520/16rem); display: flex; position: relative; z-index: 1; } .cs-picture { width: 100%; min-height: (362/16rem); /* clips img tag corners */ overflow: hidden; border-radius: (8/16rem); display: block; position: relative; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } } .cs-box { text-align: left; width: 88%; max-width: (305/16rem); /* prevents padding from affecting height and width */ box-sizing: border-box; padding: (32/16rem); border-radius: (8/16rem); background-color: #fff; position: absolute; /* 16px - 40px */ bottom: clamp(1rem, 4vw, 2.5rem); /* 16px - 40px */ left: clamp(1rem, 4vw, 2.5rem); z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-box-icon { width: (60/16rem); height: auto; margin: 0 0 (16/16rem); display: block; } .cs-box-number { font-size: (31/16rem); font-weight: 900; line-height: 1.2em; margin: 0 0 (12/16rem); color: var(--headerColor); display: block; } .cs-box-desc { font-size: (16/16rem); line-height: 1.5em; color: var(--bodyTextColor); display: block; } .cs-stat-group { display: flex; flex-direction: column; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 10; } .cs-stats { width: 100%; max-width: (630/16rem); margin: 0; padding: 0; display: flex; /* 16px - 24px */ gap: clamp(1rem, 2.5vw, 1.5rem); } .cs-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: (16/16rem); } .cs-icon { /* 64px - 80px */ width: clamp(4rem, 8vw, 5rem); height: auto; display: block; flex: none; } .cs-stat { /* 31px - 39px */ font-size: clamp(1.9375rem, 3vw, 2.4375rem); font-weight: 900; line-height: 1.2em; margin: 0 0 (4/16rem); color: var(--bodyTextColorWhite); display: block; } .cs-stat-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.8vw, 1rem); line-height: 1.5em; text-align: left; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; } .cs-card-group { width: 100%; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { text-align: left; list-style: none; width: 100%; margin: 0 auto; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 32px */ padding: clamp(1rem, 4.5vw, 2rem); background-color: #fff; border-radius: (8/16rem); box-sizing: border-box; display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; gap: (32/16rem); position: relative; z-index: 1; border: 1px solid transparent; transition: border-color 0.3s; &:hover { border-color: var(--primary); } } .cs-flex { display: flex; flex-direction: column; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; text-align: inherit; margin: 0 0 (16/16rem) 0; color: var(--headerColor); transition: color 0.3s; } .cs-item-text { /* 14px - 16px */ font-size: clamp(.875rem, 1.5vw, 1rem); line-height: 1.5em; max-width: (450/16rem); margin: 0; margin-bottom: (24/16rem); padding: 0; color: var(--bodyTextColor); } .cs-link { font-size: (16/16rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; max-width: fit-content; margin-top: auto; color: var(--primary); border-bottom: 1px solid var(--primary); display: flex; justify-content: flex-start; align-items: center; } .cs-item-picture { margin: 0; padding: (58/16rem) 0 0 (115/16rem); border-radius: (8/16rem); overflow: hidden; display: flex; justify-content: flex-end; align-items: flex-end; position: relative; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } img { width: 100%; height: auto; display: block; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-2051 { &:before { /* 100px - 200px */ top: clamp(6.25rem, 15vw, 12.5rem); bottom: (200/16rem); } .cs-container { max-width: (1280/16rem); align-items: flex-start; } .cs-content { width: 50%; /* 140px - 200px top */ /* 48px - 64px right */ /* 20px - 80px bottom*/ padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0; } .cs-wrapper { flex-direction: row; justify-content: flex-start; } .cs-picture-group { width: 50vw; position: absolute; top: 0; left: 50%; bottom: 0; } .cs-picture { border-radius: (8/16rem) 0 0 (8/16rem); } .cs-stat-group { flex-direction: row; } .cs-item { flex-direction: row; justify-content: space-between; align-items: stretch; grid-column: span 6; } .cs-item-picture { width: 50%; max-width: (185/16rem); height: auto; padding: (61/16rem) 0 0 (4/16rem); flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-2051 { .cs-picture-group { margin-left: (40/16rem); } .cs-li { flex-direction: row; align-items: center; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #services-2051 { background-color: var(--dark); &:before { background-color: rgba(0, 0, 0, .6); } .cs-topper { color: var(--primary); } .cs-title, .cs-text, .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-text, .cs-item-text { opacity: 0.8; } .cs-item { background-color: var(--medium); } } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-2051 { padding: var(--sectionPadding); background-color: #f3fcfb; overflow: hidden; position: relative; z-index: 1; &::before { /* black background, removed at tablet */ content: ""; width: 100%; background-color: #1a1a1a; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; top: 0; bottom: calc(580/16 * 1rem); left: 0; z-index: -1; } .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(584/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 1; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(630/16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-topper { color: var(--secondary); } .cs-title { /* 23 characters wide including spaces */ max-width: 26ch; color: var(--bodyTextColorWhite); } .cs-text { margin-bottom: calc(12/16 * 1rem); color: var(--bodyTextColorWhite); &:last-of-type { margin-bottom: 0; } } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: calc(56/16 * 1rem); text-decoration: none; margin: calc(32/16 * 1rem) 0 0; padding: 0 calc(48/16 * 1rem); background-color: var(--primary); overflow: hidden; color: #fff; border-radius: calc(8/16 * 1rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; &:before { content: ""; width: 0; height: 100%; background: #1a1a1a; opacity: 1; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: var(--primary); &:before { width: 100%; } } } .cs-picture-group { width: 100%; min-height: calc(520/16 * 1rem); display: flex; position: relative; z-index: 1; } .cs-picture { width: 100%; min-height: calc(362/16 * 1rem); /* clips img tag corners */ overflow: hidden; border-radius: calc(8/16 * 1rem); display: block; position: relative; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } } .cs-box { text-align: left; width: 88%; max-width: calc(305/16 * 1rem); /* prevents padding from affecting height and width */ box-sizing: border-box; padding: calc(32/16 * 1rem); border-radius: calc(8/16 * 1rem); background-color: #fff; position: absolute; /* 16px - 40px */ bottom: clamp(1rem, 4vw, 2.5rem); /* 16px - 40px */ left: clamp(1rem, 4vw, 2.5rem); z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-box-icon { width: calc(60/16 * 1rem); height: auto; margin: 0 0 calc(16/16 * 1rem); display: block; } .cs-box-number { font-size: calc(31/16 * 1rem); font-weight: 900; line-height: 1.2em; margin: 0 0 calc(12/16 * 1rem); color: var(--headerColor); display: block; } .cs-box-desc { font-size: calc(16/16 * 1rem); line-height: 1.5em; color: var(--bodyTextColor); display: block; } .cs-stat-group { display: flex; flex-direction: column; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 10; } .cs-stats { width: 100%; max-width: calc(630/16 * 1rem); margin: 0; padding: 0; display: flex; /* 16px - 24px */ gap: clamp(1rem, 2.5vw, 1.5rem); } .cs-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(16/16 * 1rem); } .cs-icon { /* 64px - 80px */ width: clamp(4rem, 8vw, 5rem); height: auto; display: block; flex: none; } .cs-stat { /* 31px - 39px */ font-size: clamp(1.9375rem, 3vw, 2.4375rem); font-weight: 900; line-height: 1.2em; margin: 0 0 calc(4/16 * 1rem); color: var(--bodyTextColorWhite); display: block; } .cs-stat-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.8vw, 1rem); line-height: 1.5em; text-align: left; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; } .cs-card-group { width: 100%; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { text-align: left; list-style: none; width: 100%; margin: 0 auto; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 32px */ padding: clamp(1rem, 4.5vw, 2rem); background-color: #fff; border-radius: calc(8/16 * 1rem); box-sizing: border-box; display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; gap: calc(32/16 * 1rem); position: relative; z-index: 1; border: 1px solid transparent; transition: border-color 0.3s; &:hover { border-color: var(--primary); } } .cs-flex { display: flex; flex-direction: column; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; text-align: inherit; margin: 0 0 calc(16/16 * 1rem) 0; color: var(--headerColor); transition: color 0.3s; } .cs-item-text { /* 14px - 16px */ font-size: clamp(.875rem, 1.5vw, 1rem); line-height: 1.5em; max-width: calc(450/16 * 1rem); margin: 0; margin-bottom: calc(24/16 * 1rem); padding: 0; color: var(--bodyTextColor); } .cs-link { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; max-width: fit-content; margin-top: auto; color: var(--primary); border-bottom: 1px solid var(--primary); display: flex; justify-content: flex-start; align-items: center; } .cs-item-picture { margin: 0; padding: calc(58/16 * 1rem) 0 0 calc(115/16 * 1rem); border-radius: calc(8/16 * 1rem); overflow: hidden; display: flex; justify-content: flex-end; align-items: flex-end; position: relative; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } img { width: 100%; height: auto; display: block; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-2051 { &:before { /* 100px - 200px */ top: clamp(6.25rem, 15vw, 12.5rem); bottom: calc(200/16 * 1rem); } .cs-container { max-width: calc(1280/16 * 1rem); align-items: flex-start; } .cs-content { width: 50%; /* 140px - 200px top */ /* 48px - 64px right */ /* 20px - 80px bottom*/ padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0; } .cs-wrapper { flex-direction: row; justify-content: flex-start; } .cs-picture-group { width: 50vw; position: absolute; top: 0; left: 50%; bottom: 0; } .cs-picture { border-radius: calc(8/16 * 1rem) 0 0 calc(8/16 * 1rem); } .cs-stat-group { flex-direction: row; } .cs-item { flex-direction: row; justify-content: space-between; align-items: stretch; grid-column: span 6; } .cs-item-picture { width: 50%; max-width: calc(185/16 * 1rem); height: auto; padding: calc(61/16 * 1rem) 0 0 calc(4/16 * 1rem); flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-2051 { .cs-picture-group { margin-left: calc(40/16 * 1rem); } .cs-li { flex-direction: row; align-items: center; } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-2051 { padding: var(--sectionPadding); background-color: #f3fcfb; overflow: hidden; position: relative; z-index: 1; &::before { /* black background, removed at tablet */ content: ""; width: 100%; background-color: #1a1a1a; /* prevents the mouse from interacting with it */ pointer-events: none; position: absolute; top: 0; bottom: calc(580/16 * 1rem); left: 0; z-index: -1; } .cs-container { width: 100%; /* changes to 1280px at desktop */ max-width: calc(584/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 1; } .cs-content { /* set text align to left if content needs to be left aligned */ text-align: left; width: 100%; max-width: calc(630/16 * 1rem); display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: flex-start; } .cs-topper { color: var(--secondary); } .cs-title { /* 23 characters wide including spaces */ max-width: 26ch; color: var(--bodyTextColorWhite); } .cs-text { margin-bottom: calc(12/16 * 1rem); color: var(--bodyTextColorWhite); &:last-of-type { margin-bottom: 0; } } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: calc(56/16 * 1rem); text-decoration: none; margin: calc(32/16 * 1rem) 0 0; padding: 0 calc(48/16 * 1rem); background-color: var(--primary); overflow: hidden; color: #fff; border-radius: calc(8/16 * 1rem); display: inline-block; position: relative; z-index: 1; transition: color 0.3s; &:before { content: ""; width: 0; height: 100%; background: #1a1a1a; opacity: 1; display: block; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { color: var(--primary); &:before { width: 100%; } } } .cs-picture-group { width: 100%; min-height: calc(520/16 * 1rem); display: flex; position: relative; z-index: 1; } .cs-picture { width: 100%; min-height: calc(362/16 * 1rem); /* clips img tag corners */ overflow: hidden; border-radius: calc(8/16 * 1rem); display: block; position: relative; z-index: 1; img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } } .cs-box { text-align: left; width: 88%; max-width: calc(305/16 * 1rem); /* prevents padding from affecting height and width */ box-sizing: border-box; padding: calc(32/16 * 1rem); border-radius: calc(8/16 * 1rem); background-color: #fff; position: absolute; /* 16px - 40px */ bottom: clamp(1rem, 4vw, 2.5rem); /* 16px - 40px */ left: clamp(1rem, 4vw, 2.5rem); z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-box-icon { width: calc(60/16 * 1rem); height: auto; margin: 0 0 calc(16/16 * 1rem); display: block; } .cs-box-number { font-size: calc(31/16 * 1rem); font-weight: 900; line-height: 1.2em; margin: 0 0 calc(12/16 * 1rem); color: var(--headerColor); display: block; } .cs-box-desc { font-size: calc(16/16 * 1rem); line-height: 1.5em; color: var(--bodyTextColor); display: block; } .cs-stat-group { display: flex; flex-direction: column; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; z-index: 10; } .cs-stats { width: 100%; max-width: calc(630/16 * 1rem); margin: 0; padding: 0; display: flex; /* 16px - 24px */ gap: clamp(1rem, 2.5vw, 1.5rem); } .cs-li { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(16/16 * 1rem); } .cs-icon { /* 64px - 80px */ width: clamp(4rem, 8vw, 5rem); height: auto; display: block; flex: none; } .cs-stat { /* 31px - 39px */ font-size: clamp(1.9375rem, 3vw, 2.4375rem); font-weight: 900; line-height: 1.2em; margin: 0 0 calc(4/16 * 1rem); color: var(--bodyTextColorWhite); display: block; } .cs-stat-text { /* 14px - 16px */ font-size: clamp(0.875rem, 1.8vw, 1rem); line-height: 1.5em; text-align: left; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; } .cs-card-group { width: 100%; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { text-align: left; list-style: none; width: 100%; margin: 0 auto; /* prevents padding and border from affecting height and width */ box-sizing: border-box; /* 16px - 32px */ padding: clamp(1rem, 4.5vw, 2rem); background-color: #fff; border-radius: calc(8/16 * 1rem); box-sizing: border-box; display: flex; flex-direction: column; grid-column: span 12; grid-row: span 1; gap: calc(32/16 * 1rem); position: relative; z-index: 1; border: 1px solid transparent; transition: border-color 0.3s; &:hover { border-color: var(--primary); } } .cs-flex { display: flex; flex-direction: column; } .cs-h3 { /* 20px - 25px */ font-size: clamp(1.25rem, 2.5vw, 1.5625rem); font-weight: 700; line-height: 1.2em; text-align: inherit; margin: 0 0 calc(16/16 * 1rem) 0; color: var(--headerColor); transition: color 0.3s; } .cs-item-text { /* 14px - 16px */ font-size: clamp(.875rem, 1.5vw, 1rem); line-height: 1.5em; max-width: calc(450/16 * 1rem); margin: 0; margin-bottom: calc(24/16 * 1rem); padding: 0; color: var(--bodyTextColor); } .cs-link { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: 1.2em; text-align: inherit; text-decoration: none; max-width: fit-content; margin-top: auto; color: var(--primary); border-bottom: 1px solid var(--primary); display: flex; justify-content: flex-start; align-items: center; } .cs-item-picture { margin: 0; padding: calc(58/16 * 1rem) 0 0 calc(115/16 * 1rem); border-radius: calc(8/16 * 1rem); overflow: hidden; display: flex; justify-content: flex-end; align-items: flex-end; position: relative; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.05; position: absolute; top: 0; left: 0; z-index: -1; } img { width: 100%; height: auto; display: block; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-2051 { &:before { /* 100px - 200px */ top: clamp(6.25rem, 15vw, 12.5rem); bottom: calc(200/16 * 1rem); } .cs-container { max-width: calc(1280/16 * 1rem); align-items: flex-start; } .cs-content { width: 50%; /* 140px - 200px top */ /* 48px - 64px right */ /* 20px - 80px bottom*/ padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0; } .cs-wrapper { flex-direction: row; justify-content: flex-start; } .cs-picture-group { width: 50vw; position: absolute; top: 0; left: 50%; bottom: 0; } .cs-picture { border-radius: calc(8/16 * 1rem) 0 0 calc(8/16 * 1rem); } .cs-stat-group { flex-direction: row; } .cs-item { flex-direction: row; justify-content: space-between; align-items: stretch; grid-column: span 6; } .cs-item-picture { width: 50%; max-width: calc(185/16 * 1rem); height: auto; padding: calc(61/16 * 1rem) 0 0 calc(4/16 * 1rem); flex: none; } } } /* Small Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-2051 { .cs-picture-group { margin-left: calc(40/16 * 1rem); } .cs-li { flex-direction: row; align-items: center; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #services-2051 { background-color: var(--dark); &:before { background-color: rgba(0, 0, 0, .6); } .cs-topper { color: var(--primary); } .cs-title, .cs-text, .cs-h3, .cs-item-text { color: var(--bodyTextColorWhite); } .cs-text, .cs-item-text { opacity: 0.8; } .cs-item { background-color: var(--medium); } } } }
: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