Recent Posts
x
<!-- ============================================ -->
<!-- Meet The Team -->
<!-- ============================================ -->
<section id="blog-986">
<div class="cs-container">
<div class="cs-content">
<div class="cs-flex">
<span class="cs-topper">News & Articles</span>
<h2 class="cs-title">Directly from The Latest News and Articles</h2>
</div>
<a href="" class="cs-button-solid">View All</a>
</div>
<ul class="cs-card-group">
<li class="cs-item">
<picture class="cs-picture">
<!--Mobile Image-->
<source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon10.jpg">
<!--Tablet and above Image-->
<source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon10.jpg">
<img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon10.jpg" alt="stylist" width="413" height="480">
</picture>
<div class="cs-info">
<span class="cs-date">
<img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/calendar.svg" alt="stylist" width="20" height="20">
07 Sep, 2022
</span>
<h3 class="cs-h3">Healthy hair tips: How to keep your locks looking luscious</h3>
<span class="cs-desc">
How to style without causing damage, and tips on maintaining a healthy diet for healt...
</span>
<a href="" class="cs-link">Read More</a>
</div>
</li>
<li class="cs-item">
<picture class="cs-picture">
<!--Mobile Image-->
<source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon11.jpg">
<!--Tablet and above Image-->
<source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon11.jpg">
<img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon11.jpg" alt="stylist" width="413" height="480">
</picture>
<div class="cs-info">
<span class="cs-date">
<img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/calendar.svg" alt="stylist" width="20" height="20">
07 Sep, 2022
</span>
<h3 class="cs-h3">Healthy hair tips: How to keep your locks looking luscious</h3>
<span class="cs-desc">
How to style without causing damage, and tips on maintaining a healthy diet for healt...
</span>
<a href="" class="cs-link">Read More</a>
</div>
</li>
<li class="cs-item">
<picture class="cs-picture">
<!--Mobile Image-->
<source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon12.jpg">
<!--Tablet and above Image-->
<source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon12.jpg">
<img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/salon12.jpg" alt="stylist" width="413" height="480">
</picture>
<div class="cs-info">
<span class="cs-date">
<img class="cs-icon" loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/calendar.svg" alt="stylist" width="20" height="20">
07 Sep, 2022
</span>
<h3 class="cs-h3">Healthy hair tips: How to keep your locks looking luscious</h3>
<span class="cs-desc">
How to style without causing damage, and tips on maintaining a healthy diet for healt...
</span>
<a href="" class="cs-link">Read More</a>
</div>
</li>
</ul>
</div>
</section>
xxxxxxxxxx
/*-- -------------------------- -->
<--- Blog -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
#blog-986 {
padding: var(--sectionPadding);
background-color: #1a1a1a;
}
#blog-986 .cs-container {
width: 100%;
/* changes to 1280px at desktop */
max-width: 36.5rem;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
/* 48px - 64px */
gap: clamp(3rem, 6vw, 4rem);
}
#blog-986 .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;
}
#blog-986 .cs-title {
margin-bottom: 2rem;
max-width: 20ch;
color: var(--bodyTextColorWhite);
}
#blog-986 .cs-button-solid {
font-size: 1rem;
/* 46px - 56px */
line-height: clamp(2.875em, 5.5vw, 3.5em);
text-decoration: none;
font-weight: 700;
text-align: center;
margin: 0;
color: #fff;
min-width: 9.375rem;
padding: 0 2rem;
background-color: var(--primary);
display: inline-block;
position: relative;
z-index: 1;
/* prevents padding from adding to the width */
box-sizing: border-box;
}
#blog-986 .cs-button-solid:before {
content: "";
position: absolute;
height: 100%;
width: 0%;
background: #000;
opacity: 1;
top: 0;
left: 0;
z-index: -1;
transition: width 0.3s;
}
#blog-986 .cs-button-solid:hover:before {
width: 100%;
}
#blog-986 .cs-button-solid {
/* prevents flexbox from squishing it */
flex: none;
}
#blog-986 .cs-card-group {
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
/* 16px - 20px */
gap: clamp(1rem, 2vw, 1.25rem);
position: relative;
}
#blog-986 .cs-item {
list-style: none;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
}
#blog-986 .cs-item:hover {
cursor: pointer;
}
#blog-986 .cs-item:hover .cs-info:before {
opacity: 1;
background-color: var(--primary);
}
#blog-986 .cs-item:hover .cs-picture img {
transform: scale(1.15);
}
#blog-986 .cs-item:hover .cs-date {
color: #fff;
}
#blog-986 .cs-item:hover .cs-icon {
filter: brightness(150%);
}
#blog-986 .cs-item:hover .cs-link {
color: #fff;
}
#blog-986 .cs-picture {
width: 100%;
height: 30rem;
/* removed at tablet */
aspect-ratio: 0.68333333;
/* clips img tag from overflowing it on hover */
overflow: hidden;
display: block;
position: relative;
z-index: 1;
}
#blog-986 .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;
z-index: -1;
transition: transform 0.9s;
}
#blog-986 .cs-info {
width: 83%;
max-width: 26.25rem;
/* 16px - 24px */
padding: clamp(1rem, 2vw, 1.5rem);
/* prevents padding from affecting the height and width */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
right: 0;
z-index: 10;
}
#blog-986 .cs-info:before {
/* background-color */
content: "";
width: 100%;
height: 100%;
background: #1a1a1a;
opacity: 0.8;
position: absolute;
display: block;
top: 0;
left: 0;
z-index: -1;
transition:
background-color 0.3s,
opacity 0.3s;
}
#blog-986 .cs-date {
font-size: 1rem;
line-height: 1.2em;
font-weight: 700;
margin: 0 0 1.25rem 0;
color: #bababa;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 0.5rem;
transition: color 0.3s;
}
#blog-986 .cs-icon {
width: 1.25rem;
height: auto;
transition: filter 0.3s;
}
#blog-986 .cs-h3 {
font-size: 1.25rem;
line-height: 1.2em;
font-weight: 700;
margin: 0 0 0.75rem 0;
color: #fff;
display: block;
}
#blog-986 .cs-desc {
font-size: 1rem;
line-height: 1.5em;
margin: 0 0 1.25rem 0;
color: #f7f7f7;
display: block;
}
#blog-986 .cs-link {
font-size: 1rem;
line-height: 1.2em;
font-weight: 700;
text-decoration: none;
width: auto;
margin: 0;
color: var(--primary);
display: inline-block;
position: relative;
transition: color 0.3s;
}
#blog-986 .cs-link:hover {
color: #fff;
}
#blog-986 .cs-link:before {
/* underline */
content: "";
width: 100%;
height: 1px;
background: currentColor;
opacity: 1;
position: absolute;
display: block;
bottom: 0;
left: 0;
transition: background-color 0.3s;
}
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
#blog-986 .cs-content {
text-align: left;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
gap: 3rem;
}
#blog-986 .cs-title {
margin: 0;
}
#blog-986 .cs-picture {
/* remove the aspect ratio so the height can be squished */
aspect-ratio: initial;
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
#blog-986 .cs-container {
max-width: 80rem;
}
#blog-986 .cs-card-group {
flex-direction: row;
}
}
xxxxxxxxxx
/*-- -------------------------- -->
<--- Blog -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
#blog-986 {
padding: var(--sectionPadding);
background-color: #1a1a1a;
}
#blog-986 .cs-container {
width: 100%;
/* changes to 1280px at desktop */
max-width: 36.5rem;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
/* 48px - 64px */
gap: clamp(3rem, 6vw, 4rem);
}
#blog-986 .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;
}
#blog-986 .cs-title {
margin-bottom: 2rem;
max-width: 20ch;
color: var(--bodyTextColorWhite);
}
#blog-986 .cs-button-solid {
font-size: 1rem;
/* 46px - 56px */
line-height: clamp(2.875em, 5.5vw, 3.5em);
text-decoration: none;
font-weight: 700;
text-align: center;
margin: 0;
color: #fff;
min-width: 9.375rem;
padding: 0 2rem;
background-color: var(--primary);
display: inline-block;
position: relative;
z-index: 1;
/* prevents padding from adding to the width */
box-sizing: border-box;
}
#blog-986 .cs-button-solid:before {
content: "";
position: absolute;
height: 100%;
width: 0%;
background: #000;
opacity: 1;
top: 0;
left: 0;
z-index: -1;
transition: width 0.3s;
}
#blog-986 .cs-button-solid:hover:before {
width: 100%;
}
#blog-986 .cs-button-solid {
/* prevents flexbox from squishing it */
flex: none;
}
#blog-986 .cs-card-group {
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
/* 16px - 20px */
gap: clamp(1rem, 2vw, 1.25rem);
position: relative;
}
#blog-986 .cs-item {
list-style: none;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
}
#blog-986 .cs-item:hover {
cursor: pointer;
}
#blog-986 .cs-item:hover .cs-info:before {
opacity: 1;
background-color: var(--primary);
}
#blog-986 .cs-item:hover .cs-picture img {
transform: scale(1.15);
}
#blog-986 .cs-item:hover .cs-date {
color: #fff;
}
#blog-986 .cs-item:hover .cs-icon {
filter: brightness(150%);
}
#blog-986 .cs-item:hover .cs-link {
color: #fff;
}
#blog-986 .cs-picture {
width: 100%;
height: 30rem;
/* removed at tablet */
aspect-ratio: 0.68333333;
/* clips img tag from overflowing it on hover */
overflow: hidden;
display: block;
position: relative;
z-index: 1;
}
#blog-986 .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;
z-index: -1;
transition: transform 0.9s;
}
#blog-986 .cs-info {
width: 83%;
max-width: 26.25rem;
/* 16px - 24px */
padding: clamp(1rem, 2vw, 1.5rem);
/* prevents padding from affecting the height and width */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
right: 0;
z-index: 10;
}
#blog-986 .cs-info:before {
/* background-color */
content: "";
width: 100%;
height: 100%;
background: #1a1a1a;
opacity: 0.8;
position: absolute;
display: block;
top: 0;
left: 0;
z-index: -1;
transition:
background-color 0.3s,
opacity 0.3s;
}
#blog-986 .cs-date {
font-size: 1rem;
line-height: 1.2em;
font-weight: 700;
margin: 0 0 1.25rem 0;
color: #bababa;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 0.5rem;
transition: color 0.3s;
}
#blog-986 .cs-icon {
width: 1.25rem;
height: auto;
transition: filter 0.3s;
}
#blog-986 .cs-h3 {
font-size: 1.25rem;
line-height: 1.2em;
font-weight: 700;
margin: 0 0 0.75rem 0;
color: #fff;
display: block;
}
#blog-986 .cs-desc {
font-size: 1rem;
line-height: 1.5em;
margin: 0 0 1.25rem 0;
color: #f7f7f7;
display: block;
}
#blog-986 .cs-link {
font-size: 1rem;
line-height: 1.2em;
font-weight: 700;
text-decoration: none;
width: auto;
margin: 0;
color: var(--primary);
display: inline-block;
position: relative;
transition: color 0.3s;
}
#blog-986 .cs-link:hover {
color: #fff;
}
#blog-986 .cs-link:before {
/* underline */
content: "";
width: 100%;
height: 1px;
background: currentColor;
opacity: 1;
position: absolute;
display: block;
bottom: 0;
left: 0;
transition: background-color 0.3s;
}
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
#blog-986 .cs-content {
text-align: left;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
gap: 3rem;
}
#blog-986 .cs-title {
margin: 0;
}
#blog-986 .cs-picture {
/* remove the aspect ratio so the height can be squished */
aspect-ratio: initial;
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
#blog-986 .cs-container {
max-width: 80rem;
}
#blog-986 .cs-card-group {
flex-direction: row;
}
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
body.dark-mode #blog-986 {
background-color: rgba(0, 0, 0, 0.6);
}
}
xxxxxxxxxx
/*-- -------------------------- -->
<--- Blog -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
#blog-986 {
padding: var(--sectionPadding);
background-color: #1a1a1a;
.cs-container {
width: 100%;
/* changes to 1280px at desktop */
max-width: (584/16rem);
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
/* 48px - 64px */
gap: clamp(3rem, 6vw, 4rem);
}
.cs-content {
/* set text align to left if content needs to be left aligned */
text-align: center;
width: 100%;
display: flex;
flex-direction: column;
/* centers content horizontally, set to flex-start to left align */
align-items: center;
}
.cs-title {
margin-bottom: (32/16rem);
max-width: 20ch;
color: var(--bodyTextColorWhite);
}
.cs-button-solid {
font-size: (16/16rem);
/* 46px - 56px */
line-height: clamp(2.875em, 5.5vw, 3.5em);
text-decoration: none;
font-weight: 700;
text-align: center;
margin: 0;
color: #fff;
min-width: (150/16rem);
padding: 0 (32/16rem);
background-color: var(--primary);
display: inline-block;
position: relative;
z-index: 1;
/* prevents padding from adding to the width */
box-sizing: border-box;
&:before {
content: "";
position: absolute;
height: 100%;
width: 0%;
background: #000;
opacity: 1;
top: 0;
left: 0;
z-index: -1;
transition: width 0.3s;
}
&:hover {
&:before {
width: 100%;
}
}
}
.cs-button-solid {
/* prevents flexbox from squishing it */
flex: none;
}
.cs-card-group {
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
/* 16px - 20px */
gap: clamp(1rem, 2vw, 1.25rem);
position: relative;
}
.cs-item {
list-style: none;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
&:hover {
cursor: pointer;
.cs-info {
&:before {
opacity: 1;
background-color: var(--primary);
}
}
.cs-picture {
img {
transform: scale(1.15);
}
}
.cs-date {
color: #fff;
}
.cs-icon {
filter: brightness(150%);
}
.cs-link {
color: #fff;
}
}
}
.cs-picture {
width: 100%;
height: (480/16rem);
/* removed at tablet */
aspect-ratio: (328/480);
/* clips img tag from overflowing it on hover */
overflow: hidden;
display: block;
position: relative;
z-index: 1;
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;
z-index: -1;
transition: transform 0.9s;
}
}
.cs-info {
width: 83%;
max-width: (420/16rem);
/* 16px - 24px */
padding: clamp(1rem, 2vw, 1.5rem);
/* prevents padding from affecting the height and width */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
right: 0;
z-index: 10;
&:before {
/* background-color */
content: "";
width: 100%;
height: 100%;
background: #1a1a1a;
opacity: 0.8;
position: absolute;
display: block;
top: 0;
left: 0;
z-index: -1;
transition:
background-color 0.3s,
opacity 0.3s;
}
}
.cs-date {
font-size: (16/16rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 (20/16rem) 0;
color: #bababa;
display: flex;
justify-content: flex-start;
align-items: center;
gap: (8/16rem);
transition: color 0.3s;
}
.cs-icon {
width: (20/16rem);
height: auto;
transition: filter 0.3s;
}
.cs-h3 {
font-size: (20/16rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 (12/16rem) 0;
color: #fff;
display: block;
}
.cs-desc {
font-size: (16/16rem);
line-height: 1.5em;
margin: 0 0 (20/16rem) 0;
color: #f7f7f7;
display: block;
}
.cs-link {
font-size: (16/16rem);
line-height: 1.2em;
font-weight: 700;
text-decoration: none;
width: auto;
margin: 0;
color: var(--primary);
display: inline-block;
position: relative;
transition: color 0.3s;
&:hover {
color: #fff;
}
&:before {
/* underline */
content: "";
width: 100%;
height: 1px;
background: currentColor;
opacity: 1;
position: absolute;
display: block;
bottom: 0;
left: 0;
transition: background-color 0.3s;
}
}
}
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
#blog-986 {
.cs-content {
text-align: left;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
gap: (48/16rem);
}
.cs-title {
margin: 0;
}
.cs-picture {
/* remove the aspect ratio so the height can be squished */
aspect-ratio: initial;
}
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
#blog-986 {
.cs-container {
max-width: (1280/16rem);
}
.cs-card-group {
flex-direction: row;
}
}
}
xxxxxxxxxx
/*-- -------------------------- -->
<--- Blog -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
#blog-986 {
padding: var(--sectionPadding);
background-color: #1a1a1a;
.cs-container {
width: 100%;
/* changes to 1280px at desktop */
max-width: (584/16rem);
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
/* 48px - 64px */
gap: clamp(3rem, 6vw, 4rem);
}
.cs-content {
/* set text align to left if content needs to be left aligned */
text-align: center;
width: 100%;
display: flex;
flex-direction: column;
/* centers content horizontally, set to flex-start to left align */
align-items: center;
}
.cs-title {
margin-bottom: (32/16rem);
max-width: 20ch;
color: var(--bodyTextColorWhite);
}
.cs-button-solid {
font-size: (16/16rem);
/* 46px - 56px */
line-height: clamp(2.875em, 5.5vw, 3.5em);
text-decoration: none;
font-weight: 700;
text-align: center;
margin: 0;
color: #fff;
min-width: (150/16rem);
padding: 0 (32/16rem);
background-color: var(--primary);
display: inline-block;
position: relative;
z-index: 1;
/* prevents padding from adding to the width */
box-sizing: border-box;
&:before {
content: "";
position: absolute;
height: 100%;
width: 0%;
background: #000;
opacity: 1;
top: 0;
left: 0;
z-index: -1;
transition: width 0.3s;
}
&:hover {
&:before {
width: 100%;
}
}
}
.cs-button-solid {
/* prevents flexbox from squishing it */
flex: none;
}
.cs-card-group {
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
/* 16px - 20px */
gap: clamp(1rem, 2vw, 1.25rem);
position: relative;
}
.cs-item {
list-style: none;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
&:hover {
cursor: pointer;
.cs-info {
&:before {
opacity: 1;
background-color: var(--primary);
}
}
.cs-picture {
img {
transform: scale(1.15);
}
}
.cs-date {
color: #fff;
}
.cs-icon {
filter: brightness(150%);
}
.cs-link {
color: #fff;
}
}
}
.cs-picture {
width: 100%;
height: (480/16rem);
/* removed at tablet */
aspect-ratio: (328/480);
/* clips img tag from overflowing it on hover */
overflow: hidden;
display: block;
position: relative;
z-index: 1;
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;
z-index: -1;
transition: transform 0.9s;
}
}
.cs-info {
width: 83%;
max-width: (420/16rem);
/* 16px - 24px */
padding: clamp(1rem, 2vw, 1.5rem);
/* prevents padding from affecting the height and width */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
right: 0;
z-index: 10;
&:before {
/* background-color */
content: "";
width: 100%;
height: 100%;
background: #1a1a1a;
opacity: 0.8;
position: absolute;
display: block;
top: 0;
left: 0;
z-index: -1;
transition:
background-color 0.3s,
opacity 0.3s;
}
}
.cs-date {
font-size: (16/16rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 (20/16rem) 0;
color: #bababa;
display: flex;
justify-content: flex-start;
align-items: center;
gap: (8/16rem);
transition: color 0.3s;
}
.cs-icon {
width: (20/16rem);
height: auto;
transition: filter 0.3s;
}
.cs-h3 {
font-size: (20/16rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 (12/16rem) 0;
color: #fff;
display: block;
}
.cs-desc {
font-size: (16/16rem);
line-height: 1.5em;
margin: 0 0 (20/16rem) 0;
color: #f7f7f7;
display: block;
}
.cs-link {
font-size: (16/16rem);
line-height: 1.2em;
font-weight: 700;
text-decoration: none;
width: auto;
margin: 0;
color: var(--primary);
display: inline-block;
position: relative;
transition: color 0.3s;
&:hover {
color: #fff;
}
&:before {
/* underline */
content: "";
width: 100%;
height: 1px;
background: currentColor;
opacity: 1;
position: absolute;
display: block;
bottom: 0;
left: 0;
transition: background-color 0.3s;
}
}
}
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
#blog-986 {
.cs-content {
text-align: left;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
gap: (48/16rem);
}
.cs-title {
margin: 0;
}
.cs-picture {
/* remove the aspect ratio so the height can be squished */
aspect-ratio: initial;
}
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
#blog-986 {
.cs-container {
max-width: (1280/16rem);
}
.cs-card-group {
flex-direction: row;
}
}
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
body.dark-mode {
#blog-986 {
background-color: rgba(0, 0, 0, 0.6);
}
}
}
xxxxxxxxxx
/*-- -------------------------- -->
<--- Meet The Team -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
#blog-986 {
padding: var(--sectionPadding);
background-color: #1a1a1a;
.cs-container {
width: 100%;
/* changes to 1280px at desktop */
max-width: calc(584 / 16 * 1rem);
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
/* 48px - 64px */
gap: clamp(3rem, 6vw, 4rem);
}
.cs-content {
/* set text align to left if content needs to be left aligned */
text-align: center;
width: 100%;
display: flex;
flex-direction: column;
/* centers content horizontally, set to flex-start to left align */
align-items: center;
}
.cs-title {
margin-bottom: calc(32 / 16 * 1rem);
max-width: 20ch;
color: var(--bodyTextColorWhite);
}
.cs-button-solid {
font-size: calc(16 / 16 * 1rem);
/* 46px - 56px */
line-height: clamp(2.875em, 5.5vw, 3.5em);
text-decoration: none;
font-weight: 700;
text-align: center;
margin: 0;
color: #fff;
min-width: calc(150 / 16 * 1rem);
padding: 0 calc(32 / 16 * 1rem);
background-color: var(--primary);
display: inline-block;
position: relative;
z-index: 1;
/* prevents padding from adding to the width */
box-sizing: border-box;
&:before {
content: "";
position: absolute;
height: 100%;
width: 0%;
background: #000;
opacity: 1;
top: 0;
left: 0;
z-index: -1;
transition: width 0.3s;
}
&:hover {
&:before {
width: 100%;
}
}
}
.cs-button-solid {
/* prevents flexbox from squishing it */
flex: none;
}
.cs-card-group {
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
/* 16px - 20px */
gap: clamp(1rem, 2vw, 1.25rem);
position: relative;
}
.cs-item {
list-style: none;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
&:hover {
cursor: pointer;
.cs-info {
&:before {
opacity: 1;
background-color: var(--primary);
}
}
.cs-picture {
img {
transform: scale(1.15);
}
}
.cs-date {
color: #fff;
}
.cs-icon {
filter: brightness(150%);
}
.cs-link {
color: #fff;
}
}
}
.cs-picture {
width: 100%;
height: calc(480 / 16 * 1rem);
/* removed at tablet */
aspect-ratio: (328/480);
/* clips img tag from overflowing it on hover */
overflow: hidden;
display: block;
position: relative;
z-index: 1;
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;
z-index: -1;
transition: transform 0.9s;
}
}
.cs-info {
width: 83%;
max-width: calc(420 / 16 * 1rem);
/* 16px - 24px */
padding: clamp(1rem, 2vw, 1.5rem);
/* prevents padding from affecting the height and width */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
right: 0;
z-index: 10;
&:before {
/* background-color */
content: "";
width: 100%;
height: 100%;
background: #1a1a1a;
opacity: 0.8;
position: absolute;
display: block;
top: 0;
left: 0;
z-index: -1;
transition:
background-color 0.3s,
opacity 0.3s;
}
}
.cs-date {
font-size: calc(16 / 16 * 1rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 calc(20 / 16 * 1rem) 0;
color: #bababa;
display: flex;
justify-content: flex-start;
align-items: center;
gap: calc(8 / 16 * 1rem);
transition: color 0.3s;
}
.cs-icon {
width: calc(20 / 16 * 1rem);
height: auto;
transition: filter 0.3s;
}
.cs-h3 {
font-size: calc(20 / 16 * 1rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 calc(12 / 16 * 1rem) 0;
color: #fff;
display: block;
}
.cs-desc {
font-size: calc(16 / 16 * 1rem);
line-height: 1.5em;
margin: 0 0 calc(20 / 16 * 1rem) 0;
color: #f7f7f7;
display: block;
}
.cs-link {
font-size: calc(16 / 16 * 1rem);
line-height: 1.2em;
font-weight: 700;
text-decoration: none;
width: auto;
margin: 0;
color: var(--primary);
display: inline-block;
position: relative;
transition: color 0.3s;
&:hover {
color: #fff;
}
&:before {
/* underline */
content: "";
width: 100%;
height: 1px;
background: currentColor;
opacity: 1;
position: absolute;
display: block;
bottom: 0;
left: 0;
transition: background-color 0.3s;
}
}
}
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
#blog-986 {
.cs-content {
text-align: left;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
gap: calc(48 / 16 * 1rem);
}
.cs-title {
margin: 0;
}
.cs-picture {
/* remove the aspect ratio so the height can be squished */
aspect-ratio: initial;
}
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
#blog-986 {
.cs-container {
max-width: calc(1280 / 16 * 1rem);
}
.cs-card-group {
flex-direction: row;
}
}
}
xxxxxxxxxx
/*-- -------------------------- -->
<--- Meet The Team -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
#blog-986 {
padding: var(--sectionPadding);
background-color: #1a1a1a;
.cs-container {
width: 100%;
/* changes to 1280px at desktop */
max-width: calc(584 / 16 * 1rem);
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
/* 48px - 64px */
gap: clamp(3rem, 6vw, 4rem);
}
.cs-content {
/* set text align to left if content needs to be left aligned */
text-align: center;
width: 100%;
display: flex;
flex-direction: column;
/* centers content horizontally, set to flex-start to left align */
align-items: center;
}
.cs-title {
margin-bottom: calc(32 / 16 * 1rem);
max-width: 20ch;
color: var(--bodyTextColorWhite);
}
.cs-button-solid {
font-size: calc(16 / 16 * 1rem);
/* 46px - 56px */
line-height: clamp(2.875em, 5.5vw, 3.5em);
text-decoration: none;
font-weight: 700;
text-align: center;
margin: 0;
color: #fff;
min-width: calc(150 / 16 * 1rem);
padding: 0 calc(32 / 16 * 1rem);
background-color: var(--primary);
display: inline-block;
position: relative;
z-index: 1;
/* prevents padding from adding to the width */
box-sizing: border-box;
&:before {
content: "";
position: absolute;
height: 100%;
width: 0%;
background: #000;
opacity: 1;
top: 0;
left: 0;
z-index: -1;
transition: width 0.3s;
}
&:hover {
&:before {
width: 100%;
}
}
}
.cs-button-solid {
/* prevents flexbox from squishing it */
flex: none;
}
.cs-card-group {
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
/* 16px - 20px */
gap: clamp(1rem, 2vw, 1.25rem);
position: relative;
}
.cs-item {
list-style: none;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
&:hover {
cursor: pointer;
.cs-info {
&:before {
opacity: 1;
background-color: var(--primary);
}
}
.cs-picture {
img {
transform: scale(1.15);
}
}
.cs-date {
color: #fff;
}
.cs-icon {
filter: brightness(150%);
}
.cs-link {
color: #fff;
}
}
}
.cs-picture {
width: 100%;
height: calc(480 / 16 * 1rem);
/* removed at tablet */
aspect-ratio: (328/480);
/* clips img tag from overflowing it on hover */
overflow: hidden;
display: block;
position: relative;
z-index: 1;
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;
z-index: -1;
transition: transform 0.9s;
}
}
.cs-info {
width: 83%;
max-width: calc(420 / 16 * 1rem);
/* 16px - 24px */
padding: clamp(1rem, 2vw, 1.5rem);
/* prevents padding from affecting the height and width */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
position: absolute;
bottom: 0;
right: 0;
z-index: 10;
&:before {
/* background-color */
content: "";
width: 100%;
height: 100%;
background: #1a1a1a;
opacity: 0.8;
position: absolute;
display: block;
top: 0;
left: 0;
z-index: -1;
transition:
background-color 0.3s,
opacity 0.3s;
}
}
.cs-date {
font-size: calc(16 / 16 * 1rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 calc(20 / 16 * 1rem) 0;
color: #bababa;
display: flex;
justify-content: flex-start;
align-items: center;
gap: calc(8 / 16 * 1rem);
transition: color 0.3s;
}
.cs-icon {
width: calc(20 / 16 * 1rem);
height: auto;
transition: filter 0.3s;
}
.cs-h3 {
font-size: calc(20 / 16 * 1rem);
line-height: 1.2em;
font-weight: 700;
margin: 0 0 calc(12 / 16 * 1rem) 0;
color: #fff;
display: block;
}
.cs-desc {
font-size: calc(16 / 16 * 1rem);
line-height: 1.5em;
margin: 0 0 calc(20 / 16 * 1rem) 0;
color: #f7f7f7;
display: block;
}
.cs-link {
font-size: calc(16 / 16 * 1rem);
line-height: 1.2em;
font-weight: 700;
text-decoration: none;
width: auto;
margin: 0;
color: var(--primary);
display: inline-block;
position: relative;
transition: color 0.3s;
&:hover {
color: #fff;
}
&:before {
/* underline */
content: "";
width: 100%;
height: 1px;
background: currentColor;
opacity: 1;
position: absolute;
display: block;
bottom: 0;
left: 0;
transition: background-color 0.3s;
}
}
}
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
#blog-986 {
.cs-content {
text-align: left;
flex-direction: row;
justify-content: space-between;
align-items: flex-end;
gap: calc(48 / 16 * 1rem);
}
.cs-title {
margin: 0;
}
.cs-picture {
/* remove the aspect ratio so the height can be squished */
aspect-ratio: initial;
}
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
#blog-986 {
.cs-container {
max-width: calc(1280 / 16 * 1rem);
}
.cs-card-group {
flex-direction: row;
}
}
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
body.dark-mode {
#blog-986 {
background-color: rgba(0, 0, 0, 0.6);
}
}
}
xxxxxxxxxx
: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);
}
xxxxxxxxxx
: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);
}
xxxxxxxxxx
: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);
}