
*{
	margin: 0;
	padding: 0;
	text-decoration:none;
	box-sizing : border-box;
	color : black;
}

@font-face{
	font-family: 'auromiya';
	src: url('./font/Auromiya.ttf') format('truetype')
	
}

html, body {
	margin: 0;
	padding: 0;
	font-family: 'Helvetica', 'Arial';
	height: 100%;
}

header{
	background-color : #45773B;
	display: flex;
	align-items: center;
	padding: 0% 2%;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	height: 6em;
	position: relative;
	z-index:10;
}


#logo{
	line-height: 1.2;
	margin-left: 13%;
	margin-right: 13%;
	display: inline-block;
}

.logo-part{
	display: block;
	text-align: left;
	line-height: 0.8;
	margin: 0;
	padding : 0;
	color:#FFDD00;
	font-family: 'auromiya';
	font-size: 2.5em;
}






/* Optionnel : ajustement de la taille de police sur petits écrans */

@media (max-width: 1065px) and (min-width: 885px) {
    
    #logo {
        margin-left: 4%; /* Réduire la marge à gauche du logo */
        margin-right: 2%; /* Réduire la marge à droite du logo */
    }

    .mainNav {
        margin-right: 4%; /* Réduire la marge à droite du menu */
        margin-left: 2%;  /* Ajoute une marge à gauche pour ajuster le menu */
    }

    .mainNav a {
        font-size: 1.3em; /* Réduit légèrement la taille des polices du menu */
        margin: 0 0.8em;  /* Réduire l'espace entre les éléments du menu */
    }
}

	



/* Menu pour les grands écrans */
@media (min-width: 885px) {
    
.mainNav {
	display:flex;
	flex-grow: 1;
	justify-content: space-between;
	padding: 0;
	margin-right: 13%;
	margin-top: 3%;
}

.mainNav a{
	margin: 0 1em;
  	font-family: 'auromiya';
  	color: black;
  	font-size: 1.5em;
}

.mainNav a.active{
	color: white;
}

.mainNav a:hover{
	color:#FFDD00;
	}

}

/* Menu pour les petits écrans */
@media (max-width: 884px) {
    #menu-toggle {
        display: block;
    }

    .mainNav {
		flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #45773B;
        width: 5%;  /* Réduit la largeur à 20% */
        min-width: 50px; /* Fixe une largeur minimale pour éviter que le menu soit trop étroit */
        max-width: 300px; /* Limite la largeur maximale */
        z-index: 1;
        visibility: hidden;
        opacity: 0;
    }

    .mainNav.show {
        visibility: visible;
        opacity: 1;
    }

    .mainNav a {
        text-align: center;
        padding: 1em;
        border-top: 1px solid white;
    }
}

.bandeau{
	background-color : #45773B;
	color: white;
	height: 4.5em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	margin-bottom: 2%;
}
h1{
	color: white;
	font-family: 'auromiya';
	font-size: 2em;
}



h2{
	font-size: 0.9em;
	margin: 0 0;
}


.titreNoir{
	color:black;
	text-align:center;
	margin-top: 2%;
	font-size: 1.8em;
}




p{
	font-size: 0.8em;
	margin: 0;
	text-align: center;
}





.contact{
	display: flex;
	flex-wrap:wrap;
	align-items: center;
	justify-content: center;
	margin-bottom: 4em;
}


.boutonContact{
	background-color: #BF7111;
	color: black;
	padding: 5px 5px;
	text-decoration: none;
	border-radius: 12px;
	width:8em;
	height:3.8em;
	border:none;
	font-size: 1em;
	margin: 0.2em;
	margin-bottom:0.3em;
	
	display: flex;
    justify-content: center;
    align-items: center;     
    cursor: pointer;
    text-align: center;      
}



.rsIcone img{
	width: 3.8em;
	height: 3.8em;
	object-fit: contain;
}

.rsIcone{
	margin:0.2em;
}

/*
@media(max-width:885px){
	.titreNoir{
		margin-top: 1em;
		font-size: 1.5em;
		margin-left: 1em;
		margin-right:1em;
	}
}
@media(max-width:529px){
	.titreNoir{
		margin-top: 1.3em;
		font-size: 1.3em;
		margin-left: 1em;
		margin-right:1em;
	}
}*/

@media(max-width:550px){
	.contact{
		margin-bottom: 2em;
	}
}

footer {
    background-color: #42210B;
    color: white;
    padding: 20px;
    text-align: center;
    height: 6em;
    display: flex;
    align-items: center;
    justify-content:flex-end;
    width:100%;
}

.footer-nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-family: 'Helvetica', 'Arial';
    font-size: 1em;
    
}

.footer-nav a:hover {
    color:#BF7111;
}


@media (max-width:400px){
	footer{
		flex-direction:column;
		justify-content:center;
		padding: 10px;
	}
	.footer-nav{
		display:flex;
		flex-direction: column; 
		align-items: center;
		justify-content: center;
    }
    .footer-nav a {
        margin: 5px 0;
        font-size: 0.9em; /* Ajuste la taille du texte si besoin */
    }
}








/* Menu nav petits écrans */
/* Cacher le bouton menu par défaut */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Styles pour le bouton hamburger */
.burger-line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: 0.4s;
}

/* Afficher le bouton menu sur les petits écrans */
@media (max-width: 884px) {
    #menu-toggle {
        display: block;
    }

    .mainNav {
		
        display: flex;
        flex-direction: column;
        position: absolute;
        z-index: 5;
        top: 15vh; /* Juste en dessous de l'en-tête */
        right: 0;
        background-color: #45773B;
        width: 40%;
        z-index: 1;
        visibility: hidden;  /* Caché par défaut */
        opacity: 0;          /* Transparence */
    }

    .mainNav.show {
        visibility: visible;  /* Montré quand .show est présent */
        opacity: 1;
    }

    .mainNav a {
        display: block;
        padding: 1em;
        text-align: center;
        border-top: 1px solid #fff;
    }

}






















