@font-face {
    font-family: akkurat;
    /* src: url(../Akkurat-Bold.suit); */
    /* src: url(../FontsFree-Net-Akkurat.ttf); */
    src: url(../FontsFree-Net-Akkurat-Light.ttf);
}
.step{
    pointer-events: none;
}
#leg-image{
    /* margin-top: -106vh; */
    background: gold;
    height: fit-content;
}
.col-image{
    background: gold;
    position: absolute;
    height: auto;
    width: 10%;
    height: auto!important;
}
.surline{
    text-decoration: line-through;
}
.done{
    opacity: 0;
    pointer-events: none;
}
/* recette */
.description{
    /* background: white; */
    height: calc(100%/3);
    transition: all 600ms;
}
.description p{
    margin-block-start:0;
}
/* INTRO */
#intro .list-bloc p{
    font-size: 16.2vw;
    /* top: 10%; */
}
#intro .back-content div {
background: none;
}
#color-1{
background: #3f795e;
}
#color-2{
background: #ff9d58;
}
#color-3{
background: #f885ef
}
#color-4{
background:  #3f795e;
}
#color-5{
background: #c25252
}
#color-6{
background: #865586
}
#color-7{
background: #d968ae
}
#color-8{
background: #3e7a5e
}
#color-8{
    background:#ff9d58;
}
/* NEW */
.big-col{
    /* width: 66.66%   !important ; */
    overflow: scroll;
}
#slide-3 .colonne{
    background: #3f795e;
}
#slide-4 .colonne{
    background: #ffacf8;
}
#slide-4 .colonne.big-col{
/* width: 66.66%; */
}
.colonne {
    width: 50%;
    /* flex: 1; */
    height: auto;
    background-color: #ff9d58;
}
/* .colonne.timer{
    width: 100%;
    display: none;
    /* opacity: 0; 
} */
.colonne div {
    height: calc(100%/3);
}
.colonne.timer{
    /* width: calc(100vh/3); */
    width: calc(100%/3);
}
.timer .buble {
    border-radius: 73%;
    background: aliceblue;
    overflow: hidden;
    /* height: 33vw; */
    /* height: 20vh; */
}

.timer .buble span {
    background: black;
    height: 100%;
    width: 100%;
    display: block;
    transition: 0.5s;
    /* position: absolute; */
}
.timer .buble span p{
width: 6.33%;
font-size: 7vh;
margin-top: 13.8vh;
}
.timer .buble span p:last-child{
color:black
}

.done-height{
    height: 0%!important;
}
.timer .buble:hover span {
    height: 66.66%;
}

.bloc-img {
    background: white;
    border-radius: 20%;
    /* height: auto !important; */
    transition: 0.5s;
    

}
#leg-image .bloc-img {
    height: fit-content;
    }
.show-img{
    transform: translate(100%,0);
}
.bloc-img:hover {
    border-radius: 70%;
}

.bloc-img img {
    width: 100%;
    /* height: 100%;
    margin-left: calc(100%/6); */
}

.bloc-img .static {
    display: block;
}

.bloc-img .move {
    display: none;
}

.bloc-img:hover .static {
    display: none;
}

.bloc-img:hover .move {
    display: block;
}
#scroll-everywhere{
    background: red;
    height: 100%;
    width:100%;
    position: absolute;
    pointer-events: none;
    opacity: 0.7;
    z-index: 20;
    overflow: scroll
}
#scroll-everywhere div{
    height: 200vh;
    position: relative;
}

/* END NEW */

.swipe-choose{
    transform: translate(-100%,0);
}
/* RECETTE */
.intro-menu{
    /* : 0%!important; */
}
.slide-1{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 200;
}
.big-col .description p{
    margin-block-start: 0;
    font-size: 4.5vh;
    line-height: initial;
    color: white;
    margin-inline-start: 5%;
    margin-top: 2vh;
}
.colonne p {
    display: block;
    margin-block-start: 4vh;
    margin-block-end: auto;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: x-large;
    margin-inline-end: 5%;
}

.colonne h1 {
    font-size: 4vw;
    /* font-weight: 100; */
    word-spacing: -4px;
    margin-block-start: 3.3vh;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.colored {
    background: #3f795e;
}

.chrono {
    font-size: 7vh;
    font-weight: 200;
    /* width: 33.33%; */
    text-align: center;
    position: absolute;
    color: white;
}
h3.chrono{
    /* margin-top: 13%; */
}

/* END RECETTE */


/* SLIDESHOW */
.howmuch{
    opacity: 0;
    display: none;
}
#slider {
    /* width:800px;  */
    width: 100%;
    /* slider width */
    height: 100%;
    /* slider height */
    background-color: black;
    overflow: hidden;
    /* Hide the overflowed element */
}

