@charset "UTF-8";

/*

    YDITS Site

    Copyright (C) よね/Yone

    No modification or reproduction of any kind is permitted.
    改変や複製を一切禁じます。

*/

:root {
    --hero-background-color: #202040ff;
}

#pageTitle {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: .5em 0;
}

header {
    top: 1rem;
    left: 1rem;
    right: 1rem;

    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 2rem);
    max-width: 1024px;
    border-radius: calc(var(--header-height) / 2);

    background-color: #202020c0;
    box-shadow: none;
}

header .logo {
    margin-left: 2rem;
    height: 80%;
    border-radius: .5em;
}

main {
    margin-top: 0;
}

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

    gap: 2rem;

    height: calc(100svh - var(--header-height));
    min-height: 20em;
    background: var(--hero-background-color);
    background-size: cover;
    color: #fff;

    user-select: none;
}

.title-border-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.title-border-bottom::after {
    display: block;
    width: 1em;
    height: 4px;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    background-color: #f0f0f0ff;
    content: "";
}

.scroll-guide-line {
    --this-height: 4rem;
    position: absolute;
    bottom: calc(var(--this-height) + 2rem);
    width: 1px;
    height: var(--header-height);
    background-color: #f0f0f0ff;
}

#hero .title {
    position: relative;
    font-size: clamp(1rem, calc(80vw / 8), 4rem);
    font-family: 'Zen Antique Soft', serif;
    color: #ffffffff;
}

#hero .description {
    text-align: center;
    font-size: 1.3rem;
}

#main .link {
    display: flex;
    flex-direction: row;
    align-items: center;

    font-size: 1.3em;
}

#main .sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
}

#main .sectionTitle::after {
    display: block;
    width: 1em;
    height: 4px;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    background-color: #808080ff;
    content: "";
}

#description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 2em;
}

.section-title {
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.seciton-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 769px;
    padding: 0 2rem;
}

#versions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#use {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    #message {
        font-size: 1em;
    }
}