@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-Black.ttf') format('truetype');
	font-style: normal;
	font-weight: 900; /* est-ce que je peux remplacer la valeur 900 par black? */
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-BlackItalic.ttf') format('truetype');
	font-style: italic;
	font-weight: 900;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-Bold.ttf') format('truetype');
	font-style: normal;
	font-weight: bold;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-BoldItalic.ttf') format('truetype');
	font-style: italic;
	font-weight: bold;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-Italic.ttf') format('truetype');
	font-style: italic;
	font-weight: normal;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-Light.ttf') format('truetype');
	font-style: normal;
	font-weight: 300;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-LighItalic.ttf') format('truetype');
	font-style: italic;
	font-weight: 300;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-Medium.ttf') format('truetype');
	font-style: normal;
	font-weight: 500;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-MediumItalic.ttf') format('truetype');
	font-style: italic;
	font-weight: 500;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-Thin.ttf') format('truetype');
	font-style: normal;
	font-weight: 100;
}
@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto-ThinItalic.ttf') format('truetype');
	font-style: italic;
	font-weight: 100;
}

body {
	background-image:linear-gradient(white 45%, #f5f5f5 50%);
	margin:0;
    padding:0;
	font-family: roboto, Arial;
}

h1 {
	font-weight: 900;
	font-size: 4em;	
}
#banniereenfant h1 {
	font-size: 3vw;
}
h2 {
	font-weight: 900;
	font-size: 4em;	
}
#formulaire h2 {
	margin-top: 1%;
	font-size: 3em;
}
h3 {
	font-weight: 900;
	font-size: 2em;	
}
.description h3 {
	font-size: 1.2em;
}
form h3 {
	color: #6d7176;
}
p {
	font-weight: 500;
	font-size: 1.3em;
	color: #6d7176;
}
#formulaire p {
	margin-top: -5px;
	margin-bottom: -5px;
}
#banniereenfant p {
	color: white;
	font-size: 1.5vw;
}
.description p {
	font-size: 1em;
	color: white;
}
a {
	text-decoration: none;
	font-size: 1.3em;
	font-weight: 500;
}
strong {
	color: #5cadd3;
}





/* ---------- Menu de navigation */
header {
	position: fixed;
	z-index: 6;
	background-color: white;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 10vh;
	margin-bottom: 1vh;
}
#separateur_menu {
	width: 40%;
}
.menu_gobal {
	display: flex;
	justify-content: space-between;
	width: 100%;
	list-style-type: none;
}
ul {
	padding-left: 0;
	padding-right: 0;
}
.menu_gobal a {
	font-weight: bold;
	color: #777777;
	margin-right: 15px;
	margin-left: 15px;
	height: auto;
}





/* ------------------------------------- */
/* ---------- Section Accueil ---------- */
/* ------------------------------------- */
@-webkit-keyframes slider {
	from { left: 0%; }
	40% { left: 0%; }
	50% { left: -100%; }
	90% { left: -100%; }
	to { left: 0%; }
}
@keyframes slider {
	from { left: 0%; }
	40% { left: 0%; }
	50% { left: -100%; }
	90% { left: -100%; }
	to { left: 0%; }
}
@-webkit-keyframes slideLeft {
	from {
		left: 0%;
	} 
	to {
		left: -100%;
	}
}
@-webkit-keyframes backToZero {
	from {
		width: 0%;
	} 
	to {
		width: 0%;
	}
}
@-webkit-keyframes slideRight {
	from {
		left: -100%;
	} to {
		left: 0%;
	}
}
@keyframes slideLeft {
	from {
		left: 0%;
	} 
	to {
		left: -100%;
	}
}
@keyframes backToZero {
	from {
		width: 0%;
	} 
	to {
		width: 0%;
	}
}
@keyframes slideRight {
	from {
		left: -100%;
	} to {
		left: 0%;
	}
}
@-webkit-keyframes barre_chargement {
	from { width: 0%; }
	88% { width: 100%; }
	to { width: 100%; }
}
@keyframes barre_chargement {
	from { width: 0%; }
	88% { width: 100%; }
	to { width: 100%; }
}

