html, body {
    background: rgb(34, 131, 187);
}

@media (prefers-color-scheme: dark) {
    html, body {
        background: #102f42;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 13px;

    width: 100%;
    display: inline-block;
    position: relative;

    padding: 0;
    margin: 0;

    color: #fff;
}

/* body::before {
    content: "";
    background: linear-gradient(135deg,#1e5799,#73d6b0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
} */

/* Header */
header {
    text-align: center;
    padding: 40px 0;
    position: relative;
    
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

header h1 {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: normal;

    font-size: 54px;
}

header h2 {
    font-size: 20px;
    margin: 0;
    opacity: 0.5;
    text-transform: uppercase;
    font-weight: 500;
}

header a {
    padding: 5px;
    margin: 5px;

    text-decoration: none;
    font-weight: 600;
    color: rgb(255, 196, 0);
    transition: color 0.25s, border 0.25s;
    border-bottom: 1px solid rgba(255, 196, 0, 0);
}

header a:hover {
    border-color: rgba(255, 196, 0, 1);
}

header .links {
    margin-top: 10px;
    display: flex;
    justify-content: center;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .links ul {
    padding: 0;
    list-style: none;
}

header .links ul li {
    padding: 0;
    display: inline-block;
}

header .break {
    white-space: nowrap;
    overflow: hidden;
}

header hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
}


/* Sections */

section {
    width: 100%;
    display: inline-block;
    position: relative;
}

section.opaque {
    background: #fff;
    color: #000;
}

section .inner-container {
    width: 100%;
    max-width: 800px;

    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
    section.opaque {
        background: #111;
        color: #fff;
    }
}





/*  */

h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

h2 {
    margin: 0;
}


h3 {
    position: relative;
    text-align: left;
    margin: 0 0 5px;

    font-weight: 600;
    opacity: 0.8;
    font-size: 16px;
}

.opaque h3 {
    color: #1983df;
    opacity: 1;
}


h3 span.light {
    font-weight: 400;
    margin-left: 5px;
    margin-right: 5px;
    font-style: italic;
    opacity: 0.8;
}

ul.resume-list {
    padding: 0;
    list-style: none;
}

ul.resume-list li.resume-list-item {
    display: block;
    position: relative;
    padding: 10px;
    padding-left: 30px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

ul.resume-list > a {
    color: currentColor;
    text-decoration: none;
}


ul.resume-list a li.resume-list-item {
    position: relative;
    z-index: 1;
}

ul.resume-list a li.resume-list-item::before {
    content: "";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    display: inline-block;
    position: absolute;
    background: rgba(255, 255, 255, .1);

    top: -10px;
    left: -10px;
    border-radius: 10px;

    z-index: -1;

    opacity: 0;
    transition: opacity 0.25s;
}

ul.resume-list a:hover li.resume-list-item::before {
    opacity: 0.5;
}

ul.resume-list li.resume-list-item h2 {
    position: relative;
    text-align: left;
    font-size: 16px;
    margin: 0 0 5px;
    font-weight: bold;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.opaque ul.resume-list li.resume-list-item h2 {
    color: #283947;
}

@media (prefers-color-scheme: dark) {
    .opaque ul.resume-list li.resume-list-item h2 {
        color: #bccfdf;
    }
}

ul.resume-list li.resume-list-item h2::after {
    content: "";
    position: absolute;
    display: inline-block;
    height: 15px;
    width: 15px;
    background: #ccc;

    top: 4px;
    left: -26px;
    border-radius: 50%;

    z-index: 10;
}

ul.resume-list li.resume-list-item.white h2::after {
    background: #fff;
}

ul.resume-list li.resume-list-item.red h2::after {
    background: #f00;
}

ul.resume-list li.resume-list-item.blue h2::after {
    background: #08f;
}

ul.resume-list li.resume-list-item.orange h2::after {
    background: #f80;
}

ul.resume-list a li.resume-list-item .more {
    font-size: 14px;
    display: inline-block;
    opacity: 0.5;
    padding-left: 10px;
    white-space: nowrap;
    transition: opacity 1s;
}

ul.resume-list a:hover li.resume-list-item .more {
    opacity: 1;
}

ul.resume-list li.resume-list-item a {
    text-decoration: none;
    font-weight: 600;
    color: rgb(255, 196, 0);
    border-bottom: 2px solid rgba(255, 196, 0, 0.2);
    
    transition: color 0.25s, border 0.25s;
}

ul.resume-list li.resume-list-item a:hover {
    border-color: rgba(255, 196, 0, 1);
}


ul.tag-list {
    padding: 0;
    list-style: none;   
     
    margin: 0;
    margin-bottom: 10px;
}

ul.tag-list li.tag-list-item {
    position: relative;
    display: inline-block;
    padding: 5px;
    background: rgba(0, 0, 0, .2);
    margin: 5px 6px 5px 0;
    border-radius: 3px;
}

.opaque ul.tag-list li.tag-list-item {
    background: #eee;
}

@media (prefers-color-scheme: dark) {
    .opaque ul.tag-list li.tag-list-item {
        background: rgba(255, 255, 255, .1);
    }
}

ul.resume-detail-list {
    list-style: none;
    padding: 0;
}

ul.resume-detail-list li.resume-detail-list-item { 
    position: relative;
    margin-bottom: 5px;
    word-spacing: .1em;
    line-height: 1.5em;
}

ul.resume-detail-list li.resume-detail-list-item::after { 
    content: "";
    position: absolute;
    display: inline-block;
    height: 9px;
    width: 9px;
    background: #ccc;
    top: 7px;
    left: -23px;
    border-radius: 50%;
    z-index: 10;
}

.hiding-timeline-button {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.hiding-timeline-button button {
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.25s, background-color 0.25s, border 0.25s;
    
    background: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .1);

    cursor: pointer;
}

.hiding-timeline-button button:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 1px solid transparent;
}

@media (prefers-color-scheme: light) {
    .opaque .hiding-timeline-button button {
        background: rgba(0, 0, 0, 0);
        color: rgba(0, 0, 0, .6);
        border: 1px solid rgba(0, 0, 0, .1);
    }
    
    .opaque .hiding-timeline-button button:hover {
        background: rgba(0, 0, 0, .1);
        color: #000;
        border: 1px solid transparent;
    }
}

/* Articles */

.article .type {
    line-height: 1.5em;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;

    margin-top: 10px;
    text-rendering: optimizeLegibility;
}

.article section a {
    color: #d3e7ff;
}

.article section .type a {
    color: #4c77a8;
}

@media (prefers-color-scheme: dark) {
    .article section a, .article section .type a {
        color: #7cace2;
    }
}

.article section li {
    margin-bottom: 20px;
}

.article section .img {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 40px;
}

.article section .img img {
    max-width: calc(100vw - 40px);
    image-rendering: optimizeQuality;
    box-shadow: 0px 8px 16px 1px rgba(0, 0, 0, .2);
}

.article section .img span {
    line-height: 1.2em;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 14px;
    opacity: 0.8;

    padding: 10px;
    text-rendering: optimizeLegibility;
    max-width: 400px;
}

.article .well {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(84, 141, 187, 0.2);
}

.article .well h1.type {
    font-size: 1.5em;
    border-bottom: 2px solid currentColor;
    color: rgb(41, 73, 112);
    width: 100%;
    padding-right: 20px;
}

@media (prefers-color-scheme: dark) {
    .article .well {
        background: rgba(82, 177, 255, 0.1);
    }

    .article .well h1.type {
        color: rgb(154, 201, 255);
    }
}

.article section .section-header {
    padding: 20px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.article section .section-header .type {
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.article section .section-header .type.small {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-style: italic;
}

.article section .section-header h2.type {
    font-size: 24px;
}