/********************
 GENERAL
*********************/

html {
  --navbar-background: rgba(246, 235, 205, 0.8);
  --page-background: var(--cream-500);
  --footer-background: var(--orange);
  --footer-color: var(--cream);
  --logo-dark-background: var(--black);
  --logo-light-background: var(--cream-500);
}

#page__body {
  overflow: hidden;
}

/********************
 LANDING
*********************/

.menina-landing {
  position: relative;
}

.menina-landing .landing {
  z-index: 1;
}

.menina {
  z-index: 2;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 40px;
}

.menina > div {
  position: absolute;
  z-index: 2;
}

.menina > div > img {
  height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, transform 0.5s ease-in-out;
  transition-delay: 0.7s;
}

.anim-trigger.animate .menina > div > img {
  opacity: 1;
}

.menina > img:nth-child(1) {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.menina > div:nth-child(2) {
  bottom: calc(100% + 40px);
  left: 65%;
  height: 3rem;
}

.menina > div:nth-child(2) > img {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1s ease-in-out 0.5s;
  opacity: 1;
}

.anim-trigger.animate .menina > div:nth-child(2) > img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menina > div:nth-child(3) {
  bottom: 40px;
  left: -20px;
  height: 6rem;
}

.menina > div:nth-child(3) > img {
  transform: translate(-50%, -50%);
}

.anim-trigger.animate .menina > div:nth-child(3) > img {
  transform: rotate(-16deg);
}

.menina > div:nth-child(4) {
  bottom: calc(100% - 80px);
  left: 20%;
  height: 9rem;
}

.menina > div:nth-child(4) > img {
  transform: translate(50%, -50%);
  transition-delay: 1.5s;
}

.anim-trigger.animate .menina > div:nth-child(4) > img {
  transform: rotate(-19deg);
}

.menina > div:nth-child(5) {
  top: calc(100% - 80px);
  left: 45%;
  height: 7.5rem;
}

.menina > div:nth-child(5) > img {
  transform: translate(50%, 50%);
  transition-delay: 1.1s;
}

.anim-trigger.animate .menina > div:nth-child(5) > img {
  transform: rotate(-34deg);
}

@media screen and (max-width: 1400px) {
  .menina > div:nth-child(4) {
    height: 7rem;
    bottom: 100%;
  }
  .menina > div:nth-child(5) {
    top: calc(100% - 20px);
  }
}

@media screen and (max-width: 992px) {
  .menina {
    padding: 20px;
  }
  .menina > div:nth-child(2) {
    height: 2rem;
    left: unset;
    right: 10%;
  }
  .menina > div:nth-child(3) {
    right: calc(100% - 80px);
    left: unset;
  }
}

@media screen and (max-width: 500px) {
  .menina > div:nth-child(3) {
    height: 4.6rem;
  }
  .menina > div:nth-child(4) {
    height: 4.5rem;
    bottom: 300%;
  }
  .menina > div:nth-child(5) {
    height: 4rem;
    top: 100%;
  }
}

/********************
 INDEX
*********************/

.index-1 {
  text-align: center;
  padding: 0 var(--large-vmargin);
  margin: var(--medium-vmargin) 0;
  position: relative;
}

.index-1 > div {
  position: absolute;
  z-index: 2;
  height: 9rem;
  top: 2%;
  left: 15%;
}

.index-1 > div > img {
  height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, transform 0.5s ease-in-out;
  transition-delay: 0.7s;
  transform: translateX(-50%);
}

.index-1.anim-trigger.animate > div > img {
  opacity: 1;
  transform: rotate(-36deg);
}

@media screen and (max-width: 1200px) {
  .index-1 > div {
    top: 0;
    left: 5%;
    height: 7rem;
  }
}

@media screen and (max-width: 992px) {
  .index-1 > div {
    left: -3%;
  }
}

@media screen and (max-width: 500px) {
  .index-1 > div {
    height: 5rem;
  }
}

/* INDEX 2 */

.index-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 var(--large-hmargin);
  gap: var(--large-vmargin) var(--large-hmargin);
  align-items: center;
}

.index-2-left {
  position: relative;
}

.index-2-left > div > p {
  max-width: 600px;
  font-family: var(--degular);
}

.index-2-left > div > p > span {
  display: inline-block;
  position: relative;
  width: max-content;
}

