* {
    font-family: calibri, sans-serif;
}

/* Début du header */

header {
    border-bottom: 3px solid #15616D;
    padding: 15px;
    width: 80%;
    min-width: 500px;
    margin: auto;
}

header>div {
    width: -moz-fit-content;
    width: fit-content;
    display: flex;
    margin: auto;
}

#photo-profil {
    width: 99px;
    height: 126px;
    margin-right: 60px;
}

#nom-prenom {
    font-family: 'Arial Narrow', arial, Helvetica, sans-serif;
    font-size: 48px;
    color: #15616D;
    margin: 24px 0px 0px 0px;
}

#sous-titre {
    color: #3E6D89;
    font-size: 24px;
    margin: 0px;
}


/* Fin du header */


main {
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
    display: grid;
    grid-template-columns: 350px 2px 400px;
    gap: 20px;
}


#separation {
    width: 2px;
    margin-top: 30px;
    margin-bottom: 30px;
    background: #B2B2B2;
}

section {
    font-size: 18px;
    padding: 10px 20px;
}

section:not(:first-child) h1 {
    margin-top: 10px;
}

section .titre-section {
    font-weight: bold;
    text-align: center;
}

li {
    list-style-type: none;
}

#competences li:not(:last-child),
#hobby li:not(:last-child) {
    margin-bottom: 15px;
}

ul {
    padding: 0;
}

.annee {
    color: #15616D;
    font-size: 0.8em;
    font-weight: 600;
}

.lieu {
    color: #808080;
    font-style: italic;
    font-weight: normal;
    font-size: 1em;
    margin: 0px;
}

.intitule {
    margin: 0px;
    font-size: 1.1em;
}

.espace-entre>li:not(:last-child) {
    margin-bottom: 20px;
}

.full-maj {
    text-transform: uppercase;
}

#info-perso li {
    background-repeat: no-repeat;
    line-height: 40px;
    padding-left: 40px;
}

#info-perso li#anniversaire {
    background-image: url("../images/anniversaire.png");
}

#info-perso li#permis {
    background-image: url("../images/permis.png");
}

#info-perso li#email {
    background-image: url("../images/email.png");
}

#info-perso li#telephone {
    background-image: url("../images/telephone.png");
}

#info-perso li#localisation {
    background-image: url("../images/localisation.png");
}

#info-perso li#site-web {
    background-image: url("../images/site-web.png");
}

#info-perso li#linkedin {
    background-image: url("../images/linkedin.png");
}

a {
    color: #222;
}

ul.avec-tiret li {
    list-style: "- ";

}

.indentation {
    padding-left: 10px;
}

@media screen and (min-device-width : 320px) and (max-device-width : 480px) {
    header {
        width: 100%;
        padding: 0px;
        min-width: 0px;
    }

    .image-wrapper {
        display: inline-block;
        height: -moz-fit-content;
        height: fit-content;
        margin: auto;
    }

    #photo-profil {
        margin-right: 20px;
    }

    #nom-prenom {
        font-size: 32px;
    }

    #sous-titre {
        font-size: 22px;
    }

    #separation {
        display: none;
    }

    main {
        display: block;
        margin: auto;
    }

    section {
        padding: 10px;
    }
}