@charset "UTF-8";
:root {
  --angle-rotate: 0deg;
  --cube-size: 90vw;
}

*::-webkit-scrollbar {
  display: none;
}
@font-face {
  font-family: Zug;
  src: url(ZugEtc_TRIAL/ZugEtc-Regular-Trial.otf);
}

@font-face {
  font-family: ITC;
  src: url(ITC/AvantGardeITCbyBT-Demi.otf);
}

@media screen and (min-width: 600px) {
  p {
    color: #ff4802;
    font-size: 1.8vw;
  }
  h2 {
    color: #ff4802;
    font-size: 2vw;
    margin-bottom: -1vw;
  }
  .box-top-page {
    font-size: 5vw;
    line-height: 4.5vw;
    margin-bottom: 20vw;
    margin-top: 15vw;
  }
  .logo {
    width: 23%;
    left: 78%;
  }

  .close-btn {
    font-size: 5vw;
  }

  #h8 img {
    width: 100%;
    height: auto;
  }

  #h9 img {
    width: 100%;
    height: auto;
    margin-bottom: -1vw;
  }

  .petiteimg-1 img {
    top: 15%;
    left: 3%;
    width: 25vw;
    height: 25vw;
  }
  .petiteimg-2 img {
    top: 47%;
    left: 40%;
    width: 30vw;
    height: 30vw;
  }
  .petiteimg-3 img {
    top: -10%;
    left: 57%;
    width: 40vw;
    height: 40vw;
  }
  .trois-croix {
    z-index: 10000;
    top: 200vw;
  }
  .formulaire1 {
    transform: translate(0, -250%);
  }
  .formulaire2 {
    transform: translate(0, -250%);
  }

  /* .modal-rect {
    width: 50%;
  } */
  .trois-croix {
    display: block;
    position: absolute;
    top: 250%;
  }
}

@media screen and (max-width: 600px) {
  p {
    font-size: 3.5vw;
    color: #ff4802;
  }

  h2 {
    color: #ff4802;
    font-size: 4.5vw;
    margin-bottom: -1vw;
  }
  .box-top-page {
    font-size: 6.5vw;
    line-height: 8vw;
    padding-bottom: 80vw;
    padding-top: 60vw;
  }

  .logo {
    width: 40%;
    left: 60%;
  }
  .close-btn {
    font-size: 8vw;
  }

  #h8 {
    width: 100%;
    overflow: hidden;
  }

  #h8 img {
    min-width: 100%;
    height: 100vh;
  }

  #h9 {
    width: 100%;
    overflow: hidden;
  }

  #h9 img {
    min-width: 100%;
    height: 100vh;
    margin-bottom: -2vw;
  }

  .petiteimg-1 img {
    top: 3%;
    left: 7%;
    width: 40vw;
    height: 40vw;
  }
  .petiteimg-2 img {
    top: 64%;
    left: 20%;
    width: 60vw;
    height: 60vw;
  }
  .petiteimg-3 img {
    top: 42%;
    left: 42%;
    width: 50vw;
    height: 50vw;
  }
  .trois-croix {
    z-index: 10000;
    top: 501vw;
  }
  .formulaire1 {
    transform: translate(0, -500%);
  }
  .formulaire2 {
    transform: translate(0, -500%);
  }
  .modal-rect {
    width: 70%;
  }

  .trois-croix {
    display: block;
    position: absolute;
    top: 190%;
  }
}

* {
  box-sizing: border-box;
  font-family: ITC;
  /* color: #d2d2d2; */
}

html,
body {
  height: 100%;
}

canvas {
  width: 100px;
  height: 100px;
  position: absolute; /* Adjust as needed */
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.3;

  /* background-image: 45deg linear-gradient(90deg, #d2d2d2 1px, transparent 1px); */

  background-color: #ff4802;
}

.ctn-sign-top {
  width: 100dvw;
  overflow: hidden;
  position: relative;
}

.sign1 {
  position: relative;
  animation: move-words 5s linear infinite;
  margin: 0;
}

@keyframes move-words {
  0% {
    left: 10%;
  }
  50% {
    left: -10%;
  }
  100% {
    left: 10%;
  }
}

.petiteimg-1 img {
  position: absolute;

  object-fit: cover;
  animation: fadeIn 5s;
}
.petiteimg-2 img {
  position: absolute;

  object-fit: cover;
  animation: fadeIn 5s;
}
.petiteimg-3 img {
  position: absolute;

  object-fit: cover;

  animation: fadeIn 5s;
}

.firstpage {
  height: 50vw;
}

