/********************
 GENERAL
*********************/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  position: relative;
  font-family: var(--sitefont);
  background-color: var(--white);
}

html {
  --red: #942727;
  --green: #1f8316;
  --pink-300: #fd87fd;
  --pink: #fe4fff;
  --pink-500: #be29be;
  --purple-300: #8b49f5;
  --purple: #7024e9;
  --purple-500: #490caa;
  --blue-300: #5b65f0;
  --blue: #3c48e9;
  --blue-500: #1e27b1;
  --teal-300: #66d4ec;
  --teal: #15c0e7;
  --teal-500: #037f9b;
  --white: #ffffff;
  --white-500: #f4f4f4;
  --white-550: #e9e9e9;
  --white-600: #c1c1c1;
  --grey: #525252;
  --grey-500: #464646;
  --black-300: #1f1f1f;
  --black: #000000;
  --sitefont: "SiteFont", sans-serif;
  --helvetica: "Neue", sans-serif;
  --small-margin: 20px;
  --medium-margin: 40px;
  --medium-vmargin: 60px;
  --large-margin: 80px;
  --large-vmargin: 120px;
  --xlarge-margin: 150px;
  --xlarge-vmargin: 120px;
  /*--xlarge-margin: 180px;
  --xlarge-vmargin: 150px;*/
}

@media screen and (max-width: 1200px) {
  html {
    --small-margin: 20px;
    --medium-margin: 40px;
    --medium-vmargin: 40px;
    --large-margin: 60px;
    --large-vmargin: 80px;
    --xlarge-margin: 120px;
    --xlarge-vmargin: 120px;
  }
}

@media screen and (max-width: 992px) {
  html {
    --small-margin: 20px;
    --medium-margin: 30px;
    --medium-vmargin: 40px;
    --large-margin: 40px;
    --large-vmargin: 60px;
    --xlarge-margin: 80px;
    --xlarge-vmargin: 80px;
  }
}

@media screen and (max-width: 500px) {
  html {
    --small-margin: 20px;
    --medium-margin: 20px;
    --medium-vmargin: 20px;
    --large-margin: 20px;
    --large-vmargin: 40px;
    --xlarge-margin: 20px;
    --xlarge-vmargin: 80px;
  }
}

a {
  text-decoration: none;
  cursor: pointer;
}

.protect {
  pointer-events: none;
}

div {
  align-items: start;
}

.hidden-title {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  right: 200vw;
  bottom: 200vh;
}

img {
  display: block;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-track-piece {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-300);
}

::-webkit-scrollbar-thumb:active {
  background: var(--purple-500);
}

::-webkit-scrollbar-corner {
  background: var(--pink);
}

/********************
 FONTS
*********************/

/* SITEFONT */

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Thin-It.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-ExtraLight-It.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Light-It.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-It.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-SemiBold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-SemiBold-It.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Bold-It.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Black.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "SiteFont";
  src: url("../fonts/Basic-Sans-Black-It.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: fallback;
}

/* HELVETICA */

