﻿@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@700&family=Fredericka+the+Great&family=Milonga&family=Nunito+Sans:wght@600&display=swap');

*
{
	font-family: sans-serif;
	padding: 0;
}

body
{
	width: 100%;
	margin: 0px;
	background-image: url("https://image.noelshack.com/fichiers/2023/38/4/1695281172-fondsite.jpeg");
	background-position: cover;
}

h1
{
	font-family: 'Milonga', cursive;
	width: 100%;
	text-align: center;
	color: black;
	font-size: 3em;
	margin: 0;
	margin-top: 30px;
	margin-bottom: 20px;
}

h2
{
	font-family: 'Balsamiq Sans', cursive;
	text-decoration: underline;
	color: maroon;
	font-size: 2em;

}

h3
{
	margin-bottom: 0;
}

a:hover  
{
	color: red;
	text-decoration: underline;
	transition: 0.3s all;
}

#horraires h2
{
	padding-top: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

header
{
	display: flex; 
	padding-bottom: 5px;
	border-bottom: 5px #6f6f6f solid; 
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-end;
}

nav a 
{
	font-family: Arial black, serif;
	font-weight: 15px;
	color: maroon; 
	text-decoration: none; 
	font-size: 17px;	
	text-transform: uppercase;
	padding: 10px;
	margin-right: 25px;
	border-bottom: 1px solid #000;
}

/* pour le menu */
nav ul 
{
	list-style-type: none; 
	display: flex;
	margin-right: 100px;
}



nav li
{
	text-align: center;
}

nav li:hover a
{
	border-radius: 10%;
	background-image: none;
	background-color: rgb(230,230,230);
	transition: 0.5s all;
}
.rien
{
	color: black;
	text-align: center;
	margin-top: 0;
	margin-bottom: 1.8em;
}

#logo
{
	display: flex;
	margin-left: 5px;
	margin-top: 2px;
}

/* style de l'index */

#accueil
{
	background-image: none;
	background-color: grey;
}

#accueil h1
{
    background: url('images/sr.jpg') no-repeat;
    background-size: cover;
    background-position: bottom;
	margin: 0;
	padding-top: 200px;
	padding-bottom: 200px;
}


#texte_accueil p
{
	text-align: justify;
	font-family: 'Milonga', cursive;
	font-weight: bold;
	font-size: 18px;
	margin-left: 5%;
	margin-right: 5%;
}

#bloc_accueil_2
{
	display: flex;
	justify-content: space-around;
	max-height: 500px;
	min-height: 200px;
	margin: 20px;
}

.produit_accueil
{
	display: flex;
	justify-content: center;
}

#bloc_accueil_3 .texte h2
{
	text-align: left;
	margin-left: 20px;
}

#bloc_accueil_3 .texte 
{
	width: 70%;
	min-width: 50%;
	margin-left: 1%;
}

#bloc_accueil_3 .texte p
{
	color: silver;
	margin-right: 10%;
	max-width: 1000px;
}

#image_accueil
{
	max-height: 500px;
	min-height: 190px;
	margin-left: 10px;
	width: 100%;
}

.image_accueil
{
	margin: 15px;
	width: 100%;
	max-height: 400px;
	border-radius: 5%;
}

#texte_accueil
{
	width: 50%;
	min-width: 49%;
	max-width: 51%;
	background-color: rgb(50,50,50);
	color: white;
}

#texte_accueil h2, #bloc_accueil_3 h2, #bloc_accueil_4 h2
{
	text-align: center;
	color: white;
}

#bouton
{
	text-align: center;
	margin-top: 5%;
	padding-bottom: 13px;
}


#bouton a
{
	text-decoration: none;
	padding: 0.5em;
	color: white;
	border: white 2px solid;
}

#bouton a:hover, .lien a:hover
{
	background-color: rgb(0,195,71);
	color: white;
}


.lien 
{
	text-align: right;
	margin-top: 5%;
	margin: 20px;
	margin-right: 10%;
	max-width: 1000px;
}

.lien a
{
	background-color: white;
	text-decoration: none;
	padding: 10px;
	padding-right: 30px;
	padding-left: 30px;
	color: black;
	border: black 3px solid;
	border-radius: 20px;
	font-weight: bold;
}

#bloc_accueil_4
{
	background-color: rgb(50,50,50);
	width: 65%;
	margin: auto;
	padding: 15px;
	padding-top: 5px;
	margin-top: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px 5px silver inset;
}

#bloc_accueil_4 p
{
	color: white;
	margin: 10px;
}

/* Bannières */

#sols
{
	width: 80%;
	margin-left: 10%;
}

.banniere_image
{
    margin-top: 15px;
    height: 500px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 30px;
}

.banniere_description
{
	overflow: hidden;
	font-family: 'Nunito Sans', sans-serif;
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 10px 10px;
    width: 99.5%;
    height: 50px;
    padding-top: 15px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: rgba(24,24,24,0.7);
    color: white;
    font-size: 2em;
    text-align: center;
    
}

.banniere_description a 
{
	color: white;
	text-decoration: none;
}

.banniere_image:hover
{
	transition: 0.2s all;
	font-size: 1.3em;
    box-shadow: 0px 4px 4px #1c1a19, inset 0 -100px 500px white;
}


.bouton_rouge img
{
    border: 0;
}

/* page contact */
#carte
{
	border: solid 5px grey;
	width: 80%;
	margin: auto;
}

.carte
{
	width: 100%;
}

#horraires
{
	display: flex;
	justify-content: space-around;
	background-image: none;
	background-color: rgb(222,222,222);
	padding: 20px;
	padding-right: 5px;
	padding-left: 5px;
	border-radius: 0 0 40% 40%;
	width: 80%;
	margin: auto;
}

#horraires p
{
	font-size: 1.5em;
	padding: 2px;
}

/* Pour les images de la page inclusion */ 
#interieur-sol
{
    background: url('https://us.123rf.com/450wm/romanzaiets/romanzaiets2002/romanzaiets200206040/140939424-homme-handicap%C3%A9-se-reposant-dans-un-camping-avec-des-amis-fauteuil-roulant-dans-la-for%C3%AAt.jpg?ver=6') no-repeat;
    background-size: cover;	
}

#interieur-mur
{
    background: url('https://resize.prod.docfr.doc-media.fr/rcrop/480,280,center-middle/ext/eac4ff34/content/2022/7/5/sante-des-femmes-ff035fad57167122.jpeg') no-repeat;
    background-size: cover;	
}

#exterieur
{
    background: url('https://www.laboratoires-unisson.com/wp-content/uploads/2022/03/acouphene.jpg') no-repeat;
    background-size: cover;	
}

#deco
{
    background: url('https://www.slate.fr/sites/default/files/styles/1060x523/public/aveugles_ouie_adaptation_cerveau.jpg') no-repeat;
    background-size: cover;
}

/* placement des éléments des pages secondaires */
.gauche
{
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.6);
}