#accueil {
	padding-top: 3vh;	
}
figure { 
  	margin: 0; 
}
#banniereenfant { 
  	width: 100%; 
  	position: relative;
	overflow: hidden;
}
.slider { 
  	position: relative; 
  	display: flex;
  	flex-wrap: nowrap;
  	width: 200%;
  	-webkit-animation: slider 20s infinite;
  	animation: slider 20s infinite; 
}
.slider figure { 
  	width: 100%; 
  	position: inherit;
}
.slider img { 
	width: 100%;  
}
figure figcaption { 
  	position: absolute; 
  	bottom: 10%;
  	padding: 5% 5% 5% 5%;
  	color: white; 
  	width: 50%;
}
#banniereenfant_barre_chargement {
	position: absolute;
	border-radius: 0px 3px 3px 0px;
	padding: 3px;
	top: 98.5%;
	width: 0px;
	background-color: #5cadd3;
	-webkit-animation: barre_chargement 10s infinite;
	        animation: barre_chargement 10s infinite;
}
#chevron-left, #chevron-right {
	position: absolute;
	top: 50%;
	width: 4%;
	height: 13%;
	background-color: black;
	opacity: 0.5;
	z-index: 1;
	border: none;
	border-radius: 50%;
	color: white;
	font-size: 150%;	
}
#chevron-left {
	margin-left: -2%;
	padding-left: 2%;
	outline: none;
}
#chevron-right {
	margin-left: 98%;
	padding-right: 2%;
	outline: none;
}
#chevron-right:focus ~ .slider {
	-webkit-animation: slideLeft 2s forwards;
	        animation: slideLeft 2s forwards;
}
#chevron-left:focus ~ .slider {
	-webkit-animation: slideRight 2s forwards;
	        animation: slideRight 2s forwards;
}
#chevron-right:focus ~ #banniereenfant_barre_chargement {
	-webkit-animation: backToZero 1s;
	        animation: backToZero 1s;
}
#chevron-left:focus ~ #banniereenfant_barre_chargement {
	-webkit-animation: backToZero 1s;
	        animation: backToZero 1s;
}
.banniereenfant_bouton {
	height: 35px;
    border: 2px solid #5cadd3;
    background-color: #5cadd3;
    border-radius: 3px;
    font-size: 2em;
    text-align: center;
    padding: 5px 12px 2px 12px;
    color: white;
    text-decoration: none;
	box-shadow: 0px 6px 0px #4494bb;
}





/* -------------------------------------- */
/* ---------- Section Services ---------- */
/* -------------------------------------- */
#services {
	padding-top: 12vh;
}
.services_top, .portfolio_top {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	text-align: center;
}
.blue_dot_ligne {
	position: relative;
	width: 15%;
	border: 1px solid #dbdbdb;
	top: -12px;
	z-index: 1;
}
.blue_dot {
    width: 15px;
    height: 15px;
    border: 4px solid #fff;
    border-radius: 20px;
    background: #5cadd3;
    z-index: 2;
}
.services_bottom {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	width: 90%;
	margin: auto;
}
.services_bottom_illustration {
	width: 50%;
	margin: auto;
	padding: 0% 0% 0% 0%;
	text-align: right;
	padding-right: 5%;
}
.boxservice {
	display: flex;
	flex-direction: row;
	width: auto;
}
.boxservice_icone{
	padding-top: 30px;
}
.boxservice_icone i {
	display: flex;
	flex-direction: column;
  	width: 80px;
  	height: 80px;
  	line-height: 80px;
  	border-radius: 40px;
  	border: solid 1px #dbdbdb;
  	color: #5cadd3;
  	font-size: 30px;
  	margin: 0 auto 15px;
  	text-align: center;
}
.boxservice_dot {
    position: relative;
    bottom: -50px; 
    left: -10px;
    width: 10px;
    height: 10px;
    border: 4px solid #fff;
    border-radius: 20px;
    background: #45aed6;
}
.boxservice_texte {
	margin: 0px 5% 0px 25px;
	width: 70%;
	text-align: justify;
}





