@import url('https://fonts.googleapis.com/css2?family=Andika&family=Fredoka+One&display=swap');

html, body {
    margin: 0;
    padding: 0;
}

body { 
    background: #d5d6db;
    color: #343b58;
    font: 20px/1.75  "Andika","Noto Sans",Arial,Hevletica,sans-serif;
}

h1, h2, h3 {
    font-family: "Fredoka One","Noto Serif",Times New Roman,serif;
    letter-spacing: 2px;
    font-size: 1.65em;
}

h1 em {
    font-size: 0.75em;
}
strong {
    font-family: "Fredoka One";
    letter-spacing: 2px;
    color: #34548a;
}

#upper-container {
    padding: 6vh 15vw 0;
    border: 8px solid #8c4351;
}

#title { 
    text-align: center;
    color: #8c4351;
    font-size: 160%;
    margin-bottom: 2.5em;
}

#main-container {
    display: table;
}

#timeline {
    display: table-cell;
    border: 4px solid #634f30;
    border-radius: 100px;
}

#timeline-description {
    display: table-cell;
    vertical-align: top;
}

section {
    display: block;
    min-height: 4em;
}

section header { 
    position: relative;
    padding: 0;
    margin: 0;
}

section header::before { 
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: 28px;
    border: 4px solid #634f30;
    content: " ";
    width: 20px;
}

section h2 {
    background: #634f30;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100px;
    width: auto;
    height: auto;
    overflow: hidden;
    color: #d5d6db;
    padding: 1em;
    margin: 0 0 0 20px;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
}

.month header::before {
    border-color: #965027;
    border-style: dashed;
    width: 50px;
    top: 40px;
}

.month h2 {
    background-color: #965027;
    font-style: italic;
    margin: 10px 0 0 50px;
}

.month:hover h2 {
    background-color: #33635c;
}

.month:hover header::before {
    border-color: #33635c;
}

section h3 {
    display: block;
}

content { 
    display: inline-block;
    margin: 2.5em 6em 3.5em;
}

section h2, section header::before { 
    transition: 0.3s;
}

section:hover h2 {
    background: #166775;
}

section:hover header::before {
    border-color: #166775;
}

img { 
    border-radius: 12px; 
    max-width: 50vw; 
    margin: 1em 0;
}

.content-footer {
    font-size:125%; 
    padding: 2em 0;
    background: #8c4351;
    color: #d5d6db;
}

.content-footer content {
    margin: 0 12vw;
    padding-bottom: 5px;
}
.center { 
    text-align: center;
}

footer p {
    margin: 1vh 0;
}

.other-language {
    font-size: 1.5em;
    font-weight: 800;
}

.site-footer {
    background: #343b58;
    color: #d5d6db;
    text-align: center;
}

.site-footer content {
    margin: 2.5vh 12vw;
}

.fader {
    transform: translateY(50px);
    transition-delay: .3s;
    transition: .4s;
    opacity: 0;
}


.inView {
    opacity: 1;
    transform: translateY(0px);
}


code {
    font-weight: 600;
}

@media (max-width: 768px) {

    #upper-container {
        border-width: 15px 0 5px 0 !important;
        padding: 3vh 3.25vw 0;
    }

    #title {
        font-size: 24px;
    }

    content {
        margin: 1em 1.5em 2.75em 1.25em;
    }


    .content-footer {
        font-size: 1em;
    }

    img {
        min-width: 80vw;
    }
}