.box {
  position: relative;
  width: 100dvw;
  height: 100dvh;
  transform-style: preserve-3d;
  animation: animate 20s linear infinite;
}

#revolution {
  font-weight: bold;
}

#test {
  width: 447px;
  height: 275px;
  transform: translate(-50%, -50%);
  position: absolute;
  transition: 0.5s;
}

.hello {
  margin-top: 20%;
  font-weight: bold;
  font-size: 20vw;
  text-align: center;
}

.thankyou {
  display: none;
  background-color: black;
  /* left: 50%; */
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1000;
  padding: 2vw;
}

.thankyou p {
  font-size: 1.8vw;
  text-align: center;
}

.rect-noir {
  display: none;
  background-color: black;
  left: 50%;
  width: 50%;
  height: 100%;
  position: fixed;
  z-index: 1000;
  text-align: center;
}

.box-top-page {
  text-align: center;

  color: black;
  animation: fadeIn 5s;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #d2d2d2;
}

.sign1 {
  scroll-behavior: smooth;
}
.sign2 {
  scroll-behavior: smooth;
}
.sign3 {
  scroll-behavior: smooth;
}
.sign4 {
  scroll-behavior: smooth;
}
.sign5 {
  scroll-behavior: smooth;
}
.sign6 {
  scroll-behavior: smooth;
}

#blocBlanc {
  margin-top: 25%;
  margin-left: 40%;
  padding: 1.5vw;
  display: none;
  position: absolute;
  z-index: 3;
  background-color: #d2d2d2;
  width: 50vw;
  /* border: 2px solid #d2d2d2; */
  /* border-radius: 30px; */
}

#blocBlanc2 {
  margin-top: 42%;
  margin-left: 25%;
  padding: 1vw;
  display: none;
  position: absolute;
  z-index: 3;
  /* background-color: #0044ff; */
  width: 25vw;
  /* border: 2px solid #d2d2d2; */
  /* border-radius: 30px; */
  /* object-fit: cover; */
}

#popup {
  object-fit: scale-down;
  width: 100%;
}

#homepage {
  position: absolute;
  width: 200px;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#imgText {
  position: relative;
  text-align: center;
}

#clickImg {
  text-align: center;
  z-index: 1;
  font-weight: bold;
  font-size: 1vw;
}

#imageHelico {
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 2000;

  width: 100px;
  height: 100px;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;

  animation: fadeIn 5s;
}

#imageHelico img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation-delay: 0s;
  animation: mymove 1s infinite;
}

#imageHelico .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #d2d2d2;
  transform: translate3d(-50%, -50%, 0);
}

#scroll {
  text-align: center;
  z-index: 1;
  font-weight: bold;
  height: 50%;
  width: 50%;
  animation: fadeIn 5s;
  cursor: pointer;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#revolution {
  font-size: 2vw;
  text-align: center;
}

.logo {
  top: 1%;
  /* left: 78%; */
  /* width: 23%; */
  padding: 3vw;
  cursor: pointer;
  position: fixed;
  z-index: 10;
}

.logo img {
  width: 100%;
  /* margin-top: 5vw; */
  /* margin-left: 20vw; */
  height: auto;
  /* transform: scale(0.3); */
  animation: fadeIn 5s;
}

.popup {
  display: none;
  z-index: 500;
  position: fixed;
  height: 100%;
}

.popup-content {
  /* position: absolute; */
  /* transform: translate(200%, 10%); */
  width: 50%;
  height: 100%;
  font-size: 1vw;
  color: #ff4802;
  padding: 2vw;
  background: #000000;
}

.close-btn {
  cursor: pointer;
  color: #ff4802;
}

.close-btn:hover {
  color: #d2d2d2;
}

.formulaire1 {
  width: 100%;
  z-index: 4;
  font-size: 12vw;
  text-align: center;
  max-width: 30em; /* largeur de la fenêtre */
  margin-bottom: 70vw;
  overflow: hidden; /* masque tout ce qui dépasse */
  font-weight: bold;
  text-align: center;
  color: #ff4802;
  animation: fadeIn 5s;
  position: absolute;
  /* transform: translate(0, -250%); */
}

.formulaire1 > :first-child {
  color: #ff4802;
  display: inline-block;
  padding-right: 2em; /* un peu d'espace pour la transition */
  padding-left: 100%; /* placement à droite du conteneur */
  white-space: nowrap; /* pas de passage à la ligne */
  animation: defilement-rtl 10s infinite linear;
}

