/* DONNEES GLOBALES */
@font-face {
	font-family: "VT323";
	src: url(./fonts/VT323-Regular.ttf);
}
@font-face {
	font-family: "cheque";
	src: url(./fonts/Cheque-Black.otf);
}
@font-face {
	font-family: "montserrat";
	src: url(./fonts/Montserrat-Medium.otf);
}
@font-face {
	font-family: "montserratItalic";
	src: url(./fonts/Montserrat-Italic.otf);
}
@font-face {
	font-family: "montserratBold";
	src: url(./fonts/Montserrat-Bold.otf);
}
* {
	width: 100%;
	box-sizing: border-box;
}
body{
	font-family: "Montserrat";
	background-color: #fff7ef;
	margin: 0;
	padding:0;
	text-align: center;
}
h1, h2 {
	font-family: "cheque";
}
h3,h4 {
	font-family: "VT323";
}
h5 {
	font-family: "montserratItalic";
}
h6 {
	font-family: "montserratBold";
}
p {
	text-align: justify;
	font-size : 0.875em;
	line-height: 2em;
}
.icon{
	color: #f47d38;
	margin: 5px;
}
ul li {
	list-style: none;
}
a {
	text-decoration: none;
	color: black;
}
main{
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* VERSION DESKTOP */
/************ HEADER ************/
header{
	background-color: #fff7ef;
	position: sticky;
	display: flex;
	flex-direction: row;
	top: 0;
	z-index: 3;
}
.logo-cv-container {
	display: flex;
	justify-content: center;
	background-color: #fff7ef;

}
.logo-cv {
	width: 15%;
}
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
nav ul {
	display: flex;
	justify-content: center;
	padding: 0;
	width: 100%;
}
nav ul li {
	font-family: "VT323";
	padding: 10px 20px;
}
nav ul li:hover {
	background-color: #fbd4bd;
}
#icons {
	cursor: pointer;
	display: none;
}


/************ HERO ZONE ************/
.hero{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding:60px 50px;
}
.hero-zone {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.hero-title {
	text-align: left;
}
#typewriter {
	position: relative;
	color:#f47d38;
}
.cursor {
	color:#f47d38;
	animation: cursor 1s step-end infinite;
}

@keyframes cursor {
	0% {
		opacity: 0% ;
	}
	50% {
		opacity: 100%;
	}
}

.container-coordonnees {
	display: flex;
	flex-direction: row;
	width: 30%;
}

.download{
	margin: 15px 0;
	padding: 10px;
	background-color: #f47d38;
	border: none;
	font-family: "VT323" ;
	width: 30%;
}

.photo-cv {
	width: 50%;
	padding: 20px;
}
.photo-cv-img {
	width: 50%;
	border: 3px solid #F6955C;
	border-radius: 100%;
}

/************ PROFIL ZONE ************/
#profil {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding:100px 0;
}
.profil {
	background-color: #F6955C;
	width: 70%;
	padding: 15px;
	margin: 50px 0;
	box-shadow: 10px -10px 7px #fbd4bd;
}

