@font-face {
    font-family: LE_SILENCE_DES_CAFARDS;
    src: url('../fonts/LE_SILENCE_DES_CAFARDS.ttf');
}

@font-face {
    font-family: cabin-regular;
    src: url('../fonts/Cabin-Regular.ttf');
}

@font-face {
    font-family: cabin-italic;
    src: url('../fonts/Cabin-Italic.ttf');
}

@font-face {
    font-family: cabin-bold;
    src: url('../fonts/Cabin-Bold.ttf');
}

@font-face {
    font-family: cabin-bold-italic;
    src: url('../fonts/Cabin-BoldItalic.ttf');
}

@keyframes colorFade {
    from {background-color: #06364B;}
    to {background-color: #0E7DAD;}
}

@keyframes colorOriginal {
    from {background-color: #0E7DAD;}
    to {background-color: #06364B;}    
}

*{
	margin:0;
	padding:0;
}

.tab{
    position:absolute;
    width:97%;
    height:83%;
    border-radius:15px;
    display:none;
    overflow:hidden;
    background-size:cover !important;
}

#tab_1{
	display:block;
	background:url("../img/bg_3_1.png");
}

#tab_2{
	background:url("../img/bg_3_2.png");
}

#tab_3{
	background:url("../img/bg_3_3.png");
}

#tab_4{
	background:url("../img/bg_3_4.png");
}

#tab_5{
	background:url("../img/bg_3_5.png");
}

#tab_6{
	background:url("../img/bg_3_6.png");
}

#tab_7{
	background:url("../img/bg_3_7.png");
}

#tab_8{
	background:url("../img/bg_3_8.png");
}

#tab_9{
	background:url("../img/bg_3_9.png");
}

#tab_10{
	background:url("../img/bg_3_10.png");
}
#tab_11{
	background:url("../img/bg_3_11.png");
}

/* The animation code */
@keyframes animate-coin {
    0%   {transform:scale(1);}
    50%  {transform:scale(2);}
    100% {transform:scale(1);}
}

/* The element to apply the animation to */
.animate-coin{
    animation-name: animate-coin;
    animation-duration: 1.5s;
}

@keyframes animate-hand {
    0%   {transform:rotateY(0deg);}
    50%  {transform:rotateY(-25deg);}
    100% {transform:rotateY(0deg);}
}

/* The element to apply the animation to */
.animate-hand{
    animation-name: animate-hand;
    animation-duration: 1.5s;
}

	


.tab_nav{
	position:absolute;
	bottom:0;
	width:16%;
	height:9.5%;
	left: 42%;
	z-index:1;
}

.tab_nav div{
	display:inline-block;
	float:left;
	height:100%;
}

.btn_next:first-of-type{
	border-radius:10px 10px 0 0;
}

.btn_home:last-of-type{
	border-radius:0 10px 0 0;
}

.btn_home:first-of-type{
	border-radius:10px 0 0 0;
}



.custom_btn{
	width: 33.3%;
	height:100%;
	background: #EB7F26;
	color:#FFF;
	font-size:3em;
	text-align:center;
	border-bottom:solid 6px #89380F;
	bottom:0;
	position:absolute;
}

.custom_btn:hover{
	cursor:pointer;
	background:#EA9D63;
}

.custom_btn:active{
	transform:scaleY(0.8);
	background:#89380F;
}

.pointer-events-disabled{
	pointer-events:none;
}

.popup{
	width: 100%;
	height: 100%;
	border-radius:15px;
	position:absolute;
	background-color:rgba(0, 0, 0, 0.8);
	z-index:200;
	display:none;
}

.btn_close{
	position:absolute;
	width:6%;
	z-index:7;
}

#tab_8 .popup .btn_close{
	width:4%;
	top:24%;
	right: 23%;
	z-index:300;
}

.btn_close:hover{
	cursor:pointer;
	transform:scale(1.1);
	opacity:0.85;
}

.btn_close:active{
	transform:scale(0.95);
	opacity:1;
}

.btn_previous{
	border-radius:10px 0 0 0;
	left:1%;
}

#tab_10 .btn_previous{
	border-radius:10px 10px 0 0;
}

.btn_home{
	border-radius:0;
	right:33%;
}

.btn_next{
	border-radius:0px 10px 0 0;
	right:0;

}

#tab_2 .btn_next, #tab_3 .btn_next, #tab_4 .btn_next, #tab_5 .btn_next, #tab_6 .btn_next, #tab_7 .btn_next{
	display:none !important;
}

.video video{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    display:none;
    border:none;
}

