@charset "utf-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face{
  font-family: ES NEIN;
  src: url(../Users/maurer/Desktop/ECAL 1ERE/BLOCH/2S/SITE 6/ES Nein/ESNein-Extrabold.otf);
}

@font-face{
  font-family: "versailles" ;
  src: url(./fonts/VersaillesLTStd-Roman.otf) format("opentype");
  font-weight: 500; 
}

h1{
  position: relative;
  top: 8%;
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  width: 100%;
  font-family: ES NEIN;
  font-size: 7em;
  color: #0400ff;
  text-align: center;
  line-height: 90%;
  text-decoration: underline;
  padding: 10px;
  }

  .bowl1{
position: absolute;
top: 30%;
  }


#container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100vh;
}
.striped-border {
  display: flex;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  clip-path: polygon(0% 0%, 0% 100%, 10px 100%, 10px 10px, calc(100% - 10px) 10px, calc(100% - 10px) calc(100% - 10px), 10px calc(100% - 10px), 10px 100%, 100% 100%, 100% 0%);
}
.striped-border::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  z-index: -1;
  background: repeating-linear-gradient(-45deg, #f00 0, #f00 10px, #fff 10px, #fff 20px, #00f 20px, #00f 30px, #fff 30px, #fff 40px);
  animation: anime 10s linear infinite;
}
.blanc {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
}
.striped-border h1 {
  margin: 0;
  color: #0400ff;
  font-size: 3.5rem;
  letter-spacing: -15px;
  text-align: center;
  
}
@keyframes anime {
  0% {
    background-position: 0;
  }
  100% {
    background-position: 489px;
  }
}
@media screen and (max-width: 480px) {
 
  .striped-border h1 {
    font-size: 2rem;
  }
}




.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; 
  animation: rotate360 10s infinite forwards linear;
  top: 43%;
  padding: 10px;

}
.carousel__face { 
  position: absolute;
  width: 300px;
  height: 287px;
  top: 52%;
  left: 10px;
  right: 10px;
  background-size: cover;
  box-shadow:inset 0 0 0 2000px #0400ff(98, 0, 255, 0.5);
  display: flex;
}

span {
  margin: auto;
  font-size: 2rem;
}


.carousel__face:nth-child(1) {
  background-image: url("bowl1.jpg");
  transform: rotateY(  0deg) translateZ(430px); }
.carousel__face:nth-child(2) { 
  background-image: url("bowl2.jpg");
    transform: rotateY( 40deg) translateZ(430px); }
.carousel__face:nth-child(3) {
  background-image: url("bowl3.jpg");
  transform: rotateY( 80deg) translateZ(430px); }
.carousel__face:nth-child(4) {
  background-image: url("bowl4.jpg");
  transform: rotateY(120deg) translateZ(430px); }
.carousel__face:nth-child(5) { 
  background-image: url("bowl5.jpg");
 transform: rotateY(160deg) translateZ(430px); }
.carousel__face:nth-child(6) { 
  background-image: url("bowl6.jpg");
 transform: rotateY(200deg) translateZ(430px); }
 .carousel__face:nth-child(7) { 
  background-image: url("Bowl7.jpg");
 transform: rotateY(240deg) translateZ(430px); }
 .carousel__face:nth-child(8) { 
  background-image: url("bowl8.jpg");
 transform: rotateY(280deg) translateZ(430px); }
 .carousel__face:nth-child(9) { 
  background-image: url("bowl9.jpg");
 transform: rotateY(320deg) translateZ(430px); }

.sectionTextes {
  min-height: 100vh;
}


@keyframes rotate360 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }
}

 h2{
    position: relative;
  
    /*left: 50%;
  transform: translate(-50%, -50%);*/
    font-family: ES NEIN;
    font-size: 3em;
    color: #f00;
    text-align: center;
    line-height: 90%;
    }

    h3{
      position: relative;
      padding-top: 310px;
      top: 90%;
      /*left: 50%;
      transform: translate(-50%, -50%);*/
      font-family: ES NEIN;
      font-size: 7em;
      color: #0400ff;
      text-align: center;
      text-decoration: overline ;
      
      
      }

    .tondeuse{
      background-image: url(tondeuse.jpg);
      position: fixed;
      animation-name: spin;
      animation-duration: 5s;
      animation-iteration-count: infinite;
      animation-timing-function: linear;
      }

    @keyframes spin {
      from {
          transform:rotate(0deg);
      }
      to {
          transform:rotate(360deg);
      }
  }


  h4{
    position: relative;
    /* top: 27%;
    left: 50%;
    transform: translate(-50%, -50%); */
    font-family: "versailles";
    font-size: 16.5px;
    color: black;
    text-align: center;
    line-height: 120%;
    width: 80%;
    margin: auto;
    max-width: 705px;
    padding-top: 20px;
    
    
  }

 h5 {
  position: relative;
  width: 100%;
  height: 101vh; 
  overflow: hidden;
 }

  video {
    width: 100%;
    height: 100%; 
    position: absolute;
    padding-top: 15px;
    overflow: hidden;
    object-fit: cover !important;

  }