.index-2-left > div > p > span > img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: calc(100% + 24px);
  height: auto;
  transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 0 0, 0 0);
  animation: circle-anim 0.6s linear;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  pointer-events: none;
}

.index-2-left.anim-trigger.animate > div > p > span > img {
  animation-play-state: running;
}

.index-2-left > div > p:nth-child(2) > span > img {
  top: calc(100% - 3px);
  width: calc(100% + 4px);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: unset;
  transition: clip-path 0.5s ease-in-out 1s;
}

.index-2-left.anim-trigger.animate > div > p:nth-child(2) > span > img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.index-2-left > div > p:nth-child(3) > span > img {
  animation-delay: 1.5s;
}

.index-2-left > div > p:nth-child(5) > span > img {
  animation-delay: 2s;
}

@keyframes circle-anim {
  from {
    clip-path: polygon(50% 50%, 68% 0%, 68% 0%);
  }

  25% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%);
  }

  25.000001% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%, 100% 0%);
  }

  50% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%, 100% 100%);
  }

  50.000001% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%, 100% 100%, 100% 100%);
  }

  75% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  75.000001% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%);
  }

  99.99999% {
    clip-path: polygon(50% 50%, 68% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
  }

  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.index-2-left > div:last-child {
  width: 100%;
  margin-top: var(--small-vmargin);
}

.index-2-left > div:last-child > .btn {
  margin: 0 auto;
}

.index-2-left > #parallax_10 {
  height: 3rem;
  position: absolute;
  bottom: 30px;
  right: 0;
}

.index-2-left > #parallax_10 > img {
  height: 100%;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1s ease-in-out 2.3s;
  width: auto;
  transform: translateX(30%) rotate(-10deg);
}

.index-2-left.anim-trigger.animate > #parallax_10 > img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

@media screen and (max-width: 500px) {
  .index-2-left > #parallax_10 {
    display: none;
  }
}

/* right */

.index-2-right {
  position: relative;
}

.index-2-right > div,
.index-2-right > img {
  position: absolute;
}

.index-2-right > div:last-child {
  position: relative;
  z-index: 2;
}

.index-2-right > div:last-child > img {
  height: auto;
  width: 100%;
  max-width: min(600px, 100%);
  object-fit: cover;
  box-shadow: 10px 10px 0px var(--orange);
}

.index-2-right > #parallax_7 {
  z-index: 1;
  height: 10rem;
  top: -3rem;
  left: -11rem;
}

.index-2-right > #parallax_7 > img:first-child {
  height: 100%;
  width: auto;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1s ease-in-out 0.5s;
}

.index-2-right.anim-trigger.animate > #parallax_7 > img:first-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.index-2-right > div:nth-child(2) {
  position: absolute;
  height: 183px;
  width: 138px;
  z-index: 1;
  right: 0;
  top: -30px;
  border: 1px solid var(--grey);
}

.index-2-right > div:nth-child(3) {
  top: -30px;
  right: 0;
  z-index: 3;
  height: 223px;
}

.index-2-right > div:nth-child(3) > img {
  height: 100%;
  width: auto;
  opacity: 0;
  transition: transform 0.5s ease-in-out 1.2s, opacity 0.2s ease-in-out 1.2s;
  transform: translate(50%, -50%);
}

.index-2-right.anim-trigger.animate > div:nth-child(3) > img {
  transform: rotate(-10deg);
  opacity: 1;
}

.index-2-right > div:nth-child(4) {
  bottom: -3.5rem;
  left: -5rem;
  z-index: 3;
  height: 7rem;
}

.index-2-right > div:nth-child(4) > img {
  height: 100%;
  width: auto;
  opacity: 0;
  transition: transform 0.5s ease-in-out 1.8s, opacity 0.2s ease-in-out 1.8s;
  transform: translate(-50%, 50%);
}

.index-2-right.anim-trigger.animate > div:nth-child(4) > img {
  transform: rotate(12deg);
  opacity: 1;
}

@media screen and (max-width: 992px) {
  .index-2 {
    display: block;
  }
  .index-2-right {
    max-width: 400px;
    margin: var(--large-hmargin) auto 0;
  }
  .index-2-right > div:nth-child(2),
  .index-2-right > div:nth-child(3) {
    right: -100px;
  }
}

