/*******************************/
/*         Variables           */
/*******************************/



:root {
	--jdr: #d4af37;
	--invite: #BB0000;
	--titre:  #E9D19C;
}


@font-face {
	font-family: 'EnchantedLand';
	src: url('./font/EnchantedLand/EnchantedLand.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'BeaufortBold';
	src: url('./font/Beaufort/BeaufortBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}


/********************************/
/*            Style             */
/********************************/


.bgmed{
	background-image:     linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./images/bg6.png") ;
	background-repeat: no-repeat;
	background-size: cover;        /* L'image couvre toute la zone */
	background-position: center;   /* Centrée horizontalement et verticalement */
	background-attachment: fixed;  /* L'image reste fixe en scrollant */
}

.button {
	background-color: #000000CC; /* fond noir avec transparence */
	color: white;
	border: 2px solid white;
	border-radius: 10px;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1em;
	transition: background-color 0.3s, box-shadow 0.3s;
	cursor: pointer;
}

.select {
	background-color: #000000CC; /* fond noir avec transparence */
	color: white;
	border: 2px solid white;
	border-radius: 10px;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1em;
	transition: background-color 0.3s, box-shadow 0.3s;
	cursor: pointer;
}
/*********************************/
/*             Menu              */
/*********************************/

.menu{
	width: 90%;
	margin: 0vh 5vw;
	color: #E9D19C;
	display: flex;
	justify-content: center; /* Centrage horizontal */
	align-items: center;     /* Centrage vertical */
	
}



@media (min-width: 769px) {
	.menu #logo{
		height: 200px;
		display: block;
		left: 0;
	}
}
@media (max-width: 768px) {
	.menu #logo{
		height: 100px;
		display: block;
		left: 0;
	}
}





.menu .menu-button {
	color : var(--titre);
	font-family: "BeaufortBold", sans-serif;
}

.menu .menu-button:hover{
	background: #AAAAAA55;
	box-shadow: 0 0 10px 10px #AAAAAA55;
}

.menugauche, .menudroite {
	display: flex;
	align-items: center;     /* Centrage vertical */
	width: 45vw;
	gap: 50px; /* Espacement entre les boutons */
}



@media (min-width: 769px) {
	.menu{
		flex-direction: row;
	}

	.menugauche{
		justify-content: right; /* Centrage horizontal */
	}

	.menudroite{
		justify-content: left; /* Centrage horizontal */
	}

	.menu .menu-button{
		font-size: 2em;
		padding : 10px;
	}
}

@media (max-width: 768px) {
	.menu{
		flex-direction: column;
	}

	.menugauche{
		justify-content: center; /* Centrage horizontal */
	}

	.menudroite{
		justify-content: center; /* Centrage horizontal */
	}

	.menu .menu-button{
		font-size: 1.5em;
	}
}



.div-centre{
	display: flex;
	font-family: "BeaufortBold", sans-serif;
	justify-content: center;
	align-items: center;
	text-align: justify;
	font-size: 1.25em;
	margin: 5vh 10vw;
	border-radius: 10px;
	color: var(--jdr);
}	




h1.title{
	padding: 5vh 2vw;
	width: 50vw;
	text-align: center;
	color: var(--titre);
}

#countdown {
	margin : 0 auto;
	display: flex;
	justify-content: center; /* Centrage horizontal */
	align-items: center;     /* Centrage vertical */
	font-size: 1.3em;
	aspect-ratio: 225/100; /* ajustez selon le ratio de votre image */
	width: 50vw;
}
body{
	background: #282424;
	overflow-x: hidden;
}

@media (min-width: 769px) {
	.div-centre{
		flex-direction: row;
	}
}
@media (max-width: 768px) {
	.div-centre{
		flex-direction: column;
	}

	#countdown{
		white-space: pre-line;
	}
}




/********************************/
/*            Cards             */
/********************************/

div.card-container{
	display: grid;
	gap: 10px; /* espace entre les cases */
	justify-items: center; /* centre horizontalement */
	align-items: center;   /* centre verticalement */
	margin-top: 5vh;
}



@media (min-width: 769px) {
	div.card{
		grid-column: span 1 ;
		width: 35vw ;
	}
}

@media (max-width: 768px) {
	div.card{
		grid-column: span 2 ;
		width: 70vw ;
	}
}


div.card{
	border-radius: 25px;
	aspect-ratio: 150/100;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;

	background: #000000CC; /* fond noir */
	padding: 20px;
	color: white;
	position: relative;
	margin-top: 5vh;

}


div.cardDouble{
	grid-column: span 2; /* occupe 2 colonnes */
	border-radius: 25px;
	padding: 5vh 0vw;
	width: 80vw ;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;

	background: #000000CC; /* fond noir */
	color: white;
	position: relative;

	margin-top: 5vh;

}


div.invite{
	box-shadow: 0 0 20px var(--invite);
	border: 4px solid var(--invite); /* contour doré */
}

div.jdr{
	box-shadow: 0 0 20px var(--jdr);
	border: 4px solid var(--jdr); /* contour doré */
}



div.card-image-container{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 10px;
	overflow : hidden;
}

img.card-image{
	max-width: 100vh;
	max-height: 25vh;
	width: auto;
	display: block;
	object-fit: cover;
}

div.card-content{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: justify;
	margin: 10%px;
}

span.card-title{
	font-size: 3em;
	font-family: "BeaufortBold", sans-serif;
	text-align: center;
}

span.card-description
{	
	font-size: 1.2em;
	margin-top : 5%;
	width: 80%;
}

span.card-mastering{
	font-family: "BeaufortBold", sans-serif;
}


hr.card-hr{
	border-radius: 50px; 
	width:90%
}

div.jdr hr.card-hr{
	border: solid var(--jdr) 2px;

}

div.invite hr.card-hr{
	border: solid var(--invite) 2px;
}
/*************************************/
/*            Pancarte               */
/*************************************/

.pancarte {
	background: #000000;
	border: 2px solid var(--jdr);
	border-radius: 8px;
	padding: 40px 50px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
	position: relative;
	color: white;
}

.pancarte::after {
	content: '';
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 4px;
	pointer-events: none;
}

.pancarte .titre {
	text-align: center; 
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
	letter-spacing: 1px;
}

.pancarte .contenu {
	font-size: 1.1rem;
	line-height: 1.6;
	text-align: justify;
	margin-bottom: 25px;
}

.pancarte .ligne {
	width: 80px;
	height: 1px;
	background: linear-gradient(90deg, transparent, #cc0000, transparent);
	margin: 20px auto;
}

/* Animation subtile */
@keyframes fadeIn {
	0% { opacity: 0; transform: translateY(10px); }
	100% { opacity: 1; transform: translateY(0); }
}

.pancarte {
	animation: fadeIn 0.8s ease-out;
}


div.contact{
	display: flex;
	flex-direction: row;
}



@media (min-width: 769px) {
	div.contact .logo-contact{
		width: 7vw;
	}
}

@media (max-width: 768px) {
	div.contact .logo-contact{
		width: 20vw;
	}
}


/*************************************/
/*             print                */
/*************************************/

.onlyprinted {
	display: none;
}

@media print {
	.notprinted {
		display: none !important;
	}

	.onlyprinted {
		display: block !important;
	}

	html, body {
		margin: 0;
		padding: 0;
		height: 100%;
	}

	body {
		background:  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./images/bg6.png") ;
		background-size: auto 100%; /* ajuste à la hauteur de la page */
		background-position: center top;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}


@page {
	size: A4 portrait; /* ou landscape pour paysage */
	margin: 0;      /* marges personnalisées */
}




