html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

ul {
    list-style: none;
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.sr-only {
    position: absolute;
    clip: rect(1px,1px,1px,1px);
}

/* Variables ****************************** */

:root {
    --h-padding: 25px;
    --v-padding: 15px;
    --theme-font-1: 'Julius Sans One', sans-serif;
    --theme-font-2: 'Noto Sans JP', sans-serif;
}

@media (prefers-color-scheme: light) {
    :root {
        --theme-colour: #f3f3f3;
        --color: #182125;
        --title-color: #dcdbdbcc;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --theme-colour: #01050e;
        --color: #bababa;
        --title-color: #14121adb;
    }
}

/* Typography ****************************** */

html {
    font-size: 62.5%;
}

body {
    font-family: var(--theme-font-2);
    color: var(--color);
    background-color: var(--theme-colour);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    cursor: default;
}

h1 {
    font-size: 10vw;
    display: block;
    text-align: center;
    font-weight: lighter;
    line-height: 1;
    cursor: default;
    font-family: var(--theme-font-1);
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--title-color);
}

h2 {
    margin-bottom: 1em;
    display: block;
    font-weight: 700;
    font-size: 1.65rem;
    cursor: default;
    font-family: var(--theme-font-1);
    width: 100%;
}

p {
    display: block;
    margin-bottom: 1em;
    font-size: 1.3rem;
    text-align: justify;
}

em {
    font-style: italic;
}

strong {
    font-weight: 400;
}

a {
    color: inherit;
    position: relative;
}

/* Layout ****************************** */

main {
    margin: 30px;
    margin: 5vh auto 20vh;
    padding: 1em;
    max-width: 860px;
}

figure {
    height: 0;
    padding-top: 16%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    margin: 1em 0;
}

details summary {
    cursor: pointer;
    margin-bottom: 1em;
}

details p {
    margin: 1em;
}

.list {
    margin-top: 1em;
    margin-bottom: 1em;
    list-style: square;
    margin-left: 2em;
}

    .list li {
        margin-bottom: 1.5em;
    }

@media screen and (min-width: 900px) {
    figure {
        padding-top: 11%;
    }
}