.droite
{
	display: flex;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.6);
}

.texte
{
	width: 50%;
	text-align: center;
}

.texte p 
{
	font-family: 'Nunito Sans', sans-serif;
	font-size: 1.1em;
	margin-left: 2em; 
	margin-right: 2em;
	text-align: justify;
}

.deroulant
{
	width: 50%;
	overflow: hidden;
}

.images
{
	display: flex;
	animation-duration: 15s;
	animation-name: deroulant;
	animation-iteration-count: infinite;
}

.images img
{
	width: 100%;
	height: auto;
	max-height:550px;	
	max-width: 101%;
	min-width: 100%;
}

#mentions_légales h2
{
	color: black;
	font-family: sans-serif;
	font-size: 1.8em;
	margin: 20px;
}

#mentions_légales p
{
	margin: 10px;
}

#mentions_légales 
{
	background-color: white;
	background-image: none;
	padding-bottom: 100px;
}

#boutonjeu
{
	margin: auto;
	font-size: xx-large;
	position: absolute;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
}


.container {
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
.container a {
	font-size: 1.5rem;
	padding: 1rem 3rem;
	color: #f4f4f4;
	text-transform: uppercase;
	background-color: rgb(19, 59, 0);
  }
  
.container a:hover {
	font-weight: bold;
	color: green;
	transition: all 1000ms ease-in-out;
}


 .btn {
	text-decoration: none;
	border: 1px solid rgb(146, 148, 248);
	position: relative;
	overflow: hidden;
  }
  
.btn:hover {
	box-shadow: 1px 1px 25px 10px rgba(146, 148, 248, 0.4);
	border-radius: 50px;
	transition: all 1000ms ease-in-out;
  }
  
.btn:before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
	  120deg,
	  transparent,
	  rgba(146, 148, 248, 0.4),
	  transparent
	);
	transition: all 650ms;
  }
  
