body { 
	background-color: #000000; 
	font-family: Verdana, sans-serif;
	text-decoration: none; 
}
 
h1{
	font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	color:rgb(255,255,225);
	text-align:center;
	
} 

h2{
	text-align:right; 
	color: rgb(255,255,225);
}

p{
	color: rgb(255,255,225);
}

img {
	position:relative;
}

/* Binaire */

.logo_binaire> .container > img {
	position:relative;
	left:39.5%;
	margin-top:-3%;
	
}

.text_image_logo > p {
	left:40%;
	text-align:center;
}

table {
	margin-top:3%;
	left:25%;
	position:relative;
	font-size: 18px;
	margin-top: 4%;
	margin-left: 45%;
	border-color: white;
}


.image-container {
	position:relative;
	margin-top:-22px;
	width: 700px;
}




.caption {
	display: none;
	position: relative;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #4285F4;
	transition: opacity .3s ease-in-out;
}

.text_source_programmation > p {
	text-align:center;
	width:750px;
	color: #4285F4;
}

.text_source_programmation {
	width:260px;
}

.image-container:hover .caption  {
	display: block;
	opacity: 1;
}

img {
	transition: transform.1s;
	display: inline-block;
}



.image-container:hover img {
	transform: scale(1.2);
}

.top_binaire {
	position: relative;
	margin-top: 60px;
}

.corner_right_top {
	top: 20px;
	right: 20px;
	position: absolute;
}

.button_pirates {
	background-color: #8B4513;
	width: 214px;
	border-radius: 1px; 
	border: 2px solid white;
	display: flex; 
	justify-content: center; 
	align-items: center;
	text-decoration: none;
  }
  
.button_pirates > button {
	text-decoration: none;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 16.5px;
	background-color: transparent; 
	text-align: center;
	color: white; 
	transition: all 0.3s ease-in-out;
	border: 0px;
}

.button_pirates > button:hover {
	background-color: white;
	color: #8B4513;
	cursor: pointer; 
}

.logo_tresor_binaire, .logo_pirates_binaire, .button_pirates {
	display: inline-block;
	margin-left: 10px;
}



.img_programmation > a > img {
	position: relative;
	left: 160px;
	bottom: 370px;
}



.text_programmation > p {
	text-align: center;
	width: 40%;
}

ul {
	color: white;
}

.credits {
	margin-top: 100px;
	font-size:14px;
}

.appartion_sources {
	position: relative;
	padding-top: 10px;
}

.sources_button {
	background-color: #8B4513;
	width: 170px;
	height: 50px;
	position: relative;
	top: 40px;
	left: 30px;
	border-radius: 5px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}

.sources_button>button {
	text-decoration: none;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 16.5px;
	background-color: transparent;
	border: 2px solid white;
	text-align: center;
	color: white;
	padding: 12px 30px;
	transition: all 0.3s ease-in-out;
}

.sources_button>button:hover {
	background-color: white;
	color: #8B4513;
	cursor: pointer;
}

li > a {
	text-decoration: none;
	color: white;
	font-style:italic;
}




/* CSS pirate*/
.container {
	display: block;
	margin: auto;
	margin-top: 75px;
	width: 525px;
}

.parchemin-quete_1 > img {
	width: 525px;
	margin-bottom: 15px;
}

.accept_quete > a, .refuse_quete > a  {
	width: 199px;
	height: 43px;
	margin-left: auto;
	margin-right: auto;
}

.accept_quete, .refuse_quete {
	width: 49%;
	display: inline-block;
	text-align: center;
}

.carte{
	width: 35%;
	height: 400px;
	margin-top: 15px;
}

.conteneur-flex {
	display: flex;
	flex-flow: row wrap;
	margin: 10px;
	
}

.conteneur-flex > div {
	flex: 20 0 calc(11% - 10px);
	padding: 5px 5px;
	background-color: #d08f4a;
	border: 1px solid rgb(185, 120, 67, 255);
	aspect-ratio: 1 / 1;

}

.conteneur-flex2 {
	display: flex;
	flex-flow: row wrap;
	margin: 10px;

}

.conteneur-flex2>div {
	flex: 20 0 calc(11% - 10px);
	padding: 5px 5px;
	background-color: #d08f4a;
	border: 1px solid rgb(185, 120, 67, 255);
	aspect-ratio: 1 / 1;

}


/* carte*/
.ile_one > input , .ile_one > .texte {
	position: absolute;
	top: 100px;
	left: 100px;
}

.ile_two > input , .ile_two > .texte {
	position: absolute;
	top: 75px;
	left: 400px;
}

.ile_three > input , .ile_three > .texte {
	position: absolute;
	top: 300px;
	left: 300px;
}

.ile_three > input {
	transform: rotate(45deg);
}

.ile_four > input , .ile_four > .texte {
	position: absolute;
	top: 250px;
	left: 50px;
}

.ile_four > input {
	transform: rotate(110deg);
}

.ile_five > input , .ile_five > .texte {
	position: absolute;
	top: 225px;
	left: 500px;
}

.boussoule > img {
	position: absolute;
	top: 360px;
	left: 599px;
}

.enigme_first {
	position: relative;
	margin-top: -175px;
	left: 950px;
	width: 40%;
}

.enigme_first_pirate {
	margin-top: -130px;
}

*,
::before,
::after {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
}

.box_bulle {
	width: 20%;
	height: 100px;
	display: inline-block;
	justify-content: center;
	align-items: center;
	margin-top: -130px;
	left: 50px;
	position: relative;
}

.bulle {
	position: relative;
	width: 600px;
	height: 100px;
	border: none;
	background: white;
	border-radius: 20px;
	background: #d08f4a;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.bulle::after {
	content: '';
	position: absolute;
	width: 75px;
	height: 50px;
	right: calc(50% + 100px);
	bottom: -50px;
	background: #d08f4a;
	box-shadow: 0 0 50px -10px rgb(34, 193, 195);
	clip-path: polygon(38% 0, 100% 100%, 100% 0);
}

.bulle p {
	text-align: center;
	line-height: 1.5em;
	font-family: 'Blackadder ITC', sans-serif;	
	font-size: 1.7em;
	transition: 0.2s;
	color: white;
	text-shadow: 0 0 10px -5px rgba(255, 255, 255, 0.5);
}

.enigme_first_carte > input {
	position: absolute;
	transform: rotate(45deg);
	margin-left: 100px;
	top: -55px;
}

#video-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

#my-video {
	width: 100%;
	height: 100%;
}

.map_enigme > img {
	position: relative;
	margin-top: -343px;
	left: 950px;
}

.button_pelle > button {
	background-image: url(photo/pelle.png);
	background-color: #8B4513;
	border-radius: 100px;
	width: 80px;
	height: 80px;
	background-size: contain;
	background-repeat: no-repeat;
	background-size: 60px 60px;
	background-position: center center;
	border-color:rgb(36, 29, 29) ;
	position: relative;
	margin-left: 77.5%;
	margin-top: 330px;
	border-color: white;
}

.button_map > button {
	background-image: url(photo/carte.png);
	background-color: #8B4513;
	border-radius: 100px;
	width: 80px;
	height: 80px;
	background-size: contain;
	background-repeat: no-repeat;
	background-size: 60px 60px;
	background-position: center center;
	border-color: rgb(36, 29, 29);
	position: relative;
	margin-left: 35.5%;
	margin-top: -75px;
	border-color: white;
}

#carte_return {
	display: none;
}