body {
    margin: 0;
    padding: 0;
    background-color: black;
}

/* Barre de navigation */
nav { 
    font-family: 'Alice', serif;
    text-transform: uppercase;
    font-weight: bold;
    background-color: ghostwhite;
    width: 100%;
    display: flex;
    align-items: baseline;
    box-shadow: 2px 2px 5px rgba(73, 73, 73, 0.116);
    position: sticky;
    top: 0;
    z-index: 5;
}

.navigation {
    float: left;
    width: 150%;
}

/* Couleur qui apparait en passant la souris sur les éléments de la barre de navigation */
nav :hover {
    color: #d6b615;
}

.contact {
    float: right;
    width: 50%;
    text-align: right;
    font-size: 1.2em;
    margin-right: 1%;
    font-weight: bold;
}

ul li {
    list-style-type: none;
    display: inline-block;
    margin: 5px;
}

li a {
    text-decoration: none;
    color: rgb(35, 1, 36);
}

.clear {
    clear: both;
}

/* Partie correspondant à l'accueil du CV */
.hero {
    background-image: url("images/livrefond.jpg");
    background-color: ghostwhite;
    height: 80vh;
    background-position: center;
    background-size: cover;
    font-family: 'Alice', serif;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    text-align: center;
    position: relative;
    margin-top: -10vh;
    z-index: 0; 
}

/* Titre de l'accueil du CV */
.hero h1 {
    text-transform: uppercase;
    padding-top: 30vh;
    font-size: 3em;
    font-weight: 900;
}

/* Sous titre de l'accueil du CV */
.hero h2 {
font-weight: normal;
font-family: Amatic SC;
}


.hero :before {
    content: "";
    display: block;
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

/* A propos de moi */
.about {
    width: 90%;
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    padding-left: 50px;
    margin-bottom: 2vh;
    margin-top: -2vh;
    background-color: white;
    position: relative;
    z-index: 2;
    height: 40vh;
    font-family: 'Alice', serif;

}

.about section {
    display: block;
    width: 49%;
    float: left;
}

.clear {
    clear: both;
}

.about-images {
    position: relative;
    display: block;
}

.about-images img {
    width: 10%;
    height: auto;
    margin-left: -20px;
    margin-right: auto;
    margin-top: -15px;
    }


.clear {
    clear: both;
}

/* Compétences */
.skills {
    width: 90%;
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    padding-left: 9vh;
    margin-bottom: 4vh;
    margin-top: 5vh;
    background-color: white;
    position: relative;
    z-index: 2;
}

/* Compétences situées à gauche */
.skill-left {
    width: 47%;
    background-color: white;
    float: left;
    margin: 0.5vh;
    padding: 0.5vh;
}

/* Compétences situées à droite */
.skill-right {
    width: 47%;
    background-color: white;
    float: right;
    margin: 0.5vh;
    padding: 0.5vh;
}

/* Noms des compétences */
.skill-label {
    font-family: 'Amatic SC', serif;
    font-size: 20pt;
    text-transform: uppercase;
    font-weight: bold;
}

.clear {
    clear: both;
}

/* Le pourcentage par barre */
@keyframes loader { 
    0% {
        width: 0;
    }

    100% {
		width: 90%;
	}
}

/* Le pourcentage par barre */
@keyframes loader2 {
    0% {
        width: 0;
    }

	100% {
		width: 75%;
	}
}

/* Le pourcentage par barre */
@keyframes loader3 { 
    0% {
        width: 0;
    }

	100% {
		width: 68%;
	}
}

/* Le pourcentage par barre */
@keyframes loader4 {
    0% {
        width: 0;
    }

	100% {
		width: 40%;
	}
}

/* Le pourcentage par barre */
@keyframes loader5 {
    0% {
        width: 0;
    }

	100% {
		width: 80%;
	}
}

/* Le pourcentage par barre */
@keyframes loader6 { 
    0% {
        width: 0;
    }

	100% {
		width: 30%;
	}
}


.progress-bar {
    border-radius: 25vh;
    overflow: hidden;
    width: 100%;
    margin-top: 2vh;
    margin-bottom: 5vh;
}

span {
    display: block;
}

/* Couleur du reste à l'intérieur de la barre */
.bar {
    background: #eeede8;
}

/* Caractéristiques physiques des barres, couleurs/ taille etc... */
.progress {
    animation: loader 1s linear forwards;
    background:#d6b615;
    color: ghostwhite;
    padding: 5px;
    width: 0;
}

.progress2 {
    animation: loader2 1s linear forwards;
    background: #d6b615;
    color: ghostwhite;
    padding: 5px;
    width: 0;
}

.progress3 {
    animation: loader3 1s linear forwards;
    background:#d6b615;
    color: ghostwhite;
    padding: 5px;
    width: 0;
}

.progress4 {
    animation: loader4 1s linear forwards;
    background:#d6b615;
    color: ghostwhite;
    padding: 5px;
    width: 0;
}

.progress5 {
    animation: loader5 1s linear forwards;
    background:#d6b615;
    color: ghostwhite;
    padding: 5px;
    width: 0;
}

.progress6 {
    animation: loader6 1s linear forwards;
    background:#d6b615;
    color: ghostwhite;
    padding: 5px;
    width: 0;
}

/* Expériences profesionnelles */
.past-projects {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: baseline;
    padding-left: 9vh;
    background-color: white;
    margin-top: 5vh;
    font-family: Alice;

}

/* Formation */
.formation {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: baseline;
    padding-left: 9vh;
    background-color: white;
    margin-top: 5vh;
    font-family: 'Alice', serif;

}

/* Loisirs */
.loisirs {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: baseline;
    padding-left: 9vh;
    background-color: white;
    margin-top: 5vh;
    text-align: center;
}


/* Titre des différentes parties du CV */
.section-title {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Alice', serif;
    font-weight: bold;
    font-size: 2em;
    background-color: white;
    width: 40%;
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    position: relative;
    z-index: 2;
    margin-left: -50px;
}

/* Les sous-titres à l'intérieur des différentes catégories */
.soustitre {
    font-family: 'Amatic SC';
    font-size: 20pt;
    color: #d6b615;
}


.data-label {
    font-family: 'Alice', serif;
    font-weight: normal;
    font-size: 1em;
    padding-left: 4vh;
    width: 80%;
}


.element a img {
    display: block;
    float: left;
    width: 32%;
    padding: 0.5vh;
    margin: 0.5vh;
    border-radius: 10%;
}

.element a :hover {
    box-shadow: 10px 10px 25px rgba(73, 73, 73, 0.527);
}

.clear {
    clear: both;
}

.end-contact ul li {
    font-size: 2em;
}

.end-contact {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: baseline;
    padding-left: 9vh;
    background-color: white;
    margin-top: 5vh;
    height: 25vh;
}

.end-list {
    font-size: 3vh;
    display: flex;
    justify-content: space-around;
}

.end-list :hover {
    color: rgb(236, 240, 14);
    box-shadow: 10px 10px 2px rgba(242, 255, 63, 0.1);
}

footer {
    background: white;
    width: 100%;
    height: 10vh;
    margin-top: 5vh;
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
}

.footer-text {
    font-family: 'Alice', serif;
    font-weight: bold;
    color: rgba(114, 114, 114, 0.5);
    text-align: center;
    text-transform: uppercase;
    padding-top: 4vh;
}
