@font-face {
	font-family: 'Cardo-Regular';
	src: url('Cardo-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Maiandra-GD-Regular';
	src: url('Maiandra-GD-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

@keyframes etoiles-flotante {
  0%   { top: 0px; }
  50%  { top: -20px; }
  100% { top: 0px; }
}

@keyframes etoiles-flotante-mobile {
  0%   { top: 0px; }
  50%  { top: -10px; }
  100% { top: 0px; }
}

@keyframes descente-nuage {
  0%   { bottom: -30px; }
  50%  { bottom: -50px; }
  100% { bottom: -30px; }
}
@keyframes descente-nuage-mobile {
  0%   { bottom: -10px; }
  50%  { bottom: -20px; }
  100% { bottom: -10px; }
}


body {
	margin: 0;
}

html {
	background-color: rgb(40, 40, 40);
	background-attachment: fixed;
	background-size: cover;
}

em {
    font-style: normal;
}

#mode-nocturne {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
    transition: background-color 0.3s ease;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -100;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

#background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#background-tel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -101;
    overflow: hidden;
    display: none;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

#background-tel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.content {
    max-width: 1200px;
    min-height: 100%;
    width: 95%;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.65);
    transition: background-color 0.5s;
}

.Titre {
	opacity: 0;  
	font-family: 'Maiandra-GD-Regular', sans-serif;
	color: white;
	font-size: 25px;
	text-align: center;  
    z-index: 2;
	margin: 30px;
	animation: fadeIn 0.3s ease-in forwards;
}

.bloc-conges {
	opacity: 0;  
	font-family: 'Maiandra-GD-Regular', sans-serif;
    margin: 40px auto 0px auto;
    text-align: center;
    background-color: rgba(0, 0, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
	color: white;
    border-radius: 10px;
    width: 80%;
    max-width: 750px;
	animation: fadeIn 0.3s ease-in forwards;
}

.button-container {
	opacity: 0;  
	display: flex;
	margin-left: 10px;
	margin-right: 10px;
	justify-content: center;
	animation: fadeIn 0.3s ease-in forwards;
}

.button-deroulant {
	margin: 0px auto 0px auto;
    width: 300px;
}

.custom-button,.button-deroulant {
	font-family: 'Maiandra-GD-Regular', sans-serif;
	background-color: rgba(0, 0, 0, 0.4);
	color: white;
	font-size: 18px;
	font-weight: bold;
	border: 2px solid white;
	border-radius: 15px;
	padding: 12px !important; 
	cursor: pointer;
    transition: filter 0.5s, transform 0.5s, background-color 0.3s ease;
	z-index: 5;
}

.custom-button:hover,.button-deroulant:hover {
	transform: scale(1.05);
	background-color: rgba(0, 0, 0, 0.1);
}

.boutons-cotes-a-cotes {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 750px;
	margin: 0px auto 0px auto;
    flex-wrap: wrap;
}

.Button-Actif {
	background-color: rgba(255, 255, 255, 0.4);
	color: White;
	border: 2px solid White;
    transform: none;
	cursor: auto;
}
.Button-Actif:hover {
	background-color: rgba(255, 255, 255, 0.4);
	color: White;
	border: 2px solid White;
    transform: none;
	cursor: auto;
}

.AffichagePage {
	margin-bottom: 30px;
}

.texte {
    max-width: 850px;
	margin: 0px auto 0px auto;
	padding: 20px;
	opacity: 0;  
	font-family: 'Cardo-Regular', sans-serif;
	font-size: 20px;
	text-align: center;  
	color: white;
	animation: fadeIn 0.3s ease-in forwards;
}

.texte-box-left {
    max-width: 1200px;
    width: 89%;
	margin: 0px auto 0px auto;
	border-radius: 25px;
	background-color: rgba(0, 0, 0, 0.2);
	text-align: justify;
	padding: 20px;
	opacity: 0;  
	font-family: 'Cardo-Regular', sans-serif;
	font-size: 20px;
	color: white;
	animation: fadeIn 0.3s ease-in forwards;
}

.hidden {
	display: none;
}

.rounded-image {
	max-width: 200px;
	width: 100%;
	height: auto;
	border-radius: 50%;
	margin-top: 25px;
	border: 5px solid white;
	transition: transform 0.3s ease, filter 0.3s ease;
	opacity: 0;
	animation: fadeIn 0.3s ease-in forwards;
}

.rounded-image:hover {
	filter: brightness(105%);
	transform: scale(1.0);
}

.slideshow-container {
	width: 100%;
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

.icon-row {
    max-width: 400px;
	padding: 10px;
    margin: 20px auto 20px auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.icon-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80px;
    margin: auto;
    position: relative;
}

.icon {
    opacity: 0;
    max-width: 100%;
    max-height: 80px;
    border-radius: 50%;
    cursor: pointer;
    filter: brightness(80%);
    transition: filter 0.5s, transform 0.5s;
    border: 2px solid white;
    animation: fadeIn 0.3s ease-in forwards;
}

.icon:hover {
    transform: scale(1.1);
    filter: brightness(100%);
}

.button-deroulant:hover .Details {
    opacity: 1;
    display: block;
}


.icon-container:hover .Details {
    opacity: 1;
    display: block;
}

.Details {
    display: none;
    position: absolute;
    width: 100px;
    height: 20px;
    background-color: white;
    border-radius: 10px;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    line-height: 20px;
}

.ContainerPresentation {
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.ContainerPresentationBox {
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: left;
}

.ContainerPresentationBox:has(img) {
    justify-content: center;
}

.ContainerPresentationBox:has(p) {
    text-align: left;
}

.ContainerPresentationBox img {
	max-width: 100%;
	border: 2px solid white;
	height: auto;
	border-radius: 20px;
}

.FS-1 {
	font-size: 15px;
}

.FS-2 {
	font-size: 20px;
}

.FS-3 {
	font-size: 25px;
}

.FS-4 {
	font-size: 30px;
}

.FS-5 {
	font-size: 35px;
}

.FS-6 {
	font-size: 40px;
}

.FS-7 {
	font-size: 45px;
}

#Copyright {
	font-size: 14px;
	opacity: 0;
	color: rgba(255, 255, 255, 0.5); 
    border-top: 1px solid #555;
	padding-top:20px;
	text-align: center;  
	margin: 5px; 
	animation: fadeIn 0.3s ease-in forwards;
}

#Bouton_Conditions {
	cursor: pointer;
	animation: fadeIn 0.3s ease-in forwards;
    background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
}

#Bouton_Mentions {
	cursor: pointer;
	animation: fadeIn 0.3s ease-in forwards;
    background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
}


@media only screen and (max-width: 767px) {
	
	#ImageEtoile {
		animation: fadeIn 0.3s ease-in forwards, etoiles-flotante-mobile 10s ease-in-out infinite;
	}
	
	#background {
		display: none;
	}
	
	#background-tel {
		display: block;
	}
	
	#Copyright {
	font-size: 12px;
	}
	
	.ContainerPresentationBox {
		width: 100%;
	}
	
	.AffichagePage {
		margin-bottom: 0px;
	}
	
	.Titre {
		font-size: 23px;
		margin: 20px;
	}

	.rounded-image {
		max-width: 140px;
	}
	
	.icon-row {
    max-width: 300px;
	}
	
	.icon {
		max-height: 60px;
	}
	
	.custom-button,.button-deroulant {
		font-size: 15px;
		padding: 8px !important;
	}

	.texte {
		font-size: 16px;
		padding: 15px;
	}

	.texte-box-left {
		font-size: 16px;
		padding: 15px;
	}

	.FS-1 {
		font-size: 14px;
	}

	.FS-2 {
		font-size: 17px;
	}

	.FS-3 {
		font-size: 20px;
	}

	.FS-4 {
		font-size: 23px;
	}

	.FS-5 {
		font-size: 26px;
	}

	.FS-6 {
		font-size: 29px;
	}

	.FS-7 {
		font-size: 32px;
	}
}