html,
body {
	margin: 0;
	padding: 0;
	top: 0;
	left: 0;
	bottom: 0;
	height: 100vh;
	width: 100vw;
	background-color: whitesmoke;
	text-align: justify;
	font-family: 'Raleway', sans-serif;
	overflow-x: hidden;
}
body {
	min-height: 100%;
	height: auto;
}

section {
	width : 100vw;
	height: 100vh;
	display: block;
	position: relative;
}

h2 {
	display: block;
	font-family: 'Playfair Display', serif;
	font-size: 36px;
	font-weight: bold;
	text-align: center;
	margin: 0 0 15px;
}

@keyframes bounce {
  0%,20%,100%{ transform:translate(0); }
  5%{ transform:rotateX(10deg) translateY(2px) rotate(-3deg); }
  10%{ transform:translateY(-10px) rotate(3deg) scale(1.05);  }
}

*:focus {
	outline: none;
}
input, button, textarea {
	font-family: 'Raleway', sans-serif;
}
a  {text-decoration: none;}

/*----- ALL -----*/

.absolute {
	position: absolute;
	display: block;
	left: 0;
	top : 0;
	bottom: 20px;
	right : 0;
	margin: auto;
}
.height {
	height : 60vh;
	max-height: 600px;
	min-height: 400px;
}
.width {
	width : 70vw;
	max-width: 800px;
	min-width: 600px;
}
.table {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	box-sizing: border-box;
}
.padding {
	padding : 20px;
	box-sizing: border-box;
}

a[class*='scroll-'] {
	position: absolute;
	bottom : 12px;
	left : 50%;
	margin-left: -10px;
	font-size: 50px;
    text-shadow: rgba(0,0,0,0.2) .05em 0 3px;
	color : #3D9EAB;
	cursor: pointer;
}
.scroll-top {
	animation: arrowbounceup 3s infinite;
}
.scroll-down {
	animation: arrowbouncedown 3s infinite;
}
@keyframes arrowbouncedown {
   	0%, 10%, 40%, 80%, 100% { transform: rotate(90deg) translateX(0);}
	30% {transform: rotate(90deg) translateX(-12px);}
	50% {transform: rotate(90deg) translateX(-4px);}
}
@keyframes arrowbounceup {
   	0%, 10%, 40%, 80%, 100% { transform: rotate(270deg) translateX(0);}
	30% {transform: rotate(270deg) translateX(-12px);}
	50% {transform: rotate(270deg) translateX(-4px);}
}

/*---- INTRO ----*/
#intro {
	box-shadow: 0 10px 20px rgba(24, 19, 47, 0.16), 0 6px 6px rgba(24, 19, 47, 0.19), 0 0 80px rgba(24, 19, 47, 0.15) inset;
	z-index: 1;
	background-blend-mode: lighten, normal,normal,normal,normal,normal;
	background-image: 
	linear-gradient(225deg, whitesmoke 50%, rgba(245, 245, 245, 0.4) 50%, transparent 80%, transparent),
	radial-gradient(circle at 0px 47px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 19px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),	
	radial-gradient(circle at 60px 47px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),		
	radial-gradient(circle at 30px 32px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),	
	radial-gradient(circle at 0px 17px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),		
	radial-gradient(circle at 60px 17px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent);
	background-size: 100% 100%, 60px 30px,60px 30px,60px 30px,60px 30px,60px 30px;
}

#intro .inside {
	height : 190px;
}

h3 {
	font-family: 'Playfair Display', serif;
	margin: 5px;
	font-weight: 100;
	text-align: left;
	font-size: 30px;
	text-align: center;
}

.text {
	height: 60px;
	display: flex;
	justify-content: center;
}

.beforewords, .words {
	display: inline-block;
	height : 40px;
	line-height: 40px;
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	margin: 10px 0;
}
.words {
	overflow-y: hidden;
	width: 200px;
}
.text .beforewords:after {
	content:"\00a0";
}
.text .words:after {
	content:"";
	clear: both;
}
.text .letter {
	display: inline-block;
	height : 40px;
	line-height: 40px;
	float: left;
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	margin: 0;
	color: #3D9EAB;
}