.video{
    position:absolute;
    background:#35311E;
}

#tab_1 .video{
    width: 52.3%;
    height: 61.3%;
    left: 25.7%;
    top: 24.2%;
}

.btn_play{
    position:absolute;
    z-index:1;
    height: 20%;
    top:50%;
    left:50%;
    transform:translateX(-50%) translateY(-50%);
}

.btn_play:hover{
    cursor:pointer;
    opacity:0.85;
    transform:translateX(-50%) translateY(-50%) scale(1.1);
}

.btn_play:active{
    transform:translateX(-50%) translateY(-50%) scale(0.95);
}

#tab_nav{
	position:Absolute;
	width:20%;
	height:10%;
	z-index:100;
	right:2%;
	top:16%;
}

#tab_nav > div{
	display:inline-block;
	float:left;
	height:100%;
	width:30%;
	margin-right:3%;
	background-size:100% !important;
	background-repeat:no-repeat !important;
	background:url("../img/tab_nav.png");
}

#tab_nav > div.active{
	-webkit-filter:  grayscale(1) drop-shadow(1px 1px 8px blue);
}

#tab_nav p{
	color:#FFFFFF;
	text-align:center;
	font-size:2em;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

#tab_nav > div:not(.active):not(.disabled):hover{
	cursor:pointer;
	transform:scale(1.05);
}

#tab_nav > div:not(.active):not(.disabled):active{
	cursor:pointer;
	transform:scale(0.95);
}

.table{
    position:absolute;
    width:40%;
    display:flex;
    flex-direction:row;
    box-sizing:border-box;
    border:solid 1px #000000;
    z-index:10;
	left:58%;
	top:30%;
}

.column{
    width:50%;
}

.column > div{
    background: #0DB690;
    box-sizing:border-box;
    border:solid 1px #000000;
}

.table:not(.disabled) .column > div:not(:first-of-type){
	display:none;
}

.column h3{
    text-align:center;
    color:#FFFFFF;
}

.column p{
    padding-top:8px;
    padding-bottom:8px;
    text-align:center;
    color:#FFFFFF;
    font-size:1.5em;
    line-height:0.8em;
}

.column select{
    border:none;
    width:100%;
    padding-left:9px;
    outline:none;
    box-sizing:border-box;
    background:transparent;
    padding-top:5px;
    padding-bottom:5px;
    color:#FFFFFF;
    font-size:1.2em;
}

.column select option{
	color:#000000;
}

.column > div:first-of-type{
    background: #B6380D;
}

.graphic{
	position:absolute;
	width: 50%;
	height: 62.3%;
	top:21%;
	left: 6%;
}

.graphic > .graphic_row:first-of-type{
	width: 100%;
	height: 89%;
}

.graphic > .graphic_row:first-of-type > .graphic_column:first-of-type{
	height:100%;
	margin-top: 6.7%;
	padding:0 1% 0 0;
	width: 3%;
	/* border-right:solid 2px black; */
}

.graphic > .graphic_row:first-of-type > .graphic_column:first-of-type p{
	color: #FFFFFF;
	margin:0;
	font-family:'cabin-bold';
	text-align:right;
	font-size:1.4em;
	margin-bottom: 48%;
}

.graphic_bar{
	width: 12.05%;
	height: 100%;
	display:inline-block;
	position:relative;
}

#tab_3 .graphic_bar:first-of-type{
	background: #ECF451;
	margin-left: 20.8%;
	margin-right: 37%;
}

#tab_3 .graphic_bar:last-of-type{
	background: #00B5ED;
}

.graphic_bar{
	cursor:pointer;
}

.graphic > .graphic_row:last-of-type > {
	margin-top:20%;
}

.graphic > .graphic_row:first-of-type > .graphic_column:last-of-type{
	height: 84%;
	width: 96%;
	margin-top: 8.8%;
	overflow:hidden;
}

.graphic > .graphic_row:first-of-type > .graphic_column{
	display:inline-block;
	float:left;
}


.graphic > .graphic_row:last-of-type{
	width:95%;
	margin-left:4%;
	margin-top: 0.4%;
	height: 17%;
	border-top: solid 2px white;
	display:flex;
	flex-direction:row;
	justify-content:space-between;
}

#tab_3 .graphic > .graphic_row:last-of-type{
	display:block;
}


#tab_3 .graphic > .graphic_row:last-of-type > div{
	margin:0;
	width:50%;
	height:50%;
	display:inline-block;
	float:left;
	left:0;
	/* margin-right: 25.47%; */
}

