html,body{
	margin:0;
	padding:0;
	height:100%;
	overflow:hidden;
	cursor:none;
	perspective: 0;
	}
	
	.overlay {  
  height: 0%;
  cursor:pointer;
left:10%; 
  position: fixed;
  z-index: 1;
 background-image: url('ecran.png'); background-size:100% 85%; background-repeat:no-repeat; 
width:80%; 
  overflow-y: hidden;
  transition: 0.5s;
  z-index:5;
 
}
@media only screen and (max-width: 600px) {
.overlay {  
 background-image: url('ecran.png'); background-size:100% 95%; background-repeat:no-repeat; 
}
}

.overlay-content {
  position: relative;
 font-family: 'Licorice', cursive; 
  width: 100%;
  text-align: center;
 font-size: 26px;
 
}


.overlay ul {
list-style-type:none;
padding:0px;
}
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 26px;
  color: #000000;
  display: block;
  transition: 0.3s;
}
@media only screen and (max-width: 600px) {
.overlay a {  
  padding: 0px;
}
}
.overlay a:hover, .overlay a:focus {
  color: blue;
}
.openbtn {
 position:absolute;
  top: 20px;
  right: 50.5%;
  color:#ffffff;
  font-size: 60px;
  z-index:40;
}
.overlay .closebtn {
 position:absolute;
  top: 20px;
  right: 10%;
  font-size: 60px;
  z-index:40;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}
		#menuparent2{
background-image: url('bas.png'); background-size:100% 100%; position: absolute; left:10%; top:4%; z-index:2; width:80%; height:8%;cursor:pointer;
		}
	#menuparent{
background-image: url('toptab.png'); background-size:100% 100%; position: absolute; left:10%; top:0px; z-index:2; width:80%; height:4%;
		}
	#poteaul{
background-image: url('tige.png'); background-size:100% 100%; position: absolute; left:20%; bottom:0px; z-index:2; width:3%; height:15%;
		}
		#poteaur{
background-image: url('tige.png'); background-size:100% 100%; position: absolute; right:20%; bottom:0px; z-index:2; width:3%; height:15%;
		}
#chalkboard{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1;
	cursor:none;
	background:url(fond-tableau.jpg);
	background-size:cover;
	}
.chalk{
	width:40px;
	height:50px;
	background:url(chalk.png);
	position:absolute;
	padding:0;
	margin:0;
	bottom:0;
	left:0;
	cursor:none;
	z-index:2;
	}
	
	
	
	
	
	
	
	
	
.containera{
cursor:pointer;
	width: 50%;
	height: 350px;
	
	position: absolute;
	left: 50%;
	bottom: -45vh;
	transform: translate(-50%,-50%);
	perspective: 800px;
	z-index:2;
}
.bureaufond{
width: 96%;
	height: 152px;
	left: 2%;
	bottom: 195px;
  position: absolute;

background-image:url(interne.jpg) ;
  transform-style: preserve-3d;
  transform: rotateX(-20deg);
  z-index:2;
  background-size: 100% 100%;
}

.bureaugauche{
	width: 122%;
	height: 108%;
	position: absolute;
	left: -11%;
	bottom: 128px;
 
background-image:url(gauche.jpg) ;
	transform: rotateX(69deg);
	transform-style: preserve-3d;
	  border: 1px solid black;
	  z-index:1;
	  background-size: 100% 200%;
}

.bureaudevant{
width: 152%;
	height: 158px;
	left: -26%;
	bottom: 122px;
  position: absolute;

background-image:url(devant.jpg) ;
  transform-style: preserve-3d;
  transform: rotateX(-20deg);
  z-index:3;
  background-size: cover;
  	border-radius: 5px;
}
.cover{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
background-image:url(top.png) ;
background-size: cover;
	transform: rotateX(70deg);
	transform-style: preserve-3d;
	transform-origin: top;
	transform: all .5s ease-in;
	transition: .5s ease-in;
	border-radius: 25px;
	  z-index:4;
}

