/* FONT */
@font-face {
    font-family: "Nanum Square Round Light";
    src: url("font/NanumSquareRoundL.otf");
}
@font-face {
    font-family: "Nanum Square Round Regular";
    src: url("font/NanumSquareRoundR.otf");
    font-display: swap;
}
@font-face {
    font-family: "Nanum Square Round Bold";
    src: url("font/NanumSquareRoundB.otf");
}
@font-face {
    font-family: "Nanum Square Round Extra Bold";
    src: url("font/NanumSquareRoundEB.otf");
}

/* VARIABLES */
:root {
    --mysticviolet: #a193d8;
    --mysticblue: #7ea8e9;
    --frame: rgb(255, 253, 245);
    --nav: #afb3e6;
    --border: #3c1053;
    --text: #1c1053;
    --raindrops: rgba(198, 92, 255, 0.67);
    --starry-bg: #0968d4;
    --starry-gradient: #1f1d77;
    --starry-img: url("/images/bg/starry.gif");
    --rainy-bg: #6773d8;
    --rainy-gradient: #32316f;
    --rainy-img: url("/images/bg/rainy.gif");

    --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;

    --borderstyle: double 3px var(--border);
    --box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

html {
    font-display: swap;
    font-size: 15px;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Nanum Square Round Regular", sans-serif;
    color: var(--text);
    background: var(--rainy-bg);
    padding: 0;
    margin: 0;
    cursor: url("/cursors/Cosmica-Angel-Lilac/default.cur"), default;
}

a {
    font-family: "Nanum Square Round Regular", sans-serif;
    cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
}

button:hover {
    cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
}

::-moz-selection {
    color: var(--frame);
    background: var(--nav);
}

::selection {
    color: var(--frame);
    background: var(--nav);
}

/* BG ELEMENTS */
.trees {
    position: fixed;
    background: url(images/bg/trees.png);
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    z-index: -9;
}

.gradient-outer-container {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 0;
    inset: 0;
    margin: auto;
    filter: blur(100px);
    opacity: 1;
    z-index: -999;
}

.gradient-inner-container {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 150vw;
    height: 100vh;
    top: -150px;
    left: -100px;
    min-width: 1000px;
    overflow: hidden;
    background-color: var(--rainy-gradient);
}

.bg-image {
    position: fixed;
    height: 100%;
    width: 100%;
    inset: 0;
    margin: auto;
    opacity: 0.4;
    z-index: -99;
    background: var(--rainy-img);
    transition: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.rain-drop {
    position: fixed;
    background: var(--raindrops);
    animation: fall infinite linear;
    top: -150px;
    width: 1px;
    z-index: -99;
}

@keyframes fall {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(100vh);
    }
}

.star {
    position: fixed;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    z-index: -99;
    animation: twinkle 1s infinite ease-in-out;
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
}

@keyframes twinkle {
    0%,
    100% {
        filter: brightness(100%);
    }
    50% {
        filter: brightness(200%);
    }
}
/* END BG ELEMENTS */

.full-body {
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.full-flex {
    display: flex;
    height: 100vh;
    flex-flow: row;
    justify-content: center;
    align-content: center;
    text-align: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 0px;
    gap: 5px;
}

.center-flex {
    width: 800px;
    margin: 0px;
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
}

main {
    height: 100%;
    width: 100%;
    padding: 0px;
    background: var(--frame);
    border: var(--borderstyle);
    border-radius: 5px;
    overflow: auto;
}

footer {
    margin: 5px auto;
    width: 100%;
    height: fit-content;
    padding: 10px 5px 10px 5px;
    font-size: 0.8rem;
    color: var(--nav);
    border-radius: 2px;
}

footer a {
    font-size: 0.8rem;
    color: inherit;
    cursor: url("/cursors/Cosmica-Angel-Lilac/help-select.cur"), help;
}

.left {
    margin-top: -20px;
    top: 0;
    width: 150px;
    height: auto;
    position: sticky;
}

.right {
    width: 150px;
    height: auto;
}

/* HEADER */
.nav-header {
    background-image: url(/images/header-rain.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 31px auto 5px 0px;
    display: block;
    width: 150px;
    height: 83px;
}

/* MENU */
#show {
    display: none;
}

#sidebar,
.open,
.close,
.nav-home,
.nav-footer {
    display: none;
}

/* NAV */
.nav-title {
    margin-top: 0px;
    display: inline-block;
    width: 100%;
    height: 30px;
    padding: 1px 10px;
    line-height: 30px;
    font-family: "Nanum Square Round Extra Bold", sans-serif;
    font-size: 1rem;
    color: white;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 1px 1px 0px var(--purple);
    border-top: solid 1px;
    border-bottom: solid 1px;
    border-color: var(--border);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.left .nav-title {
    text-align: left;
}

.right .nav-title {
    text-align: center;
}

aside nav ul {
    display: inline;
    margin: 0px;
    padding: 0px;
    width: 100%;
    list-style: none;
}

aside nav ul:nth-child(odd) .nav-title,
aside nav ul:nth-child(odd) .nav-end {
    background-color: var(--mysticviolet);
    box-shadow: inset 0 0 0 1px #edd2ff99;
}

aside nav ul:nth-child(even) .nav-title,
aside nav ul:nth-child(even) .nav-end {
    background-color: var(--mysticblue);
    box-shadow: inset 0 0 0 1px #c0d7ff99;
}

.left nav ul:nth-child(1) .nav-title:after {
    content: "✿";
    float: right;
    font-size: 1rem;
    margin-top: -1px;
}

/*.left nav ul:nth-child(2) .nav-title:after {
    content: "♫";
    float: right;
    font-size: 1.2rem;
}*/

/* for lore section.. when i get there. 
 * 
 * nav ul:nth-child(3) .nav-title:after {
    content: "🗩";
    float: right;
    font-size: 0.9rem;
    margin-top: -6px;
} */

.left nav ul:nth-child(2) .nav-title:after {
    content: "✎";
    float: right;
    font-size: 1rem;
    margin-top: -1px;
}

.left nav ul:nth-child(3) .nav-title:after {
    content: "★";
    float: right;
    font-size: 1rem;
    margin-top: -1px;
}

aside nav li {
    position: relative;
    width: 100%;
    height: 25px;
    padding: 0px 10px;
    text-align: left;
    border-top: dotted 1px;
    border-left: solid 1px var(--border);
    border-right: solid 1px var(--border);
    background: var(--frame);
    list-style: none;
}

aside nav ul li:first-of-type {
    border-top: none;
}

aside nav ul li a {
    width: 100%;
    height: 100%;
    line-height: 26px;
    font-size: 0.9rem;
    font-family: "Nanum Square Round Bold", sans-serif;
    color: var(--text);
    text-decoration: none;
    text-transform: lowercase;
}

aside nav ul:nth-child(odd) li:hover a,
aside nav ul:nth-child(odd) li:hover::before,
aside nav ul:nth-child(odd) li:hover::after {
    color: var(--mysticblue);
}

aside nav ul:nth-child(even) li:hover a,
aside nav ul:nth-child(even) li:hover::before,
aside nav ul:nth-child(even) li:hover::after {
    color: var(--mysticviolet);
}

.left nav li:hover::after {
    content: url(/images/icons/d07-icon-twinkle.gif);
    font-size: 0.8rem;
    line-height: 27px;
    position: absolute;
    right: 10px;
    top: 1px;
}

.right nav li:hover::after {
    content: "🡵";
    font-size: 0.8rem;
    position: absolute;
    line-height: 27px;
    right: 10px;
}

.nav-link {
    display: flex;
    height: 5px;
    padding: 0;
}

.nav-end {
    display: block;
    width: 100%;
    height: 10px;
    border-top: solid 1px var(--border);
    border-bottom: solid 1px var(--border);
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.nav-box {
    position: relative;
    width: 100%;
    height: fit-content;
    padding: 10px 10px;
    text-align: center;
    font-family: "Nanum Square Round Bold", sans-serif;
    color: var(--text);
    text-decoration: none;
    background: var(--frame);
    border-left: solid 1px var(--border);
    border-right: solid 1px var(--border);
}

.nav-box img {
    width: 85px;
    border: solid 1px #ccc;
}

.nav-caption {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* DECOR */
.sprites {
    position: fixed;
    width: fit-content;
    height: fit-content;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.star-end-container {
    margin: 10px 0px;
    display: flex;
    width: 150px;
    justify-content: center;
    gap: 10px;
}

.star-end {
    font-size: 1.5rem;
    align-content: center;
    background: var(--frame);
    width: 35px;
    height: 35px;
    border: var(--borderstyle);
    border-radius: 5px;
}

/* LOVERS */
.nv {
    position: relative;
    width: auto;
    height: 100px;
    top: -15px;
    left: -20px;
    z-index: -8;
}

.nv dotlottie-player {
    width: 170px;
    height: 170px;
    filter: drop-shadow(3px 2px 3px #090958);
}

.dv {
    position: relative;
    height: 199px;
    top: 10px;
    justify-content: center;
    left: 0px;
    z-index: 0;
}

.dv dotlottie-player {
    width: auto;
    height: 175px;
    filter: drop-shadow(1px 3px 1px rgba(2, 3, 32, 0.83));
}

/* Ticket Modal */
#ticket-button {
  position: relative;
  z-index: 9;
  width: fit-content;
  height: fit-content;
}

#ticket-button img {
  border: none;
  width: fit-content;
  height: fit-content;
}

.page-ticket {
  margin: 20px auto;
  position: relative;
  z-index: 9;
  width: fit-content;
  height: fit-content;
}

.page-ticket:hover {
  cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
  filter: brightness(110%);
}

.home-ticket:hover {
  cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
  filter: brightness(110%) drop-shadow(0px 0px 2px rgba(7, 3, 36, 0.64));
}

.modal-container {
  font-family: "Nanum Square Round Extra Bold", sans-serif;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  color: var(text);
  margin: auto;
  padding: 20px;
  width: stretch;
  max-width: 500px;
  background: var(--frame);
}

.modal-container .textblock {
  display: block;
  font-family: "Nanum Square Round Regular", sans-serif;
  text-align: center;
  font-size: 1rem;
  color: var(text);
  padding: 0px;
  margin: auto;
  margin-top: -15px;
  max-width: 300px;
}

.modal-container img {
  width: stretch;
  max-width: 300px;
  margin: 0px;
  padding: 10px;
  filter: drop-shadow(0px 2px 1px rgba(12, 9, 27, 0.4));
}

.close-modal {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--nav);
  text-decoration: none;
  cursor: url("/cursors/Cosmica-Angel-Lilac/link-select.cur"), pointer;
}

/* ===== 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 screen and (max-width: 600px) {
    * {
        box-sizing: border-box;
        font-size: 14px;
    }

    body {
        width: 100vw;
        height: fit-content;
        padding: 0;
        padding-right: 0;
        margin: 0;
        margin-right: 0;
        font-family: "Nanum Square Round Regular", sans-serif;
        color: var(--text);
        background: var(--rainy-bg);
        overflow: visible;
    }

    .full-flex {
      
        display: flex;
        flex-flow: column;
        justify-content: flex-start;
        text-align: center;
        width: 100vw;
        height: 100vh;
        padding: 0px;
        margin: 0px;
        gap: 0px;
    }

    .center-flex {
        width: 100%;
        
        height: fit-content;
        min-width: 100%;
        align-items: center;
        padding: 0px 0px;
        margin: 100px 0px 0px 0px;
        gap: 0px;
        overflow: visible;
    }

    main {
        position: relative;
        flex: 1 1 auto;
        width: 100vw;
        height: fit-content;
        margin: 0;
        background: var(--frame);
        border: var(--borderstyle);
        border-radius: 2px;
        overflow-y: visible;
    }

    footer {
        display: none;
    }

    /* LEFT */
    .left {
        display: flex;
        flex-direction: row;
        width: 100%;
        position: relative;
    }

    /* RIGHT*/
    .right {
        display: none;
    }

    /* HEADER */
    header {
      align-content:center;
      align-items:center;
        text-align: left;
        justify-content: left;
        width: 100%;
        height: 87px;
        margin:0px;
        padding: 0px 0px 0px 15px;
    }

    .nav-header {
        border: 1px red solid;
        display: inline-block;
        aspect-ratio: 87 / 50;
        width: auto;
        height:70px;
        margin: 10px 0px 0px 0px;
        padding: 0px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    /* MENU */
    #show {
        display: block;
        width: 100%;
        height: fit-content;
        padding: 5px 0px;
        color: white;
        background: rgba(7, 7, 59, 0.18);
    }

    .mobile-header {
      background:rgba(0,0,0,0.3);
        filter: drop-shadow(0px 0px 3px black);
        position: fixed;
        z-index: 9;
        display: flex;
        align-items: center;
        align-content:center;
        width: 100%;
        height: 107px;
        margin-top: -10px;
    }

    .open {
        display: inline-block;
        width: 50px;
        height: 50px;
        margin-top: 5px;
        margin-right: 15px;
        padding: 10px 11px;
        text-align: center;
        align-items: center;
        font-size: 0.9rem;
        font-family: "Nanum Square Round Extra Bold", sans-serif;
        background: var(--nav);
        border-radius: 5px;
    }

    .open i {
        font-size: 2rem;
        margin-bottom: 3px;
    }

    .close {
        position: fixed;
        display: block;
        margin-left: -45px;
        height: 52px;
        width: 45px;
        color:white;
        font-weight: 900;
        align-content: center;
    }
    
    .close i {
        font-size: 1.5rem;
    }

    .nav-home {
        display: block;
        height: fit-content;
        padding: 5px;
        margin-top: 0px;
        text-align: center;
        text-shadow: 1.5px 2px 0px var(--text);
        background-color: var(--nav);
        border-top: solid 1px;
        border-bottom: solid 1px;
        border-color: var(--border);
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        box-shadow: inset 0 0 0 1px #edd2ff99;
    }

    .nav-home a {
        color: white;
        font-family: "Biscuitos", sans-serif;
        font-size: 2rem;
        text-decoration: none;
    }

    .nav-footer {
        display: block;
        height: fit-content;
        padding: 5px;
        margin-top: 0px;
        text-align: center;
        color: white;
        font-size: 0.8rem;
        text-decoration: none;
        text-shadow: 1px 1px 0px var(--text);
    }

    .nav-footer a {
        color: white;
        font-size: 0.8rem;
        text-decoration: underline;
    }

    .menu-container {
        position: fixed;
        width: 80vw;
        height: 100vh;
        top: 0;
        right: -100%;
        border-bottom-left-radius: 5px;
        background: url(/images/icons/november-icon.svg) var(--text);
        background-size: 100px;
        background-position: bottom -70px right 00px;
        background-repeat: no-repeat;
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.3);
        transition: 0.4s ease-in-out;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }

    #sidebar:checked ~ .menu-container {
        right: 0;
    }

    #menu-overlay {
        display: none;
        opacity: 0%;
    }

    #sidebar:checked ~ #menu-overlay {
        position: fixed;
        display: block;
        height: 100vh;
        width: 100vw;
        top: 0;
        background: black;
        opacity: 75%;
        z-index: 99;
        transition: all 0.5s ease-in-out;
    }

    /* NAV */
    .nav-title {
        display: none;
    }

    aside nav ul li a {
        width: 100%;
        height: 50px;
        font-family: "Nanum Square Round Bold", sans-serif;
        text-transform: capitalize;
        font-size: 1rem;
        text-align: center;
        border-bottom: none;
    }

    aside nav ul li {
        height: 35px;
        line-height: 37px;
    }

    nav ul:nth-child(4) li:last-of-type {
        border-bottom: double 1px var(--border);
    }

    aside nav ul li:first-of-type {
        border-top: dotted 1px;
    }

    aside nav ul:nth-child(1) li:first-of-type {
        border-top: none;
    }

    nav li:hover::before,
    nav li:hover::after {
        display: none;
    }

    .nav-link,
    .nav-end {
        display: none;
    }

    aside nav ul:nth-child(odd) .nav-end {
        background-color: var(--nav);
    }
    .nav-end:last-of-type {
        display: block;
        background: (--nav);
    }
}
