:root {
    --light-shades: #f7f2f4;
    --light-accent: #98B275;
    --main: #3A9EDC;
    --dark-accent: #D44962;
    --dark-shades: #0C317E;

    --max-width: 860px;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

/* themes */
.light {
    background-color: var(--light-shades);
    color: var(--dark-shades);
    border-color: var(--dark-shades);
}

.light-accent {
    background-color: var(--light-accent);
    color: var(--dark-shades);
    border-color: var(--dark-shades);
}

.main {
    background-color: inherit;
    color: var(--main);
    border-color: inherit;
}

.dark {
    background-color: var(--dark-shades);
    color: var(--light-shades);
    border-color: var(--light-shades);
}

.dark-accent {
    background-color: var(--dark-accent);
    color: var(--light-shades);
    border-color: var(--light-shades);
}

/* structures */
html {
    padding: 0;
    margin: 0;
}

body {
    font-size: 16px;
    line-height: 20px;
    padding: 0;
    margin: 0;
}

article {
    max-width: var(--max-width);
    margin: 0 auto;
}

h1 {
    margin: 32px 16px;
    font-size: 26px;
    text-align: center;
    font-weight: bold;
}

section {
    margin: 96px 16px;
}

h2 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

section section {
    margin: 32px 0;
}

h3 {
    text-align: left;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
}

img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

ul {
    margin: 24px 0;
    padding-left: 16px;
}

ul li {
    margin: 4px 0;
}

footer {
    margin: 0;
    padding: 4px 0;
}

footer .layout {
    max-width: var(--max-width);
    margin: 0 auto;
}

footer small {
    display: block;
    text-align: center;
    margin: 16px;
}

/* classes */
.eye-catch img {
    height: 200px;
    max-width: var(--max-width);
    object-fit: cover;
}

h1 .decoration {
    font-size: 70%;
    margin: 8px 0;
    display: inline-block;
}

.word {
    white-space: nowrap;
}

.description {
    font-size: 85%;
}

img.small-illustration {
    max-width: 40%;
    margin-top: 48px;
    margin-bottom: 48px;
}

@media (min-width: 860px) {
    .two-column {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        max-height: 11800px;
    }

    .two-column>* {
        /* space: 32px */
        width: calc((860px - 16px * 2 - 32px * 1)/2)
    }
}

dl.oneline div {
    display: flex;
    justify-content: flex-start;
    padding: 6px;
    border-bottom: 1px dotted #c7c7c7;
}

dl.oneline dt {
    width: 120px;
}

dl.oneline dd {
    margin-left: 0;
    width: calc(100% - 120px);
}

.card {
    border-radius: 8px;
    padding: 16px;
    border-width: 1px;
    border-style: solid;
}