#cs-navigation {
  background-color: #fff;
}
/*-- -------------------------- -->
<---        Eventos          -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #eventos {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  #eventos .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  #eventos .cs-card-group {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2vw, 1.25rem);
    position: relative;
  }
  #eventos .cs-item {
    text-align: left;
    list-style: none;
    overflow: hidden;
    /* 16px - 24px, padding-bottom changes to 148px at tablet */
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    grid-column: span 12;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #eventos .cs-item span {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.875rem;
    color: var(--three);
    line-height: 2.25rem;
    font-family: "Tenor Sans", serif;
  }
  #eventos .cs-picture {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
  }
  #eventos .cs-picture img {
    max-height: 22.5rem;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  #eventos .cs-title {
    color: var(--four);
    max-width: unset;
    text-align: center;
    width: 100%;
  }
  #eventos .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.3vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 400;
    max-width: 16ch;
    margin: 0 0 1.5rem 0;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    color: var(--three);
    font-family: "Tenor Sans", serif;
  }
  #eventos .img-slider-div {
    margin-top: 1.0625rem;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    align-self: center;
  }
  #eventos .img-slider-div span {
    margin-top: 1rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: var(--three);
    font-family: "Tenor Sans", serif;
  }
  #eventos .img-slider-div .image-container {
    height: 400px;
    aspect-ratio: 1.5 / 1;
    display: flex;
    gap: 0.2rem;
    overflow: hidden;
  }
  #eventos .img-slider-div .image-container img {
    height: 100%;
    width: calc(100% / 8);
    object-fit: cover;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    /*cubic-bezier(0.32, 0, 0.67, 0) */
  }
  #eventos .img-slider-div .image-container img:hover {
    width: 40%;
  }
  #eventos .img-slider-div .image-container:has(.img:hover) .img:not(:hover) {
    filter: grayscale(100%);
  }
  #eventos .img-slider-div .cs-link {
    font-size: 1rem;
    text-decoration: none;
    text-align: inherit;
    line-height: 1.2em;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #eventos .img-slider-div .cs-link:hover:before {
    width: 100%;
  }
  #eventos .img-slider-div .cs-link:before {
    content: "";
    width: 0%;
    height: 1px;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.125rem;
    left: 0;
    transition: width 0.3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #eventos {
    padding-bottom: 0;
  }
  #eventos .cs-container {
    max-width: 80rem;
  }
  #eventos .cs-item {
    padding-bottom: 3rem;
    grid-column: span 4;
  }
  #eventos .img-slider-div .image-container {
    aspect-ratio: 1.5 / 0.6;
  }
}
/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #banner {
    /* 175px - 260px top */
    padding: clamp(20.9375rem, 22vw, 25.25rem) 1rem clamp(6.25rem, 14vw, 12vw);
    /* clips svg wave from causing overflow issues */
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #banner .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }
  #banner .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
  #banner .cs-wave {
    /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */
    width: 48rem;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    z-index: -1;
  }
  #banner .cs-wave2 {
    /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */
    width: 48rem;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
    z-index: -1;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #banner .cs-wave {
    width: 100%;
    left: 0;
    transform: none;
  }
  #banner .cs-wave2 {
    width: 100%;
    left: 0;
    transform: none;
  }
}
/*-- -------------------------- -->
<---          LIVROS           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #livros {
    padding: var(--sectionPadding);
  }
  #livros .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);
  }
  #livros .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;
  }
  #livros .cs-title {
    margin: 0;
    max-width: 24ch;
  }
  #livros .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* 16px - 20px */
    gap: clamp(1rem, 2vw, 1.25rem);
  }
  #livros .cs-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  #livros .cs-item:hover .icon-div .one {
    transform: rotate(20deg) translate(150px);
  }
  #livros .cs-item:hover .icon-div .two {
    transform: rotate(90deg) translatex(-90px);
  }
  #livros .cs-item:hover .icon-div .three {
    transform: rotate(80deg) translate(-100px, -100px);
  }
  #livros .cs-item:hover .icon-div .four {
    transform: rotate(-80deg) translate(-150px, -150px);
  }
  #livros .cs-item:hover .icon-div .five {
    transform: rotate(80deg) translate(200px, -100px);
  }
  #livros .cs-item:hover .icon-div .six {
    transform: rotate(0deg) translate(-100px, -150px);
  }
  #livros .cs-item:hover .icon-div .seven {
    transform: rotate(80deg) translate(-100px, -40px);
  }
  #livros .cs-item:hover .icon-div .eight {
    transform: rotate(10deg) translate(-200px, -40px);
  }
  #livros .cs-item:hover .icon-div .nine {
    transform: rotate(0deg) translate(-200px, 0px);
  }
  #livros .cs-item:hover .icon-div .ten {
    transform: rotate(20deg) translate(200px, -40px);
  }
  #livros .cs-item:hover .icon-div .eleven {
    transform: rotate(0deg) translate(-200px, 100px);
  }
  #livros .cs-picture {
    z-index: 2;
    width: 100%;
    /* 260px - 300px */
    min-height: clamp(16.25rem, 30vw, 18.75rem);
    aspect-ratio: 1.26153846;
    display: block;
    position: relative;
  }
  #livros .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
    /* pushes the top of the image to the top of the container */
    object-position: top;
  }
  #livros .cs-name {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.3vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 400;
    margin-top: 1.2rem;
    color: var(--three);
    font-family: "Tenor Sans", serif;
  }
  #livros .cs-desc {
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 400;
    /* 8px - 28px */
    margin: 0 0 clamp(0.5rem, 3.2vw, 1.75rem);
    color: var(--bodyTextColor);
    display: block;
  }
  #livros .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #livros .icon-div {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  #livros .icon-div img {
    width: 3rem;
    height: auto;
    transition: all 0.4s;
    position: absolute;
  }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
  #livros .cs-item {
    display: flex;
    flex-direction: column;
    grid-column: span 6;
  }
  #livros .cs-picture {
    max-width: 15rem;
    aspect-ratio: initial;
  }
  #livros .cs-flex {
    width: 65%;
    max-width: 24.375rem;
    flex: none;
    border-top: 1px solid #e8e8e8;
    border-left: none;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #livros .cs-container {
    max-width: 80rem;
  }
  #livros .cs-card-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
}
/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
  #ilustracoes {
    padding: var(--sectionPadding);
  }
  #ilustracoes .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #ilustracoes .cs-title {
    color: var(--four);
    max-width: unset;
    text-align: center;
    width: 100%;
  }
  #ilustracoes .cs-image-group {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 31vw);
    /* 16px - 20px */
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
  }
  #ilustracoes .cs-picture {
    display: block;
    position: relative;
  }
  #ilustracoes .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #ilustracoes .cs-picture-1 {
    grid-column: 1 / span 5;
    grid-row: span 1;
  }
  #ilustracoes .cs-picture-2 {
    grid-column: 7 / span 6;
    grid-row: span 1;
  }
  #ilustracoes .cs-picture-3 {
    grid-column: 1 / span 12;
    grid-row: 2 / span 2;
  }
  #ilustracoes .cs-picture-4 {
    grid-column: 1 / span 12;
    grid-row: 4 / span 2;
  }
  #ilustracoes .cs-picture-5 {
    grid-column: 1 / span 6;
    grid-row: 6 / span 1;
  }
  #ilustracoes .cs-picture-6 {
    grid-column: 7 / span 6;
    grid-row: 6 / span 1;
  }
  #ilustracoes .cs-picture-8 {
    display: none;
  }
}
/* Tablet */
@media only screen and (min-width: 48rem) {
  #ilustracoes .cs-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
  }
  #ilustracoes .cs-image-group {
    /* 116px - 210px */
    grid-template-rows: repeat(3, clamp(12.25rem, 26vw, 16.125rem));
  }
  #ilustracoes .cs-image-group .cs-picture-1 {
    grid-column: 1 / span 7;
    grid-row: 1 / span 1;
  }
  #ilustracoes .cs-image-group .cs-picture-2 {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
  }
  #ilustracoes .cs-image-group .cs-picture-3 {
    grid-column: 1 / span 4;
    grid-row: 2 / span 1;
  }
  #ilustracoes .cs-image-group .cs-picture-4 {
    grid-column: 5 / span 4;
    grid-row: 2 / span 1;
  }
  #ilustracoes .cs-image-group .cs-picture-5 {
    grid-column: 1 / span 5;
    grid-row: 3 / span 1;
  }
  #ilustracoes .cs-image-group .cs-picture-6 {
    grid-column: 6 / span 3;
    grid-row: 3 / span 1;
  }
  #ilustracoes .cs-image-group .cs-picture-7 {
    grid-column: 9 / span 4;
    grid-row: 3 / span 1;
  }
  #ilustracoes .cs-image-group .cs-picture-8 {
    display: block;
    grid-column: 1 / span 12;
    grid-row: 4 / span 2;
  }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile - 360px- Contains Hover State */
