@font-face 
{
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome-webfont.eot');
    src: url('fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/fontawesome-webfont.woff') format('woff'),
         url('fonts/fontawesome-webfont.ttf') format('truetype'),
         url('fonts/fontawesome-webfont.svg#fontwesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display:swap;
}

body
{
	font-family: 'fontawesome-webfont', Arial, sans-serif;
	margin: 0;
	width: 100%;
}

strong
{
	font-weight: bold; 
}


#bloc_page
{
	padding-top: 80px;
}

h1
{
	width: 70%;
	margin: auto;
	text-align: left;
	font-size: 2rem;
}

h2
{
	font-size: 3rem;
	margin-bottom: 20px;
}

.introduction 
{
    text-align: center;
}

p
{
	width: 70%;
	margin: auto;
	text-align: center;
	font-size: 1rem;
	color: #333333;
}

/*--------------------------------navbar--------------------------*/

header
{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	background-color: rgba(255,255,255, 1);
	position: fixed; 
	top: 0; 
	width: 100%;
	height: 80px;
	z-index: 90;
}

#logo
{
	display: flex;
	flex-direction: row;
	align-items: baseline;
}

#logo img
{
	margin: 10px 90px;
	margin-left: 40%;
}

#res_menu
{
	display: none;
}


nav ul
{
	list-style-type: none;
	display: flex;
	margin-right: 280px;
}

nav li
{
	margin-bottom: 15px;
	margin-right: 30px;
}

nav a
{
    font-size: 1em;
    color: #8c8c8c;
    padding-top: 30px;
    text-decoration: none;
}

nav a:hover
{
    border-top: 3px solid #3399ff;
}

/*-------------------------slider------------------------------*/

.logo-slider
{
	color:#3BAED7;
	position: relative;
}

.h1p
{
	text-align: left;
	color: white;
}

.slide img 
{
 	min-width: 100%;
}

.trigger 
{
    display: none;
}

.slider, 
.slider-wrapper 
{
    position: relative;
    height: 650px;
}

.slide 
{
    background-color: black;
    width: 100%;
    overflow: hidden;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 50;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.slide-img 
{
    height: 100%;
    object-fit: fill;
    display: block;
    margin: 0 auto;
}

.slide-figure 
{
    height: 100%;
    position: relative;
    margin: 0;
}

.slide-caption 
{
    position: absolute;
    bottom: 45%;
    color: white; 
    left: 30px;
    font-size: 1.3rem;
}

.fa-chevron-left, 
.fa-chevron-right 
{
    color: white;
}

.trigger:checked + .slide 
{
  z-index: 60;
  opacity: 1;
}

.fleche-nav-label-G, 
.fleche-nav-label-D 
{
    font-size: 2rem;
    opacity: 0.7;
    background-color: #333;
    height: 3em;
    line-height: 3em;
    width: 1.5em;
    color: white;
    cursor: pointer;
    transition: background-color .25s, color .25s ease-in-out;
    top: 40%;
    z-index: 70;
    text-align: center;
	position: absolute;
}

.fleche-nav-label-G
{
	left: 0px;
	border-top-right-radius: 3em;
	border-bottom-right-radius: 3em;
}

.fleche-nav-label-D
{
	right: 0px;
	border-top-left-radius: 3em;
	border-bottom-left-radius: 3em;
}

.fleche-nav-label-G:hover,
.fleche-nav-label-G:active,
.fleche-nav-label-G:focus,
.fleche-nav-label-D:hover,
.fleche-nav-label-D:active,
.fleche-nav-label-D:focus 
{
    background-color: gray;
    color: black;
}

.bouton_infos a,
#form-submit
{
    color: white;
    margin-left: 15%;
    background-color: #3BAED7;
    text-align: center;
    text-decoration: none; 
    padding: 10px;
    width: 110px;
    border-radius: 3px;
    box-shadow: 0 3px 0 #1D8DB5;
}

.bouton_infos a:hover
{
    color:#f2f2f2;
    background-color: #2796be;
    box-shadow: 0 3px 0 #19779a;
}

.bouton_infos a:active
{
    color:#cccccc;
    background-color: #2385a9;
    box-shadow: 0px 3px 3px #041116 inset;
    text-shadow: -1px 0 0 rgba(20, 83, 108, 0.5), 
                1px 0 0 rgba(20, 83, 108, 0.5),
               0 -1px 0 rgba(20, 83, 108, 0.5),
                0 1px 0 rgba(20, 83, 108, 0.5);
}

/*---------------------------services--------------------------------------*/
#services
{
	padding-top: 10px;
}

/*--------------------service-intro-----------------*/

.introduction p 
{
    width: 40%;
    margin: auto;
    margin-top: 10px;
}


.fa-circle
 {
 	color: #3BAED7;
    text-shadow: -5px 0 white, 0 5px white,
      5px 0 white, 0 -5px white;
}

.art hr 
{
    width: 120px;
    opacity: 0.4;
    color: #e6e6e6;
    text-align:center; 
    margin: 0 auto;
}

.introduction .fa-circle 
{
    position: relative;
    bottom:9px;
}

/*--------------------service-intro-fin----------------*/

.illustration .fa-chart-line, 
.illustration .fa-cubes,
.illustration .fa-chart-pie
{
    width: 80px;
    border-radius: 100px;
    text-align: center;
    border: 1px solid #cccccc;
    color:#3BAED7;
    line-height: 80px;
}

#service-contenu
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 85%; 
    justify-content: space-around; 
	margin: 40px auto;
}

#service-img
{ 
    width: 40%;
    text-align: right;
    margin-top: 40px;

}

#service-contenu  .fa-circle
{
    position: absolute;
    top: 40%;
    right: -6px;
}

#service-text
{
	margin: 50px 0;
	width: 50%;
}

h3
{
	text-align: left;
	margin-top: 1.3em;
	margin-bottom: 0.5em;
}


#service-text .illustration
{
	float: left;
    margin-right: 20px;
    position: relative;
}

.texte p
{
	margin-left: 100px;   
    text-align: justify;	
}

/*-----------------------------projets-------------------------------------*/

#projets
{
	background-color: #f5f5f5;
	padding-top: 10px;
	overflow: hidden;
}

/*--------------------projets-intro-----------------*/

/*-------------voir-service-intro-------------------*/

/*--------------------projets-intro-fin-------------*/

#projets-menu
{
	display: flex;
	flex-wrap: nowrap;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-right: 0px;
	margin-left: 0px;
	justify-content: center;
}

#projets input
{
	display: none;
}

#projets-menu label
{
	background-color: #d9d9d9;
	color: #333333;
	padding: 15px;
	position: relative;
	text-align: center;
}

#projets-menu label:hover
{
	background-color: #3BAED7;
	box-shadow: 0 -3px 0 #1D8DB5 inset;
	color: white;
}

#projets input.selecteur-all:checked ~ #projets-menu label.type-all,
#projets input.selecteur-1:checked ~ #projets-menu label.type-1,
#projets input.selecteur-2:checked ~ #projets-menu label.type-2,
#projets input.selecteur-3:checked ~ #projets-menu label.type-3
{
	background-color: #3BAED7;
	box-shadow: 0 -3px 0 #1D8DB5 inset;
	color: white;
}

#projets input.selecteur-all:checked ~ #projets-menu label.type-all .fa-caret-down,
#projets input.selecteur-1:checked ~ #projets-menu label.type-1 .fa-caret-down,
#projets input.selecteur-2:checked ~ #projets-menu label.type-2 .fa-caret-down,
#projets input.selecteur-3:checked ~ #projets-menu label.type-3 .fa-caret-down
{
	opacity: 1;	
}

#projets input.selecteur-all:checked ~ #projets-img .all_works,
#projets input.selecteur-1:checked ~ #projets-img .creative,
#projets input.selecteur-2:checked ~ #projets-img .corporate,
#projets input.selecteur-3:checked ~ #projets-img .portfolio
{
	display: block;
}


#projets-menu label.type-all
{
	border-radius: 5px 0 0 5px;
}

#projets-menu label.type-3
{
	border-radius: 0 5px 5px 0;
}

.fa-caret-down
{
	position: absolute;
	bottom: -18px;
	left: 40px;
	color: #1D8DB5;
	opacity: 0;
}

#projets-menu label:hover  .fa-caret-down
{
	opacity: 1;
}


/*---------------projets-galleries-----------------*/

#projets-img
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin: auto;
	padding: 0px;
	width: 100%;
}