#slider .slide {
    /* width:800px; */
    width: 20%;
    height: 100%;
    /* slide height */
    float: left;
}

#slider .slide.reduce {
    width: 13.33%;
    background-color: gold;
    height: inherit;
    overflow: scroll;
}

#slider .slide.reduce .colonne {
    background: none;
}

#slider .slide.reduce::-webkit-scrollbar {
    display: none;
}

#slide-1 {
    background-color: #ff9d58;
}

#slide-2 {
    background-color: #fff8e3;
}
#slide-2 .flex-position{
    /* max-width: 100vh; */
}

#slide-3 {
    background-color: gold
}
#slide-3 .colonne.big-col{
    width: 66.66%;
}
#slide-4 .colonne.big-col{
    width: 66.66%;
}
#slide-5 .colonne.big-col{
    width: 66.66%;
}

#slide-4 {
    background-color: gold;
}

#slide-5 {
    background-color: gold;
}


/* Navigation */

#slider-nav {
    display: block;
    width: 300px;
    margin: 10px auto;
    text-align: center;
}

#slider-nav a {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #bbb;
    font-size: 0;
    color: transparent;
    overflow: hidden;
    text-indent: -99px;
    margin: 0 2px 0 0;
    border: 2px solid white;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

#slider-nav .active {
    background-color: green;
}


/* Details */

.slide {
    /* font: normal normal 11px Arial, Sans-Serif; */
    color: black;
}

.slide>div {
    /* padding:10px 15px; */
}

.slide h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
}


/* END SLIDESHOW */

.flex-position {
    display: flex;
    height: 100%;
}


/* animation */

.slide-container-on {
    transform: translate(-100vw, 0);
}

#dynamic-content {
    background: red;
    /* padding: 20px; */
    transition: all 600ms;
}

#menu a .begin-choose {
    opacity: 0;
}

.orientation img {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    transition: all;
    transition-duration: 600ms;
    width: 25%;
}

.orientation:hover img {
    animation-name: bounce;
    /* transform: translateX(-200px); */
}

@keyframes bounce {
    0% {
        transform: translateX(0);
    }
    30% {
        transform: translateX(90%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

#menu a p {
    color: white;
    font-size: 7vh;
    /* margin-block-start: 0; */
    margin-block-end: 0.1vw;
    font-weight: 200;
    background: red;
    padding: 20px;
    margin-block-start: 0;
}

#triangle-right {
    width: 0;
    height: 0;
    border-top: 2vw solid transparent;
    border-left: 4vw solid rgb(255 255 255);
    border-bottom: 2vw solid transparent;
}

#slot-machine {
    display: flex;
    flex: 3;
    transition: 600ms all;
}


/* animation end */

#glFullscreen {
    /* display: none; */
    width: 50%;
    height: auto;
    min-width: 640px;
    min-height: 360px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

#example {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    background-color: #000000;
}

#feedback {
    color: darkorange;
}

#dat {
    user-select: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 200;
}

body {
    margin: 0;
    background-color: rgb(255, 248, 227);
    color: rgb(36, 36, 36);
    /* font-family: Helvetica, sans-serif; */
    font-family: "akkurat";
    font-weight: 200;
    /* font-family: arialroundedbold; */
    font-size: 12px;
    line-height: 31px;
    overscroll-behavior: none;
    display: inline-flex;
    overflow: hidden;
}


/* .js-loop div {
	position: relative;
	display: initial;
} */

h1 {
    font-size: 7vh;
    /* font-weight: 100; */
    word-spacing: -4px;
    margin-block-start: 2vw;
    margin-block-end: 0;
    /* text-transform: capitalize; */
}

#menu #title {
    /* height: calc(100vh/3); */
    height: 33.33%;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    text-transform: uppercase;
}

canvas {
    display: block;
}

#info {
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    /* TODO Solve this in HTML */
}

a,
button,
input,
select {
    pointer-events: auto;
}

.dg.ac {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 2 !important;
    /* TODO Solve this in HTML */
}

#overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
}

#overlay button {
    background: #ffffff;
    border: 0;
    color: rgb(36, 36, 36);
    padding: 16px 20px;
    text-transform: uppercase;
    cursor: pointer;
}

.container {
    height: calc(100vh - 0px);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    transition: 600ms;
    width: 100vw;
    /* border: 1px solid; */
}

