/*balises générales*/

@font-face {
    font-family: 'robotoregular';
    src: url('../fonts/Roboto-Regular-webfont.eot');
    src: url('../fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Roboto-Regular-webfont.woff') format('woff'),
         url('../fonts/Roboto-Regular-webfont.ttf') format('truetype'),
         url('../fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

*
{
	font-family: 'robotoregular',Arial, serif;
}

body
{
	width: 100%;
	height: 100%;
	margin: 0px;
	color: rgb(100,104,109);
}

header
{
	height: 100px;
}

section
{
	padding-bottom: 20px;
	padding-top: 20px;
}

a
{
	color: rgb(100,104,109);	
}

h1
{
	font-size: 2.2em;
	font-weight: bold;
	color: white;
}

h2
{
	color: black;
	font-size: 2.6em;
	font-weight: bold;
}

h3
{
	color: black;
	font-size: 1.6em;
	font-weight: bold;
}

em
{
	font-weight: bold;
	color: black;
	font-style: normal;
	font-size: 1.2em;
}

a
{
	color: black;
	text-decoration: none;
}

li
{
	display: flex;
	margin: 3%;
}

ul
{
	
	width: 50%;
	text-align: left;
	padding-right: 15px;
}

form
{
	width: 100%;
	height:100%;
	display: flex;
	flex-direction: column;
}

iframe
{
	width: 100%;
	height: 670px;
}

/*Ancres*/

#Accueil
{
	position: absolute;
	top: 0px;
}

#Projets
{
	position: absolute;
	top: 1300px;
}	

#Services
{
	position: absolute;
	top: 650px;
}


/*menu header*/

.menu
{
	display: flex;
	justify-content: space-between;
	position: fixed;
	top: 0px;
	width: 100%;
	background-color: white;
	margin-top: 0px;
	z-index: 1000;
	height: 100px;
}

.logo_header
{
	width: 50%;
	margin-top: 30px;
	padding-right: 20%;
	text-align: center;
}

.menu_header
{
	margin-top: 50px;
	width: 50%;
	text-align: center;
	display: inline;
}

.links_header
{
	padding: 10px;
}

.links_header:hover
{
	color: rgb(92,173,211);
	border-top: rgb(92,173,211) solid 2px;
	padding-top: 45px;
}

/*section1 : accueil*/

.section1
{
	position: relative;
}

.picture_sec1
{
	width: 100%;
	height: auto;
}

.border_blue
{
	position: absolute;
	bottom: 5px;
	left: 0px;
	content: "";
	background-color: rgb(92,173,211);
	height: 3px;
	width: 10%;
}

/*fleches de chaque côté de l'image*/
.arrow_left
{
	position: absolute;
	top: 50%;
	margin-top: -33px;
	background-color: rgba(0,0,0,0.3);
	width: 30px;
	height: 50px;
	padding-top: 17px;
	border-top-right-radius: 100px;
	border-bottom-right-radius: 100px;
	color: white;

}

.arrow_right
{
	position: absolute;
	top: 50%;
	right: 0%;
	margin-top: -33px;
	text-align: right;
	background-color: rgba(0,0,0,0.3);
	width: 30px;
	height: 50px;
	padding-top: 17px;
	border-top-left-radius: 100px;
	border-bottom-left-radius: 100px;
	color: white;
}

.body_sec1
{
	position: absolute;
	top: 25%;
	left: 11%;
	width: 41%;
	z-index: 100;
}

.webagency
{
	color: rgb(92,173,211);
}

.intro
{
	font-weight: bold;
	color: white;
}

.link_sec1
{
	display: block;
	text-align: center;
	padding: 10px;
	width: 100px;
	height: 25px;
	background-color: rgb(92,173,211);
	border-radius: 3px;
	font-weight: bold;
	box-shadow: 0px 3px 1px rgb(72,153,191) ;
	color: white;
}

.link_sec1:hover
{
	color: rgb(92,173,211);
	background-color: white;
}

/*section 2 : services*/


.body_sec2
{
	display: flex;
	justify-content: space-around;
	width: 100%;
}

.title_sec2
{
	text-align: center;
	margin:auto;
	width: 50%;
	margin-bottom: 3%;
}

/* point sous les titres de la section 2 et 3 */
.point
{
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
	width: 10px;
	height: 10px;
	background-color: rgb(92,173,211);
	border-radius: 100px;
	text-align: center;
	border:solid white 5px;
}

.point:after,.point:before
{
	content: "";
	position: absolute;
	height: 1px;
	width: 400%;
	top: 50%;
	right: 150%;
	background:black;
}

.point:after
{
	left: 150%;
}

/*suite section 2*/
.picture_sec2
{
	
	width: 50%;
	text-align: right;
}

.icon_sec2
{
	position: relative;
	display: block;
	color: rgb(92,173,211);
	border:solid 2px rgb(232,232,232);
	border-radius: 100px;
	text-align: center;
	margin: auto;
	padding: 15px;
}

.icon_sec2:after
{
	position: absolute;
	content: "";
	width: 12px;
	height: 12px;
	background: rgb(92,173,211);
	border-radius: 100px;
	border:solid white 5px;
	top: 32%;
	left: 80%;
}

.txt_sec2
{
	margin-left: 30px;
}

/*section 3 : projets*/
.section3
{
	background-color: rgb(245,245,245);
	padding-bottom: 100px;
}

.title_sec3
{
	text-align: center;
	margin:auto;
	width: 50%;
}


.menu_sec3
{
	justify-content: center;
	display: flex;
	margin-top: 40px;
	margin-bottom: 40px;
}

.links_sec3
{
	display: block;
	padding: 10px;
	background-color: rgb(229,229,229);
	width: 100px;
	height: 25px;
	text-align: center;
}

.links_sec3:hover
{
	background-color: rgb(92,173,211);
	color: white;
	border-bottom: solid 3px rgb(72,153,191);
}

.arrow_bottom
{
	display: none;
	margin-top: 3px;
}

.links_sec3:hover .arrow_bottom
{
	display: block;
	color: rgb(72,153,191);
}

.active 
{
	display: block;
	width: 100px;
	height: 25px;
	padding: 10px;
	background-color: rgb(92,173,211);
	color: white;
	text-align: center;
	border-bottom: solid 3px rgb(72,153,191);
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.active .arrow_bottom
{
	display: block;
	color: rgb(72,153,191);
}

#portfolio
{
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.body_sec3
{
	display: flex;
	flex-wrap: wrap;
}

.projects
{
	margin:20px;
}

.div_projects
{
	z-index: 100;
	display: block;
	height: 230px;
	position: relative;
	text-align:center;
	margin: auto;
}

.legend
{
	position: absolute;
	top: 61%;
	margin-left: 20px;
	padding-left: 10px;
	height: 35%;
	width: 290px;
	opacity: 0;
	z-index: 1000;
	color: white;
	text-align: left;
}

.div_projects:hover .legend
{
	opacity: 1;
	background-color: rgba(0,0,0,0.5);
	color: rgba(255,255,255,1);
}

.eye
{
	position: absolute;
	right: 30px;
	bottom: 70%;
	display: inline-block;
	width: 15%;
	height: 55%;
	text-align: center;
	line-height: 45px;
	background-color: rgb(92,173,211);
	border:solid white 2px;
	border-radius: 100px;
}

/*section 4 : contact*/

.blue_mask
{
	position: absolute;
	top: 20px;
	height: 670px;
	width: 100%;
	background-color: rgba(92,173,211,0.3);
}

.section4
{
	position: relative;
}

.form
{
	background-color: rgba(245,250,253,0.8);
	width: 370px;
	height: 530px;
	display: flex;
	flex-direction: column;
	position: absolute;
	left: 65%;
	top: 10%;
	border-radius: 10px;
}

.txt_form
{

	margin-left: 15px;
	color: rgb(100,104,109);
}

.input
{
	margin-left:15px;
	margin-right: 15px;
	margin-bottom: 10px;
	height: 45px;
	border-radius: 3px;
	border:solid rgb(204,204,204) 1px;
	padding-left: 10px;
}

.textarea
{
	margin-left:15px;
	margin-right: 15px;
	margin-bottom: 10px;
	height: 170px;
	border-radius: 3px;
	border:solid rgb(204,204,204) 1px;
	padding-left: 10px;
	padding-top: 5px;
	font-size: 0.9em;
}

.bouton
{
	background-color: rgb(92,173,211);
	color: white;
	font-weight: bold;
	width: 120px;
	height: 45px;
	margin-left:15px;
	margin-bottom: 20px;
	border-radius: 5px;
}

.bouton:hover
{
	color:  rgb(92,173,211);
	background-color: white;
}



/** CSS Screen ordinateur **/
@media all and (max-width: 1200px)
{

	ul
	{
		margin-top: 0%;
		width: 60%;
	}

	.body_sec1
	{
		position: absolute;
		top: 20%;
		left: 5%;
		font-size: 0.9em;
	}

	.info
	{
		height: 25px;
	}

	.picture_sec2
	{
		width: 40%;
	}

	.div_projects
	{
		margin: auto;
		text-align: center;
	}

	.form
	{
		left: 60%;
	}

	#Projets
	{
		position: absolute;
		top: 1100px;
	}	

	#Services
	{
		position: absolute;
		top: 400px;
	}



}


/** CSS Screen tablette **/
@media all and (max-width: 991px)
{

	header
	{
		height: 75px;
	}

	.menu
	{
		font-size: 0.9em;
		height: 75px;
	}


	.logo_header
	{
		margin-top: 5px;
	}

	.menu_header
	{
		margin-top: 20px;
	}

	.links_header:hover
	{
		color: rgb(92,173,211);
		border-top: rgb(92,173,211) solid 2px;
		padding-top: 15px;
	}

	.body_sec1
	{
		position: absolute;
		top: 15%;
		left: 5%;
		font-size: 0.8em;
		width: 45%;
	}

	.computer
	{
		width: 100%;
	}

	.div_projects
	{
		margin: auto;
		text-align: center;
	}

	.legend
	{
		position: absolute;
		top: 60%;
	}

	.form
	{
		left: 48%;
	}

	#Services
	{
		position: absolute;
		top: 300px;
	}

	#Projets
	{
		position: absolute;
		top: 950px;
	}
}

/** CSS Screen mobile **/
@media all and (max-width: 768px)
{

	h1
	{
		color: black;
	}

	ul
	{
		width: auto;
		padding-right: 40px;
	}

	li
	{
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	iframe
	{
		display: none;
	}

	.txt_sec2
	{
		margin: auto;
	}

	.menu
	{
		display: block;
		text-align: center;
		padding-bottom: 20px;
	}

	.logo_header
	{
		width: auto;
		margin:auto;
		text-align: center;
	}


	.menu_header
	{
		text-align: center;
		margin: auto;
		font-size: 0.9em;
	}

	.links_header:hover
	{
		color: rgb(92,173,211);
		border-bottom: rgb(92,173,211) solid 2px;
		padding-top: 8px;
		border-top: none;
	}

	.body_sec1
	{
		position: relative;
		left: 0%;
		text-align: center;
		margin: auto;
		color: black;
		width: 100%;
	}

	.intro
	{
		color: black;
	}

	.link_sec1
	{
		margin: auto;
	}

	.picture_sec2
	{
		width: 100%;
		text-align: center;
	}

	.computer
	{
		width: 50%;
	}

	.body_sec2
	{
		display: initial;
		align-items: center;
		margin: auto;
	}

	.links_sec3
	{
		width: auto;

	}

	.active
	{
		width: auto;
	}
	
	.body_sec3
	{
		flex-wrap:nowrap;
		flex-direction: column;
	}

	.div_projects
	{
		text-align: center;
		margin: auto;
	}

	.projects
	{
		width: 90%;
	}

	.legend
	{
		width: 90%;
		top: 63%;
		padding: 0px;
	}

	.legend p
	{
		padding-left: 10px;
	}

	.form
	{
		position: initial;
		margin: auto;
		background-color: rgb(132,213,251);
		width: 55%;
		min-width: 280px;
	}

	.blue_mask
	{
		display: none;
	}

	.bouton
	{
		background-color: rgb(100,104,109);
	}

	#Services
	{
		position: absolute;
		top: 400px;
	}

	#Projets
	{
		position: absolute;
		top: 1500px;
	}


}




