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

body {
	background-image: url("image/bligny/bligny3.jpg");
	background-position: center;
	background-size: 100% 100%;
	font-family: Comic sans MS, Arial, Georgia, serif, Time New Roman;
}
	
#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%;
}

.entete{
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

.logo{ /*logo generation mouvement*/
		height:11em;
}

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

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

p{
	
	padding: 0;
}

h1{
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
}

h2{
	color: red;
	font-size: 0.8 em;

}

strong{
	color: red;
	font-size: 1.2em;

}

.flexboxnav{
	display: flex; /*disposition flexible*/
	flex-wrap:wrap; /* passage à la ligne autorisée*/
	width: 80%;
}

@media ( max-width: 1024px){
	.flexboxnav{ width: 90%;}
	.entete h1{ font-size: 2em;}
	.blason{height:6em;}
	.logo{height:6em;}
}

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

a{
	text-decoration: none;
	color: black;
	padding: 5px;
	margin: auto;
}

ul{
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

a:hover{
	color:red;
	border: 2px solid blue;
	border-radius: 8px;
}

section{ /*blocs de la page contact et cours. Alignement du texte centré*/
	display: flex;
	width: 80%;
	margin: auto;
	color: navy;
	font-size: 1.5em;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, .8);
	border-radius: 40px;
}

@media (max-width: 1025px){
	section{
		flex-direction: column;
		align-items: center;
		width: 90%;
		margin:auto;
		margin-top: 10px;
	}
	
}

.texte{
	background-color: rgba(144,219,85,0.7);
	width: 90%;
	border: 1px solid black;
	padding: 15px;
	border-radius: 40px;
	
}

.texte h1{
	text-align: center;
	color: red;
}	


@media (max-width: 1025px){
	.texte{
		width: auto;
		margin:auto;
	}
	
}


