/*
Site fait par Christian RUCH
4 rue de la verdoise
Hameau dhuilet
91150 Ormoy la rivière
*/


body {
	/*background-image: url("image/paysage2.jpg");*/
	background-attachment: fixed;
	background-position: center;
	font-family: Comic sans MS, Arial, Georgia, serif, Time New Roman;
	background-color: rgb(51,204,255);
	}
	
#bloc_page{
	width: 99%;
	margin: auto;
}

#bouton1{
	font-size:1em;
	background-color:rgb( 255,153,51);
	color:white
}

img{ /*pour que les images s'adaptent à l'écran*/
	max-width: 100%;
}

h1{
	font-size: 2em;/* 60px/16px*/
	font-style: italic;
	font-weight: bolder;
	color: red;
	text-decoration: underline;
}

h2{
	font-size: 1 em;
	font-style: italic;
}

strong{
	color:red;
}

p{
	font-size: 2 em;
}

header{
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	margin: auto;
	margin-bottom: 1%;
}

.logo{ /*logo génération mouvement*/
		height:11em;
}

.blason{ /*logo ville de bligny-sur-Ouche*/
		height:11em;
}

.club/*texte du haut de la page*/
{
	font-size: 2.7em;
	margin:auto;
	text-align: center;
	color: black;
}


mark{
	color:red;
	background-color: blue;
}

.flexboxnav{
	display: flex; /*disposition flexible*/
	justify-content: space-around; /*répartition justifiée*/
	flex-wrap:wrap; /* passage à la ligne autorisée*/
	align-items: center; /*éléments centrés sur l'axe vertical*/
	width: 80%:
}

@media ( max-width: 1024px){
	
	.flexboxnav{
		width: 90%;
	}
	
}

nav{
	background-color: white;
	height: 60%;
	border: 2px solid black;
	border-radius: 1em;
	text-align: center;
	width: 80%;
	margin:auto;
}

nav a{
	text-decoration: none;
	color: blue;
	}

nav: ul{
	margin-left: 0px;
	padding: 0px;
	
}

nav a:hover{
	color:red;
}

nav li{ /* pour les éléments de la liste*/
	list-style-type: none;
	margin-left: 8px;
	border: 1px black;
}

nav li: focus{
	color: white;
	text-decoration: none;
	border: 3px solid #6495ed;
}

.entetephotos{
	width: 40%;
	margin:auto;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	text-align:center;
	color:white;
	font-size: 2em;
	height:100%;
	background-color: red;
	border-radius: 40px 40px 40px 40px;
	box-shadow: 20px 20px 20px rgba(76,64,163,0.8);
	
}

.actu{
	width: 50%;
	margin: auto;
	background-color: white;
	text-align: left;
	border: 3px solid black;
	padding: 10px;
	border-radius: 40px 40px 40px 40px;
	box-shadow: 20px 20px 20px rgba(76,64,163,0.8);
	margin-top: 3%;
	
}

.actu h1{
	font-size: 3em;
	color: red;
}

.actu h2{
	font-style: italic;
	font-size: 2em;
	color:red;
}

.actu h3{
	font-size: 1.5em;
	color:red;
}

.actu p{
	font-size: 1.3em;
}


@media ( max-width: 1024px){
	.actu {	width: 80%;}
	.titre{ width: 80%;}
}

.actu2{
	
	width: 50%;
	margin: auto;
	background-color: white;
	text-align: center;
	border: 3px solid black;
	padding: 10px;
	border-radius: 40px 40px 40px 40px;
	box-shadow: 20px 20px 20px rgba(76,64,163,0.8);
	margin-top: 2em;
	margin-bottom:2em;
}
	
.photos{
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items:center;
	background-color: DarkGray;
	border: 3px solid black;
	padding: 2em;
	border-radius: 40px 40px 40px 40px;
	box-shadow: 20px 20px 20px rgba(76,64,163,0.8);
	margin-top: 3%;
	margin-left:5%;
	text-align: center;
}

.photos > img {
	flex: 0 1 auto;
	width:30%;
	margin-top: 2%;
	height: auto;
	border: 3px solid black;
	border-radius: 20px 20px 20px 20px;
}

.photos p{
	font-size: 1.3em;
}
	
.photos h1{
	font-size: 2em;
}
	
.retour{
	
	position:fixed;
	margin-top: 15em;
	margin-left: 0;
	background-color:white;
	padding:0.5em;
	border-radius: 0.5em 0.5em 0.5em 0.5em;
}

.retour p{
	color:black;
}

.retour h4{
	color:black;
}
.retour a{
	color:black;
}

 .video1{
	float: left;
	width:35%;
	margin-left:10%;
	margin-top:2%;
}

.video1 p{
	font-size: 1.5em;
	color:white;
	background-color:rgb( 102,153,102,0.9)
}

.video2{
	float: right;
	width:35%;
	margin-right:10%;
	margin-top:2%;
}
.video2 p{
	font-size: 1.5em;
	color:white;
	background-color:rgb( 102,153,102,0.9)
}

.clic{
	width: 80%;
	text-align: center;
	margin:auto;
	margin-bottom: 0;
	color: weight;
	background-color: rgb( 100,229,84);
	font-size: 2em;
	border-radius: 40px 40px 0 0;
	
}

.p1{
	
	color: rgb( 21,72,229);
	margin-bottom: 0;
}


.photos2{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	align-items: flex-start;
	width: 80%;
	margin: auto;
	height:auto;
	border: 1px solid black;
	background-color:rgb( 71,77,97,0.8);
	border-radius: 0 0 40px 40px;
}



@media ( max-width: 1024px){
	.photos2 {	width: 100%; }
	.clic{ width: 100%;	}
}

.photos2 img {
	flex: 0 1 auto;

	height: 200px;
	margin-top: 2%;
	
}
