
/* Header */


header{
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    height: 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(35, 39, 84, 0.4);
}
.logo{
    height: 60px;
}
main{
    margin-right: 5vw;
    margin-left: 5vw;
}
header a{
    text-decoration: none;
    color: #232754;
}


/* Corps */

  
body{
    background-color: #f0f0f0;
    font-family: 'outfit', sans-serif;
    font-weight : 300;
    padding: 0;
    color: #232754;
}
main{
    width: 90vw;
    max-width: 1000px;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}
h2, h3, h4, strong{
    font-family: 'outfit', sans-serif;
    font-weight: 700;
    color: #232754;
}
body h1{
    font-weight: 800;
}
main a{
    font-style: italic;
    font-weight: 200;
    color: #232754;
}

/*Bandeau*/

.bandeau{
    background-color: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(35, 39, 84, 0.2);
    padding-top: 70px;
    text-align: center;
    font-size: 0.8em;
    font-weight: 200;
    width: 100%;
}
.bandeau a{
    font-style: italic;
    font-weight: 200;
    color: #232754;
}

/* Titre */


.description{
    display: flex;
    flex-direction: column;
    align-items: left;
}
.titre{
    display: inline-flex;
    align-items: baseline;
    margin-top: 2vh;
}
.etiquettes{
    display: inline-flex;
    align-items: baseline;
}
.description h2{
    font-weight: 700;
    line-height: 0.3;
    margin-bottom: 0.2vh;
}
.description h3{
    font-weight: 650;
    line-height: 0.3;
    margin-bottom: 0.2vh;
    margin-left: 30px;
}
.etiquettes h4{
    font-weight: 600;
    line-height: 0.3;
    margin-bottom: 3vh;
    margin-right: 18px;
}

/*CV*/

.en-tete{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.en-tete-gauche {
    width: 30%
}
.en-tete img{
    width: 100%
}
.en-tete-droite{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 2vw;
    width: 70%
}
.en-tete h1{
    font-size: 5vw;
    margin-bottom: 0px;
    line-height: 5vw;
}
.en-tete h2{
    font-weight: 200;
    font-size: 2vw;
    line-height: 2vw;
    margin-top: 0px;
    margin-bottom: 10%
}
.experiences{
    display: flex;
    flex-direction: row;
    margin-top: 2vh;    
}
.experiences-gauche{
    width: 60%;
    padding-right: 4vw;
}
.experiences-droite{
    width: 40%;
}
.categories{
    border-bottom: #232754 1px solid;
}

/* Contenu */



.presentation img{
    max-width: 40vw;
    max-height: 70vh;
    float: left;
    padding-right: 2vw;
}
.presentation img:hover {
    transform: scale(1.02);
}
.presentation p{
    text-align: justify;
}
.galerie{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    object-fit: cover;
    align-items: center;
    clear: both;
}
.galerie img{
    width: 95%;
    max-height: 50vh;
    object-fit: cover;
    padding: 5%;
}
.galerie img:hover {
    transform: scale(1.03);
}
.presentation a{
    color: #232754;
}


/* Liseuse */


.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: #232754;
}

/* Pied de page*/

footer{
    margin-left: -7px;
    margin-right: -7px;
    margin-bottom: -7px;
    background-color: rgb(35, 39, 84);
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
footer p{
    font-weight: 200;
    font-size: 0.8em;
    color: white;
}
footer a{
    color: white;
    text-decoration: none;
}
.logo-blanc{
    height: 50px;
    margin-left: 5vw;
}
.logo-reseaux{
    height: 20px;
    width: 20px;
    margin-right: 30px;
}

/*Effet fondu*/

main img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
main img.visible{
    opacity: 1;
    transform: translateY(0);
}
main img.once-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bordures 


section{
    border: 3px solid rgb(255, 2, 2);
}
div{
    border: 3px solid rgb(0, 231, 23);
}
H1, h2, h3, h4{
    border: 3px solid rgb(62, 0, 231);
}
p{
    border: 3px solid rgba(231, 212, 0);
}

*/