@font-face {
    font-family: "Genshin Serif";
    src: url(/genshin/images/genshin.ttf);
}

body {
    background:
        /* url("https://64.media.tumblr.com/a6166fea2dfd389bfe7e59a3d8199c0a/07899b11b9019a56-99/s1280x1920/e552a857071d90d1be5d427fdd19ea9f14fac820.png"), */
        /* var(--sky); */
        url("/genshin/images/partyBG.jpg");
    background-attachment: fixed;
    background-size: cover;
    text-shadow: 1px 1px 4px var(--shadow);
    font-family: "Comfortaa";
    overflow: hidden;
}

a {
    transition-duration: 300ms;
}

nav {
    width: 100%;
    height: fit-content;

}

a:visited,
a {
    color: white;
    text-decoration: none;
}

h3 {
    font-size: 18px;
}

nav h1 {
    font-family: "Cloudy Aurora";
    color: white;
}


nav h2,
.current h1 {
    line-height: 1;

    font-size: 25px;
    font-family: "Genshin Serif";
    color: white;
}

nav sub {
    text-align: center;
}

nav>ul {
    list-style: none;
    padding-inline-start: 0px;

    text-align: center;
}

nav details>ul>li {
    margin-left: -15px;
}

nav li {
    list-style: none;
    width: 100%;
    margin-right: 25px;

    font-size: 20px;
}

nav sub {
    font-family: "Comfortaa";
    font-size: 15px;
}

ul>li {
    margin-top: 20px;
}

details {
    cursor: pointer;
}

summary:hover,
a:hover {
    text-shadow: 1px 1px 4px var(--lightUp);
}

a:hover:before {
    content: "✦"
}

details>summary,
nav ul>li {
    text-align: center;
    font-family: "Genshin Serif";
    color: white;

    transition-duration: 300ms;
}

details:after {
    content: "・ ✦ ・";
    font-size: 15px;
    line-height: 0;

    margin: 0;
}

summary::marker {
    color: var(--detailPink);
}


iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 30vh;
    max-height: fit-content;

    font-family: "Cloudy Aurora";
    color: white;
    text-shadow: 1px 1px 5px teal;
}

.header .logo {
    height: 200px;
    width: 512px;
}

.main {
    position: absolute;
    top: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* align-items: center; */

    overflow: auto;

    height: 100vh;
}

.main>div>div,
.current h1 {
    background-color: var(--widget_bg);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    box-shadow:
        1px 1px 4px var(--shadow) -1px -1px 4px var(--shadow);

    border-radius: 50px;
    border: 2px solid var(--widget_border);
    margin: 20px;

    max-width: 100%;
}


.left {
    width: 20vw;
}

.center {
    min-width: 400px;
    width: 55vw;
    max-width: 100vw;
    margin-right: 35px;
}

.right {
    width: 20vw;
}


.centered {
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-content: center;

}

.displayBox {
    width: 100%;
    height: 1000px;
    margin: 0;
}

.current {
    text-align: left;
    width: 300px;
    color: white;

    overflow: hidden;
}

.current h1 {
    width: 100%;
    margin: 0;
    margin-left: -1px;
    text-align: center;
    padding: 10px 0;
}

.current ul {
    list-style: none;
}

.current ul>li>ul>li:before {
    content: "꒰ঌ";
    color: var(--detailPink)
}

.imgFit {
    max-width: 100%;
}

.backbutton {
    padding: 30px;
    width: 100%;
}

.centered a {
    width: 100%;
}

.music {
    padding: 20px;
    color: white;
    text-shadow: 1px 1px 1px var(--shadow);
}

.music iframe {
    border-radius: 50px;
}

.profile {
    display: flex;
    justify-content: center;
    color: white;
}

.profile h1 {
    font-family: "Genshin Serif";
}
.profile strong {
    font-family:"Genshin Serif"
}
.pfp {
    width: 80%;
    height: auto;
    transition-duration: 500ms;
}

.profile .pfp:hover {
    scale: 1.1;
}

/* mask and fun stuff */
.mask {
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.mask.sparkle {
    -webkit-mask-image: url("/images/bg-decor/sparkleMask.png");
    mask-image: url("/images/bg-decor/sparkleMask.png");
}

.mask.angel {
    -webkit-mask-image: url("/images/bg-decor/angelMask.png");
    mask-image: url(/images/bg-decor/angelMask.png);
}

.mask.heart {
    -webkit-mask-image: url("/images/bg-decor/bowMask.png");
    mask-image: url("/images/bg-decor/bowMask.png");
}

.mask.ribbons {
    -webkit-mask-image: url("/images/bg-decor/ribbonMask.webp");
    mask-image: url("/images/bg-decor/ribbonMask.webp");
}


* {
    cursor: url("/images/smalls/normal_select.gif"), default;
    /* cursor:url("/images/smalls/cursor.gif"), pointer; */

    /* Modern browsers — Chrome 121+, Edge 121+, Firefox, Safari 18.2+ */
    * {

        scrollbar-width: 10px;
        scrollbar-color: var(--big_text) transparent;

    }

    /* Legacy WebKit — older Chrome/Edge/Safari, radius, borders & shadows */
    *::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    *::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 20px;
        padding: 2px;
    }

    *::-webkit-scrollbar-track:hover {
        background-color: #fae8ff;
    }

    *::-webkit-scrollbar-track:active {
        background-color: #f0abfc;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #d946ef;
        border-radius: 20px;
        min-height: 30px;
        border: 2px solid #f0abfc;
        box-shadow: 0 0 4px rgba(221, 0, 255, 0.5);
    }

    *::-webkit-scrollbar-thumb:hover {
        background-color: #c026d3;
    }

    *::-webkit-scrollbar-thumb:active {
        background-color: #86198f;
    }

    *::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }
}

/* selection */
* {
    :-moz-selection {
        color: #ffbbeb;
        background: var(--big_text);
        text-shadow: 0px 0px 10px white;
        text-shadow: none;
    }

    ::selection {
        color: #ffbbeb;
        background: var(--big_text);
        text-shadow: 0px 0px 10px white;
        text-shadow: none;

    }
}

/* Preloader */
#preloader {
    background:
        url('/images/bg-decor/starBurst.webp') no-repeat,
        var(--out_border-clear);

    background-size: 300px, cover;
    background-position: center;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(25px);

    align-items: center;
    justify-content: center;
    width: 100%;
    display: flex;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 9999;
}

@media (max-width: 790px) {
    .logo {
        width: 100%;
        height: auto;
    }

    .left,
    .center,
    .right {
        width: 100%;
        padding: 10px;
        padding-top: 20px;
    }
}

:root {
    --sky: linear-gradient(0deg, rgb(85, 85, 231) 0%, rgb(128, 102, 222) 20%, rgb(17, 17, 99) 100%);
    --widget_bg: #d5d7ff4b;
    --widget_border: #d5d7ff;

    --hot-pink: var(--detailPink);
    --shadow: #141770;
    --lightUp: #ffe779;
    --detailPink: #ffc3ec;
    --fadeOutLine: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);

}