@font-face {
  font-family: "Helvetica";
  src: url("../fonts/Helvetica-Roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Helvetica";
  src: url("../fonts/Helvetica-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Helvetica";
  src: url("../fonts/Helvetica-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

/* NEUEU */

@font-face {
  font-family: "Neue";
  src: url("../fonts/NeueHaasDisplayRoman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Neue";
  src: url("../fonts/NeueHaasDisplayMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Neue";
  src: url("../fonts/NeueHaasDisplayBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

/********************
 TITLES AND TEXTS
*********************/

body {
  font-size: 1rem;
}

p {
  margin: 0;
}

h1,
.h1 {
  margin: 0;
  line-height: 1;
  font-size: 5vw;
  font-weight: 600;
}

h2,
.h2 {
  line-height: 1;
  margin: 0;
  font-size: 3.6vw;
  font-weight: 600;
}

h3,
.h3 {
  line-height: 1;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

@media screen and (max-width: 992px) {
  h1,
  .h1 {
    font-size: 8vw;
  }

  h2,
  .h2 {
    font-size: 5vw;
  }
}

@media screen and (max-width: 580px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .h2 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .h2 {
    font-size: 2rem;
  }
  h3,
  .h3 {
    font-size: 1.8rem;
  }
}

/********************
 COMMONS
*********************/
.btn {
  position: relative;
  font-family: var(--helvetica);
  font-weight: 400;
  letter-spacing: 0.04rem;
  display: block;
  text-align: center;
  width: max-content;
  min-width: min(100%, 200px);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 9000px;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    border-color 0.2s ease-in-out, filter 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  background-color: var(--purple);
  color: var(--white);
  border: 1px solid var(--white);
  padding: 8px 40px;
  font-size: 0.9rem;
}

.btn.locked {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.6;
}

.btn > p {
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.btn > p:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  opacity: 0;
  max-width: 100%;
  overflow: hidden;
}

.btn:hover > p:nth-child(1) {
  transform: translateY(-100%);
  opacity: 0;
}

.btn:hover > p:nth-child(2) {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.btn:hover {
  background-color: var(--purple-300);
}

.btn:active {
  background-color: var(--purple-500);
}

.btn.pink {
  background-color: var(--pink);
}
.btn.pink:hover {
  background-color: var(--pink-300);
}
.btn.pink:active {
  background-color: var(--pink-500);
}

.btn.blue {
  background-color: var(--blue);
}
.btn.blue:hover {
  background-color: var(--blue-300);
}
.btn.blue:active {
  background-color: var(--blue-500);
}

.btn.teal {
  background-color: var(--teal);
}
.btn.teal:hover {
  background-color: var(--teal-300);
}
.btn.teal:active {
  background-color: var(--teal-500);
}

.btn.small {
  min-width: min(100%, 80px);
  border: none;
  font-weight: 400;
  padding: 6px 20px;
}

.btn.white {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--grey);
}
.btn.white:hover {
  background-color: var(--grey);
  color: var(--white);
}
.btn.white:active {
  background-color: var(--black);
  color: var(--white);
}

.btn.black {
  background-color: var(--black);
}
.btn.black:hover {
  background-color: var(--grey);
}
.btn.black:active {
  background-color: var(--white);
  color: var(--black);
}

@media screen and (max-width: 500px) {
  .btn {
    padding: 8px 20px;
  }
  .btn.small {
    padding: 6px 10px;
  }
}

/* ORBS */
.orbs {
  position: relative;
  overflow: hidden;
}

.orb {
  display: block;
  position: absolute;
  width: 160vw;
  height: 160vw;
  z-index: 0;
  background: radial-gradient(
    circle,
    var(--purple) 0%,
    var(--purple) 5%,
    rgba(0, 0, 0, 0) 70%
  );
}

.orb.pink {
  background: radial-gradient(
    circle,
    var(--pink) 0%,
    var(--pink) 5%,
    rgba(0, 0, 0, 0) 70%
  );
}

.orb.blue {
  background: radial-gradient(
    circle,
    var(--blue) 0%,
    var(--blue) 5%,
    rgba(0, 0, 0, 0) 70%
  );
}

.orb.teal {
  background: radial-gradient(
    circle,
    var(--teal) 0%,
    var(--teal) 5%,
    rgba(0, 0, 0, 0) 70%
  );
}

/* SECTION */

.section h2,
.section .h2 {
  color: var(--purple);
}

.section *:not(.btn):not(h2):not(.h2) > p,
.section > p {
  color: var(--grey);
}
.section h3:not(.btn):not(h2):not(.h2) > p,
.section h3 > p {
  color: var(--black);
}

/********************
 HEADER
*********************/
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  gap: 20px;
  z-index: 100;
  font-size: 0.9rem;
  transition: background-color 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0.6);
}

#navbar.bright,
#navbar.active {
  background-color: rgba(255, 255, 255, 0);
}

#navbar > a {
  pointer-events: all;
  transition: opacity 0.2s ease-in-out;
}

#navbar > a:hover {
  opacity: 0.7;
}

#navbar > a > img {
  height: auto;
  width: auto;
  max-height: 3rem;
  max-width: 100%;
}

#navbar > .menu {
  pointer-events: all;
  position: absolute;
  display: flex;
  gap: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#navbar > .menu > a {
  font-family: var(--helvetica);
  letter-spacing: 0.04rem;
  color: var(--black);
  transition: color 0.2s ease-in-out;
  position: relative;
  width: max-content;
  white-space: nowrap;
}

#navbar > .menu > a > p:first-child {
  position: relative;
  pointer-events: none;
  opacity: 0;
}

#navbar > .menu > a > p:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 400;
}

#navbar > .menu > a:hover > p:last-child {
  font-weight: 500;
}

#navbar.bright > .menu > a {
  color: var(--white);
}

#navbar > .menu > a.active > p:last-child {
  font-weight: 600;
}

#navbar > .lang {
  pointer-events: all;
  color: var(--black);
  border: solid 1px var(--black);
  border-radius: 9000px;
  padding: 1px 8px;
  background-color: transparent;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

#navbar.bright > .lang {
  color: var(--white);
  border-color: var(--white);
}

#navbar > .lang:hover {
  background-color: black;
  color: var(--white);
}

#burger {
  display: none;
  pointer-events: all;
  cursor: pointer;
  flex-direction: column;
  gap: 2px;
  width: 44px;
  min-width: 44px;
  height: 22px;
  justify-content: space-between;
}

#burger > span {
  display: block;
  background-color: var(--black);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out,
    background-color 0.2s ease-in-out;
  width: 100%;
  height: 4px;
  border-radius: 2px;
}

#navbar.bright #burger > span {
  background-color: var(--white);
}

#burger.active > span {
  background-color: var(--white);
}

#burger.active > span:nth-child(1) {
  transform: translateY(9px) rotate(25deg);
}

#burger.active > span:nth-child(2) {
  transform: translateX(10px);
  opacity: 0;
}

#burger.active > span:nth-child(3) {
  transform: translateY(-9px) rotate(-25deg);
}

#mobile_menu {
  z-index: 99;
  display: none;
  background-color: rgb(20, 20, 20, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  pointer-events: none;
  transform: translateX(100vw);
  transition: transform 0.2s ease-in-out;
}

#mobile_menu.active {
  transform: translateX(0);
  pointer-events: all;
}

#mobile_menu > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

#mobile_menu > div > a {
  font-size: 1.5rem;
  font-family: var(--helvetica);
  letter-spacing: 0.04rem;
  color: var(--white);
}

#mobile_menu > div > a.active {
  font-weight: 600;
}