#intro hr {
	animation: unfold 1s 1;
	border: solid 1px #3D9EAB;
	margin: 20px 50px 50px;
}
@keyframes unfold{
   	0% { 
	transform: scaleX(0);
	border-color: #EEAE4B;
	}
	20% {
		transform:transform: scaleX(.2);
		border-color: #EEAE4B;
	}
	80% {
		transform:transform: scaleX(.8);
		border-color: #3D9EAB;
	}
	100% {transform:transform: scaleX(1);}
}
#intro .nav {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	height : 29px;
	padding: 0 50px;
}

#intro .nav a {
	padding: 2px 3px;
	margin: 0 5px;
	color : #33373E;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: solid 4px #3D9EAB;
	transition: all .3s ease-out;
	height : 24px;
	box-sizing: border-box;
}
#intro .nav a:hover {
	border-color: #EEAE4B;
	border-width: 6px;
	padding-bottom: 5px;
	height : 29px;
}

/*---- ABOUT ----*/
#about {
	/*background-color: #a3d3d9;*/
	background-image: url(/ressources/texture.jpg);
	background-blend-mode: soft-light;
	background-color: #3D9EAB;
	box-shadow: 0 0 500px rgba(24, 19, 47, 0.2) inset;
}
#about > .height {
	background-color: whitesmoke;
	box-shadow: 0 3px 6px rgba(24, 19, 47, 0.16), 0 3px 6px rgba(24, 19, 47, 0.19),0 0 50px rgba(24, 19, 47, 0.1) inset;
}
#about .inside {
	display : table;
	height : 100%;
	text-align: center;
	margin: auto;
	min-width: 800px;
	max-width: 1000px;	
	max-height: 100%;
	
}
#about .portrait {
	max-height: 100%;
	max-width: 340px;
	border-radius: 50%;
	box-shadow: 0 3px 6px rgba(24, 19, 47, 0.63),  0 0 50px rgba(24, 19, 47, 0.08) inset;
	overflow: hidden;
}

#about a[class*='scroll'] {
	color : whitesmoke;
}

h4 {
	color : #3D9EAB;
}

.slide p, .slide span{
	text-align: justify;
}
.slide ul {
	margin-bottom: 40px;
    text-align: left;
}
.slide li {
	list-style: none;
	margin: 10px 0;
}
.slide li:before {
	content: " ";
    height: 6px;
    width: 6px;
    transform: rotate(45deg);
    display: inline-block;
    transition: all 0.6s ease;
    border-radius: 1px;
    background-color: #99cad0;
    margin: 2px 10px 2px 0;
}
.slide a {
	color : #3D9EAB;
	font-weight: 200;
}

.highlight {
	color : #3D9EAB;
	font-size: 10px;
}

.dots {
	display: block;
	text-align: center;
	left: 0;
    right: 0;
	bottom: 15px;
	position: absolute;
}
.dot {
	cursor: pointer;
	height: 10px;
	width: 10px;
	margin: 7px 3px; 
	border : solid 2px #949ca8;
	transform: rotate(45deg);
	display: inline-block;
	transition: all 0.6s ease;
	border-radius: 1px;
}
.dots .active {
	background-color: #949ca8;
}
.dot:hover {
	background-color: #6c7584;
}
.dots .active:hover {
	border : solid 2px #6c7584;
}
.next {
  	cursor: pointer;
  	position: absolute;
  	top: 50%;
	font-weight: bold;
	font-size: 30px;
	margin-top: -15px;
	opacity: .5;
	transition: all .3s linear;
	color : #3D9EAB;
	border : none;
	right : -20px;
}
.next:hover {
	transform: scale(1.1) translateZ(0);
	backface-visibility: hidden;
	color: #EEAE4B;
}

