@charset "UTF-8";

/*!

    render.js

    Copyright (C) 2025 よね/Yone

    Licensed under the MIT License.

    https://github.com/yone1130/render.js

*/

:root {
    --bgcolor: #101018;
    --font-family: "Noto Sans JP", sans-serif;
    --font-size: 20px;
    --font-weight: 400;
    --font-style: normal;
    --line-height: 1.5em;
    --color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100dvh;
    background-color: var(--bgcolor);
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    font-style: var(--font-style);
    line-height: var(--line-height);
    color: var(--color);
}

.root {
    box-sizing: border-box;
    width: calc(100dvw);
    min-height: calc(100dvh);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    padding: 4rem 1rem;
}

.page {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.section {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.title {
    font-size: 3rem;
}

.about {
    text-align: center;
}

.description {
    border-radius: 100vw;
    border: 1px solid var(--color);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 1rem;

    color: var(--color);
    text-decoration: none;

    transition: background-color 0.3s;
}

.description:hover {
    background-color: #ffffff20;
}

/* navigation */

.navigation {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;

    width: 100dvw;
    height: 100dvh;
}

.navigation__router {
    box-sizing: border-box;
    width: 100%;

    display: flex;
    justify-content: space-around;

    padding: 0.25rem;

    gap: 0.5rem;
    background-color: #202020;

    user-select: none;
}

.navigation__tab {
    box-sizing: border-box;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 1rem;
    padding: 1rem;

    transition: background-color 0.2s;
}

.navigation__tab:active {
    background-color: #404040;
}

.navigation__body,
.navigation__body>* {
    box-sizing: border-box;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 2rem;
    padding: 1rem;
}