/* --------------------
-- REGLAGES GENERAUX --
-------------------- */

@font-face {
  font-family: 'arial-rounded-bold';
  src: url('../typo/arial-rounded-bold.ttf') format("truetype");
}

@font-face {
  font-family: 'chopin-script';
  src: url('../typo/chopin-script.otf') format("truetype");
}

@font-face {
  font-family: 'vevey-positive';
  src: url('../typo/vevey-positive.otf') format("truetype");
}

@font-face {
  font-family: 'vevey-humankind';
  src: url('../typo/vevey-humankind.otf') format("truetype");
}

@font-face {
  font-family: 'lausanne-regular';
  src: url('../Lausanne/Lausanne-Regular.otf') format("truetype");
}

body {
  margin: 0;
  background: rgb(246, 157, 0);
  background: linear-gradient(180deg, rgba(246, 157, 0, 1) 0%, rgba(255, 204, 174, 1) 40%, rgba(247, 49, 89, 1) 61%, rgba(177, 177, 177, 1) 100%);
  font-family: 'lausanne-regular';
  overflow-x: hidden;
  /* changer la typo */
  padding-bottom: 5%;
  /* changer l'image du curseur ( de préférence une image de petite taille en png) */
  cursor: url('../img/cursor.png'), auto;
}

body.recette {
  padding-bottom: 0;
}

button {
  color: #eee;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 30px;
  height: 30px;
  margin: 20px;
  border: none;
  border-radius: none;
  outline: none;
  box-shadow: none;
  opacity: 0.8;
  cursor: pointer;
  background: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.fa-volume-mute {
  background-image: url('../img/mute.png');
}

.fa-volume-up {
  background-image: url('../img/volume.png');
}

#back {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 25px;
  height: 25px;
  margin: 20px;
  border-radius: 100%;
  filter: blur(3px);
  background: #bd252d;
  border: 7px solid #632b1e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inside-back {
  background: white;
  border-radius: 100%;
  width: 10px;
  height: 10px;
}

.page {
  margin: 0 auto;
  width: 90vw;
}

.chopin-type {
  font-family: 'chopin-script';
  font-weight: normal;
  text-align: center;
/*  line-height: 2.6vw;*/
}

.chopin-type_text {
  font-family: 'chopin-script';
  font-weight: normal;
  text-align: center;
  line-height: 2.6vw;
}
h1 {
  color: white;
  mix-blend-mode: overlay;
  margin: 1rem 0;

}

h2 {
  color: #e3692f;
  font-size: 6rem;
  margin: 1rem 0;
}

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

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  font-size: 1.5rem;
}

#origine {
  font-size: 5.5rem;
}

.link-fancy {
  display: block;
  color: #e2b49e;
  text-align: center;
  font-size: 5rem;
  margin-top: 20px;
}

/* ---------------------
------- PARTIE 1 -------
--------------------- */

