:root {
    --green-font-color: #8c9923;
    --dark-grey: #333333;
}

/* quicksand-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    src: url('../font/quicksand-v31-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    src: url('../font/instrument-serif-v4-latin-regular.woff2') format('woff2');
}

@media print {
    @page {
        margin: 1cm 0;
    }
    section#page {
        top:0;
        margin:0;
        padding-top:0;
    }
}

@media screen {
    body {
        height: 100%;
        background: #d4d4d7;
    }
    section#page {
        box-shadow: 0 0 10px #666666;
        box-sizing: border-box;
        top: 40px;
        margin:40px auto;
    }
}

@media screen and (min-width: 30cm) {
  section#page {
        transform: scale(1.5);
        transform-origin: top center;
  }
}

@media screen and (max-width: 1000px) {
  section#page {
    top: 0;
    margin:0 auto;
    width: 95%;
  }
}

body {
    margin: 0;
}

h1, h2 {
    font-weight: normal;
    font-family: "Instrument Serif", serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin:0;
    margin-bottom: 2pt;
}

h1 {
    font-size: 20pt;
    font-variant-caps: small-caps;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b {
    color: var(--green-font-color);
}

.grid-2-columns {
    display: grid;
    grid-template-columns: 1fr 1fr
}

ul.list-ti-prompt, ul.list-ti-prompt li {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.list-ti-prompt li {
    margin: 2pt;
}

ul.list-ti-prompt li:before {
    content: '\eb0f'; /* ti-prompt */
    font-family: 'tabler-icons';
    font-size: 1.1em;
    margin-right: 1pt;
    color: var(--green-font-color);;
}

#page {
    background: white;
    padding: 1cm;
    width: 21cm;
    font-family: "Quicksand", Liberation Sans, sans-serif;
    font-size: 10pt;
    color: var(--dark-grey);
}

#page-footer {
  position: fixed;
  bottom: 5mm;
  text-align: center;
}

#resume-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#resume-header #qr-code {
    display: none;
}


@media screen and (max-width: 800px) {
  .resume-main-infos > *:not(:empty) {
    display: block;
  }
}

@media screen and (min-width: 800px) {
    .resume-main-infos > *:not(:last-child):not(:empty)::after {
        content: " • ";
    }
}

@media print {
    .resume-main-infos > *:not(:last-child):not(:empty)::after {
        content: " • ";
    }

    div#resume-header {
        grid-template-columns: 1fr 3fr 4fr;
    }

    #resume-header img#qr-code {
        display: block;
        vertical-align: text-top;
        height: 2.3cm;
    }
}


#experiences {
    padding-left: 5px;
    position: relative;
}

#experiences::before {
    border-left: 2px solid var(--dark-grey);
    position: absolute;
    top: 0;
    left: 0;
    content: ' ';
    height: 100%;
    transform: translateX(-50%);
    animation: w70 3s ease forwards;
}

@keyframes w70 {
    from { height: 0; }
    to { height: 100%; }
}

.experience {
    position:relative;
    margin-left: 10px;
    break-inside: avoid;
}

.experience:not(:first-child) > .experience-header::before {
    content: " ";
    width: 16px;
    height: 16px;
    background-color: white;
    border: 1px solid var(--green-font-color);
    border-radius: 50%;
    position: absolute;
    left: -24px;
    top: 2px;
}

.experience:not(:last-child) {
    margin-bottom: 10pt;
}

.experience-header {
    border-bottom: 1px solid var(--dark-grey);
    margin-bottom: 2pt
}

.experience-header h3 {
    font-weight: bold;
}

.experience > p {
    text-align: justify;
}

.experience .list-ti-prompt li {
    text-align: justify;
}

#education > div:not(:last-child) {
    margin-bottom: 5pt;
}

#additional-informations {
    display: grid;
    grid-template-columns: 2fr 1fr
}


@media screen and (max-width: 800px) {
    div#additional-informations {
        grid-template-columns: 1fr;
    }

    div#additional-informations > div:first-child {
        margin-bottom: 10pt;
    }

    #languages {
        grid-template-columns: 1fr;        
    }
}

#languages > .language {
    display: flex;
    align-items:center;
}

.flag-language {
    height:10pt;
}

.text-right {
    text-align: right;
}

.font-green {
    color: var(--green-font-color);;
}

span.typying-caret {
  border-right: .05em solid;
  animation: caret 0.8s steps(1) infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}