@media screen and (max-width: 500px) {
  .index-2-right > div:nth-child(2) {
    height: 143px;
    width: 93px;
    right: -50px;
  }
  .index-2-right > div:nth-child(3) {
    height: 150px;
    right: -50px;
  }
  .index-2-right > div:nth-child(4) {
    height: 5rem;
  }
  .index-2-right > #parallax_7 {
    height: 6rem;
    left: -5rem;
  }
}

/* INDEX 3 */

.index-3 {
  padding: var(--large-vmargin) var(--large-hmargin);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--large-hmargin);
  align-items: center;
}

.index-3 > div:first-child > img {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto;
}

.index-3 > div:last-child > h2 p {
  font-style: italic !important;
}

.dates {
  position: relative;
  width: max-content;
  border-bottom: 1px solid var(--black);
  margin-top: 40px;
  font-family: var(--degular);
}

.dates img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: calc(100% + 40px);
  height: auto;
  transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 0 0, 0 0);
  animation: circle-anim 0.6s linear;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  pointer-events: none;
}

.anim-trigger.animate .dates img {
  animation-play-state: running;
}

.dates p {
  position: relative;
  z-index: 2;
  font-weight: 300;
}

.dates p strong {
  font-weight: 600;
}

.table,
.bottom-table {
  margin-top: 20px;
  font-family: var(--degular);
  font-weight: 500;
}

.table > div,
.bottom-table {
  border-bottom: 1px solid var(--black);
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px 1px;
  align-items: flex-start;
}

.table > div:first-child > p {
  font-size: 1.4rem;
  line-height: 1.2 !important;
}

.table > div:first-child > p > strong {
  font-weight: 600;
}

.table > div > div {
  position: relative;
  width: max-content;
}

.table > div > div > img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: calc(100% + 40px);
  height: auto;
  transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 0 0, 0 0);
  animation: circle-anim 0.6s linear;
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  pointer-events: none;
}

.anim-trigger.animate .table > div > div > img {
  animation-play-state: running;
}

.table > div > div > div.editable {
  position: relative;
  z-index: 2;
  font-weight: 300;
  font-style: italic;
}

.bottom-table div.editable {
  text-align: center;
  margin: 0 auto;
}

.bottom-table + div,
.table + div:not(.table):not(.bottom-table) {
  margin: 40px 0;
  width: 100%;
}

.bottom-table + div > .btn,
.table + div > .btn {
  margin: 0 auto;
}

.bottom-table + div + img,
.table + div + img {
  margin: 0 auto;
  height: 3rem;
  width: auto;
}

@media screen and (max-width: 992px) {
  .index-3 {
    grid-template-columns: 1fr;
    gap: var(--large-hmargin);
  }
  .index-3 > div:first-child {
    order: 2;
  }
  .index-3 > div:first-child > img {
    margin: 40px auto;
  }
  .index-3 > div:last-child {
    order: 1;
  }
}

@media screen and (max-width: 700px) {
  .anim-trigger.animate .table > div > div > img {
    display: none;
  }
  .table > div > div {
    width: unset;
  }
}

@media screen and (max-width: 380px) {
  .dates img {
    display: none;
  }
}

/* INDEX 4 */

.index-4 {
  background-image: linear-gradient(45deg, var(--orange) 25%, transparent 25%),
    linear-gradient(-45deg, var(--orange) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--orange) 75%),
    linear-gradient(-45deg, transparent 75%, var(--orange) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
  padding: 60px;
}