#tab_3 .graphic > .graphic_row:last-of-type > div:first-of-type{
	width:100%;
	height: 10%;
	display:inline-block;
	float:left;
	left:0;
}

.graphic > .graphic_row:last-of-type p{
	color:white;
	text-align:center;
	font-family:'cabin-bold';
	/* vertical-align:middle; */
	font-size:1.5em;
	margin:0;
	color:#FFFFFF;
}

#tab_5 .graphic > .graphic_row:last-of-type > div{
	width: 17%;
}


.amount_bar{
	background: #222729;
	opacity:0.5;
	height:0%;
	-webkit-transition:all 0.5s ease;
	-moz-transition:all 0.5s ease;
	-ms-transition:all 0.5s ease;
	transition:all 0.5s ease;
	position:absolute;
	bottom:0;
	width:100%;
}

.full_opacity{
	opacity:1 !important;
}

#tab_5 .graphic_bar:nth-of-type(1){
	margin-left:4%;
}

.graphic_bar:last-of-type{
	margin-right:0 !important;
}

#tab_5 .graphic_bar{
	background: #ECF451;
	margin-right: 4%;
	width:12%;
}

#tab_7 .graphic_bar:nth-of-type(1){
	margin-left:4%;
}

#tab_7 .graphic_bar{
	margin-right: 4.8%;
	width:7%;
}

#tab_7 .graphic_bar:nth-of-type(1){
	background:#282828;
}

#tab_7 .graphic_bar:nth-of-type(1) .amount_bar{
	background:whitesmoke;;
}

#tab_7 .graphic_bar:nth-of-type(2){
	background: #80176A;
}

#tab_7 .graphic_bar:nth-of-type(3){
	background: #A1619F;
}

#tab_7 .graphic_bar:nth-of-type(4){
	background: #1581B5;
}

#tab_7 .graphic_bar:nth-of-type(5){
	background: #247D3D;
}

#tab_7 .graphic_bar:nth-of-type(6){
	background: #ECF451;
}

#tab_7 .graphic_bar:nth-of-type(7){
	background: #D8821C;
}

#tab_7 .graphic_bar:nth-of-type(8){
	background: #C20E1A;
}

#tab_7 .graphic > .graphic_row:last-of-type > div{
	width: 20%;
	margin-top:4%;
}

#tab_7 .graphic > .graphic_row:last-of-type > div p{
	transform:rotate(-45deg);
	text-align:right;;
}

#show_table_container{
	position:absolute;
	width:25%;
	display:flex;
	flex-direction:column;
	padding-left:15px;
	padding-right:15px;
	border-radius:10px;
	box-sizing:border-box;
	border:solid 4px #FFFFFF;
	background:#0DB690;
	right:5%;
	top:25%;
}

.show_table{
	padding-top:15px;
	padding-bottom:15px;
	padding-right:15px;
	padding-left:15px;
	margin-top:15px;
	margin-bottom:15px;
	background:#B6380D;	
	box-sizing:border-box;
	border:solid 4px #FFFFFF;
}

.show_table:hover{
	cursor:pointer;
	transform:scale(1.05);
}

.show_table:active{
	transform:scale(0.95);
}

.show_table p{
	text-align:center;
	color:#FFFFFF;
}

.popup .table{
	left:50%;
	top:50%;
	width:50%;
	transform:translate3d(-50%, -50%, 0);
}

#question_1{
	position:absolute;
	width:32%;
	height:9%;
	left:60%;
	top:44%;
}

#question_1 select{
	width:100%;
	height:100%;
	border:solid 2px #000000;
	border-radius:10px;
	font-size:2em;
	outline:none;
}

.incorrect{
	background:red !important;
	color:white !important;
}

.correct{
	background:green !important;
	color:white !important;
}

.question{
	position:absolute;
	width:16%;
	height:7%;
}

.question select{
	width:100%;
	height:100%;
	box-sizing:border-box;
	border:solid 2px #000000;
	border-radius:10px;
	font-size:1.6em;
	outline:none;
}

#question_2{
	left:47%;
	top:25%;
}

#question_3{
	left:79%;
	top:25%;
}

#question_4{
	left:47%;
	top:43.4%;
}

#question_5{
	left:79%;
	top:43.4%;
}

#question_6{
	left:47%;
	top:64.5%;
}

#question_7{
	left:79%;
	top:64.5%;
}

#example, #ready{
	position:absolute;
	width:20%;
	border-radius:10px;
	box-sizing:border-box;
	border:solid 2px #000000;
	background:orange;
	top:84%;
	left:8%;
}

