/*-- -------------------------- -->
<---            Home            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #home {
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #home .cs-container {
    padding-top: clamp(2.5rem, 5vw, 3.125rem);
    padding-bottom: clamp(5rem, 10vw, 6.25rem);
    height: auto;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    align-items: center;
    background-image: url("/assets/images/claude_monet-obelisk-art-history.webp");
  }
  #home .cs-container .cs-content-title {
    width: 20rem;
    margin: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background-color: rgba(255,255,255,0.7);
    align-items: center;
    text-align: center;
  }
  #home .cs-content-title {
    /* 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;
    position: relative;
    z-index: 1;
  }
  #home .cs-container .cs-content-names {
    width: 100%;
    margin: 5rem;
    padding: 2rem;
    max-width: 60rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background-color: rgba(255,255,255,0.7);
  }
  #home .cs-content-names {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: left;
    position: relative;
    z-index: 1;
  }
  #home .cs-container .cs-content-email {
    width: 15rem;
    margin: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background-color: rgba(255,255,255,0.7);
    text-align: center;
  }
  #home .cs-content-email {
    /* 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;
    position: relative;
    z-index: 1;
  }
  #home .person {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 45vw;
    margin-bottom: 1.25rem;
  }
  #home .cs-flex {
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #home .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.438rem, 5vw, 3.813rem);
  }
  #home .cs-text {
    margin-bottom: 1.25rem;
  }
  #home .cs-name {
  }
  #home .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;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    /* 32px - 48px */
    padding: 0 clamp(2rem, 4vw, 3rem);
    background-color: var(--primary);
    color: var(--bodyTextColorWhite);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    transition: background-color 0.3s;
  }
  #home .cs-button-solid:hover {
    background-color: #000;
    color: #fff;
  }
  #home .cs-picture {
    width: 100%;
    /* 280px - 510px */
    height: clamp(17.5rem, 58.6vw, 31.875rem);
    /* 16px - 20px */
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    display: block;
    position: relative;
  }
  #home .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.5rem;
    position: absolute;
  }
  #home .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2vw, 1.25rem);
  }
  #home .cs-item {
    text-align: center;
    list-style: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    /* 24px - 32px */
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: #F7F7F7;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: span 12;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s;
  }
  #home .cs-item:hover {
    border-color: var(--primary);
  }
  #home .cs-item:hover .cs-h3 {
    color: var(--primary);
  }
  #home .cs-item:hover .cs-icon {
    transform: rotateY(360deg);
  }
  #home .cs-icon-picture {
    margin-bottom: 1.25rem;
    perspective: 700px;
    transform-style: preserve-3d;
  }
  #home .cs-icon {
    margin-left: 1rem;
    width: 1rem;
    height: auto;
    display: block;
    transition: transform 0.5s;
  }
  #home .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    margin-bottom: 0.75rem;
    color: var(--headerColor);
    transition: color 0.3s;
  }
  #home .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #home .cs-container .cs-content-title .cs-link {
    /* 16px - 20px */
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.2em;
    text-decoration: none;  
    margin-bottom: 1.25rem;
    color: var(--bodyTextColor);
    display: block;
    position: relative;
  }
  #home .cs-container .cs-content-title .cs-link:before {
    /* Animated underline */
    content: '';
    width: 0%;
    height: 2px;
    /* current color of the parent */
    background: currentColor;
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.125rem;
    left: 0;
    transition: width .3s;
  }
  #home .cs-container .cs-content-title .cs-link:hover:before {
    width: 100%;
  }
  #home .cs-container .cs-content-title .cs-link:last-of-type {
    margin-bottom: 0;
  }
  #home .cs-container .cs-content-email .cs-link {
    /* 16px - 20px */
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.2em;
    text-decoration: none;  
    margin-bottom: 1.25rem;
    color: var(--bodyTextColor);
    display: block;
    position: relative;
  }
  #home .cs-container .cs-content-email .cs-link:before {
    /* Animated underline */
    content: '';
    width: 0%;
    height: 2px;
    /* current color of the parent */
    background: currentColor;
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.125rem;
    left: 0;
    transition: width .3s;
  }
  #home .cs-container .cs-content-email .cs-link:hover:before {
    width: 100%;
  }
  #home .cs-container .cs-content-email .cs-link:last-of-type {
    margin-bottom: 0;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #home .cs-text {
    font-size: 1.25rem;
  }
  #home .cs-name {
    font-size: 1.25rem;
  }
  #home .cs-item {
    text-align: left;
    margin: 0;
    align-items: flex-start;
    grid-column: span 6;
  }
  #home .person {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 25vw;
    margin-bottom: 1.25rem;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #home .cs-container {
    height: auto
  }
  #home .cs-content-title{
    display: flex;
    flex-direction: column;
  }
  #home .cs-title {
    max-width: 46.875rem;
  }
  #home .cs-item {
    grid-column: span 3;
  }
  #home .person {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 25vw;
    margin-bottom: 1.25rem;
  }
}
/* Large Desktop 1300px */
@media only screen and (min-width: 81.25rem) {
  #home .cs-container {
    height: auto
  }
  #home .cs-title {
    margin: 0;
  }
  #home .cs-container {
    flex-direction: column;
  }
  #home .cs-content-title{
    text-align: left;
    max-width: 80rem;
    gap: 1.25rem;
    flex-direction: row;
    align-items: flex-start;
  }
  #home .cs-flex {
    width: 50%;
    max-width: 39.375rem;
  }
  #home .person {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 11vw;
    margin-bottom: 1.25rem;
  }
}