.btn:hover:before {
	left: 100%;
  }
  

@keyframes deroulant
{
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-100%);
	}
	50% {
		transform: translateX(-200%);;
	}
	75% {
		transform: translateX(-300%);
	}
	100% {
		transform: translateX(0);
	}
}


@media screen and (min-width:590px) and (max-width: 850px) /* modifs pour les petits écrans */
{


	body
	{
		font-size: 60%;
	}

	#texte_accueil p
	{
		font-size: 140%;
	}

	#bouton
	{
		padding-top: 20px;
		font-size: 150%;
	}

	#accueil h1
	{
		padding-top: 100px;
		padding-bottom: 100px;
	}

	#bloc_accueil_3 .texte 
	{
		width: 100%;
	}

	#bloc_accueil_4
	{
		width: 80%;
	}

	nav ul 
	{
		padding: 0;
		margin-right: 0;
		margin-bottom: 10px;

	}

	nav a 
	{
		font-size: 16px;		
		margin-right: 5px;
		padding: 0;
		margin-left: 20px;
	}

	.accueil p 
	{
		font-size: 16px;
	}

	#logo
	{
		height: auto;
		margin: auto;
		margin-top: 2px;
	}

	.banniere_image
	{
		height: 400px;
	}

	.gauche
	{
		display: block;
		width: 100%;
	}

	.droite
	{
		display: block;
		width: 100%;
	}

	.texte
	{
		width: 100%;
		text-align: center;
	}

	.texte p 
	{
		font-size: 14px;
	}

	.deroulant
	{
		width: 100%;
		overflow: hidden;
	}

}

@media screen and (max-width: 590px) /* modifs pour les petits écrans */
{
	body
	{
		font-size: 40%;
	}

	#texte_accueil p 
	{
		font-size: 110%;
		margin: 5px;
	}

	#bloc_accueil_2
	{
		margin: 5px;
	}

	#bloc_accueil_2 h2
	{
		margin-top: 5px;
		margin-bottom: 5px;
	}

	#bloc_accueil_3 h2
	{
		font-size: 300%;
	}

	#bloc_accueil_3 .texte 
	{
		width: 100%;
	}

	#bloc_accueil_4
	{
		width: 90%;
	}

	#image_accueil
	{
		margin-left: 0;
	}

	#bouton
	{
		padding-top: 20px;
		font-size: 120%;
	}

	.lien a
	{
		font-size: 150%;
		padding: 8px;
		padding-right: 15px;
		padding-left: 15px;
	}

	#accueil h1
	{
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.image_accueil
	{
		margin: 0;
		margin-bottom: 20px;
	}

	header
	{
		justify-content: space-around;
	}
	nav ul 
	{
		padding: 0;
		margin-right: 0;
		margin-bottom: 6px;
		margin-top: 10px;
	}

	nav a 
	{
		font-size: 10px;		
		margin-right: 0.3em;
		padding: 0;
		margin-left: 0.3em;
	}

	.accueil p 
	{
		font-size: 14px;
	}


	#logo
	{
		width: 65%;
		height: auto;
		margin: auto;
		margin-top: 2px;
	}

	.banniere_description
	{
		height: 30px;
	}

	.banniere_image
	{
		height: 200px;
	}

	.gauche
	{
		display: block;
		width: 100%;
	}

	.droite
	{
		display: block;
		width: 100%;
	}

	.texte
	{
		width: 100%;
		text-align: center;
	}

	.texte p
	{
		font-size: 10px;
	}

	.deroulant
	{
		width: 100%;
		overflow: hidden;
	}

	.produit_accueil
	{
		flex-wrap: wrap-reverse;
	}
}

@media screen and (max-width: 389px) /* modifs pour les très petits écrans */
{
	nav ul 
	{
		padding: 0;
		margin-right: 0;
		margin-bottom: 6px;
		margin-top: 10px;
	}

	nav a 
	{
		font-size: 8px;		
		margin-right: 0.3em;
		padding: 0;
		margin-left: 0.3em;
	}
}