#example:hover, #ready:hover{
	cursor:pointer;
	transform:scale(1.05);
}

#example:active, #ready:active{
	transform:scale(0.95);
}

#example p, #ready p{
	text-align:center;
	color:#FFFFFF;
	padding-top:10px;
	padding-bottom:10px;
	font-size:1.5em;
}

#ready{
	left:62%;
	top:78%;
}

#tab_10 .popup{
	background-size:75% !important;
	background-position:50% 50% !important;
	background-repeat:no-repeat !important;
	background-image:url('../img/popup_2.png');
}

#tab_10 .popup .btn_close{
	right:10%;
	top:4%;
}

#hand{
	position:absolute;
	width:35%;
	right:53%;
	top:40%;
	transform-origin:100% 50%;
}

.flip-container{
	width: 5%;
	padding:1%;
	margin-top:4%;
	cursor:pointer;
	perspective: 1000;
	display:inline-block;
	position:absolute;
	left: 19%;
	top: 28%;
}

/*
@keyframes move_slot_sphere {
    0%   {top: 40%;}
    50%  {top: 60%;}
    100% {top: 40%;}
}

.animate_slot_sphere{
	animation-name: move_slot_sphere;
    animation-duration: 1s;
    animation-timing-function: ease;
}

@keyframes move_slot_handler {
    0%   {height: 21%;}
    50%  {height: 0%;}
    100% {height: 21%;}
}

.animate_slot_handler{
	animation-name: move_slot_handler;
    animation-duration: 1s;
    animation-timing-function: ease;
}

@keyframes shine {
    0%   {-webkit-filter: drop-shadow(0px 0px 20px yellow);}
    50%  {-webkit-filter: drop-shadow(0px 0px 1px yellow);}
    100% {-webkit-filter: drop-shadow(0px 0px 20px yellow);}
}
*/


.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	margin-top:100px;
	transition:all 1s ease;
}

.flipper .front, .flipper .back {
	backface-visibility: hidden;
	position:absolute;
	/* background:white; */
	width:100%;
}


.flipper .front img{
	width: 100%;
}

.flipper .back img{
	width: 100%;
}


.flipper .front {
	z-index: 2;
	transform: rotateY(0deg);
}

.flipper .front {
	transform: rotateY(180deg);
	width:100%;
}

.flipper .front div{
	width:100% !important;
}


#throw, #spin, #rotate, .confirm{
	padding-top:15px;
	padding-bottom:15px;
	padding-right:15px;
	padding-left:15px;
	margin-top:15px;
	margin-bottom:15px;
	background:#B6380D;	
	box-sizing:border-box;
	border:solid 4px #FFFFFF;
	position:absolute;
	left:25%;
	top:74%;
}

#throw:not(.disabled):hover, #spin:not(.disabled):hover, #rotate:not(.disabled):hover, .confirm:hover{
	cursor:pointer;
	transform:scale(1.05);
}

#throw:not(.disabled):active, #spin:not(.disabled):active, #rotate:not(.disabled):active, .confirm:active{
	transform:scale(0.95);
}

#throw p, #spin p, #rotate p, .confirm p{
	text-align:center;
	color:#FFFFFF;
}

.confirm{
	top:82%;
	left:30%;
}

#tab_7 .confirm{
	top:84%;
	left:23%;
}

#roulette{
	position:absolute;
	width:25%;
	left:8%;
	top:30%;
	transition:all 7s ease;
}

#roulette_indicator{
	position:absolute;
	width:5%;
	left:18%;
	top:24%;
}

.cube-container {
  width: 200px;
  height: 200px;
  position: relative;
  perspective: 1000px;
  left: 22%;
  top:36%;
}

#cube {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 5.5s;
}

#cube figure {
  margin: 0;
  width: 196px;
  height: 196px;
  display: block;
  position: absolute;
  border: 2px solid black;
  background: rgb(182, 13, 13);
}

#cube figure img{
	height: 90%;
	position:relative;
	left:50%;
	top:50%;
	transform:translate3d(-50%, -50%, 0);
}

#cube .front  { transform: rotateY(   0deg ) translateZ( 100px ); }
#cube .back   { transform: rotateX( 180deg ) translateZ( 100px ); }
#cube .right  { transform: rotateY(  90deg ) translateZ( 100px ); }
#cube .left   { transform: rotateY( -90deg ) translateZ( 100px ); }
#cube .top    { transform: rotateX(  90deg ) translateZ( 100px ); }
#cube .bottom { transform: rotateX( -90deg ) translateZ( 100px ); }