body {
    --page-txt-color: 0 0 0;
    --page-back-color: 250 250 250;
    --page-back-color: 250 210 240;
    --page-theme-color: 220 96 196;
    --palette-light-a: 255 255 255;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    color: rgb(var(--page-txt-color));
    background-color: rgb(var(--page-back-color));
    position: relative;
    min-height: 100vh;
    --footer-height: 7rem;
    --header-height: 4rem;
    --page-contents-min-width: 64rem;
    --page-contents-max-width: 83.5rem;
    --text-section-width: 50rem;
}

@font-face {
    src: 
        url("../fonts/ZenKakuGothicAntique-Regular.woff2") format('woff2'),
        url("../fonts/ZenKakuGothicAntique-Regular.ttf") format('truetype');
    font-family: "Zen Kaku Gothic Antique";
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

.lo-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-fill {
    position: absolute;
    width: 100%;
    height: 100%;
}

.lo-header {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    padding: 0 1rem;
    --header-txt-color: var(--palette-light-a);
    color: rgb(var(--header-txt-color) / 1);
    --header-background: rgb(var(--page-theme-color) / 1);
    background: var(--header-background);
}

.header-contents {
    display: flex;
    margin: 0 auto;
    height: var(--header-height);
    width: var(--page-contents-max-width);
    max-width: 100%;
}

.header-title {
    flex: 1 1;
    line-height: var(--header-height);
    font-size: calc(0.45*var(--header-height));
    font-weight: 900;
    user-select: none;
}

.header-function {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.lo-containers {
    position: relative;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-bottom: var(--footer-height);
}

.container-main {
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    max-width: 1440px;
    width: auto;
}

ul {
    list-style: none;
    margin-top: 0;
    padding: 0 0 0 1rem;
}
li {
    position: relative;
}
li a {
    transition-duration: 0.2s;
    transition: padding-bottom 0.2s 0.5s;
    padding-bottom: 0;
    font-weight: bolder;
}

hr {
    border: none;
    border-bottom: 0.0625rem solid rgb(128 128 128 / 1);
}

a {
    display: inline-block;
    --link-txt-color: 50 50 50;
    text-decoration: underline solid rgb(var(--link-txt-color) / 0.5);
    color: rgb(var(--link-txt-color));
}
a:visited {
    color: rgb(var(--link-txt-color));
}

.external-link::after {
    content: "↑";
    text-indent: 0;
    display: inline-block;
    transform: rotate(45deg);
    color: rgb(136 136 136);
    font-size: 0.9em;
}

h2 {
    margin: 1rem 0 0;
}

.indent {
    text-indent: 1em;
}

.text-section {
    max-width: var(--text-section-width);
}

.youtube-embed {
    align-items: center;
    width: 100%;
}
.youtube-embed > iframe {
    width: 100%;
    aspect-ratio: calc(16/9);
    height: auto;
}

@media (hover: hover) {
    a:hover {
        text-decoration: underline solid rgb(var(--link-txt-color) / 0.0);
        color: rgb(var(--page-theme-color));
    }
}

@media screen and (max-width: 599px) {
    body {
        --page-contents-min-width: none;
        --page-contents-max-width: 100%;
    }

    .lo-containers {
        flex-direction: column;
    }

    .main-container {
        width: 100%;
        padding: 0 0.5rem;
    }
}