/* Général
------------------------------------*/
html,body{
	overflow-y: auto;
    overflow-x: hidden;
}
.section{
	padding: 0;
}

	/* Navigation
	-------------------------------*/
	header{
		top: 0;
		left: 0;
		right: 0;
		bottom: 100%;
		z-index: 9999;
	}
	header nav {
		background:#0F212D;
		height: 85px;
	}
	#slantBorder{
	    position: absolute;
	    top: 0;
	    bottom: initial;
		border-color: #0F212D  transparent transparent transparent;
	    z-index: 9998;
	    margin-top: -1px;
	}
	nav .container{
		z-index: 9999;
		padding: 0;
		height: 0;
	}
	#logoContainer{
		display: initial;
		float: left; 
		color: #fff;
		transform-origin: 0 0;
	}
	#navlogo{
	    line-height: 0;
	    letter-spacing: 0.5em;
	    width: 130px;
	    height: 130px;
	    display: flex;
	    flex-wrap: wrap;
	    flex-direction: column;
	    text-transform: uppercase;
	    font-size: 4.5vh;
	    margin: 10% 0 0 10%;
	}
	#mobileTitle{
		display: none;
	}
	#mainMenu {
    	display: flex;
    	justify-content: flex-end;
    	background: none;
    	height: initial;
  	}
	#mainMenu li{
		margin: 24px 5px 0;
		padding: 10px;
		line-height: 1;
		font-size: 10px;
	}

	#mainMenu li.current{
		background: #0F212D;

		border-radius: 4px;
	}
section .container{
	padding: initial;
}
/* Home
------------------------------------*/
#logo{
	display: none;
}

#nicolas {
    font-size: 4.5em;
}
#mendoula {
    font-size: 8em;
}

#home .horizontale {
	display: none;
}
/* Présentation
------------------------------------*/
#presentation{
	overflow: visible;
}

#presentation .first, #presentation .second{
	display: none;
}	

.titleFont{
	transform-origin: 100% 100%;
	height: 0;
	border-style: solid;
    border-width: 200px 100vw 0 0;
	border-color: #6892AE transparent transparent transparent;
	background: none;
}

#menuFondTri{
	position: absolute;
	width: 0;
	right: 100%;
	height: 0;
	border-style: solid;
	border-width: 0 200px 100vh 0;
	border-color: transparent #2b495c transparent transparent;
}

.blocTitle{
	top: 15%;
}
#presentation h3{
	font-size: 3em;
}
#presentation h3 div{
	display: inline-block;
	transform-origin: 50% 100%;
}
#presNav{
	left: calc(100% * 2/3);
	padding: 0;
	top: 15%;
}

#explain{
	font-size: 1.25em;
	padding: 0 0 0 5%;
	right: 50%;
}

/* Portfolio
------------------------------------*/

#portfolio h2{
	padding: 104px 0 0 3.125%;
}

#cornerTriangle{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 200px 100vh 0;
	border-color: transparent #2b495c transparent transparent;
	position: absolute;
	top: 0;
	right: 0;
}
#corner{
	background: none;
}

.miniature_Wrap{
    position: absolute;
    width: 75%;
    height: 70.79px;
    bottom: 5%;
    left: 12.5%;
    overflow-y: hidden;
    overflow-x: auto;
    display: block;
}

.miniature_Wrap::-webkit-scrollbar{
	width: 10px;
}

.miniature_Wrap::-webkit-scrollbar-track {
 width: 5px;
}

.miniatures{
	display: flex;
	height: 70.79px;
	overflow-y: hidden;
	overflow-x: visible;
	z-index: 1;
	position: relative;
}

.miniature {
    width: 100px;
    height: 100px;
    border: solid 2px #fff;
    transform-origin: 0 100%;
    transform: rotate(45deg);
    margin-top: -30px;
    background: #bbb;
    cursor: pointer;
    transition: filter 0.3s;
    overflow: hidden;

}
.miniature img{
	width: 100px;
	transform-origin: 50% 50%;
	transform: rotate(-45deg) scale(1.41);
	transition: transform 0.3s;
	filter: brightness(0.8);
}
.miniature:hover img{
	filter: brightness(1.5);
}


.miniature:nth-child(even){ 
	margin-top: -100px;
	margin-left: -28px;
	margin-right: -28px;
}

.work h3 {
    padding: 0 0 0 3.125%;
}
.work h4 {
    padding: 0 0 0 3.125%;
}
.description p {
    padding: 20px 0 0 3.125%;
}
.selectWork img{
	filter: brightness(1.25);
}

.description {
    bottom: 130px;
    border-bottom: solid 1px #ddd;
}
.description button{
	bottom: 20px;
	left: 3.125%;
}

.navPort {
    left: 3.125%;
    right: 3.125%;
    bottom: 5%;
    height: 70px;
}

.suivant{
	width: 50px;
	height: 50px;
	right: 0;
	top: calc(50% - 25px);
	bottom: 0;
	left: initial;
	border: none;
}

.precedent {
	width: 50px;
	height: 50px;
	top: calc(50% - 25px);
	left: 0;
	bottom: 0;
	border: none;
}

.precedent, .suivant{
	border-radius: 5px;
	cursor: pointer;
	transition: filter 0.3s, transform 0.3s;
	transform-origin: 50% 50%;
	z-index: 2;
}

.precedent:hover, .suivant:hover{
	filter: brightness(1.5);
	transform: scale(1.2);
}
.precedent .fleche, .suivant .fleche {
    width: calc(100% / 3);
    left: calc(50% - (100% / 6));
    top: calc(50% - (100% / 6));
}

.fleche img{
	width: 100%;
}

#sliderContainer {
    padding-top: 94px;
}
/* Contact
------------------------------------*/

#contact h2{
	padding: calc(84px + 5%) 0 0 5%;
}

#contact form{
	padding: 0 5%;
}

#contact textarea{
	height: 150px;
	max-height: 150px;
	overflow-y: auto;
}
#contact .first{
	display: none;
}
#contact .second{
	display: none;
}
.more {
    padding: 100px 6% 60px;
}

.more p {
    font-size: 1.6em;
}

/* Footer */
footer{
	position: relative;
	z-index: 9999;
	margin: -50px 0 0 0;
	display: block;
	height: 50px;
	background: #05141D;
	color: #fff;
	text-align: center;
	font-size: 0.8em;
	line-height: 50px;
}