.container #menu {
    height: 100%;
    top: 0;
    /* width: 40%; */
    border-right: 1px solid rgb(36, 36, 36);
    display: flex;
    flex-direction: column;
    transition-duration: 1100ms;
}

div#left {
    width: 33.33%;
    flex: 1;
    /* border-right: 1px solid; */
}
div#left-intro {
    width: 33.33%;
    flex: 1;
    opacity: 0;
    margin-top: -100%;
    /* border-right: 1px solid; */
}

div#right {
    width: 33.33%;
    /* width: 50vh; */
    margin: 0px;
    flex: 1;
    /* border-right: 1px solid rgb(36, 36, 36);; */
}
div#intro-2 {
    width: 33.33%;
    /* width: 50vh; */
    margin: 0;
    flex: 1;
    opacity: 0;
    margin-top: 100%;
    /* border-right: 1px solid rgb(36, 36, 36);; */
}

div#condiment {
    width: 33.33%;
    margin: 0px;
    opacity: 0;
    margin-top: -100%;
    /* border-right: 1px solid rgb(36, 36, 36);; */
}

.container #left .js-loop {
    overflow: scroll;
    height: 100vh;
    /* left: 10%; */
    display: block;
    position: initial;
    top: 0;
    /* background: palevioletred; */
}

.container #condiment .js-loop {
    height: 100vh;
    position: initial;
    display: block;
}

.container #right .js-loop {
    /* overflow: hidden; */
    height: 100vh;
    position: initial;
    display: block;
}
.container #intro-2 .js-loop {
    /* overflow: hidden; */
    height: 100vh;
    position: initial;
    display: block;
}
#right .js-loop .a {
    transform: translateY(calc(-166.66vh));
}

/* #right .js-loop .b {
    transform: translateY(-400vh);
} */

.js-loop::-webkit-scrollbar {
    display: none;
}
.big-col::-webkit-scrollbar {
    display: none;
}

.container .js-loop {
    font-size: 3em;
}

.container #center {
    overflow: scroll;
    height: 100vh;
    right: 0;
    position: absolute;
    top: 0;
    width: 45%;
    background: #6495ed;
}

.container .content .list-content {
    height: 200px;
    /* border: .1px solid white; */
    color: rgb(36, 36, 36);
    /* font-size: 2em;	 */
}


/* .list-element p {
	margin-block-start: 0em;
	margin-block-end: 2em;
	
} */

.a p {
    /* display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px; */
    /* padding-left: 6%; */
    /* background: rgb(252, 255, 226); */
    /* border: 1px solid; */
}

.b p {
    /* display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px; */
    padding-left: 6%;
    /* background: #ff9d58; */
    /* padding-top: 20%;
	border: 1px solid;
	border-radius: 27%; */
}

.list-bloc p {
    /* display: block; */
    margin-block-start: 0;
    /* margin-block-end: 0; */
    /* margin-inline-start: 0px; */
    /* margin-inline-end: 0px; */
    /* padding-top: 20%; */
    /* margin-top: 20%; */
    /* height: 100%; */
    /* top: -10%; */
    margin: 0;
    /* left: 0; */  
    top: 34%;
    position: relative;
    /* border-radius: 27%; */
    text-align: center;
    /* padding-left: 6%; */
    /* max-height: 50%; */
    /* background: #d4d4d4; */
    transition: cubic-bezier();
    transition-duration: 2s;
    font-size: 7vh;
    line-height: 6.9vh;
    text-transform: none;
}

.back-content:hover {
    /* border-radius: 50%; */
    /* border-radius: 50% 50% 0% 0%;  */
}

.back-content {
    transition: 0.5s all;
    height: calc(100vh/3);
    /* border-radius: 1%; */
    /* background: #9C27B0; */
}

#menu .back-content {
    height: auto;
    /* padding-bottom: 2%;	 */
    /* background: #9C27B0; */
}

.back-content a {
    text-decoration: none;
    color: black;
}

.back-content div {
    background: rgb(255, 248, 227);
    height: 100%;
}

.back-content:hover div {
    margin-block-start: 0;
    height: 100%;
    /* background: #58796a; */
}

.not-click:hover div {
    border-radius: 50%;
}


/* .carotte div{
	border-radius: 27%;
	transition-duration: 2s;
	transition: cubic-bezier();
	background: #ff9d58;
} */

.carotte:hover div {
    /* backgrousnd: #ff9d58; */
}

