/* FONT */
@font-face {
    font-family: "Nanum Square Round Light";
    src: url("/font/krn/NanumSquareRoundL.otf");
}
@font-face {
    font-family: "Nanum Square Round Regular";
    src: url("/font/krn/NanumSquareRoundR.otf");
}
@font-face {
    font-family: "Nanum Square Round Bold";
    src: url("/font/krn/NanumSquareRoundB.otf");
}
@font-face {
    font-family: "Nanum Square Round Extra Bold";
    src: url("/font/krn/NanumSquareRoundEB.otf");
}

@font-face {
    font-family: "Biscuitos";
    src: url("/font/Biscuitos.otf");
}

/* VARIABLES */
:root {
    --mysticviolet: #a193d8;
    --mysticblue: #7ea8e9;
    --border: #3c1053;
    --text: #1c1053;
    --link: #426aff;
    --nav: #afb3e6;
    --pageoutline: #9a9bbb;

    --playlist-bg: #2c081d;
    --playlist-color: #b6daff;
    --playlist-shadow: 1px 1px 4px rgba(28, 72, 213, 0.77);

    --purple: #9a89f6;
    --green: #bfdfae;
    --pink: #ef9bae;
    --red: #e75254;
    --orange: #ef8c63;
    --yellow: #f8d655;
    --skyblue: #9ec7f9;
}

.buttonbox a {
    font-family: "Nanum Square Round Regular";
    text-decoration: none;
}

.tab-body a {
    color: var(--link);
    text-decoration: none;
}

.tab-body a:hover {
    opacity: 60%;
}

.paperclip {
    background: url(/images/deco/paperclip.png) no-repeat;
    height: 72px;
    position: absolute;
    right: 12px;
    top: -15px;
    width: 25px;
}

.full-page {
    font-family: "Nanum Square Round Regular";
    text-align: justify;
    color: var(--text);
    width: 100%;
}

.page-footer {
    text-align: center;
    margin-top: 70px;
    font-size: 0.8rem;
}

.tab-body {
    width: 100%;
    padding: 50px 0 10px;
    margin: 0 auto;
    position: relative;
    display: block;
}

hr.dashed {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    border: none;
    border-top: 1px dashed white;
    z-index: 10;
    pointer-events: none;
}

.tabcontent {
    width: 100%;
}

.pagetitle {
    display: flex;
    align-items: center;
    color: var(--text);
    font-family: "Nanum Square Round Extra Bold";
    font-size: 1rem;
    padding-top: 10px;
    margin-bottom: -3px;
}

.heart {
    text-shadow: 1px 1px 0 var(--text);
    margin: -3px 10px 0px 5px;
}

.basicinfo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.membertxt {
    flex: 0 0 300px;
    text-align: left;
    padding: 15px 2px 2px 30px;
    width: auto;
    position: relative;
}

.member {
    width: 150px;
    height: 195px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.member-frame {
    width: 150px;
    height: 195px;
    position: relative;
}

/*BUTTON*/

.buttonbox {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0 15px 0;
    background-color: var(--nav);
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.members-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    max-width: 1000px;
    margin: 0 auto;
}

.buttonbox2 {
    width: 100%;
}

.button {
    height: 25px;
    width: 77px;
    font-family: "Nanum Square Round Regular";
    padding: 7px auto 5px auto;
    font-weight: 700;
    font-size: 0.8rem;
    text-shadow: 0.7px 0.7px 0 white;
    background-color: #eee;
    color: var(--text);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.button2 {
    height: 25px;
    width: fit-content;
    font-family: "Nanum Square Round bold";
    padding: 6px 10px 5px 10px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text);
    text-shadow: 0.7px 0.7px 0 white;
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.button2:hover {
    color: var(--mysticblue);
    background: #ffffff;
    cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
}

.button:hover {
    opacity: 100%;
    text-decoration: none;
    cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
}

#moonsua-profile,
#suhyeon-profile,
#haram-profile,
#tsuki-profile,
#sheon-profile,
#siyoon-profile,
#haruna-profile {
    scroll-margin-top: 500px;
}

.moonsua:hover,
.tabs:has(#moonsua-profile:target) nav a[href="#moonsua-profile"],
.tabs:not(:has(:target)) nav a[href="#moonsua-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--purple);
    transition: all 0.2s;
}

.suhyeon:hover,
.tabs:has(#suhyeon-profile:target) nav a[href="#suhyeon-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--green);
    transition: all 0.2s;
}

.haram:hover,
.tabs:has(#haram-profile:target) nav a[href="#haram-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--pink);
    transition: all 0.3s;
}

.tsuki:hover,
.tabs:has(#tsuki-profile:target) nav a[href="#tsuki-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--red);
    transition: all 0.2s;
}

.sheon:hover,
.tabs:has(#sheon-profile:target) nav a[href="#sheon-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--orange);
    transition: all 0.2s;
}

.siyoon:hover,
.tabs:has(#siyoon-profile:target) nav a[href="#siyoon-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--yellow);
    transition: all 0.2s;
}

.haruna:hover,
.tabs:has(#haruna-profile:target) nav a[href="#haruna-profile"] {
    color: var(--text);
    box-shadow: 0px -5px 0px var(--skyblue);
    transition: all 0.2s;
}

.tabcontent {
    display: none;
}

.tabcontent:target {
    display: block;
}

.tabs:not(:has(:target)) #moonsua-profile {
    display: block;
}

/* ===== Scrollbar CSS ===== */
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

*::-webkit-scrollbar-thumb {
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: linear-gradient(-90deg, #b2bcdc, #eee);
    box-shadow: inset 0 0 0 1px #ffffff99;
    border: 1px solid #9698da;
}

*::-webkit-scrollbar-thumb:hover {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #ceceff;
    box-shadow: none;
    border: 1px solid #9698da;
}

@media (max-width: 600px) {
    .full-page {
        padding: 0px 0px 30px 0px;
        margin: 0px;
    }

    .basicinfo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
        height: fit-content;
    }
    .tabcontent {
        margin-top: 0px;
    }

    .member {
        min-width: 150px;
        width: 150px;
    }

    .membertxt {
        padding-left: 0;
        flex: 0 0 auto;
        text-align: left;
        padding: 15px 2px 2px 30px;
        width: auto;
        position: relative;
    }

    .pagetitle {
        font-size: 1rem;
    }

    .buttonbox {
        width: 100%;
        padding: 10px 15px 20px 15px;
        position: relative;
    }
    .members-nav {
        gap: 10px;
    }
    .button {
        flex: 1 1 100px;
        font-size: 0.65rem;
    }

    #moonsua-profile,
    #suhyeon-profile,
    #haram-profile,
    #tsuki-profile,
    #sheon-profile,
    #siyoon-profile,
    #haruna-profile {
        scroll-margin-top: 500px;
    }
}