#projets-img .all_works
{
	list-style-type: none;
	margin-left: 25px;
	margin-bottom: 25px;	
	position: relative;
	max-width: 20%;
	display: none;
}

#projets-img h4
{
	font-size: 1.1em;
	font-weight: bold;
	margin: 10px 0;
}

#projets-img img 
{
	width: 100%;
}

.projets-filtre 
{
	position: absolute;
	width: 100%;
	min-height: 28%;
	max-height: 100%;
	bottom: 3px;
	padding-left: 10px;
	padding-bottom: 10px;
	color: white;
	background-color: rgba(24,24,24,0.5);
	position: absolute;
	visibility: hidden;
	box-sizing: border-box;
}

.projets-filtre p 
{
	color: white;
	text-align: left;
	margin-left: 0px;
}

.projets-eye i
{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: #45aed6;
	border: 2px solid white;
	position: absolute;
	margin-top: -17px;
	margin-left: 80%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.all_works:hover  .projets-filtre
{
	visibility: visible;
}

#m-creative:hover .allworks
{
	display: none;
}

/*--------------------MAP------------------------------------*/

#contact-info
{
	position: relative;
}

#map
{
	margin: 20px 0px 0px 0px;
	height:800px;
	z-index: 1;
	background-color: #0080D0; 
}

iframe
{
	border:none;
	width:100%;
	height:100%;
	opacity: 0.8;
}

#formulaire
{
	width: 400px;
	height: 560px;
	position: absolute;
	right: 10%;
	top: 45px;
	background-color: rgba(255,255,255, 0.8);
	padding: 5px 5px 5px 20px;
	z-index: 2;	
}

#formulaire h2
{
	font-size: 1.7em;
}


#formulaire p
{
	text-align: left;
	width: 100%;
}

#formulaire input
{
	display: block;
	width: 90%;
}

textarea
{
	width: 90%;
	height: 180px;
}

#form-input
{
	padding-bottom: 15px;
	text-align: left;
}

#form-buttom
{
	width: 35%
}

#form-submit
{
	display: inline-block;
	margin-left: 0px;
	box-shadow: 0 -3px 0 #1D8DB5 inset;
}

#form-submit:hover
{
	color:#f2f2f2;
    background-color: #2796be;
	box-shadow: 0 -3px 0 #19779a inset;
}

#form-submit:active
{
    color:#cccccc;
    background-color: #2385a9;
    box-shadow: 0px 3px 3px #041116 inset;
    text-shadow: -1px 0 0 rgba(20, 83, 108, 0.5), 
                1px 0 0 rgba(20, 83, 108, 0.5),
               0 -1px 0 rgba(20, 83, 108, 0.5),
                0 1px 0 rgba(20, 83, 108, 0.5);
}

#nav_services,
#nav_projets,
#nav_contact-info
{
	padding-top: 50px;
}

/**********responsive*************/

@media all and (max-width: 1600px)
{
	.slider, 
	.slider-wrapper 
	{
    	position: relative;
    	height: 550px;
	}	

		.texte p
	{
		width: 80%;
	}
}

@media all and (max-width: 1400px)
{
	.slider, 
	.slider-wrapper 
	{
    	position: relative;
    	height: 460px;
	}

	.texte p
	{
		width: 90%;
	}

	.projets-filtre
	{
		min-height: 60%;
		max-height: 60%;
	}

	nav ul
	{
		margin-right: 10%;
	}
}


@media all and (max-width: 1080px)
{
	h1
	{
		font-size: 1.5rem;
	}

	h2
	{
		font-size: 2rem;
	}

	.introduction p
	{
		width: 65%;
	}

	#logo img
	{
		margin: 10px 30px;
	}

	nav a
	{
		font-size: 1.2rem;
	}

	.slider, 
	.slider-wrapper
	{
		height: 400px;
	}

	.slide-caption
	{
		font-size: 1rem;
	}

	#service-contenu
	{
		flex-direction: column;
		align-items: center;
	}

	#service-img
	{
		text-align: center;
		margin: 0;
		width: 100%;
	}

	#service-text
	{
		text-align: center;
		margin: 0 82px 0 0;
		width: 75%;
	}

	#nav_services,
	#nav_projets,
	#nav_contact-info
	{
		padding-top: 50px;
	}

	#formulaire h2
	{
		font-size: 1.5rem;
	}

	.projets-filtre
	{
		visibility: visible;
	}

	.projets-filtre p
	{
		width: 100%;
	}

#projets-img .all_works
	 {
	 	max-width: 30%;
	 	margin: 12px;
	 }

	 .projets-filtre
	 {
	 	min-height: 40%;
	 	max-height: 40%;
	 }

	#map
	{
		margin: 20px 100px 0px 100px;
		height:600px;
	}

	#formulaire
	{
		height: 520px;
		right: 15%;
	}
}

@media all and (max-width: 992px)
{
	h1
	{
		font-size: 1rem;
		margin-bottom: 5px;
	}

	h2
	{
		font-size: 1.3rem;
	}

	.slider, 
	.slider-wrapper
	{
		height: 320px;
	}

	.slide-caption
	{
		left: 0px;
		bottom: 30%;
	}

	.fa-chevron-left,
	.fa-chevron-right,
	.fleche-nav-label-G, 
	.fleche-nav-label-D,
	.slide-caption br
	{
		display: none;
	}

	.bouton_infos a
	{
		line-height: 3rem;
	}

	#service-contenu
	{
		width: 100%;
		margin: 0px;
	}

	#service-text
	{
		margin-left: 20px;
	}

	#projets-img h4
	{
		font-size: 1rem;
	}

	#projets-img p
	{
		font-size: 0.8rem;
	}

	.projets-eye
	 {
	 	display: none;
	 }

	 .projets-filtre
	 {
	 	min-height: 50%;
	 	max-height: 50%;
	 }

	 #projets-img .all_works
	 {
	 	max-width: 40%;
	 	margin: 12px;
	 }

	#formulaire h2
	{
		font-size: 1rem;
	}

	#map
	{
		display: none;
	}

	#formulaire
	{
		top: 0px;
		right: 0px;
		position: relative;
		margin: auto;
		background-color: #d9e5f2;
	}	

	#formulaire input,
	#formulaire textarea
	{
		line-height: 1.3rem;
	}

	#nav_services,
	#nav_projets,
	#nav_contact-info
	{
	padding-top: 90px;
	}
}

@media all and (max-width: 760px)
{
	header
	{
		height: auto;
		flex-direction: column;
		text-align: right;
		align-items: center;
		position: fixed;
	}

	#res_menu
	{
		display: block;
		color: #2796be;
		position: relative;
		left: 40%;
		bottom: 55px;
	}

	nav ul
	{
		display: none;
		flex-direction: column;
		margin:0;
	}

	#res_hidden
	{
		padding-left: 0;
	}

	#res_hidden:target
	{
		display: block;
	}

	nav li
	{
		width: 100%;
		margin: 0 0 20px 0;
		text-align: center;
		line-height: 2.5rem;
	}

	nav a
	{
		padding-top: 0px;
	}

	nav a:hover
	{
		border-top: none;
	}

	h1
	{
		width: 90%;
	}

	.h1p
	{
		width: 100%;
	}

	h3
	{
		text-align: center;
	}

	.bouton_infos a
	{
		margin-left: 35%;
	}

	.slide-img
	{
		display: none;
	}

	#service-img
	{
		display: none;
	}

	#service-text
	{
		margin: 0;
		width: 75%;
	}

	#service .introduction
	{
		margin-bottom: 15px;
	}

	.introduction p
	{
		width: 70%;
		text-align: justify;

	}

	.slider, 
	.slider-wrapper
	{
		height: 250px;
	}

	.slide-figure
	{
		background-color: #f2f2f2;
	}

	.slide-caption
	{
		color: #333333;
		left: 18%;
	}

	.h1p
	{
		color: #666666;
	}

	.illustration
	{
		display: none;
	}

	.texte p
	{
		margin-left: 0px;
		width:100%;
	}

}


@media all and (max-width: 572px)
{
	#logo img
	{
		margin: 0px;
		margin-bottom: 15px;
		width: 200px;	
	}

	h1
	{
		width: 90%;
		font-size: 0.8rem;
	}

	.h1p
	{
		text-align: justify;
		width: 90%;
		font-size: 0.7rem;
	}

	.bouton_infos a
	{
		margin-left: 30%;
	}

	.introduction p
	{
		font-size: 0.8rem;
	}

	.slide-caption
	{
		position: relative;
		top: 60px;
		width: 80%;
	}

	.texte p
	{
		font-size:0.8rem;
		width: 100%;
	}

	#service-text
	{
		margin-left:0px;
		width:80%;
	}

	#projets-img .all_works
	{
		max-width: 80%;
	}

	#projets-menu
	{
		flex-direction: column;
		margin-bottom: 2px;
	}

	#projets-menu label.type-all,
	#projets-menu label.type-1,
	#projets-menu label.type-2,
	#projets-menu label.type-3
	{
		margin-bottom: 1px;
	}

	#projets-menu label.type-all,
	#projets-menu label.type-3
	{
		border-radius: 0px;
	}

	#formulaire
	{
		height: 500px;
		width: 100%;
		padding: 0px; 
	}

	#adresse-webagency-titre
	{
		padding-left: 10px;
		padding-top: 10px;
		margin: 0px;
		width: 95%;
	}

	#adresse-webagency p
	{
		padding-left: 10px;
		margin: 0px;
		width: 95%;
	}

	#formulaire input,
	#formulaire textarea
	{
		width: 95%;
		margin-left: 5px;
		line-height: 1.5rem;
	}

	#form-buttom
	{
		width: 100%;
	}

	#projets-menu i
	{
		display: none;
	}

}

