/* Basic */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track {background: #757575; }
::-webkit-scrollbar-thumb { background-color: #444444;}

body { overflow-x: hidden; }

/* Background */

.back-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    perspective: 1000px;
    z-index: -1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.05s ease-out;
    will-change: transform;
}

.para-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.05s ease-out;
    will-change: transform;
}

.layer-0 {
    z-index: 0;
    background-image: url("./image/1-day.png");
}

/* .layer-1 {
    z-index: 0;
    background-image: url("./image/1-night.png");
} */

.layer-2 {
    background-image: url("./image/2-far-paper.png");
    z-index: 1;
    scale: 1;
}

.layer-3 {
    background-image: url("./image/3-far-blood.png");
    z-index: 2;
    scale: 1.25;
}

.layer-4 {
    background-image: url('./image/4-near-paper.png');
    z-index: 3;
    scale: 1.024;
}

.layer-5 {
    background-image: url('./image/5-near-blood.png');
    z-index: 4;
    scale: 1.75;
}

.layer-6 {
    background-image: url('./image/6-role.png');
    z-index: 5;
}

.layer-7 {
    background-image: url('./image/7-light.png');
    z-index: 5;
}

/* Main Title */

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

.tit-container {
    min-height: 100vh;
    gap: 0.2em;
}

.text {
    font-size: large;
    font-family: 'D-DIN-PRO', '思源黑体 Light';
    letter-spacing: 0.05em;
}

.title {
    font-size: 10em;
    font-weight: 500;
    letter-spacing: 0;
}

.sub-title {
    transform: scaleY(1.25);
    font-size: 3em;
}

.sub-sub-title {
    font-family: 'D-DIN-PRO';
    font-weight: normal;
    font-size: smaller;
}

/* Letter Text */

.lit-container {
    position: relative;
    margin: 0rem -2.5rem -2.5em -2.5em;
    background-color: #444444;
}

.title-ex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10em;
    transform: scaleY(1.25);
    padding-top: 1em;
    letter-spacing: 0.1em;
    color: white;
    font-size: 1.75em;
    font-weight: middle;
}

.text-div {
    color: white;
    margin: 1em 5em 1em 5em;
}

/* Credits */

.credits-footer {
    background-color: #000;
    color: #fff;
    margin-top: 2em;
    padding: 25px 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 3px;
}

.credits-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    transform: scaleY(1.25);
}

.credit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    position: relative;
    flex: 1;
}

.credit-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    transform: translateY(50%);
    height: 50px;
    width: 1px;
    background-color: #444;
}

.role {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 8px;
    text-align: center;
}

.name {
    font-size: 16px;
    text-align: center;
}

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

.multi-names .name {
    margin: 3px 0;
}

/* Copyright */

.copyright {
    padding: 1.5em 0em 1.5em 0em;
    color: #666666;
}

/* 多端适配 */

@media (max-width: 768px) {
    .credits-container {
        flex-wrap: wrap;
    }

    .credit-item {
        flex-basis: 50%;
        margin-bottom: 20px;
    }

    .credit-item::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .credit-item {
        flex-basis: 100%;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 3em;
    }
    .sub-title {
        font-size: 1.2em;
    }
    .lit-container {
        margin: 0 -1em -1em -1em;
        padding: 1em;
    }
    .title-ex {
        font-size: 1.1em;
        padding-top: 0.5em;
        gap: 2em;
    }
    .text-div {
        margin: 1em 1em 1em 1em;
        font-size: 0.95em;
    }
    .tit-container {
        min-height: 60vh;
        gap: 0.1em;
    }
    .copyright {
        padding: 1em 0;
        font-size: 0.9em;
    }
}
