/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero {
    padding: 0;
    background-color: var(--two);
    height: 100vh;
    /* Animation keyframes */
  }
  #hero .cs-container {
    width: 100%;
    height: 100%;
    /* changes to 100% at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 36px - 100px */
    gap: clamp(2.25rem, 10vw, 6.25rem);
  }
  #hero #revealBtn {
    white-space: nowrap;
    z-index: 24;
    position: relative;
    display: inline-block;
    background-color: rgba(255, 254, 252, 0.6);
    width: auto;
    padding: 1.875rem;
    border-radius: 50%;
    text-align: center;
    overflow: visible;
    bottom: 5%;
    display: none;
  }
  #hero #revealBtn img {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #hero .cs-content {
    max-width: 39.375rem;
    padding-right: 1rem;
    padding-left: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.3s;
  }
  #hero .cs-title {
    /* 31px - 61px */
    font-size: clamp(1.9375rem, 4.4vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: left;
    max-width: 43.75rem;
    /* 12px - 24px */
    margin: 0 0 clamp(0.75rem, 1.5vw, 1.5rem);
    color: var(--headerColor);
    position: relative;
  }
  #hero .cs-button-solid {
    display: none;
  }
  #hero .cs-color {
    color: var(--primary);
    display: block;
  }
  #hero .cs-text {
    display: none;
  }
  #hero .cs-stat-group {
    display: none;
  }
  #hero .cs-floater {
    width: 7%;
    max-width: 2.9375rem;
    height: auto;
    display: none;
    position: absolute;
    left: 0%;
    top: 53%;
    margin-left: 1rem;
    transform: rotate(-30.05deg);
  }
  #hero svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
  }
  #hero svg path {
    fill: none;
    stroke: #e98a16;
    /* or your signature color */
    stroke-width: 2;
    stroke-dasharray: 1000;
    /* overridden below */
    stroke-dashoffset: 1000;
    /* overridden below */
    animation: draw 2s forwards ease;
  }
  #hero svg path:nth-of-type(3) {
    stroke-dasharray: 739.242;
    stroke-dashoffset: 739.242;
    animation-delay: 0s;
    animation-duration: 1s;
  }
  #hero svg path:nth-of-type(2) {
    stroke-dasharray: 816.153;
    stroke-dashoffset: 816.153;
    animation-delay: 0s;
    animation-duration: 1s;
  }
  #hero svg path:nth-of-type(6) {
    stroke-dasharray: 32.524;
    stroke-dashoffset: 32.524;
    animation-delay: 0s;
    animation-duration: 1s;
  }
  #hero svg path:nth-of-type(4) {
    stroke-dasharray: 486.154;
    stroke-dashoffset: 486.154;
    animation-delay: 0s;
    animation-duration: 1s;
  }
  #hero svg path:nth-of-type(1) {
    stroke-dasharray: 1692.032;
    stroke-dashoffset: 1692.032;
    animation-delay: 1s;
    animation-duration: 1s;
  }
  #hero svg path:nth-of-type(5) {
    stroke-dasharray: 106.675;
    stroke-dashoffset: 106.675;
    animation-delay: 1s;
    animation-duration: 0.4s;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
      fill: #e98a16;
    }
  }
  #hero.loaded .cs-container::before {
    z-index: 3;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 228, 199, 0.3);
  }
  #hero.loaded #revealBtn {
    display: inline-block;
  }
  #hero.loaded .cs-content {
    display: none;
    position: absolute;
    z-index: 4;
    top: 20%;
  }
  #hero.loaded .cs-image-group {
    display: none;
  }
  #hero.loaded .cs-stat-group {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: nowrap;
    z-index: 1;
  }
  #hero.loaded .cs-background {
    width: 100%;
    object-fit: cover;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
  }
  #hero.loaded .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #hero {
    background-color: var(--background);
    padding: var(--sectionPadding);
    /* 112px - 200px */
    padding-top: clamp(7rem, 15vw, 12.5rem);
    padding-right: 0;
  }
  #hero svg {
    margin-bottom: 2rem;
  }
  #hero .cs-image-group {
    width: 100%;
    max-width: 28.875rem;
    /* pushes down by the same amount the images overlap the image group */
    margin: 0 0 2.5rem;
    display: flex;
    /* separate children to opposite sides of the room */
    justify-content: center;
    align-content: space-between;
    flex-wrap: wrap;
    gap: clamp(0.2rem, 1vw, 0.7rem);
    position: relative;
    /* 318px - 542px */
    width: clamp(19.875rem, 46.9vw, 33.875rem);
    /* prevents flexbox from squishing it */
    flex: none;
    /* sends it to the right in the 2nd position */
    order: 2;
  }
  #hero .cs-button-solid {
    display: inline-block;
  }
  #hero .cs-picture {
    width: 48%;
    /* 218px - 264px */
    min-height: clamp(6.625rem, 12vw, 8.5rem);
    aspect-ratio: 140/218;
    position: relative;
    display: block;
    width: 45.8%;
  }
  #hero .cs-picture img,
  #hero .cs-picture video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes image act as a background image to the picture element */
    object-fit: cover;
  }
  #hero .cs-picture.two,
  #hero .cs-picture.six,
  #hero .cs-picture.four {
    transform: translateY(3.5rem);
  }
  #hero .cs-container {
    padding-left: 1rem;
    width: 100%;
    /* changes to 100% at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    align-items: center;
    /* 36px - 100px */
    gap: clamp(2.25rem, 10vw, 6.25rem);
    max-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }
  #hero .cs-content {
    max-width: 39.375rem;
    padding-right: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }
  #hero .cs-title {
    /* 31px - 61px */
    font-size: clamp(1.9375rem, 4.4vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: left;
    max-width: 43.75rem;
    /* 12px - 24px */
    margin: 0 0 clamp(0.75rem, 1.5vw, 1.5rem);
    color: var(--headerColor);
    position: relative;
  }
  #hero .cs-color {
    color: var(--primary);
    display: block;
  }
  #hero .cs-text {
    display: block;
    /* 16px - 25px */
    font-size: 1.25rem;
    line-height: 1.5em;
    text-align: left;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
    /* 24px - 40px */
    margin-top: clamp(0.7rem, 2.1vw, 1.5rem);
    margin-bottom: clamp(0.7rem, 2.1vw, 1.5rem);
    color: var(--bodyTextColor);
  }
  #hero .cs-stat-group {
    width: 100%;
    aspect-ratio: 330/356;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: nowrap;
    position: absolute;
    top: 20%;
    right: 0;
    z-index: 1;
  }
  #hero .cs-background {
    display: none;
  }
  #hero .cs-content {
    width: 45%;
    padding: 0;
  }
  #hero .cs-stat-group {
    width: 45%;
    max-height: 46.0625rem;
    aspect-ratio: 315/340;
    flex: none;
  }
}
/* Larger desktop - 1300px  */
@media only screen and (min-width: 81rem) {
  #hero .cs-floater {
    display: block;
  }
}
/*-- -------------------------- -->
<---          Mini Hero(mobile) -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  .mini-hero {
    padding: var(--sectionPadding);
    padding-top: 8rem;
    position: relative;
    background-color: var(--background);
  }
  .mini-hero .cs-container {
    width: 100%;
    height: 100%;
    /* changes to 100% at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 36px - 100px */
    gap: clamp(2.25rem, 10vw, 6.25rem);
  }
  .mini-hero .cs-text {
    text-align: center;
  }
  .mini-hero .mini-floater {
    width: 8.75rem;
    height: auto;
    display: block;
    position: absolute;
    left: 1%;
    top: 0%;
  }
  .mini-hero .mini-floater2 {
    width: 8.75rem;
    height: auto;
    display: block;
    position: absolute;
    right: 1%;
    bottom: 0%;
  }
  .mini-hero .cs-button-solid {
    box-shadow: 0px 4px 4px 0px rgba(29, 70, 107, 0.25), inset 0px 4px 4px 0px rgba(255, 255, 255, 0.5);
    background-color: var(--four);
    color: var(--bodyTextColorWhite);
  }
  .mini-hero .cs-button-solid::before {
    display: none;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  .mini-hero {
    display: none;
  }
}
/*-- -------------------------- -->
<---       Meet The Team        -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #portfolio-demo {
    position: relative;
    padding: var(--sectionPadding);
    overflow: hidden;
  }
  #portfolio-demo .cs-floater {
    width: 7%;
    max-width: 1.0625rem;
    height: auto;
    display: none;
    position: absolute;
    left: 5%;
    bottom: 10%;
    transform: rotate(25.05deg);
  }
  #portfolio-demo .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #portfolio-demo .cs-title {
    max-width: 62.5rem;
    color: var(--three);
  }
  #portfolio-demo .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    max-width: 62.5rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #portfolio-demo .cs-color {
    color: var(--primary);
  }
  #portfolio-demo .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.3vw, 1.25rem);
    position: relative;
    transition: all 0.7s;
  }
  #portfolio-demo .cs-item {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    transition: all 0.7s;
  }
  #portfolio-demo .cs-item:hover {
    cursor: pointer;
  }
  #portfolio-demo .cs-item:hover .cs-picture:before,
  #portfolio-demo .cs-item:hover .cs-picture:after {
    opacity: 1;
  }
  #portfolio-demo .cs-item:hover .cs-picture img {
    transform: scale(1.05);
  }
  #portfolio-demo .cs-item .link {
    width: 100%;
    height: 100%;
  }
  #portfolio-demo .cs-picture {
    width: 100%;
    height: auto;
    /* removed at tablet */
    aspect-ratio: 0.80589681;
    /* clips img tag from overflowing it on hover */
    display: block;
    position: relative;
    z-index: 1;
  }
  #portfolio-demo .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: all 0.7s;
  }
  #portfolio-demo .cs-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    z-index: 10;
  }
  #portfolio-demo .cs-name {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #f6e5db;
    display: block;
  }
  #portfolio-demo .cs-job {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    margin-right: 0;
    color: #f7f7f7;
    display: block;
  }
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
  #portfolio-demo .cs-card-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
  }
  #portfolio-demo .cs-card-group:has(.cs-item:hover) .cs-item {
    filter: blur(2px);
    transform: scale(0.95);
    transition: transform 0.7s ease, filter 0.7s ease;
  }
  #portfolio-demo .cs-card-group:has(.cs-item:hover) .cs-item:hover {
    filter: none;
    transform: scale(1.05);
    z-index: 1;
  }
  #portfolio-demo .cs-item {
    width: 48.3%;
  }
  #portfolio-demo .cs-picture {
    height: 25.4375rem;
    /* remove the aspect ratio so the height can be squished */
    aspect-ratio: initial;
  }
}
@media only screen and (min-width: 48rem) {
  #portfolio-demo {
    padding-top: 18rem;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #portfolio-demo .cs-floater {
    display: block;
  }
  #portfolio-demo .cs-card-group {
    justify-content: center;
  }
  #portfolio-demo .cs-item {
    width: 22.7vw;
    max-width: 19.0625rem;
  }
}
@media only screen and (min-width: 81rem) {
  #portfolio-demo {
    padding-top: 15rem;
  }
}
/*-- -------------------------- -->
<---          Content           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-1450 {
    padding: var(--sectionPadding);
    position: relative;
  }
  #content-1450 .cs-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #content-1450 .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;
  }
  #content-1450 .swiper {
    width: 100%;
    height: 100%;
  }
  #content-1450 .pagination-div {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  #content-1450 .swiper-pagination {
    bottom: unset;
    top: unset;
    left: unset;
    right: unset;
    position: relative;
    width: unset;
  }
  #content-1450 .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
  }
  #content-1450 .swiper-pagination-bullet-active {
    background: #000;
  }
  #content-1450 .left-button,
  #content-1450 .right-button {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--background);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #content-1450 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  #content-1450 .cs-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #content-1450 .cs-topper {
    color: var(--three);
  }
  #content-1450 .cs-title {
    font-size: 2rem;
    color: var(--three);
  }
  #content-1450 .cs-title,
  #content-1450 .cs-text {
    max-width: 100%;
  }
  #content-1450 .cs-text {
    /* 16px - 20px */
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0 0 2rem 0;
    text-align: left;
  }
  #content-1450 .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 3rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    overflow: hidden;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }
  #content-1450 .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;
  }
  #content-1450 .cs-button-solid:hover:before {
    width: 100%;
  }
}
@media only screen and (min-width: 48rem) {
  #content-1450 .cs-text {
    max-width: 61.25rem;
  }
  #content-1450 .cs-text#touro {
    max-width: 40.625rem;
  }
}
