

/*
* ===========================================
* Général
* ===========================================
*/

/* Corps de la page */

body,html{
	overflow:hidden;
}

body {
	padding:0;
	margin:0;
	background-color: #FAFAFA;
	color: #222;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 24px;
	line-height: 120%;
}


/* Tous les Liens */
a {
	text-decoration: none;
	color:#eee;
}

a:hover{
	text-decoration: underline;	
}

/* Supression des puces et des marges gauche pour toutes les listes */
ul {
	list-style-type:none;
	margin: 0;
	padding: 0;
	
}

button {
    outline: none;
    border: none;
}

header{
	position:fixed;
	top:40px;
	left:40px;
}
header h1{
	color:#eee;
}

header h2{
	color:#999;
	cursor:pointer;
}


/*
* ===========================================
* canvas p5.js
* ===========================================
*/

canvas{
	position:fixed;
	top:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:100;
}



/*
* ===========================================
* Volet
* ===========================================
*/
.hamburger{
	position:fixed;
	top:40px;
	right:40px;
	z-index:200;
}
#volet{
	position:fixed;
	top:0vh;
	right:0vh;
	width:140px;
	height:100vh;
	padding-bottom:70px;
	background-color:rgba(100,100,100,0.5);
	z-index:200;
	box-sizing:border-box;
	display:flex;
	flex-direction:column;
	justify-content:space-around;
	text-align:center;
}
#volet .bouton{
	width:6vh;
	height:6vh;
	border-radius:4vh;
	/*margin-bottom:20px;*/
	/*position:relative;
	text-align:center;
	margin-right:auto;
	margin-left:auto;*/
	cursor:pointer;
	align-self: center;
}

#volet .bouton.active{
	border:4px solid #aaa;
}

#volet #boutonOK{
	position:absolute;
	text-align:center;
	text-transform:uppercase;
	color:rgba(255,255,100);
	font-size:1.2em;
	line-height:70px;
	width:100%;
	cursor:pointer;
	left:-50%;
	top:50%;
	margin-top:-60px;
	/*background-color:#000;
	
	
	position:fixed;
	width:60px;
	height:auto;
	background-color:#000;
	top:40px;
	left:40px;*/
	
	
}

/* boutons couleur */

#bouton1{
	background-color:#000000;
	border:4px solid #000000;
}
#bouton2{
	background-color:#ffffff;
	border:4px solid #ffffff;
}
#bouton3{
	background-color:#ff94ff;
	border:4px solid #ff94ff;
}
#bouton4{
	background-color:#5229ff;
	border:4px solid #5229ff;
}
#bouton5{
	background-color:#e6dc43;
	border:4px solid #e6dc43;
}
#bouton6{
	background-color:#8bff70;
	border:4px solid #8bff70;
}
#bouton7{
	background-color:#ff6700;
	border:4px solid #ff6700;
}
#bouton8{
	background-color:#10c7ff;
	border:4px solid #10c7ff;
}
#bouton9{
	background-color:#eb4943;
	border:4px solid #eb4943;
}
#bouton10{
	background-color:#00ff91;
	border:4px solid #00ff91;
}

/* boutons ciel */
.bouton_ciel,
.bouton_mer{
	text-align:center;
}
.bouton_ciel img,
.bouton_mer img{
	width:50%;
	height:auto;
}

.bouton_ciel.active,
.bouton_mer.active{
	border:2px solid #fff;
}


.barre{
	position:fixed;
	width:60vw;
	height:20px;
	top:1vw;
	z-index:40000;
	left:calc( ( 100vw - 140px - 60vw) / 2);
}

.barre-noire{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:#000;
	border-radius:30vw;
	z-index:100;
}
.barre-couleur{
	position:absolute;
	top:0;
	left:0;
	width:0%;
	height:100%;
	background-color:aqua;
	border-radius:30vw;
	z-index:200;
}



#volet #boutonRetour{
	position:absolute;
	text-align:center;
	text-transform:uppercase;
	color:rgba(255,255,100);
	font-size:1.2em;
	line-height:70px;
	width:100%;
	cursor:pointer;
	left:0%;
	bottom:-2%;
	margin-top:-60px;
	/*background-color:#000;
	
	
	position:fixed;
	width:60px;
	height:auto;
	background-color:#000;
	top:40px;
	left:40px;*/
	
	
}

	
}