@font-face {
    font-family: 'BUBBLEGUM2'; /*a name to be used later*/
    src: url('../fonts/BUBBLEGUM2.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'KGHAPPY'; /*a name to be used later*/
    src: url('../fonts/KGHAPPY.ttf'); /*URL to font*/
}

body  {

    background-color: #18181e;
    text-align: left;
    font-family: system-ui;    
	font-size: 4vw;
	padding:0px;
	margin:0px;
	overflow:hidden;
}

div {
	border: 1 px solid #000;
}

.hidden {
	display:none;
}
 
ul {
	padding: 0;
   margin: 0;
}

#infotemps {

    position: absolute;
    right: 5px;
    top: 0px;
    color: #f00;
    background: #684902;
    margin: 7px;
    z-index: 5;
    padding: 3px 12px;
    border: 1px solid #d98a00;
    border-radius: 8px;
    box-shadow: 2px 2px 1px 0px #00000061;

}

.gras {
    font-weight: bold;
}

.tache {
    border-top: 1px solid #000;
    background-color: #ffffff85;
    margin: 8px -5px 2px -5px;
    padding: 5px 2px 2px 1px;
}

.passe {
   background-color: #ff230047;
}

.encours {
   background-color: #ccff0047;
}


button[page=form_ajout_tache] {
   position: fixed;
    top: 0px;
    right: 0px;
}

button.refresh {
    position: fixed;
    top: 80px;
	right: 0px;
}

button {

    margin: 7px;
    padding: 12px 23px;
    border-radius: 5px;
    background-color: #ffe812;
    font-size: 4vw;
    font-family: monospace;
    font-weight: bold;
    box-shadow: 1px 2px 2px 0px #0000005c;
    font-variant: petite-caps;
    z-index: 1;
    position: relative;
}

button.back {
    padding:9px 14px;
	position: absolute;
    left: 15px;
    top: 15px;
	width: 11vw;
    height: 11vw;
	z-index: 4;	
}

section {
    border: 0px solid #95760e;
    background-color: #f3f3e7;
	background-image: url(../img/background.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;	
    overflow-y: auto;
    overflow-x: hidden;
	padding: 1% 4%;
}

.screen {
    position: fixed;
    overflow: hidden;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    text-align: center;
    background-color: #000;
	display:none;
	z-index: 4;

    background-image: url(../img/screen.jpg);
    background-size: cover;
}

.screen .dvlock {

	position: absolute;
    top: 0;
    left: 0;
    width: 80vw;
    background-color: #000;
    color: #f00;
    text-indent: 0;
    text-align: center;
    padding: 3px 107px 6px 0px;
    white-space: normal;
    font-size: 5vw;

}

.screen .imlock {
position: absolute;
    top: -5vw;
    right: -1vw;
    width: 21vw;
    transform: rotate(9deg);
}

.screen  .instruction {
    color: #fff;    
    text-indent: 0;
    background-color: #111;
    padding: 12vh 4vw;
    font-size: 6vw;
}
 
button.closeScreen {
    position: absolute;
    left: -1px;
    padding: 2vw;
    top: 56px;
}

section2 {
    border: 1px solid #95760e;
    background-color: #f3f3e7;
    display: block;
    width: 800px;
    height: 1280px;
    margin: 10px auto;
    box-sizing: border-box;
   padding: 1% 4%;
    overflow: auto;
}

section#chargement {
	background-color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image:none;
	z-index: 1000;
	position:absolute;
	
}

section#chargement img {
	width:60%;
	
}

h1 {
    font-size: 12vw;
    margin-top: 3vh;
    color: #0ab6d4;
    transform: rotate(-4deg);
    font-family: KGHAPPY;
    font-weight: 100;
    text-shadow: -6px -7px 0px white;
    line-height: 14vw;
    letter-spacing: -6px;
    text-transform: uppercase;
}

h1 i {
    font-weight: 100;
    font-family: KGHAPPY;
    letter-spacing: -1px;
    font-size: 5vw;
    line-height: 8vw;
    text-shadow: 1px -2px 0px white;
}

h1 b {
    font-weight: 100;
    font-family: BUBBLEGUM2;
    letter-spacing: -1px;
    font-size: 13vw;
    line-height: 13vw;
}

blockquote.lock {
    color: #ebe7cd00;
    background-color: #302d22;
    background-image: url(../img/padlock.png);
    text-indent: -1000px;
    white-space: nowrap;
    overflow: hidden;
    background-repeat: no-repeat;    
	background-position: center;    
	background-size: 8vw;

	
	

}

