body {
	padding: 0px;
	margin: 0px;
	background: black;
	font-family: Verdana,"Trebuchet MS",Consolas,"Segoe UI",Arial,sans-serif;
}

.conteneur {
	padding: 12px;
}

code {
	font-family: Verdana,"Trebuchet MS",Consolas,"Courier Std",Tahoma;
	display: inline;
	color: black;
	background: rgba(255,255,0,.75);
}

#div1 {
	display: none;
	font-size: 12px;
	background: rgba(0,255,255,.3);
}

#ligne2 {
	transition: background-color 1s ease-in-out;
}

#codeDecimal,#codeHexadecimal {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	height: 40px;
	font-size:1.5em;
	padding:8px;
	border-radius:6px;
	box-shadow:0 4px 4px 0 rgba(0,0,0,0.9);
	background: rgba(200,200,200,.7);
	font-family: "Courier New", "Times New Roman";
	font-weight: bold;
}

#texte1,#texte2,#texte3,#texte4,#texte5 {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 14px;
	margin-bottom: 14px;
	width: 65%;
	min-width: 4.5em;
	font-size: x-large;
	background: rgba(200,200,200,.7);
	box-shadow:0 2px 2px 0 rgba(0,0,0,0.5);
}

 #valeurRouge,#valeurVert,#valeurBleu {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 40%;
	min-width: 4.5em;
	font-size: 1.5em;
	background: rgba(192,192,192,.5);
	box-shadow:0 4px 4px 0 rgba(0,0,0,0.9);
	font-family: "Courier New", "Times New Roman";
	font-weight: bold;
}

#div_3 {
	background: #ffffff;
}

#image {
	position: sticky;
	top: 0;
	width: 320px;
	height:149px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	transition: width 0.5s ease-in-out;
	transition: height 0.5s ease-in-out;
}

p {
	padding: 4px;
	margin: 4px;
	text-align: justify;
	font-family: "Segoe UI",Courier,Tahoma;
	font-size: 14px;
}

.texte {
	text-align: center;
	font-size: 30px;
	background: rgba(255,255,255,.7);
}

* {
	box-sizing: border-box;
}

.fond_img1 {
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	/* background-image: url('pierres.jpg'); */
	min-height: 100px;
}

.fond_img2 {
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	/* background-image: url('briques.jpg'); */
	min-height: 100px;
}

.col-conteneur {
	display: table;
	width: 100%;
	padding: 4px;
}

.conteneur {
	display: table;
	width: 100%;
}

.col {
	display: table-cell;
	width:50%;
	padding: 10px;
}

/*règle @media (requêtes media CSS3)*/
@media only screen and (max-width: 1000px){
	.col {
		display: block;
		width: 100%;
	}
	#valeurRouge,#valeurVert,#valeurBleu,#texte1,#texte2,#texte3,#texte4,#texte5 {
		font-size:20px;
	}
}

h1 {
	position:sticky;
	top:0;
	text-align: center;
	font-family: Consolas,"Segoe UI",Tahoma,Arial,sans-serif;
	font-size:45px;
	padding: 16px;
	margin: auto;
}

h2 {
	opacity:0.8;
	border-radius:8px;
	background: darkgray;
	font-size:24px;
	text-align: center;
	padding: 8px;
	font-family:Verdana,Arial,Consolas,"Segoe UI",sans-serif;
	font-weight:bold;
	margin:10px 0;
	color: black;
	box-shadow:0 4px 4px 0 rgba(0,0,0,0.9);
}

.centrer {
	text-align: center;
}

.raz {
	position: absolute;
	z-index: 1;
	font-family: sans-serif,Verdana,Arial,Consolas,"Lucida Sans Unicode";
	top: 10px;
	right: 20px;
	font-size: 34px;
	margin: 10px 0;
	padding: 4px;
}

.raz:hover {
	color: white;
	background: rgb(128,128,128,0.7);
	transition: color background 0.4s ease-in-out;
	cursor: pointer;
}

.menu {
	font-family: Consolas,"Lucida Sans Unicode";
	position: sticky;
	font-size: 34px;
	top: 0;
	text-align: center;
	z-index: 1; /* la propriété z-index place les élements sur différents plans */
	display: block;
	box-shadow: 0 4px 10px 0 rgba(0,0,0,0.7);
	width: 100%;
	background: rgba(128,128,128,0.7);
	margin-left: auto;
	margin-right: auto;
	padding: 4px;
}

.menu:hover {
	color: white;
	transition: color 0.4s ease-in-out;
	cursor: pointer;
}

/*boutons*/
.bouton {
	user-select: none;
	transition-duration: 1.0s;
	box-shadow: 2px 2px 0px 0px rgba(255,0,0,0.25);
	border-color: red;
	border-radius: 6px;
	color: white;
	background: red;
	font-size: 20px;
	padding: 8px 8px;
	top: 0;
	width: 40%;
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	opacity: 0.8;
	position: sticky;
}