#mobile_menu > div > .lang {
  font-size: 1rem;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 1px 8px;
  border-radius: 900px;
  transition: background-color 0.2s ease-in-out;
}

#mobile_menu > div > .lang:hover {
  background-color: var(--black);
}

@media screen and (max-width: 992px) {
  #navbar > .menu {
    display: none;
  }

  #navbar > .lang {
    position: absolute;
    right: 110px;
    top: 50%;
    transform: translateY(-50%);
  }

  #navbar > #burger {
    display: flex;
  }

  #mobile_menu {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  #navbar > .lang {
    right: 90px;
  }
  #navbar {
    padding: 10px 20px;
  }
}

@media screen and (max-width: 400px) {
  #navbar > .lang {
    right: 75px;
  }
}

/********************
 FOOTER
*********************/
.newsletter {
  position: relative;
  overflow: hidden;
}

.newsletter > img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 1;
}

/*.newsletter > span {
  background-color: var(--white);
  opacity: 0.8;
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 2;
}*/

.newsletter > div {
  position: relative;
  z-index: 3;
  padding: var(--medium-margin) var(--large-margin);
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}

.newsletter > div > h3 {
  margin-bottom: 10px;
}

.newsletter > div > p {
  text-align: center;
  color: var--(grey);
  margin-bottom: 10px;
  max-width: 388px;
}

#newsletter_form {
  width: 100%;
}

#newsletter_success {
  color: var(--green);
  text-align: center;
}

#newsletter_error {
  color: var(--red);
  text-align: center;
}

#newsletter_form input {
  display: block;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  font-family: "SiteFont", sans-serif;
  color: var(--black);
  outline: none;
  font-size: 0.9rem;
  margin: auto;
  margin-bottom: 10px;
  width: 200px;
  transition: border-color 0.2s ease-in-out;
}

#newsletter_form .btn {
  margin: auto;
  margin-top: 10px;
}

.newsletter input.invalid {
  border-color: var(--red);
}

.newsletter input::placeholder {
  font-style: italic;
  color: var(--grey);
  font-weight: 300;
}

.foot {
  position: relative;
  background-color: var(--white-550);
  font-size: 0.9rem;
}

.foot a {
  color: var(--black);
  display: block;
  transition: color 0.2s ease-in-out;
}

.foot a:hover {
  color: var(--grey);
}

.foot > a {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease-in-out;
}

.foot > a:hover {
  opacity: 0.7;
}

.foot > a > img {
  width: auto;
  height: auto;
  max-height: 3rem;
  max-width: 100%;
}

.foot-top {
  padding: var(--large-margin);
  display: flex;
  justify-content: space-between;
}

.foot-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-menu > a.active {
  font-weight: 600;
}

.foot-info {
  text-align: right;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  /*gap: 10px;*/
  font-size: 0.8rem;
}

/*.foot-info > p {
  font-size: 1rem;
}*/

.foot-info a {
  color: var(--grey);
}

.foot-info a:hover {
  color: var(--black);
}

.foot-bottom {
  padding: 0 var(--large-margin) var(--medium-margin);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 40px;
}

.foot-bottom > div {
  display: flex;
  gap: 5px 40px;
  flex-wrap: wrap;
}

.foot-bottom a {
  color: var(--grey);
}

.foot-bottom a:hover {
  color: var(--black);
}

.foot-bottom > div > p > a {
  display: inline;
}

@media screen and (max-width: 730px) {
  .foot > a {
    width: fit-content;
    position: relative;
    margin: 0 auto;
    transform: none;
    top: unset;
    left: unset;
  }

  .foot {
    padding-top: var(--large-margin);
  }
}

@media screen and (max-width: 500px) {
  .foot-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .foot-menu {
    align-items: center;
  }

  .foot-info {
    align-items: center;
    text-align: center;
  }

  .foot-info > p {
    display: none;
  }

  .foot-bottom {
    justify-content: space-around;
    text-align: center;
  }

  .foot-bottom > div {
    justify-content: space-around;
  }
}

/*************
  404
**************/
.p404 {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.p404 > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.p404 > div > h1 {
  font-size: 10vw;
  line-height: 1;
  color: var(--purple);
}

.p404 > div > p {
  font-size: 1rem;
}

@media screen and (max-width: 780px) {
  .p404 > div > h1 {
    font-size: 12vw;
  }
}

@media screen and (max-width: 500px) {
  .p404 > div > h1 {
    font-size: 4rem;
  }
}

/********************
 INDEX
*********************/
.carrousel {
  position: relative;
  height: 100vh;
  height: 100svh;
  max-width: 100%;
  overflow: hidden;
}

.carrousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carrousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.4s ease-in-out;
  transform: translateX(0);
}

.carrousel-slide.after {
  transform: translateX(100%);
}

.carrousel-slide.before {
  transform: translateX(-100%);
}

.carrousel-slide > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.carrousel-slide > div {
  position: relative;
  z-index: 2;
  padding: var(--large-margin);
}

.carrousel-slide > div > h1,
.carrousel-slide > div > h2 {
  color: var(--white);
  margin-bottom: 60px;
  margin-left: var(--large-margin);
  max-width: 60%;
}

.carrousel-slide:nth-child(2) > div > h2 {
  margin: 0 auto 60px;
  text-align: center;
}

.carrousel-slide:nth-child(4) > div > h2 {
  margin-bottom: 60px;
}

