/* defaults */

/*MODIFICATIONS :
    - Les classes titleL, titleR, txtLeft et txtRight r�glent le point A (marges � gauche/droite).
    - Pour r�soudre le probl�me de l'espacement du texte au format portrait, j'ai du d�finir les tops en px, histoire qu'ils ne s'adaptent
    plus � la taille de la page. Donc c'est plus totalement responsive, mais sans cette modification, on ne pourrait atteindre le
    r�sultat que tu veux.

AUTRES :
    - Dans le #contour, j'ai remplac� le -42% par 42%. Ca permet � ton texte et ton image de rester proportionn�s quand tu passe en mode
    portrait.
*/

@font-face {
    font-family: "Suisse EDU Int'l";
    src: url('../fonts/SuisseEDUIntl.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  }

html {
    font-size: 2vw;
    color: yellow;
}

  body {
    font-family: "Suisse EDU Int'l";
    }

html, body {
    margin: 0;
    padding: 0;
    background-color: black;
    width: 100%;
}

p {
    margin: 0;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    text-rendering: optimizeLegibility;
    z-index: 20;
}

::selection {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
}

::-moz-selection {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

a :hover {
    z-index: 10000000;
}

.hidden {
    display: none;
}

/* */

html {
  scroll-behavior: smooth;
  overflow: hidden auto;
}

body * {
    z-index: 20;
}


.video {
    width: 100%;
    height: 200%;
    object-fit: cover;
    user-select: none;
}

.title {
    padding-top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 5vw;
    color: yellow;
    position: absolute;
    text-align: center;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.titleL {
    padding-left: 2.5%;
    cursor: pointer;

}
.titleR {
    padding-right: 2.5%;
    cursor: pointer;
}

.title p {
    display: inline-block;
}

.spaghetti {

    padding-bottom: 10px;
    width: 100%;
    display: center;
    font-size: 2vw;
    color: yellow;
    position: sticky;
    text-align: center;
    bottom: 0;
    margin-left: 50%;
    transform: translate(-50%, 0);

}


.ingredientsb {
  width: 35%;

  display: left;
  font-size: 2vw;
  color: yellow;
  position: absolute;
  text-align: left;
  top: 30%;
  left: 15%;
  transform: translate(-50%, -30%);
}


.ingredientss {
  width: 35%;

  display: right;
  font-size: 2vw;
  color: yellow;
  position: absolute;
  text-align: right;
  top: 30%;
  left: 85%;
  transform: translate(-50%, -30%);
}


.ok {

    width: 100%;
    display: center;
    justify-content: space-between;
    font-size: 2vw;
    color: yellow;
    position: absolute;
    text-align: center;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.ok2 {
    width: 100%;
    display: center;
    justify-content: space-between;
    font-size: 2vw;
    color: yellow;
    position: absolute;
    text-align: center;
    top: 470vh;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;

}
.ok3 {
    width: 100%;
    display: center;
    justify-content: space-between;
    font-size: 2vw;
    color: yellow;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;

}


.okContain {
    opacity: 0;
    z-index: 999;
}




#contour{
    position: fixed;
    height: 8vw;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    position: fixed;
}

.txtLeft {
    opacity: 0;
    padding-left: 10%;

    transition: all 1s linear ;

}
.txtRight {
    opacity: 0;
    padding-right: 10%;
    transition: all 1s linear ;

}

.opacity1{
    opacity: 1;
}

#light {
    position: absolute;
    width: 500px;
    height: 500px;
    box-shadow: inset 0 0 150px 150px rgba(0, 0, 0, 0);
    background-color: yellow;
    z-index: 5;
    border-radius: 100%;
    border-color: black;
    opacity: 0;
    transform: scale(0.55);
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes appears{
    100% {
        opacity: 0.80;
    }
}



  .blackContainer {
      width: 100%;
      height: 100vh;
      background-color: black;
      overflow: hidden;
  }


.number {
    position: absolute;
    border-radius: 100%;
    color: black;
    width: 20%;
    height: auto;
    font-size: 2vw;
    text-align: center;
    justify-content: center;
    align-items: center;
    transform: scale(2);
    cursor: pointer;
    z-index: 900;
}
  .one {
      top: 350%;
      left: 10%;
  }
  .two {
      top: 340%;
      left: 70%;
  }
  .three {
      top: 395%;
      left: 40%;
  }
  .four {
      top: 410%;
      left: 15%;
  }
  .five {
      top: 450%;
      left: 50%;
  }
  .six {
      top: 350%;
      left: 40%;
  }
  .seven {
      top: 430%;
      left: 75%;
  }
  .eight {
      top: 460%;
      left: 25%;
  }
.error {
    position: fixed;
    top: 30vh;
    left: 0px;
    width: 100%;

    color: yellow;

    font-size: 2vw;
    text-align: center;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-name: show;
}

@keyframes lighterror {
    0% {
        background-color: yellow;
    }

    50% {
        background-color: red;
    }

    100% {
        background-color: yellow;
    }
}

@keyframes show {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.80;
    }
    100% {
        opacity: 0;
    }
}

.plat {
    width: 100%;
    height: 100%;
    position: absolute;
}
#vidplat {
    width: 100%;
    height: 100%;
    opacity: 0;

}








/* Portrait */
@media screen and (orientation:portrait) {
    /* Portrait styles */
    .plat {
        height: auto;
    }

    #light {
        transform: scale(0.35);
    }



    .two {
        top: 320%;
        left: 20%;

    }

    .four {
        top: 420%;
        left: 15%;
    }




    .six {
        top: 300%;
        left: 40%;
    }

    .seven {
        top: 430%;
        left: 50%;
    }

    .eight {
        top: 360%;
      left: 60%;
  }


    .ok2 {
        top: 405vh;
    }


    .ingredientsb {

        top: 15%;
 
      }
      
      
      .ingredientss {

        top: 15%;
 
      }
      

.number {
    font-size: 3vw;
    width: 150px;
}





     

/* Landscape */
@media screen and (orientation:landscape) {
    /* Landscape styles */


    /*.plat {
    }*/

}
