
/* 여기는 아에 건들지 마세요 */

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background-color: black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.Top-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 60px;
    margin-top: -10px;
}

.Top-line h1 {
    color: white;
    font-family: "Gravitas One", serif;
    font-size: 45px;
    letter-spacing: 5px;
    line-height: 60px;
    margin: 0 0 0 1px;
    font-weight: 400;
}

.left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.center { text-align: center; }

.right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-right: 35px;
    height: 60px;
}

#Logo {
    max-width: 130px;
    transition: 0.3s ease;
    cursor: pointer;
}

#Logo:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
}

.nav-link:hover { opacity: 0.6; }

.menu-group { display: flex; gap: 30px; }

.sns-group {
    display: flex;
    gap: 20px;
    margin-left: 10px;
    height: 60px;
    align-items: center;
    margin-top: 7px;
}

.right img { width: 32px; }

#Youtube { transform: scale(1.1); }
#instagram { transform: scale(0.95); }

@media (max-width: 1300px) {
    .center { display: none; }
    .Top-line { grid-template-columns: 1fr 1fr; }
}

.Member {
    margin-top: 40px;
}

.Line1,
.Line2 {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.Line1 { margin-bottom: 45px; }
.Line2 { margin-bottom: 60px; }

.Line1 div,
.Line2 div {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.Member img {
    max-width: 280px;
    width: 100%;
    display: block;
    transition: 0.4s ease;

    opacity: 0;
    transform: translateY(40px);
    animation: memberFadeUp 0.8s ease forwards;
}

@keyframes memberFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Member p {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0;
    transition: 0.4s ease;
    text-align: center;
    width: 80%;
}

.Line1 div:nth-child(1) img { animation-delay: 0.3s; }
.Line1 div:nth-child(2) img { animation-delay: 0.4s; }
.Line1 div:nth-child(3) img { animation-delay: 0.5s; }
.Line1 div:nth-child(4) img { animation-delay: 0.6s; }

.Line2 div:nth-child(1) img { animation-delay: 0.7s; }
.Line2 div:nth-child(2) img { animation-delay: 0.8s; }
.Line2 div:nth-child(3) img { animation-delay: 0.9s; }
.Line2 div:nth-child(4) img { animation-delay: 1.0s; }

.Line1 div:hover img , .Line2 div:hover img {
    filter: brightness(60%);
}

.Line1 div:hover p , .Line2 div:hover p {
    opacity: 1;
}

.Member .Ko {
    font-size: 16px;
    color: rgba(200,200,200,0.8);
    font-weight: 700;
}

.Cinematic-Footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    padding: 20px 40px;
    background: #000;
    border-top: 1px solid rgba(188,191,194,0.2);
    font-family: "Oswald", sans-serif;
    color: rgba(188,191,194,0.7);
    letter-spacing: 2px;
}

.footer-left,
.footer-center,
.footer-right { flex: 1; }

.footer-left { font-size: 14px; }

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-right {
    font-size: 13px;
    text-align: right;
}

.footer-center img { width: 18px; }

.footer-center a {
    text-decoration: none;
    color: rgb(188,191,194);
    font-size: 16px;
}

.footer-center a:hover { opacity: 0.6; }

@media (max-width: 1300px) {
    .center { display: none; }
    .Top-line { grid-template-columns: 1fr 1fr; }
}

.Member {
    margin-top: 40px;
    flex: 1;
}

.Line1,
.Line2 {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.Line1 { margin-bottom: 45px; }
.Line2 { margin-bottom: 60px; }

.Line1 div,
.Line2 div {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.Member img {
    max-width: 280px;
    width: 100%;
    display: block;
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: memberFadeUp 0.8s ease forwards;
}

@keyframes memberFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Member p {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0;
    transition: 0.4s ease;
    text-align: center;
    width: 80%;
}

.Line1 div:nth-child(1) img { animation-delay: 0.3s; }
.Line1 div:nth-child(2) img { animation-delay: 0.4s; }
.Line1 div:nth-child(3) img { animation-delay: 0.5s; }
.Line1 div:nth-child(4) img { animation-delay: 0.6s; }

.Line2 div:nth-child(1) img { animation-delay: 0.7s; }
.Line2 div:nth-child(2) img { animation-delay: 0.8s; }
.Line2 div:nth-child(3) img { animation-delay: 0.9s; }

.Line1 div:hover img,
.Line2 div:hover img {
    filter: brightness(60%);
}

.Line1 div:hover p,
.Line2 div:hover p {
    opacity: 1;
}

.Member .Ko {
    font-size: 16px;
    color: rgba(200,200,200,0.8);
    font-weight: 700;
}

.Cinematic-Footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    padding: 20px 40px;
    background: #000;
    border-top: 1px solid rgba(188,191,194,0.2);
    font-family: "Oswald", sans-serif;
    color: rgba(188,191,194,0.7);
    letter-spacing: 2px;
}

.footer-left,
.footer-center,
.footer-right { flex: 1; }

.footer-left { font-size: 14px; }

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-right {
    font-size: 13px;
    text-align: right;
}

.footer-center img { width: 18px; }

.footer-center a {
    text-decoration: none;
    color: rgb(188,191,194);
    font-size: 16px;
}

.footer-center a:hover { opacity: 0.6; }


@media (max-width: 768px) {

    /* 페이지 자체 스크롤 막기 */
    html, body {
        height: 100vh;
        overflow: hidden;
    }

    body {
        display: flex;
        flex-direction: column;
    }

    .Top-line {
        display: flex;
        align-items: center;
        padding: 0 22px 0 0;
        margin-top: 0;
        min-height: 55px;
        flex-shrink: 0;
    }

    .left { flex: 1; }

    .right {
        flex: 1;
        justify-content: flex-end;
        margin-right: 0;
        gap: 12px;
    }

    .menu-group { gap: 18px; }

    .nav-link {
        font-size: 15px;
        letter-spacing: 1px;
    }

    #Logo { max-width: 80px; }

    .right img { width: 20px; }

    .Member {
    height: calc(100vh - 125px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-left: 3px;
    margin-top: 10px;
    }

    #Last-img {
        margin-bottom: 30px;
    }

    .Line1,
    .Line2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 0;
    }

    .Line1 div,
    .Line2 div {
        width: 85%;
        max-width: 280px;
    }

    .Cinematic-Footer {
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
        padding: 9px 15px;
        gap: 6px;
    }

    .footer-left,
    .footer-center {
        flex: none;
        font-size: 12px;
        text-align: center;
    }

    .footer-right { display: none; }

    .footer-center img { width: 16px; }
    .footer-center a { font-size: 12px; }
}