.carrousel-slide > div > .btn {
  margin: 0 auto;
  transition: opacity 0.4s ease-in-out 0.8s, transform 0.4s ease-in-out 0.8s;
  opacity: 0;
  transform: translateY(20px);
}

.anim-trigger.animate .carrousel-slide:not(.after):not(.before) > div > .btn {
  opacity: 1;
  transform: none;
}

.anim-trigger.animate .carrousel-overlay {
  position: absolute;
  bottom: var(--small-margin);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carrousel-dots {
  display: flex;
  gap: 10px;
}

.carrousel-dots > span {
  border: 1px solid var(--white);
  background-color: var(--grey);
  display: block;
  height: 11px;
  width: 11px;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.carrousel-dots > span.active {
  background-color: var(--white);
}

.carrousel-scroll {
  border: 1px solid var(--white);
  cursor: pointer;
  height: 32px;
  width: 32px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  border-radius: 50%;
}

.carrousel-scroll > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4),
    opacity 0.2s ease-in-out;
  animation-name: bounce;
  animation-duration: 1.1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.carrousel-scroll:hover > svg:nth-child(1) {
  transform: translate(-50%, -200%);
  opacity: 0;
}

.carrousel-scroll > svg:nth-child(2) {
  transform: translate(-50%, 150%);
  opacity: 0;
}

.carrousel-scroll:hover > svg:nth-child(2) {
  transform: translate(-50%, -50%);
  opacity: 1;
}

@media screen and (max-width: 992px) {
  .carrousel-slide > div > h1,
  .carrousel-slide > div > h2 {
    max-width: 80%;
    margin-left: 0;
  }
}

@media screen and (max-width: 580px) {
  .carrousel-slide > div > h1,
  .carrousel-slide > div > h2 {
    max-width: 100%;
  }
}

.bounce {
  animation-name: dot_bounce;
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1.4);
  animation-iteration-count: 1;
}

@keyframes dot_bounce {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.2);
  }
  0% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0% {
    top: calc(50% - 1px);
  }
  50% {
    top: calc(50% + 1px);
  }
  100% {
    top: calc(50% - 1px);
  }
}

/* SECTION 1 */

.index-1 {
  background-color: var(--white);
  padding: var(--xlarge-vmargin) var(--large-margin);
}

.index-1 > h2 {
  max-width: 1000px;
  text-align: center;
  margin: 0 auto var(--small-margin);
}

.index-1 > .p {
  max-width: 600px;
  text-align: center;
  margin: 0 auto var(--medium-vmargin);
  font-size: 1rem;
}

.index-1-grid {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xlarge-margin);
  margin: 0 auto;
}

.index-1-left > h3 {
  margin-bottom: 40px;
}

.index-1-left > .p {
  margin-bottom: 20px;
}

.index-1-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.index-1-right > div {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.section .index-1-right > div > .p {
  font-weight: 500;
  font-style: italic;
  color: var(--black);
}

@media screen and (max-width: 1400px) {
  .index-1 > div {
    gap: var(--large-margin);
  }
}

@media screen and (max-width: 730px) {
  .index-1 > div {
    display: block;
  }

  .index-1-left .btn {
    margin: auto;
  }
  .index-1-right {
    margin: 40px auto 0;
  }

  .index-1-right > div:nth-child(2n) {
    flex-direction: row-reverse;
    text-align: right;
  }
}

@media screen and (max-width: 500px) {
  .index-1-right {
    gap: 40px;
  }
}

/* SECTION 2 */

.index-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xlarge-margin);
  padding: var(--xlarge-margin);
  background-color: var(--white-500);
}

.index-2-left > h2 {
  margin-bottom: var(--medium-margin);
}

.index-2-left > .p {
  margin-bottom: var(--medium-margin);
}

.index-2-right {
  position: relative;
  padding-bottom: 80%;
}

.index-2-right > img {
  height: auto;
  width: auto;
  max-width: min(500px, 100%);
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 780px) {
  .index-2 {
    grid-template-columns: 1fr;
  }

  .index-2 > div > .btn {
    margin: auto;
  }

  .index-2-right {
    padding-bottom: 110%;
  }
}

/* SECTION 3 */

.index-3-grid {
  padding: var(--xlarge-vmargin) var(--large-margin);
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--xlarge-margin);
  max-width: 1200px;
  margin: auto;
}

.index-3-left {
  max-width: 600px;
  margin: auto;
}

.index-3-left > h2 {
  margin-bottom: 40px;
  max-width: 600px;
}

.index-3-right {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.index-3-right > h3 {
  font-weight: 800;
}

.index-3-right > svg {
  transform: scale(0.8);
}

.index-3 #orb1 {
  top: -100vw;
  left: -120vw;
}

.index-3 #orb2 {
  bottom: -120vw;
  right: -100vw;
}

@media screen and (max-width: 780px) {
  .index-3-grid {
    display: block;
  }

  .index-3-left h2 {
    text-align: center;
  }

  .index-3-left .btn {
    margin: auto;
  }

  .index-3-right {
    align-items: center;
    margin: auto;
    margin-top: var(--large-vmargin);
  }

  .index-3-right > svg:not(:last-child) {
    width: 1.1px;
    height: auto;
    transform: scale(1);
  }

  .index-3-right > svg:last-child {
    width: 15px;
    height: auto;
    transform: scale(1);
  }
}

