body {
    font-family: Arial, sans-serif;
	font-size: 25px;
	color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #ffffff;
}

.header{
	display: flex;
	justify-content: space-around;
}

#logo{
	padding-top: 4%;
	width: 20%;
	height: 20%;
}

.logo{
	padding: 4%;
	width: 20%;
	height: 20%;
}

.logo:hover {
	transform: scale(1.1);
}

.logo img{
	/*margin-right: 2%;*/
	width: 100%;
	height: 100%;
}

.bouton_header{
	padding: 5%;
	font-size: 45;
	text-decoration: none;
	color: #ffffff;
}

.bouton_header:hover {
	color: #caa65f;
    transform: scale(1.1); /* Agrandit légèrement l'image au survol */
}

#accueil{
    margin: 0;
    padding: 0;


    background-image: url('images/accueil.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 170vh;

}

#tourne{
	z-index: 10;
}

 .rotating-element {
	 
            width: 20%;
            height: auto;
			margin-top:35%;
            position: center;
            animation: rotate 5s linear infinite; /* Animation continue */
}

        
    @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
}

.bouton {
	padding-top: 5%;
	display:flex;
	flex-direction: row;
	justify-content: flex-end;
}

#image-button-accueil{
	padding-left: 20px;
	padding-right: 30px;
    width: 150px; /* Ajustez la taille de l'image */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#image-button-accueil:hover{
	transform: scale(1.1);
}

.image-button {
	padding-left: 20px;
	padding-right: 30px;
    width: 150px; /* Ajustez la taille de l'image */
    height: auto;
    cursor: pointer;
	transition: transform 0.2s ease, opacity 0.3s ease;
}

.image-button:hover {
    transform: scale(1.1); /* Agrandit légèrement l'image au survol */
	opacity: 0.9;
}

#next-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Met le bouton au-dessus des images */
}



#illu1{
	margin: 0;
    padding: 0;


    background-image: url('images/fond1.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 135vh;
}

#illu2{
	margin: 0;
    padding: 0;


    background-image: url('images/fond2.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 135vh;
}

#illu3{
	margin: 0;
    padding: 0;


    background-image: url('images/fond3.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 135vh;
}

#illu4{
	margin: 0;
    padding: 0;


    background-image: url('images/fond4.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 135vh;
}

#illu5{
	margin: 0;
    padding: 0;


    background-image: url('images/fond4.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 135vh;
}

#illu6{
	margin: 0;
    padding: 0;


    background-image: url('images/fond5.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 135vh;
}

#regle{
	    margin: 0;
    padding: 0;


    background-image: url('images/accueil.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	height: 120vh;
}


.image-container {
    position: relative; /* Définit le conteneur comme un parent positionné */
	width: 100%;
	height: 100%;
}

.image-container img {
    position: absolute; /* Superpose les images les unes sur les autres */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garde les proportions de l'image */
    opacity: 0; /* Cache initialement toutes les images */
    transition: opacity 0.5s ease-in-out; /* Animation pour faire apparaître les images en douceur */
}

.image-container img.visible {
    opacity: 1; /* Affiche l'image visible */
}

.hidden {
    display: none; /* Masque l'élément */
}

#perso {
	margin: 0;
    padding: 0;


    background-image: url('images/fondperso.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	width:100%;
	height: 215vh;
}

#regle {
	margin: 0;
    padding: 0;

    background-image: url('images/regle.png'); /* Chemin de l'image */
    background-size: cover; /* Ajuste l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
	width:100%;
	height: 130hv;
}