.containera:hover .cover{
	transform: rotateX(180deg);
	transition: .5s ease-in;
}

figure{
	margin: 0;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
		border-radius: 25px;
}

figure.front{

	background-size: cover;
}

figure.back{

background-image:url(ouvert.jpg) ;
background-size: cover;
	transform: rotateX(180deg);
	background-size: cover;
	cursor:pointer;
}






.bubble {

  position: absolute;
font-family: 'Licorice', cursive; 
  font-size: 185%;
  line-height: 24px;
  width: 300px;
  background: #fff;
  border-radius: 40px;
  padding: 24px;
  text-align: center;
  color: #000;
   box-shadow: 1px 1px 5px grey;
}

@media only screen and (max-width: 600px) {
.bubble {
  width: 150px;
}
}

.bubble-bottom-left:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 24px solid #fff;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
  border-bottom: 20px solid transparent;
  left: 32px;
  bottom: -24px;
  
}









.bienvenue {
font-family: 'Licorice', cursive;    background:  url('craie.png');  background-repeat: no-repeat;
    -webkit-background-clip: text, border;
    background-clip: text, border;
    color: rgba(0,0,0,0); text-align:center;
    font-size:300%;    animation-name: highlight;  
  animation-duration: 15s;
  height:150px;
  }


@media only screen and (max-width: 600px) {
.bienvenue {
    font-size:200%;    
  }
}
  
@keyframes highlight  {
  0% {
    background-size:0% 100%;
      
  }

  100% {
 background-size:100% 100%;
   
  }
}



.toggle {
font-family: 'Indie Flower', cursive; 
transform: rotate(-15deg);
  position:absolute;
  background:#ffa;
  overflow:hidden;
 bottom:5vh;
 left:7%;
  padding:20px;
  border-radius:0 0 0 30px/45px;
  box-shadow:
    inset 0 -40px 40px rgba(0,0,0,0.2),
    inset 0 25px 10px rgba(0,0,0,0.2),
    0 5px 6px 5px rgba(0,0,0,0.2);
text-decoration:none;
  line-height:1em;
  font-size:130%;
  color:#130d6b;
  text-align:center;
}

@media only screen and (max-width: 600px) {
.toggle {

  font-size:100%;
}
}
.toggle a {text-decoration:none; }

.toggle:before {
 	content:"";
  display:block;
  position:absolute;
  width:20px;
  height:25px;
  background:#ffa;
  box-shadow:
    3px -2px 10px rgba(0,0,0,0.2),
    inset 15px -15px 15px rgba(0,0,0,0.3);
  left:0;
  bottom:0;
  z-index:2;
  transform:skewX(25deg);
}

.toggle:after {
 	content:"";
  display:block;
  position:absolute;
  width:75%;
  height:20px; 
  border-top:3px solid #130d6b;
  border-radius: 50% ;
  bottom:0px;
  left:10%;
}

.toggle a:hover {
   text-decoration:line-through;
  
}

/* No CSS 3D support warning */
.warning {

    -webkit-transform: translateZ(2px);
    -moz-transform: translateZ(2px);
    -ms-transform: translateZ(2px);
    -o-transform: translateZ(2px);
    transform: translateZ(2px);

    background: rgba(255,255,255,0.6);
    position: fixed;
    display: none;
    z-index: 999;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.warning .message {

    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    text-align: center;
    margin-left: -150px;
    margin-top: -60px;
    line-height: 1.5;
    background: #222;
    font-size: 12px;
    position: absolute;
    padding: 10px;
    width: 280px;
    color: #fff;
    left: 50%;
    top: 50%;
}

.warning .message h1 {

    font-weight: 300;
    font-size: 14px;
}

.warning .message a {

    text-decoration: none;
    color: #73C8A9;
}

@media only screen and (max-width: 600px) {
.eyes {
  display:none;
}
}