/*---- CONTACT ----*/
#contact {
	background-image: 
	radial-gradient(circle at 0px 47px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 19px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),	
	radial-gradient(circle at 60px 47px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),		
	radial-gradient(circle at 30px 32px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),	
	radial-gradient(circle at 0px 17px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent),		
	radial-gradient(circle at 60px 17px,whitesmoke 8px, #c4e1e5 9px, #c4e1e5 12px, whitesmoke 13px, whitesmoke 18px, #c4e1e5 20px, #c4e1e5 22px, whitesmoke 23px, whitesmoke 28px, #c4e1e5 29px, #c4e1e5 32px, transparent 33px, transparent);
	background-size: 60px 30px;
	box-shadow: 0 -10px 20px rgba(24, 19, 47, 0.14), 0 -6px 6px rgba(24, 19, 47, 0.17), 0 0 80px rgba(24, 19, 47, 0.2) inset;
}
#contact > div {
	display: table;
	vertical-align: middle;
}
form {
	background-color: white;
	border-radius: 2px;
	box-shadow: 1px 1px 0px #3D9EAB, 2px 2px 0px #3D9EAB, 3px 3px 0px #3D9EAB, 4px 4px 0px #3D9EAB, 0 6px 6px rgba(24, 19, 47, 0.16), 0 6px 6px rgba(24, 19, 47, 0.19);;
	display: table;
	width: 100%;
}
form .table:first-of-type {
	width : 60%;
	height : 100%;
	padding-right : 22px;
	border-right: solid 2px #3D9EAB;
}
form .table:last-of-type {
	width : 40%;
	height : 100%;
	padding-left : 20px;
}
form > div > * {
	display: block;
	margin: 20px auto;
	font-weight: bold
}
input[type="text"],
input[type="email"]{
	border: none;
	border-bottom: 2px solid #3D9EAB;
	margin: 0 5px;
	padding: 0 5px;
	font-size: 18px;
	transition: all .3s ease;
}
input[type="button"] {
	background: transparent;
	padding: 10px 20px;
	border : 2px solid #3D9EAB;
	font-weight: bold;
	transition: all .6s ease;
	cursor : pointer;
}
input[type="button"]:hover {
	background-color: #3D9EAB;
}
form textarea {
	width: 100%;
	height: 50%;
	min-height: 200px;
	box-sizing: border-box;
	resize: none;
	border : none;
	background-image:linear-gradient(transparent 29px,#56b7c4 29px,#56b7c4 31px,transparent 31px);
    background-size:100% 31px;
	font-size: 20px;
	line-height: 31px;
	transition: all .6s ease;
}
form textarea:focus {
	background-image:linear-gradient(transparent 29px,#EEAE4B 29px,#EEAE4B 31px,transparent 31px);
}
input[type="text"]:focus,
input[type="email"]:focus {
	border-color: #EEAE4B;
}
input[type="button"]:focus {
	background-color: #EEAE4B;
	border-color: #EEAE4B;
}

@media only screen and (max-device-width : 768px) {
	
	.absolute {
		margin : auto 20px;
	}
	.height {
		max-height: 100vh;
		min-height: 300px;
		height: fit-content !important;
		height: -webkit-fit-content !important;
	}
	.width {
		width: calc(100% - 40px);
		max-width: 100vw;
		min-width: 200px;
	}
	.table {
		display: block;
		width: 100% !important;
		height: 100% !important;
		border : none !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	
	#intro .text {
		height : auto !important;
	}
	#intro h3 {
		font-size: 20px;
	}
	#intro .text * {
		font-size: 18px;
		margin-top: 0;
		margin-bottom: 0;
	}
	#intro .words {
		width : 130px;
	}
	#intro .nav {
		padding: 0;
		flex-wrap: wrap;
	}
	#intro .nav a {
		font-size: 16px;
		margin-bottom: 5px;
	}
	
	#about > .height {
		max-height : calc(100% - 40px);
		top : 20px
	}

	#about .inside {
		min-width: 200px;
		max-width: 100%;
	}
	.dots {
		bottom: -20px;
	}
	
	#about .table:first-of-type, .next {
		display: none;
	}

}

/*---- LANG ----*/
#lang {
	z-index: 20;
	position: absolute;
	top : 10px;
	right: 30px;
	width: 100px;
}
#lang button {
	width: 100%;
	border: none;
	padding: 5px 0;
	font-weight: bold;
	color: white;
	cursor: pointer;
	transition: all .4s ease-out;
}
#lang > button {
	border-radius: 4px;
	background-color: #33373E;
}
#lang > button:hover, #lang .selected {
	background-color: #3D9EAB;
	box-shadow: 0px 1px 1px rgba(24, 19, 47, 0.19);
	transform: translateY(-1px);
}
#dropdown {
	width: 100%;
	margin-top: 5px;
	border-radius: 5px 0 5px 5px;
	overflow: hidden;
	background-color: #3D9EAB;
	box-sizing: border-box;
}
.option {
	display: block;
	background: none;
	transition: all .3s ease;
	border-bottom: solid 2px white !important;
}
.option:last-of-type {
	border:  none !important;
}
.option:hover {
	background-color: #33373E;
}
