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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
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;
}

:root {
    --grisC: #cacaca;
    --gris7: #8a8a8a;
    --border: #aaa;
    --bleu: #068ec6;
    --texte: #555;
    --bgNoir: #111;
}

.container {
    margin: 0 auto;
}

section .container {
    margin: 50px auto;
    width: 90%;
}

.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: 1000px;
    min-height: calc(90vh - 2px);
    margin: 5vh auto;
    border-radius: 5px;
    box-shadow: 0px 5px 50px var(--gris7);
}

header {
    background: var(--bgNoir);
    height: 150px;
    color: #fff;
}

header ul {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1.5fr;
}

header ul li.infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: span 3;
  padding: 20px;
  color: #aaa;
  font-size: 15px;
  line-height: 1.5;
  background: var(--bgNoir);
  align-items: center;
  justify-items: center
}

header ul li.infos .colonne {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

header ul li.infos p strong {
  display: inline-block;
  color: #eee;
  text-transform: uppercase;
  font-size: 12px;
  margin-right: 5px;
}

header ul li.infos a {
  color: #0AAADB;
  text-decoration: none;
}

header ul li.infos a:hover {
  text-decoration: underline;
}

header ul li:first-child {
    background: #0B5E8D;
    color: #fff;
    height: 110px;
    padding: 40px 16% 0 16%;
}

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: 80%;
    margin: 20px auto 20px;
    display: block;
    border-radius: 50%;
}

aside h2, section article h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

aside p {
    color: #564A49;
    line-height: 1.4;
}

section article {
    margin-bottom: 50px;
}

.article {
    border-top: 1px solid #cecece;
}

section article h2 {
    width: auto;
    background: #fff;
    border-right: 1px solid #cecece;
    position: relative;
    top: -10px;
    display: inline-block;
    padding-right: 10px;
}

section article p {
    color: var(--texte);
    line-height: 1.2;
}

section article li.exp {
    display: grid;
    grid-template-columns: 105px auto;
    margin-bottom: 5px;
}

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 span.desc {
    padding-left: 20px;
    line-height: 1.4;
    color: var(--texte);
}

section article li.exp span.desc strong {
    font-weight: bold;   
}

footer {
    background: var(--bgNoir);
    height: 50px;
}

footer ul {
    display: grid;
    grid-template-columns: 2fr 5fr;
}

footer ul li:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #444;
  height: 50px;
}


.telecharger-btn {
  display: inline-block;
  padding: 10px;
  width: auto;
  color: #000;
  background-color: #0AAADB;
  border-radius: 5px;
  text-decoration: none;
}

.telecharger-btn:hover {
  background-color: #046fac;
  color: #fff;
  cursor: pointer;
  transform: scale(1.01);
}

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: #9E9E96;
    text-decoration: none;
    font-size: 12px;
}

footer ul li:nth-child(2) a:hover {
    text-decoration: underline;
}

/* --- Expériences --- */
section article ul.top10 li.exp {
  display: grid;
  grid-template-columns: 160px auto;
  align-items: stretch;
  margin-bottom: 15px;
  position: relative;
}

.col-gauche {
  position: relative;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
  line-height: 1.4;
  color: var(--texte);
}

.col-droite {
  padding-left: 20px;
  color: var(--texte);
}

.col-gauche .lieu {
    font-weight: bold;
}

.col-gauche::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: var(--border);
}

.col-droite {
    padding-left: 10px;
    color: var(--texte);
}

.col-droite .titre {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

ul.taches {
    font-size: 13px;
    line-height: 1.4;
    list-style-type: disc;
    margin-left: 20px;
}

ul.taches li {
    margin-bottom: 3px;
}

aside .logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

aside p {
  font-size: 15px;
}

aside .logos img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 0;
  margin: 15px auto 15px;
}

aside .logos article {
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center;
}

.competence {
    margin-top: 35px;
}

.interest {
    margin-top: 50px;
}

.interest p {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    margin: 10px;
    flex-direction: column;
    align-items: flex-start;
}

.presentation{
    font-size: 14px;
}

.title{
    display: flex;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

.title-texte{
    border-right:none;
    color: #0B5E8D;
    font-size: 25px;
}

.mobile-title {
    display: none;
    color: #fff;
    font-size: 18px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {

    header ul li:first-child {
        text-align: center;
    }
    header ul li {
        font-size: 13px;
    }
    header ul li strong {
        font-size: 14px;
    }
    
    aside .logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .competence {
        margin-top: 25px;
    }

    .interest {
        margin-top: 25px;
    }

    .interest p {
        gap: 8px;
    }

    aside p{
        line-height: 1;
    }

    header ul li #prenom,
    header ul li #nom {
        display: inline;
        margin-left: 5px;
        margin-right: 5px;
    }

    header ul li:first-child {
        text-align: center;
    }
}


@media (max-width: 850px) {
    
    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: 300px;
    }
    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;
    }

    aside img {
        width: 150px;
        margin: 20px auto;
    }

    aside .competence {
        margin-top: 40px;
    }

    aside .logos {
        display: flex;
        justify-content: center;
        flex-direction: row;
        margin-top: 10px;
        gap: 35px;
    }

    aside .logos img {
        width: 25px;
        height: 25px;
        margin: 5px auto;
        
    }

    aside .logos article p {
        font-size: 13px;
    }

    .interest {
        margin-top: 40px;
    }

    .interest p {
        display: flex;
        justify-content: center;
        gap: 20px;
        text-align: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
        flex-direction: row;
    }

    .interest p span {
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 14px;
        color: #333;
    }


    .telecharger-btn {
        padding: 10px;
        width: 150px;
        margin: 10px;
        color: #000;
        background-color: #0AAADB;
        border-radius: 5px;
        text-decoration: none;
        text-align: center;
    }

    .telecharger-btn:hover {
        background-color: #046fac;
        color: #fff;
        cursor: pointer;
        transform: scale(1.01);
    }

    .mobile-title {
        display: block;
        text-align: center;
        font-size: 16px;
    }

    .title {
        display: none;
    }
}

@media (max-width: 630px) {
    
    body {
        width: 98%;
        margin: 1vh auto;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
  header ul li.infos {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  header ul li.infos .colonne {
    align-items: center;
  }
    aside {
        text-align: center;
    }
    aside img {
        max-width: 300px;
    }
    section article, section article h2 {
        border: none;
    }
    section article li span.periode {
        font-size: 12px;
    }
    footer ul {
        grid-template-columns: 0fr 1fr;
    }
}

@media (max-width: 550px) {
  section article ul.top10 li.exp {
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: start;
    
  }

  .col-gauche {
    font-size: 12px;
    padding-right: 10px;
    text-align: right;    
  }

  .col-droite {
    font-size: 13px;
    padding-left: 15px;
    border-left: 1px solid var(--border);
  }

  .col-gauche::after {
    right: 0;
  }

  .col-droite .titre {
    font-size: 14px;
    line-height: 1.3;
  }

  .taches li {
    font-size: 13px;
    line-height: 1.4;
  }

   .col-gauche::after {
    content: none;
  }

  aside .logos {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 10px;
    gap:15px
  }
}
