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)
8 Card
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 --> <!-- ============================================ --> <section id="services-1829"> <div class="cs-container"> <div class="cs-content"> <span class="cs-topper">Our Team</span> <h2 class="cs-title">Our Dermatology & Aesthetic Services</h2> <p class="cs-text"> Aside from seeing patients, Dr. Stitch is dedicated to patient advocacy and education on evidence-based medicine in dermatology, especially for skin of color. </p> </div> <ul class="cs-card-group"> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm1.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm1.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm1.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Medical</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm2.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm2.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm2.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Cosmetic</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm3.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm3.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm3.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Surgical</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm4.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm4.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm4.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Skincare</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm1.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm1.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm1.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Medical</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm2.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm2.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm2.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Cosmetic</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm3.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm3.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm3.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Surgical</h3> </div> </a> </li> <li class="cs-item"> <a href="" class="cs-link"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm4.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm4.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/derm4.png" alt="person" width="500" height="700"> </picture> <div class="cs-flex"> <h3 class="cs-h3">Skincare</h3> </div> </a> </li> </ul> </div> <!-- Background Image, background image added in the css at 768px for parallax effect --> <picture class="cs-background"> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/dermatology-background.jpeg"> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/dermatology-background.jpeg"> <img decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/MISC/dermatology-background.jpeg" alt="cream background with ripple" width="1920" height="970" aria-hidden="true"> </picture> <!-- Top left gold graphic --> <img class="cs-graphic1" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/gold-graphic.svg" alt="gold flake graphic" width="370" height="322" aria-hidden="true"> <!-- Bottom right gold graphic --> <img class="cs-graphic2" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/gold-graphic.svg" alt="gold flake graphic" width="370" height="322" aria-hidden="true"> </section>
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-1829 { padding: var(--sectionPadding); overflow: hidden; position: relative; } #services-1829:before { content: ''; width: 100%; height: 100%; background: #F6EDDF; opacity: 0.9; display: block; position: absolute; top: 0; left: 0; } #services-1829 .cs-container { width: 100%; max-width: 55rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; } #services-1829 .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; z-index: 1; } #services-1829 .cs-title { max-width: none; } #services-1829 .cs-card-group { width: 100%; /* changes to 100% at tablet */ max-width: 22.5rem; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); flex-direction: column; align-items: stretch; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #services-1829 .cs-item { list-style: none; width: 100%; box-sizing: border-box; /* 368px - 428px, changes to a clamp at desktop */ padding-top: clamp(23rem, 60vw, 26.75rem); border-radius: 16.25rem; overflow: hidden; grid-column: span 12; position: relative; z-index: 1; } #services-1829 .cs-item:before { /* color border */ content: ''; border-radius: 16.25rem; border: 5px solid var(--primary); opacity: 0.3; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 2; /* prevents mouse from interacting with it */ pointer-events: none; } #services-1829 .cs-item:after { /* color border white bg */ content: ''; border-radius: 16.25rem; border: 5px solid #fff; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 1; /* prevents mouse from interacting with it */ pointer-events: none; } #services-1829 .cs-item:hover .cs-flex:before { opacity: 1; } #services-1829 .cs-item:hover .cs-h3, #services-1829 .cs-item:hover .cs-job { color: var(--bodyTextColorWhite); } #services-1829 .cs-item:hover .cs-picture img { transform: scale(1.1); } #services-1829 .cs-link { text-decoration: none; height: 100%; display: flex; align-items: stretch; justify-content: stretch; } #services-1829 .cs-flex { text-align: center; width: 100%; padding: 1rem 0 1.5rem 0; background-color: #fff; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } #services-1829 .cs-flex:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.3; position: absolute; top: 0; left: 0; z-index: -1; transition: opacity 0.3s; } #services-1829 .cs-h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2em; width: 70%; margin: 0; color: var(--headerColor); box-sizing: border-box; display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 1; } #services-1829 .cs-picture { width: auto; height: 100%; box-sizing: border-box; /* clips img tag from overflowing it on hover */ overflow: hidden; object-fit: cover; display: block; position: absolute; top: 1px; right: 1px; left: 1px; z-index: -4; } #services-1829 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } #services-1829 .cs-background { width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -1; } #services-1829 .cs-background img { width: 100%; height: 100%; object-fit: cover; /* makes the top of the image start at the top of the parent */ object-position: top; position: absolute; top: 0; left: 0; z-index: -1; } #services-1829 .cs-graphic1 { /* 200px - 548px */ width: clamp(12.5rem, 30vw, 34.25rem); height: auto; opacity: 0.5; display: block; position: absolute; top: calc(0/16 * 1rem); left: 0; z-index: 0; } #services-1829 .cs-graphic2 { width: calc(548/16 * 1rem); height: auto; opacity: 0.5; display: block; position: absolute; right: 0; bottom: calc(0/16 * 1rem); z-index: 0; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-1829:before { background: linear-gradient(89deg, rgba(255, 243, 236, 0.9) 44.46%, rgba(255, 243, 236, 0) 78.47%); opacity: 1; } #services-1829 .cs-card-group { width: 60%; max-width: 100%; } #services-1829 .cs-item { height: auto; /* 216px - 336px */ padding-top: clamp(13.5rem, 23vw, 21rem); align-items: stretch; grid-column: span 6; } #services-1829 .cs-flex { height: auto; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-1829 .cs-container { max-width: 80rem; } #services-1829 .cs-card-group { width: 100%; } #services-1829 .cs-item { grid-column: span 3; } } /* Large Desktop - 1920px */ @media only screen and (min-width: 120rem) { #services-1829 .cs-graphic1 { margin-right: calc(400/16 * 1rem); left: auto; right: 50%; } #services-1829 .cs-graphic2 { margin-left: calc(420/16 * 1rem); right: auto; left: 50%; } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-1829 { padding: var(--sectionPadding); overflow: hidden; position: relative; } #services-1829:before { content: ''; width: 100%; height: 100%; background: #F6EDDF; opacity: 0.9; display: block; position: absolute; top: 0; left: 0; } #services-1829 .cs-container { width: 100%; max-width: 55rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; } #services-1829 .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; z-index: 1; } #services-1829 .cs-title { max-width: none; } #services-1829 .cs-card-group { width: 100%; /* changes to 100% at tablet */ max-width: 22.5rem; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); flex-direction: column; align-items: stretch; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } #services-1829 .cs-item { list-style: none; width: 100%; box-sizing: border-box; /* 368px - 428px, changes to a clamp at desktop */ padding-top: clamp(23rem, 60vw, 26.75rem); border-radius: 16.25rem; overflow: hidden; grid-column: span 12; position: relative; z-index: 1; } #services-1829 .cs-item:before { /* color border */ content: ''; border-radius: 16.25rem; border: 5px solid var(--primary); opacity: 0.3; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 2; /* prevents mouse from interacting with it */ pointer-events: none; } #services-1829 .cs-item:after { /* color border white bg */ content: ''; border-radius: 16.25rem; border: 5px solid #fff; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 1; /* prevents mouse from interacting with it */ pointer-events: none; } #services-1829 .cs-item:hover .cs-flex:before { opacity: 1; } #services-1829 .cs-item:hover .cs-h3, #services-1829 .cs-item:hover .cs-job { color: var(--bodyTextColorWhite); } #services-1829 .cs-item:hover .cs-picture img { transform: scale(1.1); } #services-1829 .cs-link { text-decoration: none; height: 100%; display: flex; align-items: stretch; justify-content: stretch; } #services-1829 .cs-flex { text-align: center; width: 100%; padding: 1rem 0 1.5rem 0; background-color: #fff; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; } #services-1829 .cs-flex:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: 0.3; position: absolute; top: 0; left: 0; z-index: -1; transition: opacity 0.3s; } #services-1829 .cs-h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2em; width: 70%; margin: 0; color: var(--headerColor); box-sizing: border-box; display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 1; } #services-1829 .cs-picture { width: auto; height: 100%; box-sizing: border-box; /* clips img tag from overflowing it on hover */ overflow: hidden; object-fit: cover; display: block; position: absolute; top: 1px; right: 1px; left: 1px; z-index: -4; } #services-1829 .cs-picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } #services-1829 .cs-background { width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -1; } #services-1829 .cs-background img { width: 100%; height: 100%; object-fit: cover; /* makes the top of the image start at the top of the parent */ object-position: top; position: absolute; top: 0; left: 0; z-index: -1; } #services-1829 .cs-graphic1 { /* 200px - 548px */ width: clamp(12.5rem, 30vw, 34.25rem); height: auto; opacity: 0.5; display: block; position: absolute; top: calc(0/16 * 1rem); left: 0; z-index: 0; } #services-1829 .cs-graphic2 { width: calc(548/16 * 1rem); height: auto; opacity: 0.5; display: block; position: absolute; right: 0; bottom: calc(0/16 * 1rem); z-index: 0; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-1829:before { background: linear-gradient(89deg, rgba(255, 243, 236, 0.9) 44.46%, rgba(255, 243, 236, 0) 78.47%); opacity: 1; } #services-1829 .cs-card-group { width: 60%; max-width: 100%; } #services-1829 .cs-item { height: auto; /* 216px - 336px */ padding-top: clamp(13.5rem, 23vw, 21rem); align-items: stretch; grid-column: span 6; } #services-1829 .cs-flex { height: auto; } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-1829 .cs-container { max-width: 80rem; } #services-1829 .cs-card-group { width: 100%; } #services-1829 .cs-item { grid-column: span 3; } } /* Large Desktop - 1920px */ @media only screen and (min-width: 120rem) { #services-1829 .cs-graphic1 { margin-right: calc(400/16 * 1rem); left: auto; right: 50%; } #services-1829 .cs-graphic2 { margin-left: calc(420/16 * 1rem); right: auto; left: 50%; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #services-1829 { background-color: rgba(0, 0, 0, 0.2); } body.dark-mode #services-1829:before { display: none; } body.dark-mode #services-1829 .cs-title, body.dark-mode #services-1829 .cs-text, body.dark-mode #services-1829 .cs-h3 { color: var(--bodyTextColorWhite); } body.dark-mode #services-1829 .cs-text { opacity: 0.8; } body.dark-mode #services-1829 .cs-item { background-color: var(--dark); } body.dark-mode #services-1829 .cs-item:before { opacity: 0.6; } body.dark-mode #services-1829 .cs-item:after { border-color: var(--dark); } body.dark-mode #services-1829 .cs-flex { background-color: var(--dark); } body.dark-mode #services-1829 .cs-flex:before { opacity: 0.6; } body.dark-mode #services-1829 .cs-background { display: none; } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-1829 { padding: var(--sectionPadding); overflow: hidden; position: relative; &:before { content: ''; width: 100%; height: 100%; background: #F6EDDF; opacity: 0.9; display: block; position: absolute; top: 0; left: 0; } .cs-container { width: 100%; max-width: (880/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; } .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; z-index: 1; } .cs-title { max-width: none; } .cs-card-group { width: 100%; /* changes to 100% at tablet */ max-width: (360/16rem); margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); flex-direction: column; align-items: stretch; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; box-sizing: border-box; /* 368px - 428px, changes to a clamp at desktop */ padding-top: clamp(23rem, 60vw, 26.75rem); border-radius: (260/16rem); overflow: hidden; grid-column: span 12; position: relative; z-index: 1; &:before { /* color border */ content: ''; opacity: .3; border-radius: (260/16rem); border: 5px solid var(--primary); opacity: .3; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 2; /* prevents mouse from interacting with it */ pointer-events: none; } &:after { /* color border white bg */ content: ''; border-radius: (260/16rem); border: 5px solid #fff; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 1; /* prevents mouse from interacting with it */ pointer-events: none; } &:hover { .cs-flex { &:before { opacity: 1; } } .cs-h3, .cs-job { color: var(--bodyTextColorWhite); } .cs-picture { img { transform: scale(1.1); } } } } .cs-link { text-decoration: none; height: 100%; display: flex; align-items: stretch; justify-content: stretch; } .cs-flex { text-align: center; width: 100%; padding: (16/16rem) 0 (24/16rem) 0; background-color: #fff; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: .3; position: absolute; top: 0; left: 0; z-index: -1; transition: opacity .3s; } } .cs-h3 { font-size: (20/16rem); font-weight: 700; line-height: 1.2em; width: 70%; margin: 0; color: var(--headerColor); box-sizing: border-box; display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 1; } .cs-picture { width: auto; height: 100%; box-sizing: border-box; /* clips img tag from overflowing it on hover */ overflow: hidden; object-fit: cover; display: block; position: absolute; top: 1px; right: 1px; left: 1px; z-index: -4; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-background { width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; /* makes the top of the image start at the top of the parent */ object-position: top; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-graphic1 { /* 200px - 548px */ width: clamp(12.5rem, 30vw, 34.25rem); height: auto; opacity: 0.5; display: block; position: absolute; top: calc(0/16 * 1rem); left: 0; z-index: 0; } .cs-graphic2 { width: calc(548/16 * 1rem); height: auto; opacity: 0.5; display: block; position: absolute; right: 0; bottom: calc(0/16 * 1rem); z-index: 0; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-1829 { &:before { background: linear-gradient(89deg, rgba(255, 243, 236, 0.90) 44.46%, rgba(255, 243, 236, 0.00) 78.47%); opacity: 1; } .cs-card-group { width: 60%; max-width: 100%; } .cs-item { height: auto; /* 216px - 336px */ padding-top: clamp(13.5rem, 23vw, 21rem); align-items: stretch; grid-column: span 6; } .cs-flex { height: auto; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-1829 { .cs-container { max-width: (1280/16rem); } .cs-card-group { width: 100%; } .cs-item { grid-column: span 3; } } } /* Large Desktop - 1920px */ @media only screen and (min-width: 120rem) { #services-1829 { .cs-graphic1 { margin-right: calc(400/16 * 1rem); left: auto; right: 50%; } .cs-graphic2 { margin-left: calc(420/16 * 1rem); right: auto; left: 50%; } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-1829 { padding: var(--sectionPadding); overflow: hidden; position: relative; &:before { content: ''; width: 100%; height: 100%; background: #F6EDDF; opacity: 0.9; display: block; position: absolute; top: 0; left: 0; } .cs-container { width: 100%; max-width: (880/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; } .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; z-index: 1; } .cs-title { max-width: none; } .cs-card-group { width: 100%; /* changes to 100% at tablet */ max-width: (360/16rem); margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); flex-direction: column; align-items: stretch; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; box-sizing: border-box; /* 368px - 428px, changes to a clamp at desktop */ padding-top: clamp(23rem, 60vw, 26.75rem); border-radius: (260/16rem); overflow: hidden; grid-column: span 12; position: relative; z-index: 1; &:before { /* color border */ content: ''; opacity: .3; border-radius: (260/16rem); border: 5px solid var(--primary); opacity: .3; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 2; /* prevents mouse from interacting with it */ pointer-events: none; } &:after { /* color border white bg */ content: ''; border-radius: (260/16rem); border: 5px solid #fff; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 1; /* prevents mouse from interacting with it */ pointer-events: none; } &:hover { .cs-flex { &:before { opacity: 1; } } .cs-h3, .cs-job { color: var(--bodyTextColorWhite); } .cs-picture { img { transform: scale(1.1); } } } } .cs-link { text-decoration: none; height: 100%; display: flex; align-items: stretch; justify-content: stretch; } .cs-flex { text-align: center; width: 100%; padding: (16/16rem) 0 (24/16rem) 0; background-color: #fff; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: .3; position: absolute; top: 0; left: 0; z-index: -1; transition: opacity .3s; } } .cs-h3 { font-size: (20/16rem); font-weight: 700; line-height: 1.2em; width: 70%; margin: 0; color: var(--headerColor); box-sizing: border-box; display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 1; } .cs-picture { width: auto; height: 100%; box-sizing: border-box; /* clips img tag from overflowing it on hover */ overflow: hidden; object-fit: cover; display: block; position: absolute; top: 1px; right: 1px; left: 1px; z-index: -4; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-background { width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; /* makes the top of the image start at the top of the parent */ object-position: top; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-graphic1 { /* 200px - 548px */ width: clamp(12.5rem, 30vw, 34.25rem); height: auto; opacity: 0.5; display: block; position: absolute; top: calc(0/16 * 1rem); left: 0; z-index: 0; } .cs-graphic2 { width: calc(548/16 * 1rem); height: auto; opacity: 0.5; display: block; position: absolute; right: 0; bottom: calc(0/16 * 1rem); z-index: 0; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-1829 { &:before { background: linear-gradient(89deg, rgba(255, 243, 236, 0.90) 44.46%, rgba(255, 243, 236, 0.00) 78.47%); opacity: 1; } .cs-card-group { width: 60%; max-width: 100%; } .cs-item { height: auto; /* 216px - 336px */ padding-top: clamp(13.5rem, 23vw, 21rem); align-items: stretch; grid-column: span 6; } .cs-flex { height: auto; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-1829 { .cs-container { max-width: (1280/16rem); } .cs-card-group { width: 100%; } .cs-item { grid-column: span 3; } } } /* Large Desktop - 1920px */ @media only screen and (min-width: 120rem) { #services-1829 { .cs-graphic1 { margin-right: calc(400/16 * 1rem); left: auto; right: 50%; } .cs-graphic2 { margin-left: calc(420/16 * 1rem); right: auto; left: 50%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #services-1829 { background-color: rgba(0, 0, 0, .2); &:before { display: none; } .cs-title, .cs-text, .cs-h3 { color: var(--bodyTextColorWhite); } .cs-text { opacity: .8; } .cs-item { background-color: var(--dark); &:before { opacity: .6; } &:after { border-color: var(--dark); } } .cs-flex { background-color: var(--dark); &:before { opacity: .6; } } .cs-background { display: none; } } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-1829 { padding: var(--sectionPadding); overflow: hidden; position: relative; &:before { content: ''; width: 100%; height: 100%; background: #F6EDDF; opacity: 0.9; display: block; position: absolute; top: 0; left: 0; } .cs-container { width: 100%; max-width: calc(880/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; } .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; z-index: 1; } .cs-title { max-width: none; } .cs-card-group { width: 100%; /* changes to 100% at tablet */ max-width: calc(360/16 * 1rem); margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); flex-direction: column; align-items: stretch; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; box-sizing: border-box; /* 368px - 428px, changes to a clamp at desktop */ padding-top: clamp(23rem, 60vw, 26.75rem); border-radius: calc(260/16 * 1rem); overflow: hidden; grid-column: span 12; position: relative; z-index: 1; &:before { /* color border */ content: ''; opacity: .3; border-radius: calc(260/16 * 1rem); border: 5px solid var(--primary); opacity: .3; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 2; /* prevents mouse from interacting with it */ pointer-events: none; } &:after { /* color border white bg */ content: ''; border-radius: calc(260/16 * 1rem); border: 5px solid #fff; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 1; /* prevents mouse from interacting with it */ pointer-events: none; } &:hover { .cs-flex { &:before { opacity: 1; } } .cs-h3, .cs-job { color: var(--bodyTextColorWhite); } .cs-picture { img { transform: scale(1.1); } } } } .cs-link { text-decoration: none; height: 100%; display: flex; align-items: stretch; justify-content: stretch; } .cs-flex { text-align: center; width: 100%; padding: calc(16/16 * 1rem) 0 calc(24/16 * 1rem) 0; background-color: #fff; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: .3; position: absolute; top: 0; left: 0; z-index: -1; transition: opacity .3s; } } .cs-h3 { font-size: calc(20/16 * 1rem); font-weight: 700; line-height: 1.2em; width: 70%; margin: 0; color: var(--headerColor); box-sizing: border-box; display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 1; } .cs-picture { width: auto; height: 100%; box-sizing: border-box; /* clips img tag from overflowing it on hover */ overflow: hidden; object-fit: cover; display: block; position: absolute; top: 1px; right: 1px; left: 1px; z-index: -4; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-background { width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; /* makes the top of the image start at the top of the parent */ object-position: top; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-graphic1 { /* 200px - 548px */ width: clamp(12.5rem, 30vw, 34.25rem); height: auto; opacity: 0.5; display: block; position: absolute; top: calc(0/16 * 1rem); left: 0; z-index: 0; } .cs-graphic2 { width: calc(548/16 * 1rem); height: auto; opacity: 0.5; display: block; position: absolute; right: 0; bottom: calc(0/16 * 1rem); z-index: 0; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-1829 { &:before { background: linear-gradient(89deg, rgba(255, 243, 236, 0.90) 44.46%, rgba(255, 243, 236, 0.00) 78.47%); opacity: 1; } .cs-card-group { width: 60%; max-width: 100%; } .cs-item { height: auto; /* 216px - 336px */ padding-top: clamp(13.5rem, 23vw, 21rem); align-items: stretch; grid-column: span 6; } .cs-flex { height: auto; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-1829 { .cs-container { max-width: calc(1280/16 * 1rem); } .cs-card-group { width: 100%; } .cs-item { grid-column: span 3; } } } /* Large Desktop - 1920px */ @media only screen and (min-width: 120rem) { #services-1829 { .cs-graphic1 { margin-right: calc(400/16 * 1rem); left: auto; right: 50%; } .cs-graphic2 { margin-left: calc(420/16 * 1rem); right: auto; left: 50%; } } }
/*-- -------------------------- --> <--- Services --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #services-1829 { padding: var(--sectionPadding); overflow: hidden; position: relative; &:before { content: ''; width: 100%; height: 100%; background: #F6EDDF; opacity: 0.9; display: block; position: absolute; top: 0; left: 0; } .cs-container { width: 100%; max-width: calc(880/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); position: relative; } .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; z-index: 1; } .cs-title { max-width: none; } .cs-card-group { width: 100%; /* changes to 100% at tablet */ max-width: calc(360/16 * 1rem); margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); flex-direction: column; align-items: stretch; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); } .cs-item { list-style: none; width: 100%; box-sizing: border-box; /* 368px - 428px, changes to a clamp at desktop */ padding-top: clamp(23rem, 60vw, 26.75rem); border-radius: calc(260/16 * 1rem); overflow: hidden; grid-column: span 12; position: relative; z-index: 1; &:before { /* color border */ content: ''; opacity: .3; border-radius: calc(260/16 * 1rem); border: 5px solid var(--primary); opacity: .3; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 2; /* prevents mouse from interacting with it */ pointer-events: none; } &:after { /* color border white bg */ content: ''; border-radius: calc(260/16 * 1rem); border: 5px solid #fff; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; z-index: 1; /* prevents mouse from interacting with it */ pointer-events: none; } &:hover { .cs-flex { &:before { opacity: 1; } } .cs-h3, .cs-job { color: var(--bodyTextColorWhite); } .cs-picture { img { transform: scale(1.1); } } } } .cs-link { text-decoration: none; height: 100%; display: flex; align-items: stretch; justify-content: stretch; } .cs-flex { text-align: center; width: 100%; padding: calc(16/16 * 1rem) 0 calc(24/16 * 1rem) 0; background-color: #fff; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; &:before { /* background color */ content: ''; width: 100%; height: 100%; background-color: var(--primary); opacity: .3; position: absolute; top: 0; left: 0; z-index: -1; transition: opacity .3s; } } .cs-h3 { font-size: calc(20/16 * 1rem); font-weight: 700; line-height: 1.2em; width: 70%; margin: 0; color: var(--headerColor); box-sizing: border-box; display: flex; justify-content: center; align-items: flex-start; position: relative; z-index: 1; } .cs-picture { width: auto; height: 100%; box-sizing: border-box; /* clips img tag from overflowing it on hover */ overflow: hidden; object-fit: cover; display: block; position: absolute; top: 1px; right: 1px; left: 1px; z-index: -4; img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.7s; } } .cs-background { width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; z-index: -1; img { width: 100%; height: 100%; object-fit: cover; /* makes the top of the image start at the top of the parent */ object-position: top; position: absolute; top: 0; left: 0; z-index: -1; } } .cs-graphic1 { /* 200px - 548px */ width: clamp(12.5rem, 30vw, 34.25rem); height: auto; opacity: 0.5; display: block; position: absolute; top: calc(0/16 * 1rem); left: 0; z-index: 0; } .cs-graphic2 { width: calc(548/16 * 1rem); height: auto; opacity: 0.5; display: block; position: absolute; right: 0; bottom: calc(0/16 * 1rem); z-index: 0; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #services-1829 { &:before { background: linear-gradient(89deg, rgba(255, 243, 236, 0.90) 44.46%, rgba(255, 243, 236, 0.00) 78.47%); opacity: 1; } .cs-card-group { width: 60%; max-width: 100%; } .cs-item { height: auto; /* 216px - 336px */ padding-top: clamp(13.5rem, 23vw, 21rem); align-items: stretch; grid-column: span 6; } .cs-flex { height: auto; } } } /* Desktop - 1024px */ @media only screen and (min-width: 64rem) { #services-1829 { .cs-container { max-width: calc(1280/16 * 1rem); } .cs-card-group { width: 100%; } .cs-item { grid-column: span 3; } } } /* Large Desktop - 1920px */ @media only screen and (min-width: 120rem) { #services-1829 { .cs-graphic1 { margin-right: calc(400/16 * 1rem); left: auto; right: 50%; } .cs-graphic2 { margin-left: calc(420/16 * 1rem); right: auto; left: 50%; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #services-1829 { background-color: rgba(0, 0, 0, .2); &:before { display: none; } .cs-title, .cs-text, .cs-h3 { color: var(--bodyTextColorWhite); } .cs-text { opacity: .8; } .cs-item { background-color: var(--dark); &:before { opacity: .6; } &:after { border-color: var(--dark); } } .cs-flex { background-color: var(--dark); &:before { opacity: .6; } } .cs-background { 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