/* Reset de toutes les marges */
* {
	margin:0;
	padding:0;
}
 
/* import et assignation des fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap');

body {
	font-family: 'Lato', sans-serif;
	font-weight: 200;
	font-size: 17px;
	background: linear-gradient(to right, #dddddd, #f0f0f0, white, white, white, white, white, white, #f0f0f0, #dddddd);
}

h1, h2, h3, .gallery b {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 400;
}

h1 {
	font-size : 60px;
}

h2 {
	font-size: 25px;
}

h3 {
	font-size: 40px;
}

/* enlever le formatage par défaut des liens */
a {
	text-decoration: none;
}

/* empecher les images de déborder */
img {
	max-width: 100%;
	height: auto;
}

/* Mise en page */
.navbar {
	display: flex;
	justify-content: center;
	background-color: black;
	padding: 10px;
}

.navbar a {
	padding:15px;
	color: white;
}

.header {
	background-image: url("images/couverture.jpg");
	background-size: 100%;
	color:white;
	padding: 35% 0% 12% 15%;
}

#demarche {
	width:80%;
	margin: auto;
	padding-top: 80px;
	padding-bottom: 80px;
	text-align: justify;
}

#demarche h3 {
	padding-left: 10%;
	margin-bottom: 20px;
}

hr {
	width:60%;
	margin:auto;
}

#texte_reels {
	grid-area: texte_reels;
	padding: 0 10%;
}
#texte_aftermovies {
	grid-area: texte_aftermovies;
	padding: 0 10%;
}
#texte_captas {
	grid-area: texte_captas;
	padding: 0 10%;
}

#video_reels {grid-area: video_reels;}
#video_aftermovies {grid-area: video_aftermovies;}
#video_captas {grid-area: video_captas;}

#prestations {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-areas:  	"texte_reels texte_aftermovies texte_captas"
							"video_reels video_aftermovies video_captas";
	width: 80%;
	margin: auto;
	padding-top: 80px;
}

#prestations h3, #tarifs h3 {
	padding-left: 10%;
	margin-bottom: 30px;
}

.reels, .aftermovies, .captations {
	width: 30%;
	margin: auto;
	margin-top: 0;
}

.video_responsive {
	overflow: hidden;
	width: 90%;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 80px;
	padding-bottom:50.625%;
	position: relative;
	height:0;
}
.video_responsive iframe {
	height: 100%;
	width: 100%;
	position: absolute;
}

#portfolio {
	width:100%;
	margin: auto;
	padding-top: 80px;
}

#portfolio h3 {
	padding-left: 20%;
}

#portfolio .gallery {
	width:100%;
	margin: auto;
	padding-top: 40px;
	display: flex;
	flex-wrap: wrap;
}

#portfolio .item {
	width: 33.3%;
	margin: 0;
	padding: 0;
}

#tarifs {
	width:80%;
	margin: auto;
	padding-top: 80px;
	padding-bottom: 80px;
}

.tableau {
	display: flex;
}

.tableau p {
	width: 30%;
	margin: auto;
	padding-top: 15px;
	padding-bottom: 20px;
}

#tarifs p {
	padding-bottom: 60px;
}

#center {
	text-align: center;
}

#center h3 {
	padding-left: 0;
	padding-top: 50px;
}

#contact {
	display: flex;
	justify-content: space-between;
	background-color: black;
	color: white;
	padding: 30px 100px;
}

#contact img {
	height: 30px;
	width: auto;
}

.footer {
	background-color: black;
	color: white;
	text-align: center;
	padding-bottom: 10px;
}










.gallery {
	padding:0;
	display: flex;
	flex-wrap: wrap;
	margin: 2rem 0;
}

.gallerie_item {
	position : relative;
	max-width: 33.333%;
	margin: 0;
}

.gallerie_image {
	display: block;
	width: 100%;
	height: auto;
}

.gallerie_hover {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	z-index: 3;
}

.gallerie_image2 {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	animation:fade2 15s infinite;
	-webkit-animation:fade2 15s infinite;
}

@keyframes fade2
{
	0%   {opacity:0}
	23.333% { opacity: 0}
	33.333% { opacity: 1}
	56.666% { opacity: 1}
	66.666% { opacity: 0}
	100% { opacity: 0}
}

.gallerie_image3 {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 2;
	animation:fade3 15s infinite;
	-webkit-animation:fade3 15s infinite;
}

@keyframes fade3
{
	0%   {opacity:0}
	33.333% { opacity: 0}
	56.666% { opacity: 0}
	66.666% { opacity: 1}
	90% { opacity: 1}
	100% { opacity: 0}
}

.gallerie_hover:hover {
	opacity: 1;
}

.gallerie_hover_text {
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.gallerie_hover_text p {
	font-size: 1.5rem;
	padding-bottom: 0.75rem;
}

.gallerie_item_titre {
	font-size: 1.2rem;
}

.gallerie_item_description {
	font-style: italic;
	color: grey;
}






@media (max-width:900px) {
	.navbar {
		flex-wrap: wrap;
	}

	.header h1 {
		font-size: 40px;
		padding-top: 70px;
	}

	.header h3 {
		font-size: 30px;
		max-width: 90%;
	}

	.header {
		background-size: 150%;
		background-position: 50% 0%;
	}

	#prestations {
		grid-template-areas:  	"texte_reels"
								"video_reels"
								"texte_aftermovies"
								"video_aftermovies"
								"texte_captas"
								"video_captas";
								grid-template-columns: 100%;
	}

	#texte_reels, #video_reels, #texte_aftermovies, #video_aftermovies, #texte_captas, #video_captas {
		width: 100%;
		padding-left: 0%;
	}
	.video_responsive iframe {
		height: 90%;
		width: 90%;
		margin-left: 5%;
	}

	.gallerie_item {
		max-width: 100%;
	}

	#contact {
		flex-direction: column;
		padding-left: 60px;
		padding-right: 60px;
	}
}