/* ------------------------------------- */
/* ---------- Section Projets ---------- */
/* ------------------------------------- */
#projets {
	padding-top: 12vh;
}
#portfolio_bottom {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.portfolio_menu {
	display: flex;
	flex-wrap: nowrap;
	background-color: #e5e5e5;
	background-clip: content-box;  
}
#portfolio_bottom button {
	background-color: #e5e5e5;
	color: #64686d;
	font-size: 1.5em;
	padding: 7px 0px 5px 10px;
	margin-bottom: 5px;
	border-radius: 3px;
	border: none;
	position: relative;
	overflow: visible;
}
#portfolio_bottom button:focus, #portfolio_bottom button:hover {
	background-color: #5cadd3;
	color: white;
	box-shadow: 0px -3px 0px 0 #468cad inset;
	outline: none;
}
.separateur {
	width: 100%;
	height: 1rem;
}
button i {
	position: relative;
	height: 20px;
	color: #468cad;
	top: 17px;
	left: -50%;
	opacity: 0;
}
#portfolio_bottom button:focus i {
	opacity: 1;	
}
#portfolio_bottom div  {
 	position: relative;
 	margin: 20px 60px 50px 70px;
}
#tri_tous:focus ~ .all {
	display: block;
}
#tri_creative:focus ~ .not_creative_off {
	display: none;
}
#tri_corporate:focus ~ .not_corporate_off {
	display: none;
}
#tri_portfolio:focus ~ .not_portfolio_off {
	display: none;
}
#cadre_lunettes {
	background: url('images/portfolio/01.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;
}
#cadre_lapin {
	background: url('images/portfolio/02.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;
}
#cadre_pompadour {
	background: url('images/portfolio/03.jpg') no-repeat;	
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;
}
#cadre_livret {
	background: url('images/portfolio/04.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;	
}
#cadre_sacs {
	background: url('images/portfolio/05.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;	
}
#cadre_ville {
	background: url('images/portfolio/06.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;	
}
#cadre_roquette {
	background: url('images/portfolio/07.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;	
}
#cadre_bureau {
	background: url('images/portfolio/08.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;	
}
#cadre_burger {
	background: url('images/portfolio/full.jpg') no-repeat;
	background-size: contain; 
	margin: 10px;
	min-width: 260px;
	max-width: 260px;
	height: 173px;	
}
.description {
    position: absolute;
    bottom: -46%;
    right: 26.6%;
    width: 97.6%;
    height: 40%;
    background-color: rgba(24,24,24,0.6);
    color: white;
    padding-left: 5px;
    padding-bottom: 5px;
    text-align: left;
    opacity: 0;
}
.description i {
	position: absolute;
	bottom: 76%;
	right: 5%;
	width: 30px;
  	height: 30px;
  	line-height: 30px;
  	border-radius: 30px;
  	border: solid 2px white;
  	color: white;
  	background-color: #468cad;
  	font-size: 15px;
  	text-align: center;
}
#portfolio_bottom div:hover > .description {
	opacity: 1;
}





/* ------------------------------------- */
/* ---------- Section Contact ---------- */
/* ------------------------------------- */
#contact {
	height: auto;
}
#overlay {
	position: relative;
	z-index: 2;
	transition-property: background-color;
	transition-duration: 1s; 
    width: 100%;
    height: 100%; 
}
#map:hover > #overlay {
	background-color: rgba(92,173,211,0.2);
}
#map {
	width: auto;
	height: 840px;
	max-height: 840px;
	min-height: 640px;
	position: relative;
	z-index: 1;
}
#formulaire {
	position: absolute;
	width: auto;
	z-index: 5;
	background-color: rgba(255,255,255,0.8);
	bottom: 15%;
	right: 10%;
	padding: 15px 15px 15px 15px;
	text-align: left;
	line-height: 30px;
}
form input, textarea {
	border-radius: 5px;
	border: 1px solid #cccccc;
	margin-top: 15px;
	font-size: 1em;
	width: 100%;
}
form input {
	height: 30px;
	width: 100%;
}
form button {
	height: 25px;
	width: 150px;
    border: 1px solid #5cadd3;
    background-color: #5cadd3;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    padding: 5px 12px 2px 12px;
    color: white;
    text-decoration: none;
    box-shadow: 0px 6px 0px #4494bb;
}
#formulaire span {
	text-decoration: underline;
}





/* ----------------------------------- */
/* ---------- Media Queries ---------- */
/* ----------------------------------- */
@media screen and (max-width: 375px) {
	h2 {
		font-size: 3em;
	}	

}
@media screen and (max-width: 414px) {
	
	.menu_gobal {
		flex-wrap: wrap;
		justify-content: center;
	}
	#formulaire {
		left: 10%;
	}
}
@media screen and (max-width: 812px) {
	#logo {
		position: absolute;
		top: 2px;
		left: 10px;
	}
	#top {
		height: auto;
		flex-direction: column;
	}
	#banniereenfant {
    	display: none; 
	}
	.services_bottom {
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100%;
	}
	.services_bottom_illustration {
		display: none;	
	}
	.services_bottom_blocs {
		width: 100%;	
	}
}
@media screen and (max-width: 1024px) {
	#top {

		align-items: center;
		width: 100%; 
		}
	#separateur_menu {
		display: none;
	}

	.menu_gobal a:hover, .menu_gobal a:focus {
		color: #5CADD3;
		padding-top: 20px;
		outline: none;
		}
}
@media screen and (min-width: 1025px) {
	.menu_gobal a:hover, .menu_gobal a:focus {
		color: #555555;
		border-top: 10px solid #5CADD3;
		padding-top: 29px; 
		outline: none;
		}
	.services_bottom_blocs {
		width: 50%;
		}
}