/* SECTION 4 */
.index-4 {
  padding: var(--medium-vmargin) var(--large-margin);
  overflow: hidden;
}

.index-4 > h2 {
  text-align: center;
}

.index-4 .swiper {
  margin-top: var(--medium-margin);
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide.partner {
  height: unset !important;
}

.partner img {
  display: block;
  max-width: 150px;
  max-height: 150px;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.2s ease-in-out;
}

.partner:hover img {
  opacity: 0.6;
}

.swiper {
  width: 100vw;
  margin-left: calc(var(--large-margin) * -1) !important;
}

/********************
 TECHNO
*********************/
.techno-1 {
  padding: calc(var(--large-vmargin) + 20px) var(--xlarge-margin);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--large-margin);
  align-items: center;
}

.techno-1 > div:first-child {
  padding-right: var(--large-margin);
}

.techno-1 > div:first-child > h1 {
  margin-bottom: var(--medium-margin);
}

.techno-1 > div:first-child > .p {
  margin-bottom: var(--small-margin);
}

.techno-1 > div:first-child > .ul {
  color: var(--black-300);
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--black);
}

.techno-1 > div:first-child > .ul > ul {
  padding-left: 20px;
}

.techno-1 > div:last-child {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  min-height: 40vw;
}

.techno-1 > div > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

@media screen and (max-width: 992px) {
  .techno-1 {
    display: block;
    padding: calc(var(--xlarge-vmargin) + 20px) var(--large-margin);
  }

  .techno-1 > div:last-child {
    margin-top: var(--medium-margin);
    min-height: 50vw;
  }

  .techno-1 > div:last-child > img {
    object-position: bottom;
  }
}

/* SECTION 2 */
.techno-2 {
  margin: auto;
  padding: 0 var(--large-margin) var(--large-vmargin);
  text-align: center;
  width: max-content;
  max-width: 100%;
}

.techno-2 > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.techno-2 > div > div {
  display: flex;
  gap: 15px;
  text-align: left;
  max-width: 300px;
}

.techno-2 > div > div > span {
  font-weight: 800;
  color: var(--purple);
  opacity: 0.24;
  font-size: 2.5rem;
  transform: translateY(-30%);
  width: 26px;
  min-width: 26px;
  display: block;
}

@media screen and (max-width: 1200px) {
  .techno-2 > div {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 580px) {
  .techno-2 > div {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* SECTION 3 */
.techno-3 > *:not(.orb) {
  position: relative;
  z-index: 3;
}

.techno-3 #orb1 {
  bottom: -100vw;
  left: -120vw;
}

.techno-3 #orb2 {
  right: -120vw;
  top: -110vw;
}

.techno-3-grid {
  padding: var(--xlarge-vmargin) var(--large-margin);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.techno-3-grid > div:first-child {
  padding-right: var(--xlarge-margin);
}

.techno-3-grid h2 {
  margin-bottom: 40px;
}

.techno-3-grid img {
  max-width: 100%;
}

.techno-3 > h3 {
  text-align: center;
  margin-bottom: var(--large-margin);
}

.techno-3-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin: auto;
  max-width: 1200px;
}

.techno-3-icons > div {
  text-align: center;
}

.techno-3-icons > div > img {
  height: 6rem;
  width: auto;
  margin: auto;
}

.techno-3-icons > div:first-child > img {
  height: 5rem;
  margin: 0.5rem auto;
}

.techno-3-icons > div > .p {
  padding-top: 20px;
  max-width: 180px;
  margin: auto;
}

.techno-3 > .p {
  text-align: center;
  margin: var(--large-margin) 0 20px;
}

.techno-3 > .btn {
  margin: auto;
  margin-bottom: var(--xlarge-vmargin);
}

@media screen and (max-width: 992px) {
  .techno-3-grid {
    grid-template-columns: 1fr;
    gap: var(--xlarge-vmargin);
  }
  .techno-3-grid > div:first-child {
    padding: 0;
  }
  .techno-3-icons {
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
  }
}

@media screen and (max-width: 460px) {
  .techno-3-icons {
    grid-template-columns: 1fr;
  }

  .techno-3 > .p {
    margin-top: var(--xlarge-vmargin);
  }
}

/* SECTION 4 */
.techno-4 {
  padding: var(--large-vmargin) var(--medium-margin);
  text-align: center;
}

.techno-4-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
  margin-top: var(--large-margin);
  justify-content: center;
}

.techno-4-icons > div {
  font-size: 0.9rem;
}

.techno-4-icons > div > img {
  border-radius: 10px;
  margin: 0 auto 20px;
  height: 200px;
  width: auto;
}

@media screen and (max-width: 1200px) {
  .techno-4-icons > div > img {
    height: 150px;
  }
}

@media screen and (max-width: 992px) {
  .techno-4-icons > div > img {
    height: 200px;
  }
}

@media screen and (max-width: 500px) {
  .techno-4-icons > div > img {
    height: 150px;
  }
}

/* SECTION 5 */
.techno-5 {
  padding: 0 var(--large-margin) var(--large-vmargin);
}

.techno-5 > h2 {
  max-width: 800px;
  margin-bottom: 40px;
}

.techno-5 > .p {
  max-width: 600px;
}

.techno-5-grid {
  display: flex;
  gap: var(--large-margin);
  margin: auto;
  margin-top: var(--large-margin);
  justify-content: space-between;
}