.zone-1 {
  background-image: url("../img/background-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 50px;
  box-shadow: 5px 10px 18px #c55d18;

}

.zone-1 h1 {
  position: absolute;
  top: -50px;
  right: 0;
  left: 0;
  z-index: 2;
  font-size: 15rem;
}

.part-1 {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  padding-top: 200px;
}

.part-1 .cercle-p {
  border-radius: 100%;
  width: 4vw;
  height: 4vw;
  margin: 0;
  transition: all 1s ease-out;

}

.part-1 .cercle-2 {
  background-color: white;
}

.part-1 .cercle-4 {
  background-color: #632b1e;
}

.part-1 .cercle-6 {
  background-color: #bd252d;
}

.part-1 .cercle-g {
  border-radius: 100%;
  width: 12vw;
  height: 12vw;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s ease;
  border-style: solid;
  border-width: 3vw;
  background-color: #e3692f;
  border-color: #632b1e;
  filter: blur(6px);
  /* pour regler le niveau de flou sur les ronds */
}

.part-1 .cercle-1 {
  background-color: #e3692f;
  border-color: #632b1e;
}

.part-1 .cercle-3 {
  background-color: white;
  border-color: #632b1e;
}

.part-1 .cercle-5 {
  background-color: white;
  border-color: #632b1e;
}

.part-1 .cercle-g:hover,
.part-1 a:hover {
  width: 14vw;
  height: 14vw;
  border-width: 2vw;
  border-color: #e3692f;
  background-color: #5f2c0e;
}

.part-1 .cercle-1:hover {
  border-color: white;
  background-color: #5f2c0e;
}

.part-1 .cercle-3:hover {
  border-color: #e3692f;
  background-color: white;
}

.part-1 .cercle-5:hover {
  border-color: white;
  background-color: #5f2c0e;
}

.part-1 a {
  border-radius: 100%;
  width: 12vw;
  height: 12vw;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  border-style: solid;
  border-width: 3vw;
  background-color: #e3692f;
  border-color: #e3692f;
  color: transparent;
  box-shadow: 0px 0px 3px 3px #e3692f;
  /* pour regler le niveau de flou sur les ronds avec textes */
}

.part-1 p {
  transition: all 0.3s ease-in-out;
  display: block;
  font-size: 2rem;
  margin: 0;

}

.part-1 a:hover p {
  font-size: 2.3rem;
}

.part-1 .link:hover {
  width: 17.8vw;
  height: 17.8vw;
  border-width: 0vw;
  border-color: transparent;
}

.part-1 .link-1:hover {
  color: #5f2c0e;
  background-color: white;
  box-shadow: 0px 0px 5px 5px white;
  /* pour regler le niveau de flou sur les ronds avec textes */
}

.part-1 .link-2:hover {
  color: white;
  background-color: #5f2c0e;
  box-shadow: 0px 0px 5px 5px #5f2c0e;
  /* pour regler le niveau de flou sur les ronds avec textes */
}

.part-1 .link-3:hover {
  color: #5f2c0e;
  background-color: #bd252d;
  box-shadow: 0px 0px 5px 5px #bd252d;
  /* pour regler le niveau de flou sur les ronds avec textes */
}

/* ---------------------
------- PARTIE 2 -------
--------------------- */

.zone-2 {

  padding-bottom: 50px;
  /* activer la cesure pour les paragraphes */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.part-2 {
  min-height: 100vh;
}

/*espace entre les textes */
.part-2 div {
  padding: 2vw 0;
}

.part-2 .paragraph-1,
.paragraph-2,
.paragraph-3 {
  width: 50%;
  margin: 0 auto;

}

.part-2 p {
  font-size: 2rem;
  color: #bd252d;
  text-shadow: 0 0 0.2rem white, 4px 4px 0.4rem #bd252d;
}

.part-2 p::before {
  content: "";
  display: block;
  height: 100vw;
  width: 200vw;
  border-radius: 100%;
  position: absolute;
  top: calc(50% - 50vw);
  left: calc(50% - 100vw);
  z-index: -1;
  transition: all 1s ease;
}

.part-2 .text-1::before {
  background: linear-gradient(#b6b6b6, #e3692f);
  z-index: -1;
}

.part-2 .text-2::before {

  z-index: -2;
}

.part-2 .text-3::before {

  z-index: -3;
}



/* ---------------------
------- PARTIE 3 -------
--------------------- */

.zone-3 {
  margin-top: 20px;
  padding: 10px;
}

.part-3 {
  position: relative;
  height: 1000px;
}

#ingredients {
  color: white;
  font-size: 5.5rem;
}

.part-3 div {
  border-radius: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  transition: all 0.5s ease-in-out;
}

.part-3 .cercle-1 {
  color: white;
  background-color: #5f2c0e;
  box-shadow: 0px 0px 5px 5px #5f2c0e;
  /* pour regler le niveau de flou sur les ronds avec textes */
}

.part-3 .click1 {
  color: #5f2c0e;
  background-color: white;
  box-shadow: 0px 0px 5px 5px white;
}


.type-a {
  font-size: 3rem;
  width: 400px;
  height: 400px;
}

.type-b {
  font-size: 2rem;
  width: 300px;
  height: 300px;
}

.type-c {
  font-size: 1.6rem;
  width: 250px;
  height: 250px;
}

.type-d {
  font-size: 1.3rem;
  width: 180px;
  height: 180px;
}

.type-e {
  font-size: 1rem;
  width: 100px;
  height: 100px;
}

.type-a:hover {
  width: 390px;
  height: 390px;
}

.type-b:hover {
  width: 280px;
  height: 280px;
}

.type-c:hover {
  width: 270px;
  height: 270px;
}

.type-d:hover {
  width: 190px;
  height: 190px;
}

.type-e:hover {
  width: 90px;
  height: 90px;
}

/*farine*/
.qtt-1 {
  top: 0;
  left: 0%;
}

/*sucre*/
.qtt-2 {
  top: 5%;
  right: 40%;
}

/*beurre*/
.qtt-3 {
  top: 10%;
  left: 70%;
}

/*marsala*/
.qtt-4 {
  top: 25%;
  left: 60%;
}

/*oeuf*/
.qtt-5 {
  top: 30%;
  right: 0%;
}

/*sel*/
.qtt-6 {
  top: 25%;
  left: 40%;
}

/*ricotta*/
.qtt-7 {
  top: 40%;
  right: 0%;
}

/*sucre*/
.qtt-8 {
  top: 50%;
  left: 30%;
}

/*vanille*/
.qtt-9 {
  top: 40%;
  right: 65%;
}

/*sel*/
.qtt-10 {
  top: 45%;
  left: 10%;
}

/*orange*/
.qtt-11 {
  bottom: 7%;
  left: 10%;
  color: white;
  background-color: rgb(235, 147, 47);
  box-shadow: 0px 0px 5px 5px rgb(235, 147, 47);
}

.click3 {
  color: rgb(235, 147, 47);
  background-color: white;
  box-shadow: 0px 0px 5px 5px white;
}

/*cerise*/
.qtt-12 {
  top: 40%;
  left: 47%;
  color: white;
  background-color: rgb(190, 43, 43);
  box-shadow: 0px 0px 5px 5px rgb(190, 43, 43);
}

.click4 {
  color: rgb(190, 43, 43);
  background-color: white;
  box-shadow: 0px 0px 5px 5px white;
}

/*pistache*/
.qtt-13 {
  bottom: 0%;
  left: 35%;
  color: white;
  background-color: rgb(123, 199, 123);
  box-shadow: 0px 0px 5px 5px rgb(123, 199, 123);
}

.click5 {
  color: rgb(123, 199, 123);
  background-color: white;
  box-shadow: 0px 0px 5px 5px white;
}

/*pepite choco*/
.qtt-14 {
  bottom: 0%;
  right: 10%;
  color: white;
  background-color: #331a0b;
  box-shadow: 0px 0px 5px 5px #331a0b;
}

.click6 {
  color: #331a0b;
  background-color: white;
  box-shadow: 0px 0px 5px 5px white;
}

#fleches-svg {
  width: 90px;
  height: 90px;
  display: inline-block;
  margin: 0 auto;
  padding-top: 1rem;
}


/* -------------------------
------- PAGE RECETTE -------
------------------------- */

.myButton {
  width: 60px;
  height: 60px;
  margin: 15px;
}

.myButton:active {
  position: relative;
  top: 1px;
}

.recette {
  background: rgb(255, 237, 205);
  background: linear-gradient(180deg, rgba(255, 237, 205, 1) 0%, rgba(255, 147, 84, 1) 49%, rgba(177, 177, 177, 1) 100%);
}

.miam {
  transition: all 0.3s ease-in-out;
}

.miam:hover {
  transform: scale(1.2);

}

.recette h1 {
  font-size: 7rem;
}

.zone-4 {
  min-height: 100vh;
  background-image: url("../img/background-2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 5px 10px 18px #e08814;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.zone-4 a {
  width: 40vw;
}

.cannolo img {
  width: 300px;
}

@media screen and (max-width: 1000px) {
  .zone-4 a {
    width: initial;
  }

  .cannolo img {
    width: 200px;
  }
}



.fancy-number {
  font-size: 70px;
  text-align: center;
}

.flex {
  width: 100%;
  display: flex;
  justify-content: space-between;

}

.flex-3 {
  width: 500px;
  display: flex;
  margin: 100px;
  justify-content: space-around;


}

.cannolo-1 h1,
.cannolo-3 h1 {
  margin: -100px 0 0;
}

.cannolo-2 h1 {
  margin: 0 0 -80px;
}

.zone-5 h2 {
  color: white;
  font-size: 5.5rem;
}

.zone-5 p {
  max-width: 60vw;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.zone-5 .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.zone-5 .end {
  font-size: 12rem;
}

/* -------------------------------------------------*/
/*  REGLAGES RELATIVE À L'ANIMATION TEXTE AU SCROLL */
/* -------------------------------------------------*/
.hidden {
  opacity: 0;
}

.fadein-on {
  /* Apply animation to this element */
  -moz-animation: slidein 1s ease-in-out;
  -webkit-animation: slidein 1s ease-in-out;
  animation: slidein 1s ease-in-out;
}

@keyframes slidein {
  from {
    transform: translateY(4rem);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}