@charset "UTF-8";

/* ________________________________________ TYPEFACES __________________________________________ 
________________________________________________________________________________________________*/

@font-face {
  font-family: "bradford_medium";
  src: url("../fonts/bradford/bradford104-medium-webfont.woff2") format("woff2"),
    url("../fonts/bradford/bradford104-medium-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "millionairescript";
  src: url("../fonts/millionaire/millionaire_script-webfont.woff2") format("woff2"),
    url("../fonts/millionaire/millionaire_script-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "millionaireitalic";
  src: url("../fonts/millionaire/millionaire_italic-webfont.woff2") format("woff2"),
    url("../fonts/millionaire/millionaire_italic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "millionaireroman";
  src: url("../fonts/millionaire/millionaire-roman-webfont.woff2") format("woff2"),
    url("../fonts/millionaire/millionaire-roman-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


/* ________________________________________ MAIN STYLES __________________________________________ 
________________________________________________________________________________________________*/

html{
  font-family: "bradford_medium";
  background-color: #d6990f;
  box-sizing: border-box;
  font-size: 28px;
  text-align: left;
  margin: 0;
  padding: 0;
  border: none;
  font-weight: normal;
  /* #1c12d1
      #d6990f */
}

body{
  background: linear-gradient(-45deg, #ffe6ab, #d6990f, #ffd468, #ffe6ab);
	background-size: 400% 400%;
	animation: gradient 30s ease infinite;
  cursor: url("../images/GaletteCursor.png"), auto;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

#title-section h1 {
  font-size: 10vw;
  text-align: center;
  
  background: linear-gradient(to right, #d6990f 20%, #ffe6ab 40%, #ffd468 60%, #d6990f 100%);
  background-size: 200% auto;
  
  color: #000;
  background-clip: text;
  /* text-fill-color: transparent; */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

#fullpage {
  position: relative;
}

.section {
  height: 100%;
}

.splitscreen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.split-col {
  width: 50%;
  border-radius: 6vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2vh;
  padding-bottom: 3.2vh;
  padding-left: 2vw;
  padding-right: 2vw;
  box-sizing: border-box;
  /* text-align: center; */
}

.leftcol {
  background-color: white;
}

.rightcol {
  background-color: #1c12d1;
}

.col-slides-container {
  height: 100%;
  width: 100%;
  justify-content: center;
  display: flex;
}

.paragraphe-margin{
height: 100%;
width: 100%;
box-sizing: border-box;
/* display: flex; */
/* justify-content: space-between; */

justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 4vh;
}

/* ________________________________________ FULLPAGE CUSTOM __________________________________________ 
________________________________________________________________________________________________*/

#fp-nav {
  background-color: #d6990f;
  padding: 2vh 2vw 2vh 2vw;
  border-top-left-radius: 1.8vw;
  border-top-right-radius: 1.8vw;
  top: initial;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -3px 20px 4px hsla(0, 0.00%, 0.00%, 0.15);
  z-index: 150;
}

/*
#fp-nav ul {
  /* display: flex; 
}*/

#fp-nav.fp-right {
  right: initial;
}

/* 
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  /* width:2vw;
    height: 2vw; */
/* background: white; 
} */



.fp-watermark {
  display: none !important;
}

/* #fp-nav ul li a span,
.fp-slidesNav ul li a span {
  width: 35px; 
  height: 35px;
}

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
  width: 35px; 
  height: 35px;
} */


/* ________________________________________ MAIN HEADINGS __________________________________________ 
________________________________________________________________________________________________*/
h1,
h2,
h3 {
  font-family: 'millionaireitalic';
  text-transform: uppercase;
  text-align: center;
  line-height: 1em;
  font-size: 1.2em;
  padding: 0;
  margin: 0;
  font-weight: normal;
}

/* h1 {
  line-height: 1.1em;
  font-size: 10vw;
  transform: translate(0px, -0.4em);
  color: white;
} */

h2,
h3 {
  color: #d6990f;
  border: solid 1px #d6990f;
  border-top: none;
  padding-bottom: 4px;
  width: 100%;
  margin-bottom: 1vh;
}


/* ________________________________________ GARY __________________________________________ 
________________________________________________________________________________________________*/
/* -------------------- painting history slider ------------------------ */
.painting {
  background: url(../images/paintings/storm.jpg);
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
  background-size: cover;
  border-bottom-left-radius: 4.5vw;
  border-bottom-right-radius: 4.5vw;
}

.summary {
  font-family: 'millionaireroman';
  background-color: white;
  color: #1c12d1;
  padding: 0em 0.6em 0.2em 0.6em;
  font-size: .5em;
  text-align: center;
}

.italic {
  font-family: 'millionaireitalic';
}

.fp-slidesContainer .fp-table {
  justify-content: flex-start;
}

.split-col p {
  margin-bottom: 0;
  /* margin-top: 3em; */
}

.fp-slidesNav.fp-top {
  top: 9vh;
}

.fp-top ul li a span,
.fp-slidesNav ul li a span {
  background-image: url("../images/bullet_blue.svg");
}

.fp-top ul li a.active span,
.fp-slidesNav ul li a.active span,
.fp-top ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
  background-image: url("../images/bullet_gold.svg");
}

.fp-right span {
  height: var(--tooltip-size);
  width: var(--tooltip-size);
  /* background: #333; */
  background-image: url("../images/galettes/galette_symbol_blue1.svg");
  background-size: cover;
  background-repeat: none;
  position: absolute;
  border-radius: 50%;
  transform: rotate(0deg);
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.5s ease-in-out;
}


.fp-right ul li:first-child a.active span {
  background-image: url("../images/galettes/galette_symbol_white1.svg");
}

.fp-right ul li:nth-child(2) span {
  background-image: url("../images/galettes/galette_symbol_blue2.svg");
}

.fp-right ul li:nth-child(2) a.active span {
  transform: rotate(90deg);
  background-image: url("../images/galettes/galette_symbol_white2.svg");
}

.fp-right ul li:nth-child(3) span {
  background-image: url("../images/galettes/galette_symbol_blue3.svg");
}

.fp-right ul li:nth-child(3) a.active span {
  transform: rotate(90deg);
  background-image: url("../images/galettes/galette_symbol_white3.svg");
}

.fp-right ul li:nth-child(4) span {
  background-image: url("../images/galettes/galette_symbol_blue4.svg");
}

.fp-right ul li:nth-child(4) a.active span {
  transform: rotate(90deg);
  background-image: url("../images/galettes/galette_symbol_white4.svg");
}

.fp-right ul li:nth-child(5) span {
  background-image: url("../images/galettes/galette_symbol_blue5.svg");
}

.fp-right ul li:nth-child(5) a.active span {
  transform: rotate(90deg);
  background-image: url("../images/galettes/galette_symbol_white5.svg");
}

.fp-right ul li:nth-child(6) span {
  background-image: url("../images/galettes/galette_symbol_blue6.svg");
}

.fp-right ul li:nth-child(6) a.active span {
  transform: rotate(90deg);
  background-image: url("../images/galettes/galette_symbol_white6.svg");
}



/* #fp-nav ul li a.active span,
.fp-right ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-right ul li:hover a.active span{
  transform: rotate(90deg);
  background-image: url("../images/galettes/galette_symbol_white1.svg");
} */

/* -------------------- slider ------------------------ */

/* #fp-nav ul li{
  width: 65px;
  height: 65px;
} */

.section .fp-slidesNav:nth-child(2) {
  left: -50% !important;
}

:root {
  --tooltip-size: 2vw;
}

:root {
  --galettes-symbol-size: 3.5vw;
}


/* -------------------- navigation principale ------------------------ */

.fp-right ul li {
  width: var(--galettes-symbol-size);
  height: var(--galettes-symbol-size);
}

.fp-right ul li a span {
  height: var(--galettes-symbol-size);
  width: var(--galettes-symbol-size);
}

/* -------------------- image galette couleur ------------------------ */

.text-monde {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}


.monde-galette-color-area {
  height: 100%;
  width: 100%;
  /* background-color: #d6990f; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  /* margin-top: 5em; */
}

.monde-galette-color-image {
  height: auto;
  width: 65%;
  position: absolute;
}

/* -------------------- recette etapes ------------------------ */
[data-tab-content] {
  display: none;
}

.active[data-tab-content] {
  display: block;
}

.hide-it{
opacity: 0;
}

.tabs {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  height: 100%;
}

.tab {
  cursor: pointer;
  display: flex;
  padding-right: 2em;
  padding-left: 2em;
  height: 100%;
  color: #d6990f;
  justify-content: center;
  align-items: center;
  border-radius: 0.5em;
  font-family: 'millionaireitalic';
  font-size: 1.4em;
  transition: 0.3s;

}

.tab.active {
  background-color: #d6990f;
  color: white;
}

.tab:hover {
  background-color: #d6990f;
  color: white;
  transition: 0.3s;
}

.tab-content p {
  color: white;
}

.steps-container {
  height: 100%;
}

.inside-tab {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inside-tab svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.inside-tab h4 {
  margin-left: 20px;
  margin-right: 30px;
}

.inside-tab img {
  width: 30px;
  height: 30px;
}

.recette-container {
  width: 100%;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

#recette{
  align-items: initial;
}

/* ________________________________________ ISAIA __________________________________________ 
________________________________________________________________________________________________*/

.fullscreen-section {
  width: 100%;
  height: 100%;
}

/* -------------------- section ingredients ------------------------ */

.ingredients-container {
  background: #1c12d1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 6vw;
  padding: 2vw;
  box-sizing: border-box;
}

#ingredients {
  background-image: url(../images/graphic/Galette_Shapes_Fond_03.svg);
  background-size: cover;
}

.img-container {
  width: 80%;
  height: 70%;
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
}

.container__item {
  --size: 200px;
  --x: 0%;
  --y: 0%;

  position: absolute;
  width: var(--size);
  height: calc(var(--size));

  left: calc(1% * var(--x));
  top: calc(1% * var(--y));

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: red; */
  cursor: pointer;
}

.container_item_img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  /* background-color: red; */
}

:root {
  --turn-duration: 20s;
  --duration: 1s;
  --easing: cubic-bezier(0.62, 0.17, 0.21, 0.94);
  --transition-all: all var(--duration) var(--easing);
}

.container__item::before {
  --margin: 50px;
  --size: 80%;
  opacity: 0;
  transition: var(--transition-all);
  content: "";
  position: absolute;
  width: calc(var(--size) + var(--margin));
  height: calc(var(--size) + var(--margin));
  z-index: -1;
  background-image: url(../images/graphic/aureole.png);
  background-size: cover;
  animation: rotation var(--turn-duration) infinite linear;
  pointer-events: none;
}

.container__item:hover::before {
  --size: 100%;
  opacity: 1;
}

@keyframes rotation {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.quantity{
  position: absolute;
  /* text-transform: uppercase; */
  color: #d6990f;
  font-size: 1.5rem;
  border: solid 1px #ffffff;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 2vw;
  opacity:0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.show-quantity{
  opacity:1;
  pointer-events: none;
}

/* -------------------- section monde ------------------------ */

/* #section-monde .rightcol {
} */

.text-monde {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: 0.5s opacity ease-in-out;
  opacity: 0;
}

.monde-texts-container {
  position: relative;
  width: 100%;
  height: 100%;
  color: white;
  /* overflow: hidden; */
}

.buttons-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80%;
  height: 100%;
  align-content: center;
}

.buttons-container button {
  width: 12vw;
  height: 12vw;
  align-self: flex-start;
  border: none;
  background-color: #d6990f;
  border-radius: 50%;
  cursor: pointer;
  font-family: 'millionaireitalic';
  font-size: 1em;
  line-height: 1.2em;
  transition: 0.3s;
  margin: 1vw;
}

#section-monde .paragraphe-margin{
  display: block;
}

/* #button1{
  transition: 0.3s;
  -webkit-transition: background-image 1s ease-in-out;
transition: background-image 1s ease-in-out;
} */

/* -------------------- galette image en survol ------------------------ */
#button1 {
  background: url(../images/galetteslowrez/france_gold.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button1:hover {
  background: url(../images/galetteslowrez/france.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
  /* -webkit-transition: background-image 1s ease-in-out;
  transition: background-image 1s ease-in-out; */
}

#button2 {
  background: url(../images/galetteslowrez/portugal_gold.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button2:hover {
  background: url(../images/galetteslowrez/portugal.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button3 {
  background: url(../images/galetteslowrez/suisse_gold.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button3:hover {
  background: url(../images/galetteslowrez/suisse.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button4 {
  background: url(../images/galetteslowrez/espagne_gold.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button4:hover {
  background: url(../images/galetteslowrez/espagne.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button5 {
  background: url(../images/galetteslowrez/usa_gold.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button5:hover {
  background: url(../images/galetteslowrez/usa.jpg);
  /* background-color: #white; */
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button6 {
  background: url(../images/galetteslowrez/grece_gold.jpg);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

#button6:hover {
  background: url(../images/galetteslowrez/grece.jpg);
  /* background-color: #white; */
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 30%;
  transition: 0.3s;
}

.p {
  color: red;
  background-color: #1c12d1;
}

/* -------------------- section random ------------------------ */
.section--random {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#message-last-page-loser {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 3vw;
  text-transform: lowercase;
  color: #1c12d1;
  border: none;

}


#message-last-page-winner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  font-size: 3vw;
  color: #1c12d1;
  text-transform: lowercase;
}

#message-last-page-winner::first-letter, #message-last-page-loser::first-letter {
    text-transform: uppercase;
}

#randomDiv {
  width: 100% !important;
  height: 100% !important;
  position: relative;
}

#WinLoseBackground {
  background-color: #1c12d1;
  width: 100%;
  height: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  opacity: 1;
  transition: opacity 2s ease;
}

#hideButton {
  width: 50vh;
  height: 15vh;
  font-size: .7em;
  background-color: #d6990f;
  padding: 0;
  cursor: pointer;
  outline: inherit;
  color: #1c12d1;
  border: none;
  box-shadow: none;
  border-radius: 2vw;
  padding-bottom: 0.2em;
  font-family: "millionaireitalic";
  transition: 0.3s;
}

#hideButton:hover {
  background-color: #ffffff;
  color: #d6990f;
  box-shadow: none;
  transition: 0.3s
}

#WinLoseBackground.fadeOut {
  opacity: 0;
}

#iframe-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  /* transform: scale(1.5); */
  overflow: hidden;
}

#fuck-watermark {
  background-color: #d6990f;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20vw;
  height: 20vh;
  z-index: 8;
}


/* _________________________________ RESPONSIVE & MOBILE STYLES _______________________________________ 
________________________________________________________________________________________________*/


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

  p {
    font-size: 18px;
    letter-spacing: 0.01em;
    line-height: 1.2em;
  }

  h1 {
    font-size: 1.6em;
  }

h2,
h3 {
  font-size: 0.9em;
}


  .splitscreen {
    flex-direction: column;
  }

  .split-col {
    width: 100%;
    height: 50%;
    padding-bottom: 2vh;
    padding-top: 2vh;
    padding-left: 4vw;
    padding-right: 4vw;
  }

  #section-monde .leftcol{
    height: 50%;
  }
  #section-monde .rightcol{
    height: 50%;
  }

  #recette .paragraphe-margin, #section-monde .paragraphe-margin{
    margin-top: 0;
    display: block;
  }
  .paragraphe-margin{
    margin-top: 6vh;
  }

  p:first-child {
    margin-top: 0;
  }

  .hide-it{
    display: none;
  }

  :root {
    --galettes-symbol-size: 8vw;
  }
  :root {
    --tooltip-size: 6vw;
  }

  #fp-nav{
    padding: 1.5vh 3.5vw 1.5vh 3.5vw;
    border-top-left-radius: 4vw;
    border-top-right-radius: 4vw;
  }

  .section .fp-slidesNav:nth-child(2) {
    left: 0% !important;
  }

  .tab{
    font-size: 1em;
  }

  .fp-top ul {
    display: flex;
    gap: 5vw;
  }

  #fp-nav .fp-right ul {
    display: flex;
    gap: 4vw;
  }

  .buttons-container button {
    width: 17vw;
    height: 17vw;
    font-size: 0.6em;
    letter-spacing: -0.05em;
    margin-right: 1.5vw;
    margin-left: 1.5vw;
  }

  .monde-galette-color-image {
    height: auto;
    width: 55%;
    margin-bottom: 7vh;
  }

  #hideButton{
    width:80%;
    height:15%;
    font-size: .7em;
    line-height: 1.2em;
    letter-spacing: -0.05em;
    border-radius: 4vw;
    }

  #message-last-page-loser, #message-last-page-winner{
    font-size: 1.5em ;
  }

  .container__item{
    --size: 20vw;
  }

  .img-container {
    width: 35%;
    height: 70%;}

  .quantity{
    position: absolute;
    /* text-transform: uppercase; */
    color: #d6990f;
    font-size: 1rem;
    border: solid 1px #ffffff;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2vw;
    opacity:0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
  }
  .show-quantity{
    opacity:1;
    pointer-events: none;
  }
}

@media only screen and (max-width: 500px) {
  .container__item{
    --size: 150px;
  }

  p {
    font-size: 16px;
  }

  :root {
    --galettes-symbol-size: 12vw;
  }

  .buttons-container button {
    width: 25vw;
    height: 25vw;
    font-size: 0.6em;
  }
}