.techno-5-grid > div {
  flex: 1;
  flex-basis: 33%;
}

.techno-5-grid > div > img {
  max-width: 100%;
  max-width: min(100%, 600px);
  margin-left: auto;
}

.techno-5-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.techno-5-grid > div:last-child {
  padding-top: min(5%, 60px);
}

.techno-5-grid > div:last-child > h4 {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 40px;
}

.techno-5-grid > div:last-child > .p > p {
  color: var(--purple);
  margin-top: 10px;
}

.techno-5 > img {
  display: none;
  margin: var(--medium-margin) auto;
  max-height: 400px;
  max-width: 100%;
  height: auto;
  width: auto;
}

.techno-5 > .btn {
  margin: var(--medium-margin) auto 0;
}

@media screen and (max-width: 830px) {
  .techno-5-grid {
    flex-direction: column-reverse;
  }

  .techno-5-grid > div:first-child {
    margin-bottom: var(--large-margin);
  }

  .techno-5-grid > div {
    margin: auto;
    max-width: 500px;
  }
}

/* SECTION 6 */
.techno-6 {
  padding: var(--large-vmargin) var(--xlarge-margin);
  background-color: var(--white-500);
  text-align: center;
}

.techno-6 > h2 {
  max-width: 1000px;
  margin: auto;
  margin-bottom: var(--medium-margin);
}

.techno-6 > .p {
  max-width: 800px;
  margin: auto;
}

.techno-6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: auto;
  margin-top: var(--medium-margin);
}

.techno-6-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.section .techno-6-grid > div > .p {
  color: var(--black);
  font-weight: 500;
}

.section .techno-6-grid > div > img {
  max-width: 100%;
}

@media screen and (max-width: 992px) {
  .techno-6-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .techno-6-grid > div:last-child {
    transform: translateX(calc(50% + 20px));
  }
}

@media screen and (max-width: 540px) {
  .techno-6-grid {
    grid-template-columns: 1fr;
  }

  .techno-6-grid > div:last-child {
    transform: none;
  }
}

/*************
  ABOUT
**************/
.about-2 {
  text-align: center;
  padding-bottom: var(--large-vmargin);
}

.about-2 > .btn {
  margin: auto;
}

.timeline {
  margin: var(--large-margin) auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 600px;
  gap: 150px 200px;
}

.timeline > div {
  position: relative;
}

.section .timeline > div > h3 > p {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--purple) !important;
}

.section .timeline > div:nth-child(1) > h3 > p,
.section .timeline > div:nth-child(2) > h3 > p,
.section .timeline > div:nth-child(4) > h3 > p {
  color: var(--pink) !important;
}

.timeline > div > svg {
  position: absolute;
}

.timeline > div:nth-child(1) > svg {
  top: calc(50% + 20px);
  left: calc(100% + 100px);
  transform: translateX(-50%);
}

.timeline > div:nth-child(2) > svg {
  top: calc(50% + 20px);
  left: calc(100% + 100px);
  transform: translateX(-50%);
}

.timeline > div:nth-child(3) > svg {
  top: calc(50% + 30px);
  right: calc(100% + 100px);
  transform: translateX(50%);
}

.timeline > div:nth-child(4) > svg {
  top: calc(50% + 20px);
  right: calc(100% + 100px);
  transform: translateX(50%);
}

.timeline > div:nth-child(5) > svg {
  top: calc(50% + 10px);
  left: calc(100% + 100px);
  transform: translateX(-50%);
}

@media screen and (max-width: 992px) {
  .timeline {
    gap: 35px 70px;
  }

  .timeline > div:nth-child(1) > svg {
    left: calc(100% + 35px);
    transform: translateX(-50%) scale(0.4);
  }

  .timeline > div:nth-child(2) > svg {
    top: calc(50% - 50px);
    left: calc(100% + 50px);
    transform: translateX(-50%) scale(0.4);
  }

  .timeline > div:nth-child(3) > svg {
    top: calc(50% - 40px);
    right: calc(100% + 50px);
    transform: translateX(50%) scale(0.4);
  }

  .timeline > div:nth-child(4) > svg {
    right: calc(100% + 35px);
    transform: translateX(50%) scale(0.4);
  }

  .timeline > div:nth-child(5) > svg {
    left: calc(100% + 35px);
    transform: translateX(-50%) scale(0.4);
  }
}

@media screen and (max-width: 720px) {
  .timeline > div > svg {
    display: none;
  }
  .timeline {
    grid-template-columns: 1fr;
    max-width: min(100%, 300px);
  }
  .timeline > div:nth-child(1) {
    order: 1;
  }
  .timeline > div:nth-child(2) {
    order: 2;
  }
  .timeline > div:nth-child(3) {
    order: 4;
  }
  .timeline > div:nth-child(4) {
    order: 3;
  }
  .timeline > div:nth-child(5) {
    order: 5;
  }
  .timeline > div:nth-child(6) {
    order: 6;
  }
}

/* SECTION 3 */
.about-3 {
  padding: 0 var(--large-margin) var(--xlarge-vmargin);
}

.about-3 > h2 {
  margin-bottom: var(--medium-margin);
}

.about-3 > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.about-3 > div > div > img {
  width: 100%;
  border: 1px solid var(--white-600);
}