@media only screen and (min-width: 0rem) {
  #services-279 {
    padding: var(--sectionPadding);
    padding-top: 7rem;
    position: relative;
    z-index: 1;
  }
  #services-279 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(1.5rem, 3vw, 2rem);
  }
  #services-279 .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;
  }
  #services-279 .cs-title {
    color: var(--four);
  }
  #services-279 .cs-text {
    color: var(--bodyTextColorWhite);
  }
  #services-279 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    column-gap: 1.25rem;
    row-gap: 3.75rem;
  }
  #services-279 .cs-item {
    list-style: none;
    margin: 0;
    width: 80%;
    /* changes to 100% at tablet */
    max-width: 21.75rem;
  }
  #services-279 .cs-item:hover .cs-picture:before {
    height: 100%;
  }
  #services-279 .cs-item:hover .cs-picture img {
    transform: scale(1.1);
  }
  #services-279 .cs-picture {
    aspect-ratio: 348/433;
    position: relative;
    display: block;
    /* Keeps image from bleeding outside the picture element */
    overflow: hidden;
  }
  #services-279 .cs-picture:before {
    content: "";
    position: absolute;
    display: block;
    height: 0%;
    width: 100%;
    background: var(--primary);
    opacity: 0.8;
    top: 0;
    left: 0;
    z-index: 1;
    transition: height 0.3s;
  }
  #services-279 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act like a background image */
    object-fit: cover;
    transition: transform 0.7s;
  }
  #services-279 .cs-box {
    box-shadow: 1.25em 1.25em 2.5em 1.25em rgba(0, 0, 0, 0.05);
    /* Centers the button */
    text-align: center;
    width: 90%;
    margin: 0 auto;
    /* -32px to -48px */
    margin-top: calc(clamp(2rem, 7vw, 3rem)*-1);
    padding-top: 1.5rem;
    background: #fff;
    position: relative;
    z-index: 10;
  }
  #services-279 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    text-align: center;
    line-height: 1.2em;
    font-weight: 400;
    color: var(--three);
    margin: 0 0 1.125rem;
  }
  #services-279 .cs-button-transparent {
    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(--four);
    border: 1px solid 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;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
  }
  #services-279 .cs-button-solid {
    margin-top: 1rem;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-279 {
    padding: var(--sectionPadding);
    padding-top: 8rem;
  }
  #services-279:before {
    /* 450px - 580px */
    height: clamp(28.125rem, 45vw, 36.25rem);
  }
  #services-279 .cs-card-group {
    flex-direction: row;
    align-items: stretch;
  }
  #services-279 .cs-item {
    margin: 0;
    max-width: 100%;
  }
}