.bouton:hover {
	box-shadow: 4px 4px 0px 0px rgba(255,0,0,0.5);
	color: red;
	opacity: 1;
	background: white;
}

/*pourles titres*/

.jaune {
	color:black;
	background-color:yellow;
}

.rouge {
	color:#000;
	background-color:#FF0000;
}

.vert {
	color:#000;
	background-color:#00FF00;
}

.bleu {
	color:#000;
	background-color:#0000FF;
}

.fondNoir {
	color:white;
	background-color:black;
	font-family:Tahoma,Consolas,Arial,Lucida;
}

.aucunFond {
	color:white;
	font-family:Verdana,"Trebuchet MS",Consolas,Lucida;
}

/*ombres*/

.bordure{
	box-shadow:0 4px 10px 0 rgba(0,0,0,0.9),0 4px 20px 0 rgba(0,0,0,0.2);
}

.bordure:hover{
	box-shadow:0 4px 10px 0 rgba(0,0,0,0.5),0 4px 20px 0 rgba(255,255,255,0.2);
}

/*animations*/

.animeFondu {
	animation:fading 2s linear;
}

@keyframes fading { /*règle d'animation CSS @keyframes permet spécifier les images clés d'une animation CSS*/
	0% {opacity:0;}
	50% {opacity:0.5;}
	100% {opacity:0.9;}
}

.animeOpaque {
	animation:opac 0.8s
}

@keyframes opac {
	from {opacity:0;}
	to {opacity:0.7;}
}

#leMenu {
	text-align:center;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/*OPACITE*/

.opaciteMin {
		opacity:0.9
}


.afficheBasMilieu {
	position:absolute;
	left:50%;
	bottom:20px;
	transform:translate(-50%,0%);
	-ms-transform:translate(-50%,0%);
}

.afficheConteneur {
	position:relative
}

/*BANDEAU*/

.bandeau {
	position:absolute;
	border:0px;
	padding:0px;
	margin:0px;
	top:0px;
	left:0px;
	z-index:3;
}

/*MENU*/

.surcouche {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 2;
	top: 0;
	left: 0;
	background-color: rgb(10,10,10);
	background-color: rgba(10,10,10, 0.9);
	overflow-x: hidden;
	transition: 0.75s;
	font-family:Consolas, Lucida;
}

.surcouche a {
	padding: 8px;
	font-size:24px;
	text-decoration: none;
	display: block;
	transition: 0.3s;
	color:gainsboro;
}

.surcouche span {
	padding: 8px;
	font-size:24px;
	display: inline;
	transition: 0.3s;
	color:gainsboro;
	cursor: pointer;
}

.surcouche p {
	padding: 8px;
	font-size:24px;
	display: inline;
	transition: 0.3s;
	color:gainsboro;
}

.surcouche span:hover, .surcouche span:focus {
	color: yellow;
}
 .surcouche a:hover, .surcouche a:focus {
	color: yellow;
}

.surcouche .btnFermer {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}

@media screen and (max-height: 450px) {
	.surcouche a span p {
		font-size: 20px
	}
	.surcouche .btnFermer {
		font-size: 40px;
		top: 15px;
		right: 35px;
	}
}

/*CURSEURS*/

.curseur1 {
	-webkit-appearance: none;
	width: 80%;
	height: 20px;
	background:linear-gradient(.25turn, black, red);
	outline-width: 1px;
	outline-style:solid;
	outline-color: darkgray;
	opacity: 1;
	-webkit-transition: .2s;
	transition: opacity 0.2s;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.curseur2 {
	-webkit-appearance: none;
	width: 80%;
	height: 20px;
	background:linear-gradient(.25turn, black, green);
	outline-width: 1px;
	outline-style:solid;
	outline-color: darkgray;
	opacity: 1;
	-webkit-transition: .2s;
	transition: opacity 0.2s;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.curseur3 {
	-webkit-appearance: none;
	width: 80%;
	height: 20px;
	background:linear-gradient(.25turn, black, blue);
	outline-width: 1px;
	outline-style:solid;
	outline-color: darkgray;
	opacity: 1;
	-webkit-transition: .2s;
	transition: opacity 0.2s;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.curseur1:hover {
	opacity: 1;
}

.curseur2:hover {
	opacity: 1;
}

.curseur3:hover {
	opacity: 1;
}

.curseur1::-webkit-slider-thumb { /*affiche puce sous Mozilla */
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	background: #CCCCCC;
	cursor: pointer;

}

.curseur2::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	background: #CCCCCC;
	cursor: pointer;
}

.curseur3::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	background: #CCCCCC;
	cursor: pointer;
}

 .curseur1::-moz-range-thumb { /*affiche puce sous Mozilla */
	width: 25px;
	height: 25px;
	background: #ffffff;
	cursor: pointer;
}

.curseur2::-moz-range-thumb {
	width: 25px;
	height: 25px;
	background: #ffffff;
	cursor: pointer;
}

.curseur3::-moz-range-thumb {
	width: 25px;
	height: 25px;
	background: #ffffff;
	cursor: pointer;
}
