/* PAGE-SPECIFIC STYLES FOR THE PROJECTS PAGE */
/*-- -------------------------- -->
<---           Title            -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
  #services-690 {
      padding: var(--sectionPadding);
      margin-top: -6rem;
      background-color: var(--backgroundOne);
      position: relative;
      z-index: 1;
  }
  #services-690 .cs-container {
      width: 100%;
      /* changes to 1280px at tablet */
      max-width: 80rem;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
      
  } 
  #services-690 .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;
      gap: 2rem;
  }
  #services-690 .cs-flex-group {
      /* prevents flexbox from squishing it */
      flex: none;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  #services-690 .cs-title{
    max-width: 20ch;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }
  #services-690 .cs-color {
      color: var(--primary);
  }
  #services-690:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: url("/assets/svgs/chevron-pattern-light3.svg");
    background-position: center;
    background-size: auto;
    background-repeat: repeat;
    opacity: 0.3;
    top: 0;
    left: 0;
    z-index: -1;
}
#services-690 .cs-stat-group {
    width: 100%;
    margin: auto;
    padding: 0;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(6, 1fr);
}
#services-690 .cs-stat {
    list-style: none;
    margin: 0;
    /* 16px - 40px */
    padding: clamp(1rem, 3vw, 2.5rem) 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    grid-column: span 2;
    /* border code */
    /* remove the border on the far-right elements */
    /* makes the last two items span across multiple columns. changes at desktop to one line */
}
#services-690 .cs-stat:first-of-type{
  margin-top: -1.3rem;
}
#services-690 .cs-stat:last-of-type{
  margin-top: 0.9em;
}
#services-690 .cs-stat:before {
    content: "";
    width: 2px;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(72, 72, 72, 0) 0%,
        #484848 50%,
        rgba(72, 72, 72, 0) 100%
    );
    position: absolute;
    top: 0;
    right: 0;
}
#services-690 .cs-stat:nth-of-type(3):before,
#services-690 .cs-stat:nth-of-type(5):before {
    content: none;
}
#services-690 .cs-stat:nth-of-type(4),
#services-690 .cs-stat:nth-of-type(5) {
    grid-column: span 3;
}
#services-690 .cs-desc {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: center;
    /* keeps the width of the stat description from overflowing onto the border */
    /* 88px - 176px */
    width: clamp(5.5rem, 20vw, 11rem);
    margin-bottom: 0.5rem;
    color: #858585;
    display: block;
}
#services-690 .cs-number {
    /* 25px - 49px */
    font-size: clamp(1.5625rem, 3vw, 3.0625rem);
    line-height: 1.2em;
    font-weight: 900;
    margin: 0;
    color: var(--headerColor);
    display: block;
}
}
@media only screen and (min-width: 48rem) {
  #services-690 .cs-container {
      max-width: 80rem;
      flex-direction: row;
      flex-wrap: wrap;
  }
  #services-690 .cs-content {
      flex-direction: column;
      justify-content: center;
      align-items: left;
      gap: 3rem;
  }
  #services-690 .cs-flex-group {
      width: 50%;
  }
  #services-690 .cs-title{
    max-width: 20ch;
    font-size: clamp(2.5rem, 2.5vw, 2.8rem);
  }
  #services-690 .cs-card-group {
      /* pushes down the same amount the 2nd cards are translated down to maintain the even spacing at the bottom of the cs-card-group */
      margin-bottom: 2.5rem;
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
      column-gap: 1.25rem;
  }
  #services-690 .cs-stat-group {
    flex-direction: row;
    flex-wrap: wrap;
}
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #services-690 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #services-690 .cs-content {
    flex-direction: row;
    align-items: center;
  }
  #services-690 .cs-flex-group {
    width: 30%;
  }
  #services-690 .cs-title,
  #services-690 .cs-text {
    max-width: none;
  }
  #services-690 .cs-stat-group {
    max-width: 80rem;
    grid-template-columns: repeat(3, 1fr);
  }
  #services-690 .cs-stat {
    grid-column: span 1;
  }
  #services-690 .cs-stat:nth-of-type(4),
  #services-690 .cs-stat:nth-of-type(5) {
    grid-column: span 1;
  }
  #services-690 .cs-stat:nth-of-type(3):before {
    content: "";
  }
}
@media only screen and (min-width: 81.25rem) {
  #services-690 .cs-flex-group {
    width: 45%;
  }
}