.about-3 > div > div > h3 {
  margin-top: 10px;
  font-size: 1.8rem;
}

@media screen and (max-width: 1500px) {
  .about-3 > div > div > h3 {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 992px) {
  .about-3 > div {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-3 > div > div:nth-child(4),
  .about-3 > div > div:nth-child(5) {
    transform: translateX(calc(50% + 10px));
  }
}

@media screen and (max-width: 750px) {
  .about-3 > div {
    grid-template-columns: 1fr 1fr;
  }

  .about-3 > div > div:nth-child(4) {
    transform: none;
  }
}

@media screen and (max-width: 450px) {
  .about-3 > div {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: auto;
  }

  .about-3 > div > div:nth-child(5) {
    transform: none;
  }
}

/* SECTION 4 */
.about-4 {
  text-align: center;
}

.about-4 > .orb {
  z-index: 1;
}

.about-4 > *:not(.orb) {
  position: relative;
  z-index: 2;
}

.about-4 #orb1 {
  bottom: -120vw;
  left: -120vw;
}

.about-4 #orb2 {
  right: -100vw;
  top: -100vw;
}

.about-4 > h2 {
  margin: var(--large-vmargin) 0;
}

.about-4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: calc(100% - var(--large-margin) * 2);
  margin: auto;
  max-width: 1300px;
  gap: 40px;
}

.about-4-grid > div > img {
  border-radius: 50%;
  border: 1px solid var(--white-600);
  margin: auto;
  max-width: min(100%, 300px);
}

.about-4-grid > div > h3 {
  margin-top: 20px;
  font-size: 1.8rem;
}

.about-4 > .p {
  margin: var(--large-vmargin) 0 0;
}

.about-4 > .btn {
  margin: 20px auto var(--large-vmargin);
}

@media screen and (max-width: 1500px) {
  .about-4-grid > div > h3 {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 992px) {
  .about-4-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-4-grid > div > img {
    max-width: min(100%, 200px);
  }

  .about-4-grid > div:nth-child(3) {
    transform: translateX(calc(50% + 20px));
  }
}

@media screen and (max-width: 450px) {
  .about-4-grid {
    grid-template-columns: 1fr;
  }

  .about-4-grid > div:nth-child(3) {
    transform: none;
  }
}

/*************
  CONTACT
**************/
.contact {
  padding: var(--xlarge-vmargin) var(--large-margin);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-right {
  margin-left: var(--large-margin);
  position: relative;
  overflow: hidden;
  min-height: 40vw;
}

.contact-right > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: var(--medium-margin);
  position: relative;
}

.contact form .btn {
  margin: auto;
}

.custom-select select {
  display: none;
}

.custom-select {
  position: relative;
  max-width: 500px;
  font-size: 0.9rem;
  font-family: var(--helvetica);
  letter-spacing: 0.04rem;
}

.contact input:-webkit-autofill,
.contact input:-webkit-autofill:hover,
.contact input:-webkit-autofill:focus,
.contact input:-webkit-autofill:active {
  background-color: none !important;
  -webkit-box-shadow: 0 0 0 30px var(--white) inset !important;
}

.select-selected:after {
  content: url("../img/arrow.svg");
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(calc(-50% - 1.5px));
  transition: transform 0.2s ease-in-out;
}

.select-selected.select-arrow-active:after {
  transform: translateY(calc(-50% + 0.5px)) rotate(180deg);
}

.select-selected {
  border: 1px solid var(--purple);
  transition: border-color 0.2s ease-in-out;
  padding: 6px 10px;
  color: var(--grey);
  cursor: pointer;
}

select.invalid + .select-selected {
  border-color: var(--red);
  color: var(--red);
}

.select-selected.filled {
  color: var(--black);
}

.select-items div {
  color: var(--black);
  cursor: pointer;
  padding: 6px 10px;
  background-color: var(--white);
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 98;
  border: 1px solid var(--purple);
  border-top: none;
  pointer-events: all;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.select-hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.select-items div:hover,
.select-items div.same-as-selected:hover {
  color: var(--white);
  background-color: var(--purple);
}

.select-items div.same-as-selected {
  color: var(--white);
  background-color: var(--purple-300);
}

.contact input[type="email"] {
  appearance: none;
  outline: none;
  border: none;
  border-bottom: 1px solid var(--purple);
  transition: border-color 0.2s ease-in-out;
  padding: 4px 2px;
  font-size: 0.9rem;
  color: var(--black);
  max-width: 500px;
  font-family: var(--helvetica);
  letter-spacing: 0.04rem;
}

.contact input[type="email"].invalid {
  border-color: var(--red);
  color: var(--red);
}

.contact input[type="email"]::placeholder {
  color: var(--grey);
}

.contact input[type="email"].invalid::placeholder {
  color: var(--red);
}

.contact textarea {
  font-size: 0.9rem;
  color: var(--black);
  padding: 4px 6px;
  resize: none;
  outline: none;
  border-radius: 0;
  border: 1px solid var(--purple);
  font-family: var(--helvetica);
  letter-spacing: 0.04rem;
  transition: border-color 0.2s ease-in-out;
}

.contact textarea.invalid {
  border-color: var(--red);
  color: var(--red);
}

.contact textarea::placeholder {
  color: var(--grey);
}

.contact textarea.invalid::placeholder {
  color: var(--red);
}

.checkbox {
  display: flex;
  gap: 5px;
}

.checkbox input {
  accent-color: var(--purple);
  border-radius: 2px;
  border: 1px solid var(--purple);
  cursor: pointer;
  height: 0.9rem;
  width: 0.9rem;
  min-height: 0.9rem;
  min-width: 0.9rem;
  transform: translateY(-1px);
  transition: filter 0.2s ease-in-out;
  filter: drop-shadow(0 0 1px transparent);
}

.checkbox input.invalid {
  filter: drop-shadow(0 0 1px var(--red));
}

.checkbox label {
  cursor: pointer;
  letter-spacing: 0.04rem;
  font-size: 0.9rem;
  color: var(--black);
  transition: color 0.2s ease-in-out;
}

.checkbox input.invalid + label {
  color: var(--red);
}

.checkbox label > p {
  color: var(--black) !important;
}

.checkbox label a {
  color: var(--grey) !important;
  transition: color 0.2s ease-in-out;
}

.checkbox label a:hover {
  color: var(--purple) !important;
}

.preloader {
  transition: height 0.2s ease-in-out;
  width: 100%;
  height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.preloader.active {
  height: 4px;
}

.preloader > span {
  height: 100%;
  background-color: var(--purple);
  position: absolute;
  top: 0;
  border-radius: 2px;
}

.preloader.active > span {
  animation: preloader 1s ease-in-out 0s infinite;
}

#contact_success {
  color: var(--green);
  display: none;
}

#contact_error {
  color: var(--red);
  display: none;
}

@keyframes preloader {
  0% {
    left: 0;
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    left: 100%;
    width: 0%;
  }
}

@media screen and (max-width: 992px) {
  .contact {
    display: block;
  }

  .contact-right {
    margin-left: 0;
    margin-top: var(--large-vmargin);
    min-height: 50vw;
  }
}

@media screen and (max-width: 500px) {
  .contact-right {
    min-height: 80vw;
  }
}

/********************
 LEGALS
*********************/
.legals {
  padding: var(--xlarge-vmargin) var(--xlarge-margin);
  max-width: 1200px;
}

.legals h3 {
  margin: var(--medium-margin) 0 var(--small-margin);
}

.legals a:not(.btn) {
  color: var(--black);
  transition: color 0.2s ease-in-out;
}

.legals a:not(.btn):hover {
  color: var(--purple);
}

.legals .btn.white {
  display: inline-block;
  margin-left: 10px;
  transform: translateY(20%);
}

.legals .btn:not(.white) {
  margin-top: 20px;
}

.legals .checkbox {
  margin-top: 10px;
}

#cookies_success {
  color: var(--green);
  margin-top: 10px;
}

