:root {
    --bg: #ffffff;
    --text: #000000;
    --accent: #006699;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 85%;
}

body {
    font-family: system-ui, sans-serif;
    background: var(--bg, white);
    color: var(--text, black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

.section {
    padding: 1rem 0;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    list-style-position: inside;
    justify-content: center;
    list-style-type: none;
    margin: 0 auto;
}

#intro {
    justify-content: center;
    width: 35%;
    margin: 0 auto;
}

#intro h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.linkedin {
    vertical-align: text-bottom;
    width: 1rem;
    height: 1rem;
}

h1, h2, h3, .jobPlace {
    color: var(--accent);
}

.jobPlace,
.degree {
    font-weight: bold;
    margin-top: 1rem;
}

.jobTitle,
.degreeLoc,
.patentYear {
    font-style: italic;
}
.jobSkills {
    margin-left: 3rem;
}

/* Inserts a bullet point character with spaces between consecutive list items */
span + span::before {
    content: " • ";
}

.patentName,
.patentYear {
    display: inline;
}

.patentYear::before {
    content: " - ";
}

@media print {
    .reveal {
        opacity: 1;
    }

    .keep-together {
        break-inside: avoid;
    }
}
