:host, :root {
    --text-color: #F0F0F0;
    --text-shadow: #1C1C1C;
    --color-grey: #6A6A6A;
    --color-purple: #D796BE;
    /* Provide default variable styles just in case */
    --size: 64px;
    --delay: 0s;
    --duration: 5s;
    --pos: 4.5%;
}

body {
    background: radial-gradient(70% 17% at bottom, #745567, transparent), linear-gradient(var(--color-grey) 0%, var(--color-purple) 80%);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    margin: 0;
    user-select: none;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.text {
    color: var(--text-color);
    font-family: DotGothic16, sans-serif;
    text-shadow: 3px 3px 0px var(--text-shadow);
    text-align: center;
}

.text.mini {
    font-size: 18px;
    text-shadow: 2px 2px 0px var(--text-shadow);
}

.text.small {
    font-size: 24px;
    text-shadow: 2px 2px 0px var(--text-shadow);
}

.text.large {
    font-size: 72px;
}

.text.bold {
    font-weight: bold;
}

a {
    color: var(--text-color);
}

footer {
    position: absolute;
    bottom: 15vh;
}

footer ul {
    text-align: center;
    padding: 0;
}

footer li {
    display: inline;
}

footer ul.split li:not(:last-child)::after {
    content: ' | ';
}

ul.schedule li {
    list-style: square;
}

ul.schedule li span.timeframe {
    background-color: rgb(25 25 25 / 15%);
}

ul.schedule li span.timeframe:hover {
    background-color: rgb(25 25 25 / 20%);
}

/* animation stuff */
@keyframes RLMove {
    0% { right: -100vw; }
    100% { right: 100vw; }
}

.nnd-container {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: -1;
}

.scrolling-message {
    display: block;
    opacity: 0.5;

    position: absolute;
    top: var(--pos);
    right: -100vw;
    /* This is needed to stop japanese text from kinda splatting into the side and breaking apart. */
    word-break: keep-all;
    /* XXX: On Chrome, scrolling the text to the left shrinks the content. When it does, the ~ splats to the side.
    Setting it to hard-coded as the maximum possible size + some padding should fix this.*/
    width: 340px;

    font-size: var(--size);
    text-orientation: sideways;

    animation-name: RLMove;
    animation-duration: var(--duration);
    animation-delay: var(--delay);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