/********************
 COOKIES
*********************/
.cookies {
  position: fixed;
  bottom: 0;
  border: 1px solid var(--white);
  border-bottom: none;
  background-color: rgba(0, 0, 0, 0.75);
  width: calc(100% - 20px);
  z-index: 100;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 10px 22px;
  gap: 20px;
  max-width: 1200px;
  left: 50%;
  transform: translate(-50%, 100%);
  float: 1;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  pointer-events: none;
  opacity: 0;
}

.cookies.active {
  pointer-events: all;
  opacity: 1;
  transform: translateX(-50%);
  transition: transform 0.6s ease-in-out 0.6s, opacity 0.8s ease-in-out 0.8s;
}

.cookies > div {
  display: flex;
  gap: 10px;
  align-items: center;
  float: 1;
}

.cookies > p > a {
  color: var(--white-600);
  transition: color 0.2s ease-in-out;
}

.cookies > p > a:hover {
  color: var(--purple-300);
}

@media screen and (max-width: 1100px) {
  .cookies {
    flex-direction: column;
  }
}

@media screen and (max-width: 400px) {
  .cookies {
    width: 100%;
    border-left: none;
    border-right: none;
  }

  .cookies > div {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/********************
 ANIMATIONS
*********************/

.fade-up,
.fade-down,
.fade-right,
.fade-left,
.fade {
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.anim-trigger:not(.animate) .fade,
.anim-trigger:not(.animate).fade {
  opacity: 0;
}

.anim-trigger:not(.animate) .fade-up,
.anim-trigger:not(.animate).fade-up {
  opacity: 0;
  transform: translateY(-20px);
}

.anim-trigger:not(.animate) .fade-down,
.anim-trigger:not(.animate).fade-down {
  opacity: 0;
  transform: translateY(20px);
}

.anim-trigger:not(.animate) .fade-left,
.anim-trigger:not(.animate).fade-left {
  opacity: 0;
  transform: translateX(-20px);
}

.anim-trigger:not(.animate) .fade-right,
.anim-trigger:not(.animate).fade-right {
  opacity: 0;
  transform: translateX(20px);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

.delay-9 {
  transition-delay: 0.9s;
}

.delay-10 {
  transition-delay: 1s;
}

.anim-title div {
  display: inline-block;
  overflow: hidden;
}

.anim-title div > span,
.anim-trigger .carrousel-slide.after .anim-title div > span,
.anim-trigger .carrousel-slide.before .anim-title div > span {
  display: inline-block;
  transition: transform 0.5s ease-in-out;
  transform: translateY(150%);
}

.anim-trigger.animate .anim-title div > span,
.anim-trigger.animate.anim-title div > span {
  transform: translateY(0);
}
