@font-face {
    font-family: 'gontserratregular';
    src: url('gontserrat-regular-webfont.woff2') format('woff2'),
    url('gontserrat-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'montserratlight';
    src: url('gontserrat-light-webfont.woff2') format('woff2'),
    url('gontserrat-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    font-size: 14px;
    box-sizing: border-box;
}

ul {
    line-height: 1.2em;
    break-inside: avoid;
}

ul li {
    margin-bottom: 8px;
    break-inside: avoid;
}

ul.skills-soft {
    list-style-type: circle;
}

ul li span {
    border: 1px black solid;
    padding: 2px 3px;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'montserratlight', sans-serif;
    line-height: 1.5em;
    font-size: 1rem;
}

a {
    color: black;
}

.print-only {
    display: none;
}

@media print {
    .print-only {
        display: revert;
    }
    .dont-print {
        display: none;
    }
}

hr {
    border: none;
    border-top: 1px black solid;
}

article {
    display: flex;
    flex-direction: column-reverse;
    max-width: 900px;
    margin: 0 auto;
}

@media screen and (min-width: 600px) {
    article {
        display: grid;
        grid-template-columns: 205px 1fr;
        /*grid-template-rows: 1fr;*/
        gap: 0;
    }
}

section.contact div {
    padding-left: 10px;
}

section.contact div:first-child {
    padding-left: 0;
    margin-top: -5px;
}

section > div {
    padding: 2px 10px;
}

h1 {
    font-size: 2.5em;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'gontserratregular', sans-serif;
    break-after: avoid;
}

h2 {
    font-size: 1.5em;
    break-after: avoid;
}

h3 {
    font-size: 1.2em;
    break-after: avoid;
}

.contact {
    background: #1d2031;
    color: white;
}

.contact a {
    color: white;
}

@media print {
    .contact {
        break-inside: avoid;
        background-color: white;
        color: black;
    }
    .contact a {
        color: black;
    }
}

.profile {
    background-color: #959394;
    color: white;
    padding-top: 2em;
}

@media print {
    .profile {
        background-color: white;
        color: black;
    }
}

small {
    line-height: 1em;
}

ul.three-columns {
    line-height: 1em;
    columns: 2;
}

@media screen and (min-width: 600px) {
    ul.three-columns {
        columns: 3;
    }
}

@media print {
    ul.three-columns {
        columns: 3;
    }
}

section > div.photo {
    padding: 0;
    display: none;
}

@media screen and (min-width: 600px) {
    section > div.photo {
        display: block;
    }
}

@media print {
    section > div.photo {
        float: right;
        display: block;
    }
}

.dont-break {
    white-space: nowrap;
}

.indent {
    padding-left: 12px;
    border-left: 10px lightgrey solid;
    margin-bottom: 10px;
}

@media print {
    .indent {
        break-inside: avoid;
    }
}

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

.language-change a {
    text-decoration: none;
    font-size: 0.8em;
    color: #666;
    text-transform: uppercase;
}

.language-change svg {
    height: 12px;
}