.formulaire2 {
  width: 100%;
  z-index: 4;
  font-size: 12vw;
  text-align: center;
  max-width: 30em; /* largeur de la fenêtre */
  margin-bottom: 70vw;
  overflow: hidden; /* masque tout ce qui dépasse */
  font-weight: bold;
  text-align: center;
  color: #ff4802;
  animation: fadeIn 5s;
  position: absolute;
  /* transform: translate(0, -250%); */
}

.formulaire2 > :first-child {
  color: #ff4802;
  display: inline-block;
  padding-right: 2em; /* un peu d'espace pour la transition */
  padding-left: 100%; /* placement à droite du conteneur */
  white-space: nowrap; /* pas de passage à la ligne */
  animation: defilement-rtl 10s infinite linear;
}

@keyframes defilement-rtl {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes animate {
  0% {
    transform: scale(0.2) rotateX(-20deg) rotateY(0deg);
  }
  100% {
    transform: scale(0.2) rotateX(-20deg) rotateY(360deg);
  }
}

@keyframes animate2 {
  0% {
    transform: scale(0.25) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: scale(0.25) rotateX(360deg) rotateY(360deg);
  }
}

@keyframes move {
  0% {
    transform: translateX(100px);
  }

  25% {
    transform: translateY(-40px);
  }

  50% {
    transform: translateY(500px);
  }

  100% {
    transform: translateX(100px);
  }
}

.sign {
  position: absolute;
  margin-top: 110vw;
  text-align: center;
  /* color: #ff4802; */
  margin-left: 10vw;
  z-index: 4;
  font-size: 10vw;
  color: #d2d2d2;
}

.signature-pad-form {
  max-width: 300px;
  margin: 0 auto;
}
.signature-pad {
  /* cursor: url(pen.png) 1 26, pointer; */
  border: 2px solid red;
  border-radius: 4px;
}

.submit-button {
  width: 100%;
  background-color: red;
  border: none;
  padding: 0.5rem 1rem;
  /* color: #fff; */
  cursor: pointer;
  margin-top: 2rem;
}
/* @media (pointer: coarse) {
  body {
    overflow: hidden; 
  }
} */

@keyframes mymove {
  100% {
    transform: rotate(360deg);
  }
}

/* teste */
.flex-row {
  margin-top: 5%;
  display: flex;
  flex-direction: column;
}
.wrapper {
  /* border: 1px solid #4b00ff; */
  border-right: 0;
}
canvas#signature-pad {
  margin-left: 25%;
  position: absolute;
  background: #d2d2d2;
  width: 50%;
  cursor: crosshair;
}
/* button#clear {
  position: absolute;
  margin-left: 45vw;
  margin-top: 10vw;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10vw;
} */

.marge-bas {
  height: 10vw;
}

#send {
  padding: 2vw;
  font-size: 1.8vw;
  /* position: absolute; */
  /* margin-left: 45vw; */
  /* margin-top: 10vw; */
  border: 0.5vw solid #ff4802;
  background-color: black;
  color: #ff4802;
  /* font-weight: 600; */
  cursor: pointer;
  /* margin-bottom: 10vw; */
  display: block;
}

.clear-btn {
  display: flex;
  flex-direction: row;
  padding-left: 5vw;
}

#clear {
  padding: 2vw;
  font-size: 1.8vw;
  border: 0.5vw solid #ff4802;
  background-color: black;
  color: #ff4802;
  cursor: pointer;
  display: block;
}

/* p {
  color: #ff4802;
  font-size: 1.2vw;
} */
/* 
h2 {
  color: #ff4802;
  font-size: 2vw;
  margin-bottom: -1vw;
} */

/* carousel */

.template {
  display: none;
}

.carousel {
  width: 100%;
  /* height: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* perspective: 1000vw; */
  /* perspective: 5000vw; */
  /* padding: 220vw 0; */
  perspective-origin: 50% 100%;
  z-index: 10;
}

.cube-anchor {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(0);
  display: flex;
  flex-direction: column;
}

.cube {
  --index: 0deg;
  flex: 0 0 auto;

  width: var(--cube-size);
  height: var(--cube-size);

  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(90deg)
    rotateZ(calc(var(--index) * 0deg + var(--angle-rotate)));

  /* animation: rotateX 5s linear infinite; */
  /* background-color: red; */
}

