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


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

#bouton1{ /*pour le clignotement de flash info*/
	
	font-size:1em;
	background-color:rgb( 255,153,51);
	color:white
}

.retour{
	position:fixed;
	margin-top: 20em;
	margin-left: 0;
	width:4em;
	font-size:1em;
	background-color: rgb(255,255,204);
	padding:0.5em;
	border: 1px solid black;
	border-radius: 0.5em 0.5em 0.5em 0.5em;
	color:black;
}

@media (max-width: 800px){
	.retour{ margin-top: 25em;}
}

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

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

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

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

.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: 90%:
}

@media ( max-width: 800px){
	.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;
}

.contenu{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin-left: 3em;
}

@media ( max-width: 1024px){
	.contenu{flex-direction: column;}
}

.cadresimple {
	margin-left: 3em;
	padding: 1%;
	border: 2px solid black;
	border-radius: 40px 40px 40px 40px;
	width: auto;
}

@media ( max-width: 1024px){
	.cadresimple{flex: 1 0;}
}

.cadresimple1{
	background-color:rgba(113,70,70, 0.5);
	flex: 1 0;
	order: 1;
}

.cadresimple2{
	background-color:rgba(135,175,103, 0.5);
	flex: 1 0;
	order: 0;
}

.cadresimple3{
	background-color:rgba(103,150,175, 0.5);
	margin-top: 20px;
	margin-bottom: 20px;
	flex: 1 0;
	order: -1;
}

.cadresimple4{
	background-color:rgb(62,68,71);
	width:90%;
	order: 2;
}

.cadresimple h1{
	color:red;
	font-size: 2.5em;
	text-align: center;
	text-decoration: underline;
}

.cadresimple h2{
	color:red;
	font-size: 2em;
	text-align: center;
}

.cadresimple p{
	color:black;
	font-size: 2em;
}

.cadresimple a{
	color:black;
	background-color:rgba(181,241,249, 0.8);
	font-size: 1.2em;
	margin-left:15%;
	margin-top: 10px;
	text-decoration: none;
}

.cadresimple a:hover{
	color:red;
	font-size: 2.2em;
}

.photos {
	margin-left: 3em;
	padding: 1%;
	width: auto;
	text-align: center;
	border: 2px solid black;
	border-radius: 40px 40px 40px 40px;
	background-color: rgb(70,51,51)
}

.photos h1{
	color:red;
	font-size: 2em;
	text-align: center;
	text-decoration: underline;
}

.photos h2{
	color:red;
	font-size: 2em;
	text-align: center;
}


.photos img{
	width: 30%;
	height: auto;
	border: 2px solid black;
	border-radius: 40px 40px 40px 40px;
	text-align: center;
}

@media ( max-width: 1024px){
	.photos img {width: 80%; text-align: center;}
}