/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services {
      padding: var(--sectionPadding);
  }
  #services .cs-container {
      max-width: 80rem;
      width: 100%;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
  }
  #services .cs-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  #services .cs-card-group {
      /* changes to 1280px at desktop */
      max-width: 56.25rem;
      width: 100%;
      margin: 0;
      padding: 0;
      display: grid;
      justify-content: center;
      gap: 1rem;
  }
  #services .cs-item {
      list-style: none;
      max-width: 23rem;
      width: 100%;
      margin: 0;
      box-sizing: border-box;
      padding: 1rem;
      border: 1px solid #e8e8e8;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: left;
  }
  #services .cs-picture {
      width: 5rem;
      height: 5rem;
      margin-bottom: 1.25rem;
      box-sizing: border-box;
      /* prevents border from affecting height and width */
      background-color: #f7f7f7;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      /* prevents flexbox from squishing it */
      flex: none;
  }
  #services .cs-icon {
      width: 1.875rem;
      height: auto;
      display: block;
  }
  #services .cs-h3 {
      font-size: 1.25rem;
      line-height: 1.5em;
      margin: 0;
      margin-bottom: 0.5rem;
      color: var(--headerColor);
      text-align: center;
  }
  #services .cs-item-text {
      /* 14px - 16px */
      font-size: clamp(0.875rem, 1.5vw, 1rem);
      line-height: 1.5em;
      margin: 0;
      color: var(--bodyTextColor);
      text-align: center;
  }
  #services .cs-button-solid {
      font-size: 1rem;
      /* 46px - 56px */
      line-height: clamp(2.875rem, 5.5vw, 3.5rem);
      font-weight: 700;
      min-width: 9.375rem;
      margin: 0;
      /* prevents padding from adding to the width */
      box-sizing: border-box;
      padding: 0 1.5rem;
      color: #fff;
      background-color: var(--primary);
      text-decoration: none;
      display: inline-block;
      position: relative;
      z-index: 1;
      text-align: center;
  }
  #services .cs-button-solid:before {
      content: "";
      width: 0%;
      height: 100%;
      background: #000;
      opacity: 1;
      border-radius: 0.25rem;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
      transition: width 0.3s;
  }
  #services .cs-button-solid:hover:before {
      width: 100%;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services .cs-card-group {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
  }
  #services .cs-item {
      margin: 0;
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #services .cs-card-group {
      max-width: 80rem;
  }
  #services .cs-item {
      max-width: none;
      padding: 2rem 1.5rem;
  }
}