.carotte:hover img {
    /* background: #ff9d58; */
    /* display: block */
}
.citron:hover.not-click {
    background: #f6e47e;
}
.bouquet:hover.not-click {
    background: #3f795e;
}
.girofle:hover.not-click {
    background: #bd8c75;
}
.cannelle:hover.not-click {
    background: #ff9d58;
}
.carotte:hover.not-click {
    background: #ff9d58;
}

.poireau:hover.not-click {
    background: #3f795e;
}

.celeri:hover.not-click {
    background: #e3dab8;
}

.oignon:hover.not-click {
    background: #e3dab8;
}

.choux:hover.not-click {
    background: #48935b;
}

.navet:hover.not-click {
    background: #a68eae;
}

.viande:hover.not-click {
    background: #ffacf8;
}


.porc:hover.not-click {
    background: #f885ef;
}
.lard:hover.not-click {
    background: #c25252;
}
.boudin:hover.not-click {
    background: #a17ea1;
}
.jambon:hover.not-click {
    background: #ffacf8;
}
.mandrin:hover.not-click {
    background: #ffacf8;
}
.poulet:hover.not-click {
    background: #f3d789;
}
.saucisse:hover.not-click {
    background: #ff98bb;
}
.canard:hover.not-click {
    background: #ff98bb;
}

.vin:hover.not-click {
    background: #d968ae;
}

.haricot:hover.not-click {
    background: #48935b;
}

.patatedouce:hover.not-click {
    background: #ff9d58;
}

.brin:hover.not-click {
    background: #48935b;
}
.etoile:hover.not-click {
    background: #bd8c75;
}

.carotte-click div {
    background: #ff9d58;
}
.citron-click div {
    background: #f6e47e;
}
.cannelle-click div {
    background: #ff9d58;
}
.girofle-click div {
    background: #bd8c75;
}
.bouquet-click div {
    background: #3f795e;
}
.poireau-click div {
    background: #3f795e;
}

.celeri-click div {
    background: #e3dab8;
}

.oignon-click div {
    background: #e3dab8;
}

.choux-click div {
    background: #48935b;
}

.navet-click div {
    background: #a68eae;
}

.viande-click div {
    background: #ffacf8;
}
.porc-click div {
    background: #ff98bb;
}
.lard-click div {
    background: #c25252;
}
.boudin-click div {
    background: #a17ea1;
}
.jambon-click div {
    background: #ffacf8;
}
.mandrin-click div {
    background: #ffacf8;
}
.poulet-click div {
    background: #f3d789;
}
.saucisse-click div {
    background: #ff98bb;
}
.canard-click div {
    background: #ff98bb;
}


.vin-click div {
    background: #d968ae;
}

.haricot-click div {
    background: #48935b;
}

.patatedouce-click div {
    background: #ff9d58;
}

.brin-click div {
    background: #48935b;
}
.etoile-click div {
    background: #bd8c75;
}

.carotte img {
    display: none;
}


/* button */

input[type="button"],
input[type="button"]:focus,
input[type="button"]:active,
button,
button:focus,
button:active {
    background: none;
    border: none;
    height: 100%;
    width: 100%;
    /* border-radius: 26%; */
    /* color: black; */
    /* padding: 14px; */
    /* margin: 7px; */
    font-size: 21px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 7.5em;
    line-height: 0.8;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 10px;
    font-weight: 100;
    text-align: inherit;
    word-spacing: -4px;
    font-family: "akkurat";
}

button:hover {
    background: #ff9d58;
}

.container .content {
    height: 100vh;
    text-align: center;
    text-transform: capitalize;
}

.list-bloc {
    height: 100%;
    display: block;
    text-transform: uppercase;
    font-size: x-large;
}

.list-bloc .a {
    height: auto;
    /* border: 3px solid; */
    /* display: grid; */
    /* flex-flow: wrap; */
}


/* .list-bloc .a:hover{
	background: #9C27B0;
} */

.list-bloc .b {
    height: auto;
    /* border: 3px solid; */
    /* display: grid; */
    /* flex-flow: wrap; */
}

.container #right div #glFullscreen {
    display: block;
}

#right #substituts {
    background: #ffacf8;
}

.preparation {
    background: #ffacf8;
}

.step-2 {
    height: calc(100vh - 0px);
    overflow: hidden;
    display: flex;
    position: sticky;
    flex-direction: row;
    transition: 1s;
    flex: 0;
}

#dynamic-content p {
    color: white;
    font-size: 7vh;
    margin-block-start: 0;
    padding-left: 1.4vh;
    transform: translate(0, 2.5vh);
    margin-block-end: 3.5vh;
    font-weight: 200;
}
#dynamic-content p:last-child {
    padding-bottom:5vh;
}