/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #services-690 .cs-topper {
      color: var(--primaryLight);
  }
  body.dark-mode #services-690 .cs-title {
      color: var(--bodyTextColorWhite);
  }
  body.dark-mode #services-690 {
    background-color: var(--medium);
}
}
@media only screen and (min-width: 0rem) {
  body.dark-mode #services-690:before {
      opacity: 0.4;
      filter: grayscale(1) brightness(1000%);
  }
  body.dark-mode #services-690 .cs-topper {
      color: var(--primaryLight);
  }
  body.dark-mode #services-690 .cs-title,
  body.dark-mode #services-690 .cs-text,
  body.dark-mode #services-690 .cs-h3,
  body.dark-mode #services-690 .cs-number,
  body.dark-mode #services-690 .cs-desc {
      color: var(--bodyTextColorWhite);
  }
  body.dark-mode #services-690 .cs-text,
  body.dark-mode #services-690 .cs-desc {
      opacity: 0.8;
  }
  body.dark-mode #services-690 .cs-icon {
      filter: grayscale(1) brightness(1000%);
  }
  body.dark-mode #services-690 .cs-item {
      background-color: var(--medium);
      border-color: rgba(255, 255, 255, 0.2);
  }
  body.dark-mode #services-690 .cs-icon {
      opacity: 0.5;
  }
}  
/*-- -------------------------- -->
<---          Gallery2           -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
  #gallery-45 {
      padding: var(--sectionPadding);
      position: relative;
      /* Prevents overflow from the image going off screen */
      overflow: hidden;
  }
  #gallery-45 .cs-container {
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-45 .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;
  }
  #gallery-45 .cs-title{
      font-size: clamp(0.5em,3vw,1.4em);
  }
  #gallery-45 .cs-image-group {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 16px - 20px */
      gap: clamp(1rem, 1.5vw, 1.25rem);
  }
  #gallery-45 .cs-item {
      list-style: none;
      width: 100%;
      height: 100%;
      aspect-ratio: 1;
      margin: 0;
      position: relative;
      display: block;
  }
  #gallery-45 .cs-item:hover .cs-hover-box {
      opacity: 1;
  }
  #gallery-45 .cs-item:hover .cs-icon {
      /* return to original position */
      transform: rotateY(0);
  }
  #gallery-45 .cs-item:hover .cs-h3 {
      opacity: 1;
      /* Return to original position */
      transform: translateY(0);
  }
  #gallery-45 .cs-item:hover .cs-hover-box-text {
      opacity: 1;
      /* Return to original position */
      transform: translateY(0);
  }
  #gallery-45 .cs-picture {
      margin: auto;
      width: 100%;
      height: 100%;
      display: block;
      position: relative;
  }
  #gallery-45 .cs-picture img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
  }
  #gallery-45 .cs-button-solid {
      font-size: 1rem;
      /* 46px - 56px */
      line-height: clamp(2.875rem, 5.5vw, 3.5rem);
      text-decoration: none;
      font-weight: 700;
      text-align: center;
      margin: 0;
      color: #fff;
      min-width: 9.375rem;
      padding: 0 1.5rem;
      background-color: var(--primary);
      border-radius: 0.25rem;
      display: inline-block;
      position: relative;
      z-index: 1;
      /* prevents padding from adding to the width */
      box-sizing: border-box;
  }
  #gallery-45 .cs-button-solid:before {
      content: "";
      position: absolute;
      height: 100%;
      width: 0%;
      background: #000;
      opacity: 1;
      top: 0;
      left: 0;
      z-index: -1;
      border-radius: 0.25rem;
      transition: width 0.3s;
  }
  #gallery-45 .cs-button-solid:hover:before {
      width: 100%;
  }
  #gallery-45 .project-btn {
    cursor: pointer;
  }
  #gallery-45 .hidden-content {
    position: fixed;
    top: -500%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: top 0.5s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #gallery-45 .hidden-content p:last-of-type{
    margin-bottom: 0.5rem;
    text-align: center;
  }
  #gallery-45 .cs-info{
    width: 50%;
    max-width: 19.0625rem;
    padding: 6.25em 2.5em;
    background-color: var(--primary);
    border-radius: 14rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  #gallery-45 .cs-info-text{
    /* 14px - 20px */
    font-size: clamp(0.875rem, 3.5vw, 1.25rem);
    font-weight: 600;
    line-height: 1.6em;
    text-align: center;
    max-width: 13.9375em;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }
  #gallery-45 .cs-bold,
  #gallery-45 .cs-bold-header{
    /* 16px - 24x */
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 600;
    line-height: 1.2em;
    margin: 0 0 0.25rem;
    color: var(--headerColor);
    display: block;
  }
  #gallery-45 .cs-bold-header{
    font-size: 1rem;
  }
  #gallery-45 .bottom-left {
    width: 80%;
    max-width: 20rem;
    height: 15%;
    padding: 5.5em 1.5em;
    background-color: var(--primary);
    border-radius: 89% 11% 89% 11% / 11% 89% 11% 89%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    flex-direction: column;
    left: 0;
    right: 0; 
    bottom: -8rem;
    z-index: 1;
    margin:auto;
  }
  #gallery-45 .cs-text{
    position: relative;
    text-align: center;
    color: white;
    max-width: 80%;
  }
  #gallery-45 .visible {
    top: 0;
    background-color: var(--backgroundOne);
  }
  #gallery-45 .visible img {
    height: fit-content(20rem);
    width: fit-content(40rem);
    max-width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 30%;
    border: 6px solid var(--primary);
    z-index: 2;
  }
  
  #gallery-45 .hidden-content button {
    margin-top: 20px;
  }
  #gallery-45 .close-btn {
    position: absolute;
    margin-top: 2rem;
    top: 2rem;
    right: 2rem;
    width: 2rem;
    height: 2rem;
    opacity: 1;
    background-color: #fff;
  }
  #gallery-45 .close-btn:hover {
    opacity: 0.7;
    background-color: var(--primary);
  }
  #gallery-45 .close-btn:before,
  #gallery-45 .close-btn:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #000;
  }
  #gallery-45 .close-btn:before {
    transform: rotate(45deg);
  }
  #gallery-45 .close-btn:after {
    transform: rotate(-45deg);
  }
}
@media only screen and (min-width: 37.5rem) {
  #gallery-45 .cs-image-group {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      grid-template-rows: 1fr;
  }
  #gallery-45 .cs-item {
      grid-column: span 3;
  }
  #gallery-45 .cs-text{
    max-width: 80%;
  }
  #gallery-45 .visible img {
    height: fit-content(20rem);
    width: fit-content(40rem);
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    border-radius: 30%;
    border: 8px solid var(--primary);
    z-index: 2;
  }
  #gallery-45 .bottom-left {
    width: 80%;
    max-width: 20rem;
    height: 15%;
    padding: 7.25em 1.5em;
    bottom: -10rem;
  }
  #gallery-45 .cs-bold,
  #gallery-45 .cs-bold-header{
    /* 16px - 24x */
    font-size: clamp(0.8rem, 2vw, 1.1rem);
  }
  #gallery-45 .cs-bold-header{
    font-size: 1.2rem;
  }
}
@media only screen and (min-width: 48rem) {
  #gallery-45 .cs-image-group {
    grid-template-columns: repeat(6, 1fr);
  }
  #gallery-45 .cs-item {
    grid-column: span 2;
  }
  #gallery-45 .close-btn {
    top: 3rem;
    right: 3rem;
  }
  #gallery-45 .cs-bold,
  #gallery-45 .cs-bold-header{
    /* 16px - 24x */
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
  #gallery-45 .cs-bold-header{
    font-size: 1.5rem;
  }
}
@media only screen and (min-width: 64rem){
  #gallery-45 .cs-image-group {
    grid-template-columns: repeat(8, 1fr);
}
  #gallery-45 .close-btn {
    top: 4rem;
    right: 5rem;
  }
  #gallery-45 .bottom-left {
    width: 70%;
    max-width: 30rem;
    bottom: -6rem;
  }
  #gallery-45 .cs-bold,
  #gallery-45 .cs-bold-header{
    /* 16px - 24x */
    font-size: clamp(1.1rem, 2vw, 1.3rem);
  }
  #gallery-45 .cs-bold-header{
    font-size: 1.7rem;
  }
}
@media only screen and (min-width: 110rem){
  #gallery-45 .cs-text{
    max-width: 70%;
  }
}
@media only screen and (min-width: 135rem){
  #gallery-45 .cs-text{
    max-width: 60%;
  }
}
  

@media only screen and (min-width: 0rem) {
  body.dark-mode #gallery-45 .visible {
    background-color: var(--dark);
  }
  body.dark-mode #gallery-45 .cs-title {
      color: var(--bodyTextColorWhite);
  }
}
/*# sourceMappingURL=projects.css.map */