/*-- -------------------------- -->
<---            Team            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #team {
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #team .cs-container {
    padding-top: clamp(2.5rem, 5vw, 3.125rem);
    padding-bottom: clamp(5rem, 10vw, 6.25rem);
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    align-items: center;
  }
  #team .cs-container .cs-content-title {
    width: 20vw;
    margin: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background-color: rgba(255,255,255,0.7);
    text-align: center;
  }
  #team .cs-content-title {
    /* 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;
    position: relative;
    z-index: 1;
  }
  #team .cs-container .cs-content-names {
    width: 100%;
    margin: 5rem;
    padding: 2rem;
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background-color: rgba(255,255,255,0.7);
  }
  #team .cs-content-names {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #team .cs-flex {
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #team .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.438rem, 5vw, 3.813rem);
  }
  #team .cs-text {
    margin-bottom: 1.25rem;
  }
  #team .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;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    /* 32px - 48px */
    padding: 0 clamp(2rem, 4vw, 3rem);
    background-color: var(--primary);
    color: var(--bodyTextColorWhite);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    transition: background-color 0.3s;
  }
  #team .cs-button-solid:hover {
    background-color: #000;
    color: #fff;
  }
  #team .cs-picture {
    width: 100%;
    /* 280px - 510px */
    height: clamp(17.5rem, 58.6vw, 31.875rem);
    /* 16px - 20px */
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    display: block;
    position: relative;
  }
  #team .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.5rem;
    position: absolute;
  }
  #team .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2vw, 1.25rem);
  }
  #team .cs-item {
    text-align: center;
    list-style: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    /* 24px - 32px */
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: #F7F7F7;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: span 12;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s;
  }
  #team .cs-item:hover {
    border-color: var(--primary);
  }
  #team .cs-item:hover .cs-h3 {
    color: var(--primary);
  }
  #team .cs-item:hover .cs-icon {
    transform: rotateY(360deg);
  }
  #team .cs-icon-picture {
    margin-bottom: 1.25rem;
    perspective: 700px;
    transform-style: preserve-3d;
  }
  #team .cs-icon {
    width: 2.5rem;
    height: auto;
    display: block;
    transition: transform 0.5s;
  }
  #team .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    margin-bottom: 0.75rem;
    color: var(--headerColor);
    transition: color 0.3s;
  }
  #team .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #team .cs-container .cs-content-title .cs-link {
    /* 16px - 20px */
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.2em;
    text-decoration: none;  
    margin-bottom: 1.25rem;
    color: var(--bodyTextColor);
    display: block;
    position: relative;
  }
  #team .cs-container .cs-content-title .cs-link:before {
    /* Animated underline */
    content: '';
    width: 0%;
    height: 2px;
    /* current color of the parent */
    background: currentColor;
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.125rem;
    left: 0;
    transition: width .3s;
  }
  #team .cs-container .cs-content-title .cs-link:hover:before {
    width: 100%;
  }
  #team .cs-container .cs-content-title .cs-link:last-of-type {
    margin-bottom: 0;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #team .cs-text {
    font-size: 1.25rem;
  }
  #team .cs-item {
    text-align: left;
    margin: 0;
    align-items: flex-start;
    grid-column: span 6;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #team .cs-content-title{
    display: flex;
    flex-direction: column;
  }
  #team .cs-title {
    max-width: 46.875rem;
  }
  #team .cs-item {
    grid-column: span 3;
  }
}
/* Large Desktop 1300px */
@media only screen and (min-width: 81.25rem) {
  #team .cs-title {
    margin: 0;
  }
  #team .cs-container {
    flex-direction: column;
  }
  #team .cs-content-title{
    text-align: left;
    max-width: 80rem;
    gap: 1.25rem;
    flex-direction: row;
    align-items: flex-start;
  }
  #team .cs-flex {
    width: 50%;
    max-width: 39.375rem;
  }
}