.face {
  --offset: calc((var(--cube-size) / 6) * 2);
  --offset-image: 0px;

  position: absolute;
  width: var(--cube-size);
  height: var(--cube-size);
  /* border: 2px solid black; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 24px;
  font-weight: bold;
  transform-style: preserve-3d;
}

.face:hover {
  --offset-image: calc((var(--cube-size) / 2) - var(--offset));
  cursor: pointer;
}

.face__image {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
  transition: transform 0.1s ease-in-out;
  transform: translateZ(var(--offset-image));
}

.face__image img {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.face.face-1 {
  transform: rotateY(90deg) rotateZ(-90deg) translateZ(var(--offset));
}
.face.face-2 {
  transform: rotateX(90deg) rotateZ(180deg) translateZ(var(--offset));
}
.face.face-3 {
  transform: rotateY(-90deg) rotateZ(90deg) translateZ(var(--offset));
}
.face.face-4 {
  transform: rotateX(-90deg) translateZ(var(--offset));
}

@keyframes rotateX {
  from {
    transform: rotateZ(0);
  }
  to {
    transform: rotateZ(360deg);
  }
}
.close {
  color: #d2d2d2;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes grow {
  0% {
    width: 100%;
  }

  50% {
    width: 20%;
  }
  100% {
    width: 20%;
  }
}

@keyframes grow2 {
  0% {
    width: 0%;
  }

  50% {
    width: 53%;
  }
  100% {
    width: 53%;
  }
}

@keyframes grow3 {
  0% {
    width: 100%;
  }
  50% {
    width: 80%;
  }
  100% {
    width: 80%;
  }
}

.open-btn {
  top: 100vw;
  /* display: block; */
  font-size: 15vw;
  color: #ff4802;
  width: 100%;
  /* left: 90%; */
  z-index: 3000;
}

.trois-croix {
  display: block;
  position: absolute;
}

.btn-contain {
  /* margin: 10vw; */
  margin-top: 60vw;
}

.open-btn {
  cursor: pointer;
  /* color: white; */
  transition: all 0.25s ease;
  transform: rotate(45deg);
}

.open-btn:hover {
  color: #d2d2d2;
}

.ctnrectangle {
  display: none;
  position: absolute;
  z-index: 10000;
  height: 100%;
  /* width: 50%; */
  /* background-color: black; */
  /* border: 2px solid black; */
}
.ctnrectangle2 {
  display: none;
  position: absolute;
  z-index: 1001;
  /* background-color: black; */
  /* border: 2px solid black; */
}

.ctnrectangle3 {
  display: none;
  position: absolute;
  z-index: 1001;
  /* background-color: black; */
  /* border: 2px solid black; */
}

.percent-num {
  /* margin-left: 4vw;
  margin-right: 4vw; */
  color: #d2d2d2;
  font-size: 3vw;
}
.num {
  color: black;
  /* padding: 1vw; */
  font-size: 1.8vw;
  background-color: #ff4802;
}

.progress-rect {
  margin-top: 1vw;
  margin-bottom: 2vw;
  margin-left: 3vw;
  width: 50vw;
  height: 6vw;
  border: 1vw solid black;
  background-color: #ff4802;
}

.animated-rectangle {
  margin-bottom: 2vw;
  font-size: 3.5vw;
  width: 50vw;
  height: 4.5vw;
  color: #ff4802;
  background-color: black;
  /* border: 1vw solid black; */
  animation: grow 5s linear infinite;
  text-align: right;
}

.animated-rectangle2 {
  margin-bottom: 2vw;
  font-size: 3.5vw;
  width: 50px;
  height: 5vw;
  color: #ff4802;
  background-color: black;
  /* border: 1vw solid black; */
  animation: grow2 5s linear infinite;
  text-align: right;
}

.animated-rectangle3 {
  margin-bottom: 2vw;
  font-size: 3.5vw;
  width: 50px;
  height: 5vw;
  color: #ff4802;
  background-color: black;
  /* border: 1vw solid black; */
  animation: grow3 5s linear infinite;
  text-align: right;
}

.rect-text {
  width: 100%;
  /* margin-left: 45vw; */
  font-size: 1vw;
  padding: 2vw;
  /* background-color: black; */
  color: #ff4802;
}

.titre-initiative {
  margin-top: 10vw;
  margin-bottom: 10vw;
  text-align: center;
  font-size: 5vw;
  color: #d2d2d2;
}

/* MODAL CAROUSEL JAVASCRIPT */
.show {
  display: block;
}

/* p {
  font-size: 1.8vw;
} */

.modal-rect {
  position: fixed;
  right: 0;
  height: 100%;
  background-color: #000;
  animation: slide 1s;
}

@keyframes slide {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(100%);
  }
}

.cross-rotate {
  transform: rotate(90deg);
}

.end-page-text {
  padding: 5vw;
  background-color: black;
  width: 100%;
  font-size: 1.8vw;
}
