@charset "UTF-8";

/*!

    YDITS Site

    Copyright (C) よね/Yone

*/

.hero {
    display: flex;
    flex-direction: column;
    height: fit-content;
    overflow: hidden;
    background-color: #303030ff;
    color: #eeeeee;
    user-select: none;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadein {
    animation-name: fadein;
    animation-duration: 1.5s;
}

.hero-image {
    width: 100%;
}

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

.main .link {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.3em;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section__title {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
}

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

.about {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.about__item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about__item-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 4.5rem;
    color: #333;
}

.news {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apps {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0 2rem;
    width: 100%;
    max-width: 796px;
}

.apps__body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.api {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0 2rem;
    width: 100%;
    max-width: 796px;
}

.api__body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.color-scheme {
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
}

.color-scheme__body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.official-accounts {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.official-accounts__body {
    width: fit-content;
}

header nav>ul>li:hover {
    background-color: #ffffff80;
}

header nav>ul>li>a {
    color: #ffffff;
}

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

.links__body {
    width: fit-content;
}

.adsense {
    width: 100%;
    max-width: 769px;
}

@media (max-width: 768px) {
    header nav>ul>li>a {
        color: #010101;
    }

    .hero-image {
        width: 170%;
    }

    #about {
        font-size: 1em;
    }
}
