/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MINE */

@font-face {
  font-family: "Love";
  src: url("../font/lovefrom.woff2") format("woff2");
}

@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

:root {
	--beige:#FFFAFA;
	--bleu:#070ece;
	--gris:#626262;
	--grismoyen:#ebebeb;
	--grisclair:#f5f5f5;
	--noir:black;
	--blanc:white;
}

::selection {
  color: var(--bleu);
  background: var(--grisclair);
}

body {
	background: var(--beige);
	color: var(--noir);
}

#wrapper {
	position: absolute;
	height: 100%;
	width: 100%;	
}

#premier {
	position: fixed;
  	top: 0;
  	z-index: -99;
}

#second {
	margin-top: 60%;
	background: var(--blanc);
	box-shadow: 0px 0px 8px 10px rgba(0, 0, 0, 0.01);
}

.panel {
	position: relative;
	height: 100%;
	min-height: 100%;
	width: 100%;
	z-index: 1000;
}

.gauche {
	float: left;
	width: 50%;
	height: 100%;
}

.droite {
	float: right;
	width: 50%;
	height: 100%;
}

.titre {
	position: absolute;
	top: 50%;
	left: 8%;
	transform: translateY(-50%) translateX(-8%);
  	font-family: "Love",Georgia,serif;
  	font-size: 3.4rem;
	letter-spacing: -0.02em;
}

.bio {
	position: absolute;
	top: 50%;
	/*left: 10%;*/
	left:5rem;
	transform: translateY(-50%);
}

.droite img {
	position:relative;
	width: 70%;
	border-radius: 20px;
	    top: auto;
    left: auto;
    transform: none;
}

.fade-in { animation: fadeIn 2s }

h2 {
  	font-family: "Love",Georgia,serif;
  	font-size: 2rem;
  	margin-bottom: 1rem;
  	line-height: 2.1rem;
}

h3 {
  	font-family: "Love",Georgia,serif;
  	font-size: 1.5rem;
  	margin-bottom: 0.5rem;
  	color: var(--gris);
  	font-style: italic;
}

p{
	color: var(--gris);
	font-family: 'Lato', sans-serif;	
	line-height: 1.3rem;
}

.contact {
	line-height: 5rem;
}

.contact a {
	text-align: center;
	position: relative;
	padding: 10px 20px;
	width: 10%;
	background: var(--grisclair);
	border-radius: 50px;
	color: var(--gris);
	text-decoration: none;
	transition-duration: 500ms;
	transition-timing-function: ease-in;
	margin-right: 0.5rem;
}

.contact a:hover{
	color: var(--noir);
	background: var(--grismoyen);
	cursor: pointer !important;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media screen and (max-width: 550px) {
	
	.titre {
		position: absolute;
		top: 50%;
		left: 2rem;
		transform: translateY(-50%) translateX(0%);
		font-size: 2rem;
	}
	
	#second{
		margin-top: 140%;
	}
	
	.gauche {
		float: ;
	}
	
	.bio {
		top: 80%;
		left: 2rem;
		width: 80%;
	}
	
	h2 {
		font-size: 1.3rem;
		line-height: 1.4rem;
	}
	
	h3 {
		font-size: 1.2rem;
		margin-bottom: 0.5rem;
	}
	
	.droite {
		float: ;
	}
	
	.droite img{
		position:relative;
		width: 100%;
		border-radius: 10px;
		top:20% !important;
		transform: translateY(-20%) !important;
		left: -50%;
		transition-duration: 1000ms;
		transition-timing-function: ease-in-out;
	}
	
	#moi {
		margin-top: 0 !important;
	}
	
}