blockquote {

	transition-property: all;
	transition-duration: 1400ms;
	border: 1px solid #999;
    padding: 3%;    
	font-size: 4vw;
    background-color: #56450e;
    color: #ebe7cd;
    box-shadow: 2px 2px 2px 0px #00000036;
    box-sizing: border-box;
    display: block;
	//overflow: hidden;
}

.result {
    position: absolute;
    bottom: 20px;
    background-color: #e7e687;
    z-index: 9999999;
    left: 25vw;
    width: 50vw;
    font-size: 40px;
    color: #000;
    text-indent: 0;
}

p {
    margin-block-start: 9px;
    margin-block-end: 14px;
    z-index: 3;
    position: relative;
}

img.detective0 {
    width: 47vw;
    right: 2vw;
    /* position: absolute; */
}

img.detective {
    position: absolute;
    height: 63%;
    bottom: 5%;
    left: 20vh;
	transition-property: left;
	transition-duration: 1400ms;
}

img.detective2 {
    position: absolute;
    left: 1vw;
    top: 31vw;
    width: 178vw;
}

img.detectiveD {
    float: right;
    width: 20vw;
    margin-top: -19px;
    margin-left: 15px;
}

img.mains {
    width: 50vw;
}

.bulle {

    background: #FFF;
    border: 1vw solid #0ab6d4;
    border-radius: 26px;
    box-shadow: 6px 6px 17px 0 #0000006e;
    width: 50vw;
    right: 4vw;
    position: absolute;
    font-size: 4vw;
    padding: 5px;

}

.bulle2{
    background: #FFF;
    border: 1vw solid #0ab6d4;
    border-radius: 26px;
    box-shadow: 6px 6px 17px 0 #0000006e;
    width: 88vw;
    right: 0vw;
    position: relative;
    font-size: 4vw;
    padding: 5px;
}

p.scoreplus {
    font-size: 10vw;
    color: #050324;
}

.illudossier {
    position: absolute;
    top: 74vw;
    left: 25vw;
    width: 50vw;
}

div.screen[face] {
    text-align: center;  
	overflow: hidden auto;	
}

div.screen[face] img[facetarget] {
	width: 23vw;
    border: 1px solid #000;
    border-radius: 5px;
    float: left;
}

div.screen[face] div.canvasface {
width: 46.4vw;
    border: 1px solid #000;
    border-radius: 5px;
    float: left;
    background: #fff;
    display: block;
    height: 72.9vw;
    position: relative;
    left: 0px;
    top: 0px;
    overflow: hidden;
    margin: 0;
}

div.screen[face] div.canvasface img {
    position: absolute;
    left: 0;
    top: 0px;
    width: 48vw;    
	mix-blend-mode: multiply;
}

div.0screen[face] div.canvasface img:first-child {
    position: relative;
    left: 0px;
    top: 0px;
    width: 48vw;
    border-radius: 9px;
    display: block;
}

/* jeu cherche loupe */
.magnify {
        z-index: 0 !important;
}

img.magnify-image {
    position: fixed;
    left: 2vw;
    top: 27vw;
    width: 96vw;
    max-height: 100vh;
    box-shadow: 2px 2px 4px 0px #0000007a;
}

img.imagecode {
    position: fixed;
    bottom: 73px;
    left: 2vw;
    width: 96vw;
	box-shadow: 2px 2px 4px 0px #0000007a;
}

input.code {
    position: fixed;
    bottom: 2vh;
    left: 10vw;
    right: 10vw;
    font-size: 32px;
    text-align: center;
}
/* Taquin */
.taquin {
    bottom: 0;
    position: absolute;
}

/* suite */

.screen[jeu=suite] p {
    color: #fff;
    text-indent: 0;
    display: block;
    top: 31vw;
    position: absolute;
    text-align: center;
    left: 6vw;
    right: 6vw;
    font-size: 9vw;
    /* width: 54vw; */
    white-space: normal;
	text-shadow: 3px 3px 2px #000000ba;
}

/* Quizz */
img.minuteur {
    position: absolute;
    left: 0;
    top: 27vw;
    width: 100vw;
    bottom: 0;
}

.screen p[quizz] {
    color: #fff;
    text-indent: 0;
    display: block;
    top: 31vw;
    position: absolute;
    text-align: center;
    left: 6vw;
    right: 6vw;
    font-size: 9vw;
    /* width: 54vw; */
    white-space: normal;
	text-shadow: 3px 3px 2px #000000ba;
}