/**********************

       RESET CSS

**********************/
@import url(https://themes.googleusercontent.com/fonts/css?kit=DsLzC9scoPnrGiwYYMQXpqalDy6nPn7ZlY4xGBxwHUAOkSqB1aV2MllEj85YEZr3BuLRi0Hbq4n4oP1uRQSOmxdN1r4qCJ7p8bxx6eDvdD_3rGVtsTkPsbDajuO5ueQw);

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
h2 {font-family:"Roboto Mono";color:#247f93;font-weight:400}
h3 {color:#247f93;font-weight:900;margin-bottom: 0.7rem;padding-top: 1.5rem;}
h4 {color:var(--texte);padding-bottom: .7rem;margin-bottom: .7rem;border-bottom: 1px solid #cecece;}
a {color:var(--bleu)}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
strong, b {
    font-weight: 600; /* or 800, or 900 for even bolder */
}
body {
    line-height: 1;
    background: #fff;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
/*table {*/
/*    border-collapse: collapse;*/
/*    border-spacing: 0;*/
/*}*/
/**********************

   TABLE STYLES

**********************/

/* 2-column table layout */
table {
    width: 100%;
    margin-bottom: 5px;
}

table td {
    vertical-align: top;
    font-size: 14px;
    line-height: 1.4;
    padding-bottom: 8px;
}

/* First column - typically for images or icons */
table td:first-child {
    width: 1rem;
    text-align: center;
    vertical-align: middle;
}

/* Second column - for text content */
table td:nth-child(2) {
    padding-left: 20px;
    color: var(--texte);
}

/* Image alignment in tables */
table td img {
    max-width: 1rem;
    height: auto;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

/* Text alignment with images */
table td:nth-child(2) p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

table td:nth-child(2) strong {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}




/**********************

   Variable et Class

**********************/

:root {
    --grisC: #cacaca;
    --gris7: #8a8a8a;
    --border: #aaa;
    --bleu: #247f93;
    --lightBlue: rgba(36, 127, 147, 0.71);
    --texte: #555;
    --bgNoir: #111;
}

.container {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;

}
header .container {
    color: #fff;
}
section .container {
    margin: 50px auto;
    width: 80%;
}

.noBorder {
    border: none !important;
}

.top10 {
    margin-top: 10px;
}

/**********************

          CV

**********************/

html {
    background: var(--grisC);
    min-width: 100vw;
    min-height: 100vh;
    font-family: Arial;
}

body {
    border: 1px solid var(--border);
    background: #fff;
    width: 90%;
    max-width: 80rem;
    min-height: calc(90vh - 2px);
    margin: 5vh auto;
    border-radius: 5px;
    box-shadow: 0px 5px 50px var(--gris7);
}

header {
    background: var(--lightBlue);
    height: 150px;
    color: #fff;
}

header ul {
    display: grid;
    grid-template-columns: 2fr 5fr;
}

header ul li {
    font-family: 'Roboto Mono';
    color: white;
    font-size: 1.5rem;
    height: 150px;
    padding: 40px 0 20px 60px;
    line-height: 1.5;
}

.bullet {
    padding-top:.5rem;
    list-style: circle;
}

ul.bullet, ol.bullet {
    list-style-type: circle; /* or 'circle' for hollow bullets */
    margin-left: 1.5rem;
}

ul.bullet li, ol.bullet li {
    line-height: 1.4;
    color: var(--texte);
}


header ul li:first-child {
    background: var(--bleu);
    color: #fff;
    height: 110px;
}

header ul li #prenom, header ul li #nom {
    display: block;
    font-size: 28px;
    line-height: 1.25;
    text-transform: uppercase;
}

header ul li #nom {
    font-weight: bold;
    font-size: 30px;
}

main {
    display: grid;
    grid-template-columns: 2fr 5fr;
}

aside {
    background: #e5eaeb;
    min-height: calc(100vh - 150px);
    padding:0 10%;
}

aside img {
    width: 100%;
    margin: 60px auto 60px;
    display: block;
}

aside h2, section article h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

aside p {
    color: var(--texte);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #cecece;
    line-height: 1.4;
}

section article {
    border-top: 1px solid var(--bleu);
    margin-bottom: 50px;
}

section article h2 {
    width: auto;
    background: #fff;
    border-right: 1px solid var(--bleu);
    position: relative;
    top: -10px;
    display: inline-block;
    padding-right: 10px;
}

section article p {
    color: var(--texte);
    line-height: 1.5;
}

section article li.exp {
    /*display: grid;*/
    color: var(--texte);
    grid-template-columns: 105px auto;
    margin-bottom: 20px;
}

section article li span.periode {
    border-right: 1px solid var(--border);
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section article li.exp p.desc {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--texte);
}

section article li.exp p.desc strong {
    font-weight: bold;
}


section article li.diploma {
    display: grid;
    grid-template-columns: 105px auto;
    margin-bottom: 20px;
}

section article li.diploma span.periode {
    border-right: 1px solid var(--border);
    color: var(--texte);
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section article li.diploma span.desc {
    padding-left: 20px;
    line-height: 1.4;
    color: var(--texte);
}

section article li.diploma span.desc strong {
    font-weight: bold;
}



footer {
    background: var(--lightBlue);
    height: 50px;
}

footer ul {
    display: grid;
    grid-template-columns: 2fr 5fr;
}

footer ul li:first-child {
    background: var(--bleu);

    height: 50px;
}

footer ul li:nth-child(2) img {
    height: 14px;
    position: relative;
    top: 3px;
}

footer ul li:nth-child(2) {
    display: block;
    text-align: center;
    width: 100%;
    height: 35px;
    padding-top: 15px;
}

footer ul li:nth-child(2) a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
}

footer ul li:nth-child(2) a:hover {
    text-decoration: underline;
}

/**********************

     MEDIA QUERY

**********************/


@media (max-width: 750px) {

    body {
        width: 98%;
        margin: 1vh auto;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
    header {
        height: auto;
    }
    header ul {
        grid-template-columns: 1fr;
    }
    header ul li:first-child {
        height: auto;
        padding: 20px 0;
    }
    header ul li:nth-child(2) {
        padding-left: 0%;
        padding-top: 30px;
    }
    header ul li:nth-child(3) {
        padding: 10px 0%;
    }
    header ul li:nth-child(4) {
        padding-bottom: 30px;
        padding-left: 0%;
    }
    header ul li {
        height: auto;
        padding: 20px 0;
        text-align: center;
    }
    aside {
        text-align: center;
    }
    aside img {
        max-width: 200px;
    }
    main {
        grid-template-columns: 1fr;
    }
    section article, section article h2 {
        border: none;
    }
    section article li.exp {
        grid-template-columns: 85px auto;
    }
    section article li span.periode {
        font-size: 12px;
    }
    footer ul {
        grid-template-columns: 0fr 1fr;
    }
}