/* Fond gris autour du CV */
html {
    background-color: #e6e9ed;
}


/* La page du CV, découpée en 3 zones */
body {
    max-width: 900px;
    margin: 30px auto;
    background-color: white;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    color: #333;
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
        "gauche haut"
        "gauche contenu";
}


/* Zone du haut : le nom et le poste */
header {
    grid-area: haut;
    padding: 40px 40px 0;
}

h1 {
    font-size: 46px;
    font-weight: normal;
    color: #1f4a45;
    margin: 0;
}

header p {
    text-transform: uppercase;
    letter-spacing: 6px;
}


/* Colonne de gauche */
aside {
    grid-area: gauche;
    background-color: #1f4a45;
    color: white;
    text-align: center;
    padding: 30px 25px;
}

aside ul {
    list-style: none;
    padding: 0;
}


/* Photo ronde */
img {
    width: 160px;
    border: 5px solid white;
    border-radius: 50%;
}


/* Partie principale */
main {
    grid-area: contenu;
    padding: 0 40px 40px;
}


/* Titres des parties */
h2 {
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    border-bottom: 3px solid #1f4a45;
    padding-bottom: 5px;
    margin-top: 35px;
}

aside h2 {
    border-bottom-color: white;
}


/* Titres des expériences, projets et diplômes */
h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}


/* Textes */
p {
    margin: 5px 0;
}

li {
    margin-bottom: 4px;
}

strong {
    color: #1f4a45;
}