/************ SKILLS ZONE ************/
#skills {
	width: 100%;
	padding:100px 0;
}
.skills{
	width: 100%;
}
.skills-row{
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.skills-column {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.skills-value {
	width: 90%;
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.skills-title {
	margin: 0;
}
.skills-progress {
	position: relative;
	width: 80%;
	height: 20px;
	background-color: #fbd4bd;
	border: 2px solid #f47d38;
}
.progress-bar {
	position: absolute;
	top:0;
	left: 0;
	height: 100%;
	background-color: #f47d38;
	color: #f47d38;
}

/************ EDUCATION ZONE ************/
#education {
	width: 100%;
	padding:100px 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.education {
	width: 60%;
	padding: 20px;

}
.education-title {
	display: flex;
	flex-direction: row;
	align-items: center;
	background-color: #F6955C;
	padding: 0 15px;
	cursor: pointer;
}
.education-title i{
	text-align: end;
}
.education-title h3{
	text-align: start;
}
.education-content {
	padding: 0 15px;
	margin-top: 30px;
}
.content {
	height: 0;
	transition: all 0.2s linear;
	overflow: hidden;
	background-color: #fbd4bd;
}
.content p {
	padding: 10px 15px;
}
.education-img {
	width: 40%;
}
.education-img .school {
	width: 100%;
}


/************ EXPERIENCES ZONE ************/
#xp {
	background-color: #fff7ef;
	width: 100%;
	padding:100px 20px;
}
.timeline{
	position: relative;
	padding:0 20px;
}
.timeline-container {
	position: relative;
	width: 50%;
	padding: 15px;
	background-color: #fbd4bd;
	margin: 50px 0;
	animation: appear 0.8s linear forwards;
	opacity: 0;
}
@keyframes appear {
	0%{
		opacity: 1;
		transform: translateY(-30px);
	}
	100%{
		opacity: 1;
		transform: translateY(0px);
	}
}
.timeline-container:nth-child(1){
	animation-delay: 0s;
}
.timeline-container:nth-child(2){
	animation-delay: 2s;
}
.timeline-container:nth-child(3){
	animation-delay: 4s;
}
.timeline-container:nth-child(4){
	animation-delay: 6s;
}
.timeline-container:nth-child(5){
	animation-delay: 8s;
}
.left-container{
	left: 0%;
}
.right-container{
	left: 50%;
}
.timeline::after{
	content: '';
	position: absolute;
	width: 5px;
	height: 100%;
	background-color: #F6955C;
	top: 0;
	left: 50%;
	z-index: 0;
	margin-left: -3px;
	animation: timefeels 5s linear forwards;

}
.timeline-container .dot-timeline {
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: #F6955C;
	border-radius: 100%;
	top: 30px;
	right: -20px;
	z-index: 5;

}
.right-container .dot-timeline{
	left: -22px;
}



@keyframes timefeels {
	0% {
		height: 0;
	}
	100% {
		height: 100%;
	}
}

/************ FOOTER ************/
footer{
	background-color: #F6955C;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 30px;
	width: 100%;
	margin: 0;
}
footer .icon {
	color: #fbd4bd;
}
.copyright {
	padding: 20px 0 0 0;

}
/* VERSION MOBILE */

@media screen and (max-width: 650px) {

	p {
		font-size: 0.75em;
	}
	/************ HEADER ************/
	header {
		display: flex;
		flex-direction: row;
		justify-content: center;
		z-index: 1;
	}
	.logo-cv{
		width: 100%;
		padding-left: 20px;
	}
	nav ul {
		position: fixed;
		right: -100%;
		top: 65px;
		flex-direction: column;
		background: #fbd4bd;
		width: 100%;
		height: auto;
		text-align: center;
		transition: 0.25s;
	}
	nav li {
		padding: 3px 0;
	}
	nav li:hover {
		background: #fbd4bd;
	}
	nav.active ul {
		left: 0;
	}
	nav ul li {
		padding: 30px 20px;
	}
	#icons {
		display: block;
	}
	#icons:before {
		content: "\2630";
	}
	.active #icons:before {
		content: "\2715";
	}

	/************ HERO ZONE ************/

	.hero {
		display: flex;
		flex-direction: column;
	}
	.photo-cv {
		width: 100%;
	}
	.download {
		width: 60%;
	}

	/************ PROFIL ZONE ************/

	#profil {
		background-repeat: no-repeat;

	}

	/************ SKILLS ZONE ************/
	.skills-row {
		display: flex;
		flex-direction: column;
	}
	.skills-value {
		padding: 10px;
	}

	/************ XP ZONE ************/

	.timeline-container {
		width: 100%;
	}
	.right-container{
		left: 0%;
	}
	.timeline::after{
		left: 20px;
	}
	.left-container .dot-timeline{
		left: -25px;
	}

}


/* VERSION TABLETTE (détails) */

@media screen and (max-width: 770px) {
	#profil,
	#skills,
	#education,
	#experiences {
		padding: 50px 0;
	}
	.profil {
		width: 75%;
	}
	/************ EDUCATION ZONE ************/
	#education {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	.education {
		width: 100%;
	}
	/************ XP ZONE ************/
	.timeline-container i {
		width: 15%;
		padding: 20PX;
	}
	.right-container i{
		left: -25px;
	}

}
