Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(6)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(0)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(28)
Non Standard
(1)
Reverse
(8)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(11)
Gallery
All
(7)
4 Images
(1)
5 Images
(1)
6 Images
(1)
8 Images
(2)
Full Width
(0)
Mosaic
(0)
Multi Gallery
(1)
Simple
(1)
Meet Our Team
All
(5)
2 Card
(0)
3 Card
(1)
4 Card
(2)
5 Card
(1)
6 Card
(0)
7 Card
(0)
8 Card
(1)
Combo
(0)
Steps
All
(4)
3 Steps
(2)
4 Steps
(2)
5 Steps
(0)
Stats
All
(5)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(4)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(1)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(7)
Contact Forms
(7)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
5 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
<!-- ============================================ --> <!-- Meet The Team --> <!-- ============================================ --> <section id="meet-team-1765"> <div class="cs-container"> <div class="cs-content"> <div class="cs-flex-wrapper"> <div class="cs-flex"> <span class="cs-topper">Our Trainers</span> <h2 class="cs-title">We’re Making People Healthier, Happier </div> <a href="" class="cs-button-solid">View Our Team Members</a> </div> <div class="cs-wrapper"> <p class="cs-text"> We are confident that our staff and facility can help you to reach your fitness goals. Whether you’re a beginner or a pro, we’re here to help. After spending time in our facility and with our team we want our members to walk out of our doors after a workout and feel like they are a better version of themselves. </p> <ul class="cs-ul"> <li class="cs-li"> <img class="cs-check-icon" aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/orange-check.svg" alt="checkmark" width="20" height="20"> You will achieve your goals </li> <li class="cs-li"> <img class="cs-check-icon" aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/orange-check.svg" alt="checkmark" width="20" height="20"> You’ll learn something new </li> <li class="cs-li"> <img class="cs-check-icon" aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/orange-check.svg" alt="checkmark" width="20" height="20"> You’ll find the help useful </li> <li class="cs-li"> <img class="cs-check-icon" aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/orange-check.svg" alt="checkmark" width="20" height="20"> You’ll gain confidence </li> <li class="cs-li"> <img class="cs-check-icon" aria-hidden="true" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/orange-check.svg" alt="checkmark" width="20" height="20"> You’ll have unlimited support </li> </ul> </div> </div> <ul class="cs-card-group"> <li class="cs-item"> <div class="cs-image-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-1.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-1.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-1.png" alt="person" width="305" height="440"> </picture> <div class="cs-social"> <a href="" class="cs-link" aria-label="Facebook" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/facebook-grey.svg" alt="facebook" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Twitter" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/x-grey.svg" alt="twitter" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Instagram" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/instagram-grey.svg" alt="instagram" width="20" height="20"> </a> </div> </div> <div class="cs-info"> <span class="cs-name">Michael Semple</span> <span class="cs-job">Fitness Instructor</span> </div> </li> <li class="cs-item"> <div class="cs-image-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-2.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-2.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-2.png" alt="person" width="305" height="440"> </picture> <div class="cs-social"> <a href="" class="cs-link" aria-label="Facebook" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/facebook-grey.svg" alt="facebook" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Twitter" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/x-grey.svg" alt="twitter" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Instagram" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/instagram-grey.svg" alt="instagram" width="20" height="20"> </a> </div> </div> <div class="cs-info"> <span class="cs-name">Jose Hawthorne</span> <span class="cs-job">Nutritionist</span> </div> </li> <li class="cs-item"> <div class="cs-image-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-3.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-3.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-meet-team-3.png" alt="person" width="305" height="440"> </picture> <div class="cs-social"> <a href="" class="cs-link" aria-label="Facebook" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/facebook-grey.svg" alt="facebook" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Twitter" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/x-grey.svg" alt="twitter" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Instagram" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/instagram-grey.svg" alt="instagram" width="20" height="20"> </a> </div> </div> <div class="cs-info"> <span class="cs-name">Timothy Andrews</span> <span class="cs-job">Fitness Instructor</span> </div> </li> <li class="cs-item"> <div class="cs-image-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-person.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-person.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-person.png" alt="person" width="305" height="440"> </picture> <div class="cs-social"> <a href="" class="cs-link" aria-label="Facebook" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/facebook-grey.svg" alt="facebook" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Twitter" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/x-grey.svg" alt="twitter" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Instagram" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/instagram-grey.svg" alt="instagram" width="20" height="20"> </a> </div> </div> <div class="cs-info"> <span class="cs-name">Kathy Vangilder</span> <span class="cs-job">Nutritionist</span> </div> </li> <li class="cs-item"> <div class="cs-image-group"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-person2.png"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-person2.png"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/gym-person2.png" alt="person" width="305" height="440"> </picture> <div class="cs-social"> <a href="" class="cs-link" aria-label="Facebook" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/facebook-grey.svg" alt="facebook" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Twitter" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/x-grey.svg" alt="twitter" width="20" height="20"> </a> <a href="" class="cs-link" aria-label="Instagram" target="_blank" rel="noopener"> <img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Icons/instagram-grey.svg" alt="instagram" width="20" height="20"> </a> </div> </div> <div class="cs-info"> <span class="cs-name">David Garcia</span> <span class="cs-job">Personal Trainer</span> </div> </li> </ul> </div> </section>
/*-- -------------------------- --> <--- Meet The Team --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #meet-team-1765 { padding: var(--sectionPadding); background-color: #1a1a1a; position: relative; z-index: 1; overflow: hidden; } #meet-team-1765 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6.5vw, 4rem); } #meet-team-1765 .cs-content { /* set text align to center if content needs to be center aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } #meet-team-1765 .cs-flex-wrapper { max-width: 37.5rem; /* lets the div's contents act as though it doesn't exist and can be children of the next surrounding parent div, in this case the cs-content. That way we can place the button under the cs-wrapper on mobile, but bring it back under the header on tablet */ display: contents; } #meet-team-1765 .cs-title { margin: 0; /* 16px - 32px */ margin-bottom: clamp(1rem, 3vw, 2rem); color: var(--bodyTextColorWhite); } #meet-team-1765 .cs-wrapper { max-width: 39.5rem; } #meet-team-1765 .cs-text { margin: 0 0 2rem 0; color: var(--bodyTextColorWhite); opacity: 0.8; } #meet-team-1765 .cs-button-solid { font-size: 1rem; font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: 9.375rem; margin: 0; margin-top: 2rem; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 1.5rem; color: #fff; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; } #meet-team-1765 .cs-button-solid:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #meet-team-1765 .cs-button-solid:hover:before { width: 100%; } #meet-team-1765 .cs-button-solid { margin: 0; display: inline-block; order: 2; } #meet-team-1765 .cs-text { max-width: 40rem; margin-bottom: 1.5rem; position: relative; z-index: 1; } #meet-team-1765 .cs-ul { max-width: 39.375rem; margin: 0 0 2rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; } #meet-team-1765 .cs-li { font-size: var(--bodyFontSize); list-style: none; line-height: 1.5em; width: 100%; color: var(--bodyTextColorWhite); opacity: 0.8; display: flex; justify-content: flex-start; align-items: center; gap: 0.5rem; } #meet-team-1765 .cs-check-icon { width: 1.5rem; height: auto; /* adds extra space between the icon and top of parent so it's more centered */ margin-top: 1px; display: block; } #meet-team-1765 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; flex-direction: column; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: 1.5rem; position: relative; } #meet-team-1765 .cs-item { list-style: none; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; grid-column: span 12; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); position: relative; } #meet-team-1765 .cs-item:hover .cs-picture img { opacity: 0.4; transform: scale(1.2); } #meet-team-1765 .cs-item:hover .cs-link { opacity: 1; transform: translateY(0); } #meet-team-1765 .cs-item:hover .cs-link:hover { /* we need to add the hover styles for the cs-link inside the cs-item hover for specifcity. There's a transform none on the cs-link when we hover over the cs-item, so for the transform to work when we hover over the cs-link, we add it while the hover is active on the cs-item. This allows it to be more specific and override the transform 0 it adds to the cs-link */ transform: scale(1.15); transition: transform 0.3s; transition-delay: 0; } #meet-team-1765 .cs-item:hover .cs-job { color: var(--primary); } #meet-team-1765 .cs-image-group { width: 100%; height: auto; margin: 0; position: relative; z-index: 1; aspect-ratio: 0.91691395; flex: 1 0 0; } #meet-team-1765 .cs-picture { width: 100%; height: 100%; /* removed at tablet */ aspect-ratio: 328/260; background-color: #000; /* clips the img corners */ /* clips img tag from overflowing it on hover */ display: block; position: relative; overflow: hidden; } #meet-team-1765 .cs-picture img { width: 100%; height: 100%; object-fit: cover; /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */ object-position: top; position: absolute; top: 0; left: 0; transition: transform 0.7s, opacity 0.3s; } #meet-team-1765 .cs-social { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; position: absolute; top: 1rem; right: 1rem; z-index: 1; } #meet-team-1765 .cs-link { width: 2.5rem; height: 2.5rem; padding: 0.5rem; background-color: #F7F7F7; display: flex; justify-content: center; align-items: center; opacity: 0; transform: translateY(-1rem); transition: transform 0.6s, opacity 0.6s; } #meet-team-1765 .cs-link:nth-of-type(2) { transition-delay: 0.08s; } #meet-team-1765 .cs-link:nth-of-type(3) { transition-delay: 0.16s; } #meet-team-1765 .cs-icon { width: 1.25rem; height: auto; display: block; } #meet-team-1765 .cs-info { width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; transition: background-color 0.3s; } #meet-team-1765 .cs-name { font-size: 1.25rem; font-weight: 700; line-height: 1.2em; text-transform: uppercase; margin: 0; color: var(--bodyTextColorWhite); display: block; transition: color 0.3s; } #meet-team-1765 .cs-job { font-size: 1rem; font-weight: 700; line-height: 1.2em; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; transition: color 0.3s; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #meet-team-1765 .cs-container { max-width: 107.5rem; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #meet-team-1765 .cs-content { text-align: left; max-width: 80rem; height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 3rem; columns: 2; } #meet-team-1765 .cs-flex-wrapper { width: 40vw; display: block; /* prevents flexbox from squishing it */ flex: none; } #meet-team-1765 .cs-ul { margin: 0; } #meet-team-1765 .cs-card-group { /* 16px - 20px */ column-gap: clamp(1rem, 2vw, 1.25rem); row-gap: 2.5rem; } #meet-team-1765 .cs-item { grid-column: span 4; } #meet-team-1765 .cs-picture { /* 260px - 440px */ height: clamp(16.25rem, 33.2vw, 27.5rem); aspect-ratio: initial; } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #meet-team-1765 .cs-ul { flex-direction: row; flex-wrap: wrap; } #meet-team-1765 .cs-li { width: 48%; } #meet-team-1765 .cs-card-group { grid-template-columns: repeat(10, 1fr); } #meet-team-1765 .cs-item { grid-column: span 2; } }
/*-- -------------------------- --> <--- Meet The Team --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #meet-team-1765 { padding: var(--sectionPadding); background-color: #1a1a1a; position: relative; z-index: 1; overflow: hidden; } #meet-team-1765 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6.5vw, 4rem); } #meet-team-1765 .cs-content { /* set text align to center if content needs to be center aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } #meet-team-1765 .cs-flex-wrapper { max-width: 37.5rem; /* lets the div's contents act as though it doesn't exist and can be children of the next surrounding parent div, in this case the cs-content. That way we can place the button under the cs-wrapper on mobile, but bring it back under the header on tablet */ display: contents; } #meet-team-1765 .cs-title { margin: 0; /* 16px - 32px */ margin-bottom: clamp(1rem, 3vw, 2rem); color: var(--bodyTextColorWhite); } #meet-team-1765 .cs-wrapper { max-width: 39.5rem; } #meet-team-1765 .cs-text { margin: 0 0 2rem 0; color: var(--bodyTextColorWhite); opacity: 0.8; } #meet-team-1765 .cs-button-solid { font-size: 1rem; font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: 9.375rem; margin: 0; margin-top: 2rem; /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 1.5rem; color: #fff; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; } #meet-team-1765 .cs-button-solid:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #meet-team-1765 .cs-button-solid:hover:before { width: 100%; } #meet-team-1765 .cs-button-solid { margin: 0; display: inline-block; order: 2; } #meet-team-1765 .cs-text { max-width: 40rem; margin-bottom: 1.5rem; position: relative; z-index: 1; } #meet-team-1765 .cs-ul { max-width: 39.375rem; margin: 0 0 2rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; } #meet-team-1765 .cs-li { font-size: var(--bodyFontSize); list-style: none; line-height: 1.5em; width: 100%; color: var(--bodyTextColorWhite); opacity: 0.8; display: flex; justify-content: flex-start; align-items: center; gap: 0.5rem; } #meet-team-1765 .cs-check-icon { width: 1.5rem; height: auto; /* adds extra space between the icon and top of parent so it's more centered */ margin-top: 1px; display: block; } #meet-team-1765 .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; flex-direction: column; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: 1.5rem; position: relative; } #meet-team-1765 .cs-item { list-style: none; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; grid-column: span 12; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); position: relative; } #meet-team-1765 .cs-item:hover .cs-picture img { opacity: 0.4; transform: scale(1.2); } #meet-team-1765 .cs-item:hover .cs-link { opacity: 1; transform: translateY(0); } #meet-team-1765 .cs-item:hover .cs-link:hover { /* we need to add the hover styles for the cs-link inside the cs-item hover for specifcity. There's a transform none on the cs-link when we hover over the cs-item, so for the transform to work when we hover over the cs-link, we add it while the hover is active on the cs-item. This allows it to be more specific and override the transform 0 it adds to the cs-link */ transform: scale(1.15); transition: transform 0.3s; transition-delay: 0; } #meet-team-1765 .cs-item:hover .cs-job { color: var(--primary); } #meet-team-1765 .cs-image-group { width: 100%; height: auto; margin: 0; position: relative; z-index: 1; aspect-ratio: 0.91691395; flex: 1 0 0; } #meet-team-1765 .cs-picture { width: 100%; height: 100%; /* removed at tablet */ aspect-ratio: 328/260; background-color: #000; /* clips the img corners */ /* clips img tag from overflowing it on hover */ display: block; position: relative; overflow: hidden; } #meet-team-1765 .cs-picture img { width: 100%; height: 100%; object-fit: cover; /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */ object-position: top; position: absolute; top: 0; left: 0; transition: transform 0.7s, opacity 0.3s; } #meet-team-1765 .cs-social { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; position: absolute; top: 1rem; right: 1rem; z-index: 1; } #meet-team-1765 .cs-link { width: 2.5rem; height: 2.5rem; padding: 0.5rem; background-color: #F7F7F7; display: flex; justify-content: center; align-items: center; opacity: 0; transform: translateY(-1rem); transition: transform 0.6s, opacity 0.6s; } #meet-team-1765 .cs-link:nth-of-type(2) { transition-delay: 0.08s; } #meet-team-1765 .cs-link:nth-of-type(3) { transition-delay: 0.16s; } #meet-team-1765 .cs-icon { width: 1.25rem; height: auto; display: block; } #meet-team-1765 .cs-info { width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; transition: background-color 0.3s; } #meet-team-1765 .cs-name { font-size: 1.25rem; font-weight: 700; line-height: 1.2em; text-transform: uppercase; margin: 0; color: var(--bodyTextColorWhite); display: block; transition: color 0.3s; } #meet-team-1765 .cs-job { font-size: 1rem; font-weight: 700; line-height: 1.2em; margin: 0; color: var(--bodyTextColorWhite); opacity: 0.8; display: block; transition: color 0.3s; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #meet-team-1765 .cs-container { max-width: 107.5rem; /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } #meet-team-1765 .cs-content { text-align: left; max-width: 80rem; height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 3rem; columns: 2; } #meet-team-1765 .cs-flex-wrapper { width: 40vw; display: block; /* prevents flexbox from squishing it */ flex: none; } #meet-team-1765 .cs-ul { margin: 0; } #meet-team-1765 .cs-card-group { /* 16px - 20px */ column-gap: clamp(1rem, 2vw, 1.25rem); row-gap: 2.5rem; } #meet-team-1765 .cs-item { grid-column: span 4; } #meet-team-1765 .cs-picture { /* 260px - 440px */ height: clamp(16.25rem, 33.2vw, 27.5rem); aspect-ratio: initial; } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #meet-team-1765 .cs-ul { flex-direction: row; flex-wrap: wrap; } #meet-team-1765 .cs-li { width: 48%; } #meet-team-1765 .cs-card-group { grid-template-columns: repeat(10, 1fr); } #meet-team-1765 .cs-item { grid-column: span 2; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #meet-team-1765 { background-color: rgba(0, 0, 0, 0.6); } }
/*-- -------------------------- --> <--- Meet The Team --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #meet-team-1765 { padding: var(--sectionPadding); background-color: #1a1a1a; position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6.5vw, 4rem); } .cs-content { /* set text align to center if content needs to be center aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } .cs-flex-wrapper { max-width: (600/16rem); /* lets the div's contents act as though it doesn't exist and can be children of the next surrounding parent div, in this case the cs-content. That way we can place the button under the cs-wrapper on mobile, but bring it back under the header on tablet */ display: contents; } .cs-title { margin: 0; /* 16px - 32px */ margin-bottom: clamp(1rem, 3vw, 2rem); color: var(--bodyTextColorWhite); } .cs-wrapper { max-width: (632/16rem); } .cs-text { margin: 0 0 (32/16rem) 0; color: var(--bodyTextColorWhite); opacity: .8; } .cs-button-solid { font-size: (16/16rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: (150/16rem); margin: 0; margin-top: (32/16rem); /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 (24/16rem); color: #fff; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-button-solid { margin: 0; display: inline-block; order: 2; } .cs-text { max-width: (640/16rem); margin-bottom: (24/16rem); position: relative; z-index: 1; } .cs-ul { max-width: (630/16rem); margin: 0 0 (32/16rem) 0; padding: 0; display: flex; flex-direction: column; gap: (12/16rem); } .cs-li { font-size: var(--bodyFontSize); list-style: none; line-height: 1.5em; width: 100%; color: var(--bodyTextColorWhite); opacity: .8; display: flex; justify-content: flex-start; align-items: center; gap: (8/16rem); } .cs-check-icon { width: (24/16rem); height: auto; /* adds extra space between the icon and top of parent so it's more centered */ margin-top: 1px; display: block; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; flex-direction: column; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: (24/16rem); position: relative; } .cs-item { list-style: none; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; grid-column: span 12; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); position: relative; &:hover { .cs-picture { img { opacity: .4; transform: scale(1.2); } } .cs-link { opacity: 1; transform: translateY(0); &:hover { /* we need to add the hover styles for the cs-link inside the cs-item hover for specifcity. There's a transform none on the cs-link when we hover over the cs-item, so for the transform to work when we hover over the cs-link, we add it while the hover is active on the cs-item. This allows it to be more specific and override the transform 0 it adds to the cs-link */ transform: scale(1.15); transition: transform .3s; transition-delay: 0; } } .cs-job { color: var(--primary); } } } .cs-image-group { width: 100%; height: auto; margin: 0; position: relative; z-index: 1; aspect-ratio: 0.91691395; flex: 1 0 0; } .cs-picture { width: 100%; height: 100%; /* removed at tablet */ aspect-ratio: 328/260; background-color: #000; /* clips the img corners */ /* clips img tag from overflowing it on hover */ display: block; position: relative; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */ object-position: top; position: absolute; top: 0; left: 0; transition: transform 0.7s, opacity .3s; } } .cs-social { display: flex; flex-direction: column; align-items: flex-end; gap: (8/16rem); position: absolute; top: (16/16rem); right: (16/16rem); z-index: 1; } .cs-link { width: (40/16rem); height: (40/16rem); padding: (8/16rem); background-color: #F7F7F7; display: flex; justify-content: center; align-items: center; opacity: 0; transform: translateY(-1rem); transition: transform 0.6s, opacity 0.6s; &:nth-of-type(2) { transition-delay: .08s; } &:nth-of-type(3) { transition-delay: .16s; } } .cs-icon { width: (20/16rem); height: auto; display: block; } .cs-info { width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: (8/16rem); transition: background-color 0.3s; } .cs-name { font-size: (20/16rem); font-weight: 700; line-height: 1.2em; text-transform: uppercase; margin: 0; color: var(--bodyTextColorWhite); display: block; transition: color 0.3s; } .cs-job { font-size: (16/16rem); font-weight: 700; line-height: 1.2em; margin: 0; color: var(--bodyTextColorWhite); opacity: .8; display: block; transition: color 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #meet-team-1765 { .cs-container { max-width: (1720/16rem); /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { text-align: left; max-width: (1280/16rem); height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: (48/16rem); columns: 2; } .cs-flex-wrapper { width: 40vw; display: block; /* prevents flexbox from squishing it */ flex: none; } .cs-ul { margin: 0; } .cs-card-group { /* 16px - 20px */ column-gap: clamp(1rem, 2vw, 1.25rem); row-gap: (40/16rem); } .cs-item { grid-column: span 4; } .cs-picture { /* 260px - 440px */ height: clamp(16.25rem, 33.2vw, 27.5rem); aspect-ratio: initial; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #meet-team-1765 { .cs-ul { flex-direction: row; flex-wrap: wrap; } .cs-li { width: 48%; } .cs-card-group { grid-template-columns: repeat(10, 1fr); } .cs-item { grid-column: span 2; } } }
/*-- -------------------------- --> <--- Meet The Team --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #meet-team-1765 { padding: var(--sectionPadding); background-color: #1a1a1a; position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6.5vw, 4rem); } .cs-content { /* set text align to center if content needs to be center aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } .cs-flex-wrapper { max-width: (600/16rem); /* lets the div's contents act as though it doesn't exist and can be children of the next surrounding parent div, in this case the cs-content. That way we can place the button under the cs-wrapper on mobile, but bring it back under the header on tablet */ display: contents; } .cs-title { margin: 0; /* 16px - 32px */ margin-bottom: clamp(1rem, 3vw, 2rem); color: var(--bodyTextColorWhite); } .cs-wrapper { max-width: (632/16rem); } .cs-text { margin: 0 0 (32/16rem) 0; color: var(--bodyTextColorWhite); opacity: .8; } .cs-button-solid { font-size: (16/16rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: (150/16rem); margin: 0; margin-top: (32/16rem); /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 (24/16rem); color: #fff; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-button-solid { margin: 0; display: inline-block; order: 2; } .cs-text { max-width: (640/16rem); margin-bottom: (24/16rem); position: relative; z-index: 1; } .cs-ul { max-width: (630/16rem); margin: 0 0 (32/16rem) 0; padding: 0; display: flex; flex-direction: column; gap: (12/16rem); } .cs-li { font-size: var(--bodyFontSize); list-style: none; line-height: 1.5em; width: 100%; color: var(--bodyTextColorWhite); opacity: .8; display: flex; justify-content: flex-start; align-items: center; gap: (8/16rem); } .cs-check-icon { width: (24/16rem); height: auto; /* adds extra space between the icon and top of parent so it's more centered */ margin-top: 1px; display: block; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; flex-direction: column; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: (24/16rem); position: relative; } .cs-item { list-style: none; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; grid-column: span 12; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); position: relative; &:hover { .cs-picture { img { opacity: .4; transform: scale(1.2); } } .cs-link { opacity: 1; transform: translateY(0); &:hover { /* we need to add the hover styles for the cs-link inside the cs-item hover for specifcity. There's a transform none on the cs-link when we hover over the cs-item, so for the transform to work when we hover over the cs-link, we add it while the hover is active on the cs-item. This allows it to be more specific and override the transform 0 it adds to the cs-link */ transform: scale(1.15); transition: transform .3s; transition-delay: 0; } } .cs-job { color: var(--primary); } } } .cs-image-group { width: 100%; height: auto; margin: 0; position: relative; z-index: 1; aspect-ratio: 0.91691395; flex: 1 0 0; } .cs-picture { width: 100%; height: 100%; /* removed at tablet */ aspect-ratio: 328/260; background-color: #000; /* clips the img corners */ /* clips img tag from overflowing it on hover */ display: block; position: relative; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */ object-position: top; position: absolute; top: 0; left: 0; transition: transform 0.7s, opacity .3s; } } .cs-social { display: flex; flex-direction: column; align-items: flex-end; gap: (8/16rem); position: absolute; top: (16/16rem); right: (16/16rem); z-index: 1; } .cs-link { width: (40/16rem); height: (40/16rem); padding: (8/16rem); background-color: #F7F7F7; display: flex; justify-content: center; align-items: center; opacity: 0; transform: translateY(-1rem); transition: transform 0.6s, opacity 0.6s; &:nth-of-type(2) { transition-delay: .08s; } &:nth-of-type(3) { transition-delay: .16s; } } .cs-icon { width: (20/16rem); height: auto; display: block; } .cs-info { width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: (8/16rem); transition: background-color 0.3s; } .cs-name { font-size: (20/16rem); font-weight: 700; line-height: 1.2em; text-transform: uppercase; margin: 0; color: var(--bodyTextColorWhite); display: block; transition: color 0.3s; } .cs-job { font-size: (16/16rem); font-weight: 700; line-height: 1.2em; margin: 0; color: var(--bodyTextColorWhite); opacity: .8; display: block; transition: color 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #meet-team-1765 { .cs-container { max-width: (1720/16rem); /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { text-align: left; max-width: (1280/16rem); height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: (48/16rem); columns: 2; } .cs-flex-wrapper { width: 40vw; display: block; /* prevents flexbox from squishing it */ flex: none; } .cs-ul { margin: 0; } .cs-card-group { /* 16px - 20px */ column-gap: clamp(1rem, 2vw, 1.25rem); row-gap: (40/16rem); } .cs-item { grid-column: span 4; } .cs-picture { /* 260px - 440px */ height: clamp(16.25rem, 33.2vw, 27.5rem); aspect-ratio: initial; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #meet-team-1765 { .cs-ul { flex-direction: row; flex-wrap: wrap; } .cs-li { width: 48%; } .cs-card-group { grid-template-columns: repeat(10, 1fr); } .cs-item { grid-column: span 2; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #meet-team-1765 { background-color: rgba(0, 0, 0, .6); } } }
/*-- -------------------------- --> <--- Meet The Team --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #meet-team-1765 { padding: var(--sectionPadding); background-color: #1a1a1a; position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; max-width: calc(1280/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6.5vw, 4rem); } .cs-content { /* set text align to center if content needs to be center aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } .cs-flex-wrapper { max-width: calc(600/16 * 1rem); /* lets the div's contents act as though it doesn't exist and can be children of the next surrounding parent div, in this case the cs-content. That way we can place the button under the cs-wrapper on mobile, but bring it back under the header on tablet */ display: contents; } .cs-title { margin: 0; /* 16px - 32px */ margin-bottom: clamp(1rem, 3vw, 2rem); color: var(--bodyTextColorWhite); } .cs-wrapper { max-width: calc(632/16 * 1rem); } .cs-text { margin: 0 0 calc(32/16 * 1rem) 0; color: var(--bodyTextColorWhite); opacity: .8; } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: calc(150/16 * 1rem); margin: 0; margin-top: calc(32/16 * 1rem); /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 calc(24/16 * 1rem); color: #fff; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-button-solid { margin: 0; display: inline-block; order: 2; } .cs-text { max-width: calc(640/16 * 1rem); margin-bottom: calc(24/16 * 1rem); position: relative; z-index: 1; } .cs-ul { max-width: calc(630/16 * 1rem); margin: 0 0 calc(32/16 * 1rem) 0; padding: 0; display: flex; flex-direction: column; gap: calc(12/16 * 1rem); } .cs-li { font-size: var(--bodyFontSize); list-style: none; line-height: 1.5em; width: 100%; color: var(--bodyTextColorWhite); opacity: .8; display: flex; justify-content: flex-start; align-items: center; gap: calc(8/16 * 1rem); } .cs-check-icon { width: calc(24/16 * 1rem); height: auto; /* adds extra space between the icon and top of parent so it's more centered */ margin-top: 1px; display: block; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; flex-direction: column; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: calc(24/16 * 1rem); position: relative; } .cs-item { list-style: none; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; grid-column: span 12; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); position: relative; &:hover { .cs-picture { img { opacity: .4; transform: scale(1.2); } } .cs-link { opacity: 1; transform: translateY(0); &:hover { /* we need to add the hover styles for the cs-link inside the cs-item hover for specifcity. There's a transform none on the cs-link when we hover over the cs-item, so for the transform to work when we hover over the cs-link, we add it while the hover is active on the cs-item. This allows it to be more specific and override the transform 0 it adds to the cs-link */ transform: scale(1.15); transition: transform .3s; transition-delay: 0; } } .cs-job { color: var(--primary); } } } .cs-image-group { width: 100%; height: auto; margin: 0; position: relative; z-index: 1; aspect-ratio: 0.91691395; flex: 1 0 0; } .cs-picture { width: 100%; height: 100%; /* removed at tablet */ aspect-ratio: 328/260; background-color: #000; /* clips the img corners */ /* clips img tag from overflowing it on hover */ display: block; position: relative; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */ object-position: top; position: absolute; top: 0; left: 0; transition: transform 0.7s, opacity .3s; } } .cs-social { display: flex; flex-direction: column; align-items: flex-end; gap: calc(8/16 * 1rem); position: absolute; top: calc(16/16 * 1rem); right: calc(16/16 * 1rem); z-index: 1; } .cs-link { width: calc(40/16 * 1rem); height: calc(40/16 * 1rem); padding: calc(8/16 * 1rem); background-color: #F7F7F7; display: flex; justify-content: center; align-items: center; opacity: 0; transform: translateY(-1rem); transition: transform 0.6s, opacity 0.6s; &:nth-of-type(2) { transition-delay: .08s; } &:nth-of-type(3) { transition-delay: .16s; } } .cs-icon { width: calc(20/16 * 1rem); height: auto; display: block; } .cs-info { width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: calc(8/16 * 1rem); transition: background-color 0.3s; } .cs-name { font-size: calc(20/16 * 1rem); font-weight: 700; line-height: 1.2em; text-transform: uppercase; margin: 0; color: var(--bodyTextColorWhite); display: block; transition: color 0.3s; } .cs-job { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: 1.2em; margin: 0; color: var(--bodyTextColorWhite); opacity: .8; display: block; transition: color 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #meet-team-1765 { .cs-container { max-width: calc(1720/16 * 1rem); /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { text-align: left; max-width: calc(1280/16 * 1rem); height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: calc(48/16 * 1rem); columns: 2; } .cs-flex-wrapper { width: 40vw; display: block; /* prevents flexbox from squishing it */ flex: none; } .cs-ul { margin: 0; } .cs-card-group { /* 16px - 20px */ column-gap: clamp(1rem, 2vw, 1.25rem); row-gap: calc(40/16 * 1rem); } .cs-item { grid-column: span 4; } .cs-picture { /* 260px - 440px */ height: clamp(16.25rem, 33.2vw, 27.5rem); aspect-ratio: initial; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #meet-team-1765 { .cs-ul { flex-direction: row; flex-wrap: wrap; } .cs-li { width: 48%; } .cs-card-group { grid-template-columns: repeat(10, 1fr); } .cs-item { grid-column: span 2; } } }
/*-- -------------------------- --> <--- Meet The Team --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #meet-team-1765 { padding: var(--sectionPadding); background-color: #1a1a1a; position: relative; z-index: 1; overflow: hidden; .cs-container { width: 100%; max-width: calc(1280/16 * 1rem); margin: auto; display: flex; flex-direction: column; align-items: center; /* 48px - 64px */ gap: clamp(3rem, 6.5vw, 4rem); } .cs-content { /* set text align to center if content needs to be center aligned */ text-align: left; width: 100%; display: flex; flex-direction: column; align-items: flex-start; } .cs-flex-wrapper { max-width: calc(600/16 * 1rem); /* lets the div's contents act as though it doesn't exist and can be children of the next surrounding parent div, in this case the cs-content. That way we can place the button under the cs-wrapper on mobile, but bring it back under the header on tablet */ display: contents; } .cs-title { margin: 0; /* 16px - 32px */ margin-bottom: clamp(1rem, 3vw, 2rem); color: var(--bodyTextColorWhite); } .cs-wrapper { max-width: calc(632/16 * 1rem); } .cs-text { margin: 0 0 calc(32/16 * 1rem) 0; color: var(--bodyTextColorWhite); opacity: .8; } .cs-button-solid { font-size: calc(16/16 * 1rem); font-weight: 700; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-align: center; text-decoration: none; min-width: calc(150/16 * 1rem); margin: 0; margin-top: calc(32/16 * 1rem); /* prevents padding from adding to the width */ box-sizing: border-box; padding: 0 calc(24/16 * 1rem); color: #fff; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; &:before { content: ""; width: 0%; height: 100%; background: #000; opacity: 1; position: absolute; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-button-solid { margin: 0; display: inline-block; order: 2; } .cs-text { max-width: calc(640/16 * 1rem); margin-bottom: calc(24/16 * 1rem); position: relative; z-index: 1; } .cs-ul { max-width: calc(630/16 * 1rem); margin: 0 0 calc(32/16 * 1rem) 0; padding: 0; display: flex; flex-direction: column; gap: calc(12/16 * 1rem); } .cs-li { font-size: var(--bodyFontSize); list-style: none; line-height: 1.5em; width: 100%; color: var(--bodyTextColorWhite); opacity: .8; display: flex; justify-content: flex-start; align-items: center; gap: calc(8/16 * 1rem); } .cs-check-icon { width: calc(24/16 * 1rem); height: auto; /* adds extra space between the icon and top of parent so it's more centered */ margin-top: 1px; display: block; } .cs-card-group { width: 100%; margin: 0; padding: 0; display: grid; flex-direction: column; grid-template-columns: repeat(12, 1fr); /* 16px - 20px */ gap: calc(24/16 * 1rem); position: relative; } .cs-item { list-style: none; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; grid-column: span 12; /* 16px - 20px */ gap: clamp(1rem, 2vw, 1.25rem); position: relative; &:hover { .cs-picture { img { opacity: .4; transform: scale(1.2); } } .cs-link { opacity: 1; transform: translateY(0); &:hover { /* we need to add the hover styles for the cs-link inside the cs-item hover for specifcity. There's a transform none on the cs-link when we hover over the cs-item, so for the transform to work when we hover over the cs-link, we add it while the hover is active on the cs-item. This allows it to be more specific and override the transform 0 it adds to the cs-link */ transform: scale(1.15); transition: transform .3s; transition-delay: 0; } } .cs-job { color: var(--primary); } } } .cs-image-group { width: 100%; height: auto; margin: 0; position: relative; z-index: 1; aspect-ratio: 0.91691395; flex: 1 0 0; } .cs-picture { width: 100%; height: 100%; /* removed at tablet */ aspect-ratio: 328/260; background-color: #000; /* clips the img corners */ /* clips img tag from overflowing it on hover */ display: block; position: relative; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */ object-position: top; position: absolute; top: 0; left: 0; transition: transform 0.7s, opacity .3s; } } .cs-social { display: flex; flex-direction: column; align-items: flex-end; gap: calc(8/16 * 1rem); position: absolute; top: calc(16/16 * 1rem); right: calc(16/16 * 1rem); z-index: 1; } .cs-link { width: calc(40/16 * 1rem); height: calc(40/16 * 1rem); padding: calc(8/16 * 1rem); background-color: #F7F7F7; display: flex; justify-content: center; align-items: center; opacity: 0; transform: translateY(-1rem); transition: transform 0.6s, opacity 0.6s; &:nth-of-type(2) { transition-delay: .08s; } &:nth-of-type(3) { transition-delay: .16s; } } .cs-icon { width: calc(20/16 * 1rem); height: auto; display: block; } .cs-info { width: 100%; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: calc(8/16 * 1rem); transition: background-color 0.3s; } .cs-name { font-size: calc(20/16 * 1rem); font-weight: 700; line-height: 1.2em; text-transform: uppercase; margin: 0; color: var(--bodyTextColorWhite); display: block; transition: color 0.3s; } .cs-job { font-size: calc(16/16 * 1rem); font-weight: 700; line-height: 1.2em; margin: 0; color: var(--bodyTextColorWhite); opacity: .8; display: block; transition: color 0.3s; } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #meet-team-1765 { .cs-container { max-width: calc(1720/16 * 1rem); /* 48px - 64px */ gap: clamp(3rem, 6vw, 4rem); } .cs-content { text-align: left; max-width: calc(1280/16 * 1rem); height: auto; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: calc(48/16 * 1rem); columns: 2; } .cs-flex-wrapper { width: 40vw; display: block; /* prevents flexbox from squishing it */ flex: none; } .cs-ul { margin: 0; } .cs-card-group { /* 16px - 20px */ column-gap: clamp(1rem, 2vw, 1.25rem); row-gap: calc(40/16 * 1rem); } .cs-item { grid-column: span 4; } .cs-picture { /* 260px - 440px */ height: clamp(16.25rem, 33.2vw, 27.5rem); aspect-ratio: initial; } } } /* Large Desktop - 1300px */ @media only screen and (min-width: 81.25rem) { #meet-team-1765 { .cs-ul { flex-direction: row; flex-wrap: wrap; } .cs-li { width: 48%; } .cs-card-group { grid-template-columns: repeat(10, 1fr); } .cs-item { grid-column: span 2; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #meet-team-1765 { background-color: rgba(0, 0, 0, .6); } } }
: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