@charset "UTF-8";


@font-face {
font-family: "delfine";
src: url(../fonts/SuisseIntl-Book.otf) format("opentype");
font-weight: 500;
}

body,
html {
  font-size: 15px;
}

h1 {

  font-size: 9rem;
  display: flex;
  text-align: center;
  margin-left: 10px;
}


h2 {

  font-size: clamp(1rem, 10vw, 4rem);
  color: #000000;
  margin-top: 10%;
  box-sizing: border-box;
  position: sticky;
  height: 5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  height: 3000px;
  background-image: radial-gradient(rgb(0, 0, 0) 10%, transparent 10%);
  background-size: 15px 15px;
  overflow-x: hidden;
  font-family: "delfine"
}


header,
main {
  width: 90vw;
  max-width: 2000px;
  margin: auto;
}


h1 {
  color: #000000;
  margin: 20px 0;
  margin-bottom: 60px;
  text-align: left;
}


/* CARTE */

.card-container {
  /* display: grid; */
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 200px;
  margin: 100px 0;
  margin-top: 20vh;
}

.card-wrapper {
  position: relative;
  z-index: 0;
  min-height: 500px;
  perspective: 2000px;
  perspective-origin: top;
}

@media screen and (max-width: 500px) {

  .card-wrapper {
    position: relative;
    z-index: 0;
    min-height: 700px;
    perspective: 2000px;
    perspective-origin: top;
  }
}

.card-wrapper:hover .card {
  transform-origin: center;
  transform: rotateY(180deg) translate(-1%, -1%);
  /* transform: translate(160px); */
}

@media screen and (max-width: 500px) {
  .card-wrapper:hover .card {
    transform-origin: center;
    transform: rotateY(180deg) translate(-13%, -10%);
    /* transform: translate(160px); */
  }
}


.card-wrapper:hover {
  z-index: 0;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
  color: rgb(0, 0, 0);
  text-align: left;
}

.card-front,
.card-back {
  position: absolute;
  padding: 180px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: row;
  justify-content: left;

}


.card-back {
  width: 100%;
  height: 100%;
  margin: 50px;
  transition: 12s;
  text-align: center justify;


  /* background: rgb(255, 0, 0) !important; */
  /* background: #000000; */
}


.card-front {
  height: 100%;
  width: 100%;
  padding: 200px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}





.card-wrapper:nth-child(even) .card-front {
  background-color: #ffffff;
}



.red {
  background: rgb(0, 0, 0) !important;
}

.card-front p {
  font-size: 70px;
  line-height: 35px;
  display: flex;
  text-align: left;
  margin-top: -150px;
  margin-left: -150px;

}


.arrow-icon {
  position: absolute;
  right: 30px;
  bottom: 30px;
}


.card-back {
  background: #000000;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.5s ease;
  text-align: center;
}


.card-wrapper:nth-child(even) .card-back {
  background-color: #000000;
}


.card-back a {
  display: inline-block;
  text-decoration: none;
  letter-spacing: 1.5px;
  font-weight: normal;
  background-color: #000000;
  font-size: 50px;
  color: #ffffff;
  text-align: left;
  transition: background-color 0.3s ease-out,
    color 0.3s ease-out;
}


.card-wrapper:nth-child(odd) .card-back a:hover {
  background-color: #000000;
  color: rgb(154, 154, 154);
}


.informationSigne {
  position: absolute;
  padding: 100px;
  padding-right: 100px;
  width: 150vmin;
  height: 200vmin;
  margin-top: 100vmin;
  top: auto;
  left: 150vw;
  background-color: #ffffff;
  transition:
    background-color 0.5s ease-in-out,
    background 0.5s ease-in-out,
    border-radius 0.5s ease-in-out,
    left 1s ease-in-out;
}
@media screen and (max-width: 500px) {

  .informationSigne  {
    padding: 5px;
    height: 400vmin;
    padding-top: 300px;
    padding-left: -100px;

  }
  
  }

.informationSigne p {
  font-family: "delfine";
  font-size: 40px;
  line-height: 3rem;
  display: flex;
  text-align: left;
  padding: 20px;
  padding-right: 100px;
}

@media screen and (max-width: 500px) {

  .informationSigne p {
    font-size: 25px;
    line-height: 3rem;
    padding-right: 260px;
  
  }

}

.informationSigne p1 {
  font-family: "delfine";
  font-size: 70px;
  line-height: 4rem;
  display: flex;
  text-align: left;
  padding: 15px;

}

@media screen and (max-width: 500px) {

  .informationSigne p1 {
    font-size: 47px;
    line-height: 6rem;
    padding-right: 240px;
    z-index: 200;
    left: 10px;
  


  
  }
}

.informationSigne.show {
  left: 3vw;

}

@media screen and (max-width: 500px) {

  .informationSigne p {
    font-size: 25px;
    line-height: 4rem;
  
  }
  .informationSigne.show {
    left: -5vw;
  
  }

}




.marquee {
  position: relative;
  font-size: 2em;
  display: flex;

}

.marquee p {
  white-space: nowrap;
  animation: marqueeanim 12s linear 0s infinite;
  color: rgb(0, 0, 0);
}

.marquee.reverse p {
  white-space: nowrap;
  animation: marqueeanim 10s linear 0s infinite reverse;
}


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

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


/* Nope-anim */


.nope-anim {
  position: relative;
  width: 300px;
  height: 100px;
  border-radius: 50%;
  background: #000000;
  top: 180%;
  left: 40%;
  cursor: pointer;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 30px;
  margin: 40px 0;
  margin-top: 10%;



}

.nope-anim-1 {
  position: relative;
  left: -20px;
  font-size: 17px;
  color: rgb(255, 255, 255);
  justify-content: center;
  align-items: center;
  display: flex;
  font-weight: bold;


}

.nope-anim:hover {
  animation: nope .4s forwards;
}

@keyframes nope {

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

  20% {
    transform: translateX(-10px);
  }

  40% {
    transform: translateX(10px);
  }

  60% {
    transform: translateX(-10px);
  }

  80% {
    transform: translateX(10px);
  }

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

}