.index-4 > div {
  background-color: var(--cream-500);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.index-4 > div > div:first-child {
  display: flex;
  flex-direction: column;
}

.index-4 > div > div:first-child > h2 {
  font-style: italic;
  margin-bottom: 20px;
}

.index-4 > div > div:first-child > div {
  width: 100%;
  flex: 1;
  min-height: 600px;
}

.index-4 > div > div:first-child > div > iframe {
  height: 100%;
  width: 100%;
  border: none;
  overflow: scroll;
}

.index-4 > div > div:last-child {
  position: relative;
  display: flex;
  align-items: center;
}

.index-4 > div > div:last-child > img {
  width: 100%;
  height: auto;
}

.index-4 > div > div:last-child > div {
  position: absolute;
  z-index: 2;
}

.index-4 > div > div:last-child > div > img {
  height: 100%;
  width: auto;
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.2s ease-in-out;
}

.index-4 > div > div.anim-trigger.animate:last-child > div > img {
  opacity: 1;
}

.index-4 > div > div:last-child > div:nth-child(2) {
  top: -120px;
  left: 100%;
  height: 8rem;
}

.index-4 > div > div:last-child > div:nth-child(2) > img {
  transform: translate(50%, -50%) rotate(-10deg);
}

.index-4 > div > div.anim-trigger.animate:last-child > div:nth-child(2) > img {
  transform: none;
}

.index-4 > div > div:last-child > div:nth-child(3) {
  top: 15%;
  left: 10%;
  height: 8rem;
}

.index-4 > div > div:last-child > div:nth-child(3) > img {
  transform: translate(-50%, -50%);
}

.index-4 > div > div.anim-trigger.animate:last-child > div:nth-child(3) > img {
  transform: rotate(12deg);
}

.index-4 > div > div:last-child > div:nth-child(4) {
  bottom: 15%;
  right: 15%;
  height: 12rem;
}

.index-4 > div > div:last-child > div:nth-child(4) > img {
  transform: translate(50%, 50%) rotate(17deg);
}

.index-4 > div > div.anim-trigger.animate:last-child > div:nth-child(4) > img {
  transform: none;
}

.index-4 > div > div:last-child > div:nth-child(5) {
  bottom: -15%;
  left: 30%;
  height: 10rem;
}

.index-4 > div > div:last-child > div:nth-child(5) > img {
  transform: translate(-50%, 50%);
}

.index-4 > div > div.anim-trigger.animate:last-child > div:nth-child(5) > img {
  transform: rotate(16deg);
}

@media screen and (max-width: 1400px) {
  .index-4 > div > div:last-child > div:nth-child(2) {
    height: 6rem;
  }
  .index-4 > div > div:last-child > div:nth-child(3) {
    height: 6rem;
  }
  .index-4 > div > div:last-child > div:nth-child(4) {
    height: 10rem;
  }
  .index-4 > div > div:last-child > div:nth-child(5) {
    height: 8rem;
  }
}

@media screen and (max-width: 1200px) {
  .index-4 > div > div:last-child > div:nth-child(2) {
    height: 5.5rem;
  }
  .index-4 > div > div:last-child > div:nth-child(3) {
    height: 5rem;
  }
  .index-4 > div > div:last-child > div:nth-child(4) {
    height: 9rem;
  }
  .index-4 > div > div:last-child > div:nth-child(5) {
    height: 6rem;
  }
}

@media screen and (max-width: 992px) {
  .index-4 > div {
    grid-template-columns: 1fr;
  }
  .index-4 > div > div:last-child > div:nth-child(5) {
    left: 5%;
  }
  .index-4 > div > div:last-child > div:nth-child(4) {
    right: 0;
  }
}

@media screen and (max-width: 700px) {
  .index-4 {
    padding: 10px;
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
  }
  .index-4 > div {
    gap: 30px;
    padding: 10px;
  }
}

/* INDEX 5 */

.index-5 {
  background-color: var(--orange);
  color: var(--cream-500);
  padding: var(--large-vmargin) var(--large-hmargin);
  font-family: var(--degular);
  position: relative;
}

.index-5 > h1 {
  text-align: center;
  margin-bottom: var(--large-vmargin);
}

.index-5-grid {
  display: flex;
  gap: var(--large-vmargin);
}

.index-5-left {
  max-width: min(500px, 35%);
  padding: var(--medium-vmargin) 0;
}

.index-5-left > h4 {
  margin-bottom: 10px;
}

.index-5-left > img {
  margin: var(--medium-vmargin) auto 0;
  height: 8rem;
}

.index-5-right {
  flex: 1;
  position: relative;
  height: 40vw;
  pointer-events: none;
  transform: translateY(-10%);
}

.index-5-right:hover {
  pointer-events: all;
}

.index-5-right > img {
  pointer-events: all;
  position: absolute;
  height: 100%;
  width: auto;
  transition: transform 0.3s ease-in-out;
}

.index-5-right > img:nth-child(1) {
  left: 10%;
  top: 5%;
  transform: rotate(-13deg);
}

.index-5-right > img:nth-child(2) {
  left: 30%;
  transform: rotate(3deg);
}

.index-5-right > img:nth-child(3) {
  left: 55%;
  transform: rotate(23deg);
}

.index-5-right > img:nth-child(4) {
  left: 80%;
  top: 15%;
  transform: rotate(15deg);
}

/* img 1 */

.index-5-right > img:nth-child(1):hover {
  transform: translate(-40%, -5%) rotate(0);
}

.index-5-right > img:nth-child(1):hover ~ img:nth-child(2) {
  transform: translateX(50%) rotate(3deg);
}

.index-5-right > img:nth-child(1):hover ~ img:nth-child(3) {
  transform: translateX(50%) rotate(23deg);
}

.index-5-right > img:nth-child(1):hover ~ img:nth-child(4) {
  transform: translateX(30%) rotate(15deg);
}

/* img 2 */

.index-5-right:hover > img:nth-child(1):not(:hover) {
  transform: translateX(-100%) rotate(-13deg);
}

.index-5-right > img:nth-child(2):hover {
  transform: translateX(-30%) rotate(0);
}

.index-5-right > img:nth-child(2):hover ~ img:nth-child(3) {
  transform: translateX(50%) rotate(23deg);
}

.index-5-right > img:nth-child(2):hover ~ img:nth-child(4) {
  transform: translateX(30%) rotate(15deg);
}

/* img 3 */

.index-5-right:hover > img:nth-child(2):not(:hover) {
  transform: translateX(-110%) rotate(3deg);
}

.index-5-right > img:nth-child(3):hover {
  transform: translateX(-40%) rotate(0);
}

.index-5-right > img:nth-child(3):hover ~ img:nth-child(4) {
  transform: translateX(20%) rotate(15deg);
}

/* img 4 */

.index-5-right:hover > img:nth-child(3):not(:hover) {
  transform: translateX(-140%) rotate(23deg);
}

.index-5-right > img:nth-child(4):hover {
  transform: translate(-65%, -10%) rotate(0);
}

.index-5 > div:last-child {
  height: 8rem;
  position: absolute;
  right: 10%;
  bottom: -5%;
  z-index: 3;
}

.index-5 > div:last-child > img {
  height: 100%;
  width: auto;
  opacity: 0;
  transform: translate(50%, 50%);
  transition: transform 0.5s ease-in-out 1.5s, opacity 0.2s ease-in-out 1.5s;
}

.index-5.anim-trigger.animate > div:last-child > img {
  opacity: 1;
  transform: rotate(-29deg);
}

@media screen and (max-width: 992px) {
  .index-5-grid {
    display: block;
  }
  .index-5-left {
    max-width: 100%;
    margin-bottom: var(--large-hmargin);
  }
  .index-5-right {
    transform: none;
    margin-bottom: var(--large-hmargin);
  }
  .index-5 > div:last-child {
    height: 6rem;
  }
  .index-5-right > img:nth-child(1) {
    left: 5%;
  }
  .index-5-right > img:nth-child(2) {
    left: 25%;
  }
  .index-5-right > img:nth-child(3) {
    left: 45%;
  }
  .index-5-right > img:nth-child(4) {
    left: 65%;
  }
  .index-5-right > img:nth-child(1):hover {
    transform: translateX(-5%) rotate(0);
  }
  .index-5-right > img:nth-child(4):hover {
    transform: translate(-30%, -10%) rotate(0);
  }
}

/* INDEX 6 */

.index-6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--large-vmargin) var(--large-hmargin);
  gap: var(--large-hmargin);
}

.index-6 > div:first-child {
  position: relative;
  padding: var(--large-vmargin) 0;
}

.index-6 > div:first-child > h2 {
  margin-bottom: 10px;
}

.index-6 > div:first-child > div.editable {
  font-family: var(--degular);
  max-width: 600px;
}

.index-6 > div:first-child + div {
  position: relative;
  min-height: 40vw;
  overflow: hidden;
}

.index-6 > div:first-child + div > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-6 #parallax_18 {
  height: 6rem;
  position: absolute;
  top: -5%;
  right: 10%;
}

.index-6 #parallax_18 > img {
  opacity: 0;
  height: 100%;
  width: auto;
  transform: translate(50%, -50%) rotate(15deg);
  transition: transform 0.5s ease-in-out, opacity 0.2s ease-in-out;
}

.index-6 .anim-trigger.animate #parallax_18 > img {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 992px) {
  .index-6 {
    grid-template-columns: 1fr;
  }
  .index-6 > div:first-child + div {
    min-height: 60vw;
  }
}
