/*   Je m'occupe de toute la  page avec le body*/

body{
	margin:0 auto;
	background-image: url(Images/fondnoir.PNG);
}
html {
    scroll-behavior: smooth;
}

header img{
	width: 180px;
	margin: 2px;	
}

/*   Je m'occupe du menu de navigation*/
nav {
	align-items: center;
	flex-grow:1;
	display: flex;
	list-style: none;
	color: white;	
	justify-content: space-around;
	background-image: url(Images/Fond.PNG);
	font-size:25px;
	font-family:Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;	
}

nav img{
	width : 150px;
	margin : 10px;
}

/*   Je m'occupe de la section top-page*/
section.top-page{
	background-image:url(Images/fond_acceuil.jpeg);
	height: 109vh;
	background-size: cover;
	justify-content: between;
}

h1{
	color: white;
	font-size: 70px;
	font-family:Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
	font-weight: 300;
	text-align: center;
}
h2{
	color: white;
	font-size: 40px;
	font-family:Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
	font-weight: 300;
	text-align: center;
}


p{
	font-size: 18px;
	text-align: center;
	color: white;
	font-family: system-ui;

}

.scroll-down {
    color: white;
    text-decoration: none;
	font-family: system-ui;
	position: absolute;
	left: 50%;
}


/* Début de la section moi*/
.moi{
	height: 109vh;
}

.monhistoire{
	text-decoration: none;
	color:white;
	font-size: 25px;
}

.lienhistoire{
	text-align: center;
	padding-left:15%;
}
/*début de la section service/activité */

.service {
	padding-top: 10%;
	padding-bottom: 3%;
	padding-left: 6%;
	padding-right: 6%;
	display: flex;
	flex-grow:1;
	justify-content: space-around;
	align-items: center;
}
	
.service2{
	display: flex;
	flex-direction: column;
}
.service3{
	display: flex;
	flex-wrap: wrap;
}
.titrepres{
	color:white;
	text-align:center;
	list-style: none;
	font-size: 50px;
	font-family:Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
	font-weight: 300;
}
.textepres {
	margin : 10px;
	list-style: none;
	text-align: justify;
	font-family: system-ui;
	font-size: 16px;
	padding-left:6%;
	width: 250px;
	color:white;
}


.presservice{
	align-items: center;
	display: flex;
	flex-direction: column;
	list-style: none;	
}

.imgpres{
	border-radius: 5px;
}

.lien{
	font-size:25px;
	font-family:Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
	text-decoration: none;
	color: white;

}
.lien:hover{
	font-weight: 600;
}
/* Début de la section galerie photo*/

.grid{
	position: relative;
	column-count:4;
	gap: 5px;
	margin: 20px;
}
.grid-item{
	margin:0;
	margin-bottom: 3px;
	margin-left:1.5px;
	margin-right:1.5px;
}

.grid-item img{
	width:100%;
}

@media(max-width:810px){
	.grid{column-count:1}
}
/*code pour faire les image en grand*/


#lightbox{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

#lightbox img{
    
	max-width: 450px;
}

#lightbox.active{
    display: flex;
}

.exit{
    text-decoration: none;
    color: white;
    position: absolute;
    top: 10%;
    right: 10%;
}


/* je m'occupe du bas de page */

footer{
	color:black;
	display: flex;
	flex-grow: 1;
	justify-content: space-evenly;
	align-items: center;
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 5%;
	padding-top: 5%;
	background-color:rgba(255, 255, 255, 0.8);
	list-style: none;
	flex-wrap: wrap;
}

.footertitre{
	font-size:20px;
	font-family:Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
}

.footertexte{
	font-family: system-ui;
	width: 280px;
	padding-left: 2%;
	text-align: justify;
	text-decoration: none;
	color: black;
}

.iconalign{
	display: flex;
	align-items:center;
}

.iconalign img{
	width: 35px;
	
}

.logo{
	width:370px;
}

