/* CSS Document */
*{
	box-sizing: border-box;
}

body{
    font-family: "Montserrat", sans-serif;
    background-image: url(../images/bg_body.png);
    font-weight: 200;
	font-size: 1.5em;
	text-align: center;/* center text in general*/
    color: #22191a;
	margin: 0;
    padding: 0;
    min-height: 100%;
    position: relative;  
}

.container{	
	width: 992px;
	margin: 0 auto; 
	border: 5px solid #c7f0f2;
	background-color: #ffffff;
	margin-bottom: 0px;
}

header{
   background-color: #c7f0f2;
    font-weight: 400;
	height: 500px;	
	padding-top: 10px;
	position: relative;
	padding-left: 50px;
}

header img{
	width: 100px;
	margin-top:20px;
	float: left;
}

h1{
	position:absolute;
	text-align: left;
	bottom: 0px;
	padding-top: 60px;
	font-size: 110px;
	font-weight: 700;
	line-height: 100px;
	opacity: 90%;
}

/* nav...............................................*/

nav{
	float: right;  
	text-align: right;	
	font-size: 20px;
	margin-top:30px;
	margin-right:60px;
}

ul#menu li{ 	
	padding-left: 20px;
	display: inline;
	opacity: 70%;
}

ul#menu li a {	
	color:#22191a;
	text-decoration: none;
} 

ul#menu li a:hover{  
	color:#2e71a3;	
}

ul#menu li a.active{
	font-size: 1.5em;
	color: #2e71a3;
	
}


/*h2................................*/
h2{
	font-weight: 400;
	line-height: 1.2em;
	margin:0px;
    padding: 100px 100px;
}

span{
	color: #4ab7c4;/*blue text*/
	font-weight: 600;
}
/*home ........................*/

.home section{
	width:100%;
	height:400px;
	margin:0px;
	padding:0px;
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
}

.home section div{
	width: 50%;
}

.home img{
	display: block;
}

.home h3{
	margin-bottom: 20px;
}

.home p{
	margin-top: 20px;
	margin-bottom: 20px;
}

.bg-light{
	background-color: #c7f0f2;
	text-align: left;
}

.bg-light img{
	margin: 0px 25px 0px auto;
}

.content{
	padding: 0px 25px;
}

.lefttext > div{
	text-align: right;
	padding:0px 25px;
}

.button{
	background-color: #4ab7c4;
	padding: 10px 40px;
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	color: #22191a;
	position: relative;
}

.button:hover {
	background-color: #353a5c;
	color: #ffffff;
}

/*about page........................................*/
.about{
	text-align: left;
}

.about h3{	
	width: 30%;
	float: left;
	padding-left: 50px;
}

.about p{
	width: 70%;
	float: right;
	padding:0px 50px;
}

.about section::after{
	content: "";
	display: table;
	clear: both;
}

.team{
	margin-bottom: 50px;
}

.team h4{
	text-align: left;
	margin-left:30px;
	margin-bottom: 20px;
	font-size: 2em;
	color: #397899;
}

.name, .position{
	text-align: left;
	margin-bottom: 0px;
	margin: 0px;
}

.name{
	font-weight: 400;
}

.position{
	font-size: 0.75em;
}

.team div{
	display: inline-block;
}


/*work gallery.................................*/
.work div img{
	display: block; /*remove gap*/
	object-fit: cover;
	width: 100%; /*fit content*/
}

.work{
	display: flex;
	flex-direction: column;
}

.work1, .work2, .work3, .work4{
	display: flex;
	flex-direction: row;

}
.work2{
	height: 655px;
}

.work2_1{
	display: flex;
	flex-direction: column;
	width: 66.67%;
}

.work2_1_1{
	display: flex;
	flex-direction: row;
}

.work2_2{
	width: 33.33%;
}

.box33, .box50, .box67, .box100{
	position: relative;
	display: inline-block;
}

.box33{
	width: 33.33%;
}

.box50{
	width: 50%;
}

.box67{
	width: 66.67%;
}

.overlap{
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(106, 114, 126, 0.538); 
  opacity: 0; /* Hidden */
  display: flex;
  justify-content: center; /* Center horizontal */
  align-items: center; /* Center vertically */
  transition: opacity 0.5s ease; 
}

.box33:hover .overlap, .box50:hover .overlap, .box67:hover .overlap,.box100:hover .overlap{
	opacity: 1; /*hover to show overlap*/
}

/*setup overlap width & height*/
.ol10{
	width: 90%;
	height:90%;
}
.ol15{
	width: 93.33%;
	height:90%;
}

.ol20{
	width: 95%;
	height: 90%;
}

.ol30{
	width: 90%;
	height: 95%;
}


.button_work{/*set up button deco*/
	display: inline-block;
	position: absolute;
	bottom: 15px;
	width: 80%;
	font-weight: 400;
	padding: 15px 30px;
	background-color: #333333;
	text-decoration: none;
	color: #ffffff;
	z-index: 3;
}


/*portfolio detail page*/
.biotopia img{
	width: 100%;
	display: block;

}

/*services......................................*/

.services {
	display: flex;
	flex-direction: column;	
}

.services section{
	display: flex;
	flex-direction: row;
	margin: 0;
}

.services div{
	width:50%;
}

.services img{
	width: 100%;
	display: block;
}

.services p{
	padding:0px 30px;
}

/* formulaire.............................*/
.contact h2{
	padding:50px 0px;
	text-align: center;
}

form{
	margin: 20px;
	border-radius: 10px;
	background-color: #c7f0f2;
	opacity: 70%;
	padding: 20px;
	margin:0 40px 40px 40px;
	text-align: left;
	font-size: 20px;
	font-weight: 400;
}


input[type=text],[type=number],[type=email],textarea{
	
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #4dcad1;
	border-radius: 4px;
	box-sizing: border-box;
}



::placeholder{
	font-size: 18px;
	font-family: 'Courier New', Courier, monospace;
}


input[type=submit] {
	width: 100%;
	background-color: #4dcad1;
	color: #ffffff;
	padding: 14px 20px;
	margin: 8px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 20px;
  }
  
input[type=submit]:hover {
	background-color: #4ab7bd;
  }


/* footer.............................*/

footer{
	background-color: #22191a;
	height: 200px;
}

footer p{
	margin: 0px;
	color:#ffffff;
	padding-top:30px;
	padding-bottom: 10px;
	font-size: 16px;
	line-height: 20px;
}

footer p a{
	color: #c7f0f2;
	text-decoration: none;
	font-weight: 400;
}

footer p a:hover{
	color:#ffffff;
}

.smlogo img{
	width: 40px;
	margin-top: 10px;
}
