/* Design for mobile first */


* {

	box-sizing: border-box;
	backface-visibility: hidden;
}

body {
	margin: 0;
	overflow: overlay;
}


#wrapper {
	position: absolute;
	
	height: 100%;
	max-width: 1600px;
	display: inline-block;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

}



/* Tablette et mobile */
@media only screen and (max-width: 768px) {
	#wrapper {
		width: 100%;
	}

	#navbar {
		position: fixed;
		height: 30px;
		width: 100%;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		z-index: 10;
		grid-gap: 3px;
		background-color: #dddddd;
	}

	#navbar .section {
		font-size: 20px;
		margin-top: 0px;
		background-color: #eeeeee;
		text-align: center;
		height: 100%;
		line-height: 30px;
		cursor:pointer;


	}

	#navbar .section:hover {
		color: grey;

	}

	#col2 {
		position: absolute;
		top: 30px;
		width: 95%;
		padding-left: 5px;
		padding-right: 5px;
		background-color: white;
		height: auto;
		color: #737373;
		right: 0;
		left: 0;

	}

	.content {
		position: absolute;
		font-size: 20px;
		width: 90%;
		height: auto;
		display: block;
		margin: auto;
		top: 50px;
		right: 0;
		left: 0;
		text-align: justify;
	    text-justify: inter-word;
	    font-family: Baskerville;
}

		#logo {
				display:none;
		}
}

/* Écran d'Ordinateur */
@media only screen and (min-width:769px) {

	#wrapper {
		width: 90%;
	}

	#navbar {
		position: fixed;
		background-color: white;
		/*grid-column: 1/2;*/
		height: 100%;
		width: 20%;
		max-width: 460px;
		backface-visibility: hidden;

	}

	#navbar .section {
		font-size: 24px;
		margin-top: 10px;
		padding: 10px;
		background-color: #eeeeee; 
		cursor:pointer;
		filter: drop-shadow(0px 1px 1px rgb(0 0 0 / 0.3));
	}

	#navbar .section:hover {
		color: grey;
	}

	#navbar .section span {
		transition: all 0.2s ease;
	}

	#navbar .section:hover span {
		margin-left: 5px;
	}


	#col2 {
		position: absolute;
		min-width: 76%;
		right: 0;
		background-color: white;
		color: #737373;
	}
}


.content {
	position: absolute;
	font-size: 20px;
	min-width: 70%;
	max-width: 1000px;
	height: auto;
	display: block;
	margin: auto;
	top: 50px;
	right: 0;
	left: 0;
	text-align: justify;
    text-justify: inter-word;
    font-family: Baskerville;
}

ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

ul li:not(:first-child) {
	margin-left:10px;
}


hr {
	width: 60%;
}

iframe {
	position: relative;
	width: 448px;
	max-width: 95%;
	height: 252px;
	left: 50%;
	transform: translateX(-50%) !important;
	background: lightgrey;
}

.content > div {
	padding: 20px;
}

.book_img {
	position: relative;
	width: 200px;
	height: auto;
	left: 50%;
	transform: translateX(-50%);

}


.smooth_appearing > p, 
.smooth_appearing > iframe,
.smooth_appearing > h2 {
	position: relative;
	opacity: 0;
	transition: all 2s ease;
	padding-top: 5px;
	display: block;

}

.appearSmoothly {
	opacity: 1 !important;
	transform: translateY(-10px);
	
}

#education .degree {
	font-variant: small-caps;
	font-family: Bodoni;

}
#education .university {
	font-size: 18px;
}
#education .description {
	font-size: 16px;
	font-style: italic;
}

/* SVG */



#logo svg {
filter: drop-shadow(0px 2px 2px rgb(0 0 0 / 0.3));
}

@keyframes avancer {
	100% {
		start
	}

}


.text--line {
	font-size: 1em
}

.text-copy {
	fill: none;
	stroke: red;
	stroke-dasharray: 0% 30%;
	stroke-width: 0.1px;
	animation: stroke-offset 1s infinite linear forwards;
	-webkit-animation: stroke-offset 1s infinite linear forwards;
	animation-iteration-count: 1;
	animation-delay: 0s;
	
}

.text-copy:nth-child(1) {
	stroke: green;
	stroke-dashoffset: 10%;
	animation: stroke2-offset 1s infinite linear forwards;
	-webkit-animation: stroke2-offset 1s infinite linear forwards;
	animation-iteration-count: 1;
	animation-delay: 1s;
	
	}

.text-copy:nth-child(2) {
	stroke: blue;
	stroke-dashoffset: 20%;
	animation: stroke3-offset 1s infinite linear forwards;
	-webkit-animation: stroke3-offset 1s infinite linear forwards;
	animation-iteration-count: 1;
	animation-delay: 0.5s;
	
	}


.text-copy:nth-child(4) {
	stroke: transparent;
	fill: transparent;
	animation: interieur 3s infinite linear forwards;
	-webkit-animation: interieur 3s infinite linear forwards;
	animation-delay: 3s;
	animation-iteration-count: 1;
	z-index: -5;

}

@keyframes stroke-offset {
	100% {
		
		stroke-dasharray: 10% 20%;
		stroke-dashoffset: 30%;
		stroke: #999999;
	}
}

@keyframes stroke2-offset {
	100% {
		
		stroke-dasharray: 10% 20%;
		stroke: #999999;
		stroke-dashoffset: 40%;
	}
}

@keyframes stroke3-offset {
	100% {
		
		stroke-dasharray: 10% 20%;
		stroke: #999999;
		stroke-dashoffset: 50%;
	}
}


@keyframes interieur {
	100% {
		
		
		fill: #d5d5d5;

	}
} 

