/* FONT */

@font-face {
    font-family: "Galmuri";
    src: url("/fonts/Galmuri11.woff2");
}
@font-face {
    font-family: "Galmuri Mono";
    src: url("/fonts/GalmuriMono11.ttf");
}
@font-face {
    font-family: "Galmuri Bold";
    src: url("/fonts/Galmuri11-Bold.woff2");
}
@font-face {
    font-family: "Galmuri Con";
    src: url("/fonts/Galmuri11-Condensed.ttf");
}

@font-face {
    font-family: "Merchant Copy";
    src: url("/fonts/Merchant-Copy.ttf");
    font-display: swap;
}
@font-face {
    font-family: "Merchant Copy Double";
    src: url("/fonts/Merchant-Copy-Doublesize.ttf");
}

/* VARIABLES */
:root {
    --cyan: #008eff;
    --magenta: #ef078c;
    --yellow: #f1ff00;
    --keyblack: #110e15;
    --border: #635259;
    --hr: #c0bdbe;
    --box-bg: url("/images/tile-bg.jpg");
    --shadow: 1px 2px 2px rgba(40, 38, 43, 0.2);

    --main-font: Galmuri, sans-serif;
}

* {
    font-size: 12px;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: var(--main-font);
    background: url("/images/sky-bnw.png");
    background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    font-size: 12px;
    text-align: left;
    text-shadow: 0px 0px 1px #bdcba0;
    color: var(--keyblack);
}

@keyframes moveDiagonal {
    from {
        background-position: 40px 40px;
    }
    to {
        background-position: 0 0;
    }
}

.center-align {
    text-align: center;
}

.right-align {
    text-align: right;
}

.left-align {
    text-align: left;
}

.text {
    font-size: 12px;
    font-size: 12px;
    margin-bottom: 15px;
    padding: 0px 15px;
    z-index: 2;
}

a {
    color: var(--cyan);
    text-decoration: underline dotted 1px;
    text-underline-offset: 3px;
    text-shadow: none;
}

a:hover {
    color: var(--magenta);
}

a img:hover {
    opacity: 85%;
}

hr.dotted {
    border-top: 1px dotted var(--hr);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-shadow: 0px 0px 1px #adcb71;
}

h1.tunes-title {
    margin-top: 10px;
    font-family: Merchant Copy Double;
    color: var(--keyblack);
}

h1 {
    color: var(--magenta);
    font-size: 1.3rem;
    font-weight: normal;
    text-transform: uppercase;
    margin: 5px 5px 5px 5px;
}

h2 {
    color: var(--magenta);
    font-size: 1.2rem;
    font-weight: normal;
    width: 100%;
    height: 1rem;
    display: flex;
    flex-direction: row;
    margin-left: 5px;
}

h2::after {
    content: "";
    flex: 1 30px;
    border-bottom: 1px dotted var(--hr);
    margin-left: 10px;
    margin-right: 7px;
}

h3 {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: normal;
    text-transform: uppercase;
    width: 100%;
    height: 1rem;
    display: flex;
    flex-direction: row;
    margin-left: 15px;
    margin-bottom: 5px;
}

ul {
    padding: 0px 20px;
}

ul li {
    margin: 5px;
}

.box li::marker {
    content: "+  ";
}

.spark::before {
    content: "✽";
    margin-right: 5px;
    font-size: 19px;
}

.heart::before {
    content: "♡⁠";
    margin-right: 6px;
    font-family: sans-serif;
    font-size: 19px;
}

.star::before {
    content: "★";
    margin-right: 5px;
    margin-top: -3px;
    font-family: sans-serif;
    font-size: 18px;
}

.music::before {
    content: "♪";
    margin-right: 6px;
    font-family: sans-serif;
}

.layout {
    margin: 20px auto 50px auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(
        to right,
        transparent 0,
        transparent calc(50% - 250px),
        white calc(50% - 250px),
        white calc(50% + 250px),
        transparent calc(50% + 250px),
        transparent 100%
    );
}

.layout2 {
    position: relative;
    margin: 20px auto 0px auto;
    height: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.star-line {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.star-line span {
    font-family: sans-serif;
    font-size: 1.2rem;
    line-height: 1;
}


.main-default {
    width: 100%;
    max-width: 800px;
    display: flex;
    gap: 8px;
}

.directory-area {
    margin-top: 1px;
    width: calc(100% / 4);
    position: sticky;
    top: 5px;
    align-self: flex-start;
}

.directory {
    min-height:300px;
    background: var(--keyblack);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.directory-section {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.directory-title {
    margin-top: 0px;
    background: var(--mage);
    padding: 5px 8px;
    color: white;
    border-bottom: 1px solid white;
}

.directory-heading {
    background: var(--keyblack);
    color: white;
    padding: 3px;
    text-align: left;
}

.directory-link {
    margin: 0px 7px 0px 6px;
    border-bottom: 1px dotted var(--border);
    border-left: 1px dotted var(--border);
    border-bottom-left-radius: 3px;
    padding: 3px 3px 3px 8px;
    color: white;
    cursor: pointer;
}

a.directory-link,
a.directory-heading {
    text-decoration: none;
}

a.directory-link:hover::after {
    content: "<";
    margin-left: 0px;
    color: var(--magenta);
}

.content-area {
    width: 100%;
    height: 100%;
    margin-top: 1px;
    gap: 8px;
    display: grid;
}

.content-area-show {
    width: 100%;
    height: 100%;
    margin-top: 5px;
    gap: 8px;
    display: grid;
}

.content-area {
    display: none;
}

.content-area:target {
    display: grid;
}

#aboutme {
    display: grid;
}

#aboutme:target {
    display: grid;
}

.header-default {
    justify-content: center;
    padding-top: 36px;
    width: 100%;
    max-width: 640px;
}

.header-box {
    text-align: center;
    margin-bottom: 25px;
}

.header2 {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.header2-box {
    width: 100%;
    text-align: right;
    margin-bottom: 5px;
}

.header-lines {
    position: fixed;
    top: 0;
    left: max(0px, calc(50% - 480px));
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(var(--shadow));
    display: flex;
    gap: 5px;
}

.line {
    display: block;
    width: 15px;
    position: relative;
}

.line::after {
    content: "★";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(52%);
    color: var(--keyblack);
    font-family: sans-serif;
    font-size: 2rem;
    line-height: 1;
     rotate: 180deg; 
}

.y-line::after {
    color: var(--yellow);
}

.c-line::after {
    color: var(--cyan);
}

.m-line::after {
    color: var(--magenta);
}

.c-line {
    background: var(--cyan);
    height: 40vh;
}

.y-line {
    background: var(--yellow);
    height: 25vh;
}

.m-line {
    background: var(--magenta);
    height:90vh;
}

.lastfm-song-info {
    display: flex;
    align-content: center;
    gap: 10px;
    margin: 10px 0px 10px 5px;;
}

.lastfm-text-info {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 75px;
    gap: 2px;
    padding: 0px;
    min-width: 0;
}

.lastfm-art {
    width: 75px;
    height: 75px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid gray
}

.lastfm-name {
    color: var(--cyan);
    font-size: 1rem;
    margin: 0;
}

.lastfm-artist {
    font-size: 1rem;
    margin: 0;
}

.lastfm-album {
    font-size: 0.9rem;
    margin: 0;
}

.lastfm-widget-info {
    text-align: right;
    font-size: 0.9em;
    margin-right: 5px;
}

.lastfm-widget-info a {
    font-size: 0.9em;
}


.header2-box,
.header2 nav {
    position: relative;
    z-index: 1;
}

.header-address {
    color: var(--keyblack);
    margin-top: 10px;
    font-family: var(--main-font);
}

.address {
    margin-top: 10px;
}

.site-title {
    font-family: Merchant Copy Double;
    padding: 0px 0px;
}

.site-title a {
    color: var(--keyblack);
    font-size: 2rem;
    text-decoration: none;
    text-align: right;
}

.site-title a:hover {
    text-decoration: underline;
}

.clock {
    font-family: Merchant Copy;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.nav-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
}

.nav-link a {
    color: white;
    background: var(--keyblack);
    padding: 5px 0px 7px 0px;
    text-decoration: none;
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--main-font);
    filter: drop-shadow(var(--shadow));
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    corner-bottom-left-shape: bevel;
    corner-top-right-shape: bevel;
}

.nav-link a:hover {
    color: var(--yellow);
}

.nav-link a.active::before,
.nav-link a:hover::before {
    content: "[";
    color: var(--yellow);
    margin-right: 10px;
}

.nav-link a.active::after,
.nav-link a:hover::after {
    content: "]";
    color: var(--yellow);
    margin-left: 10px;
}

.half-container {
    display: flex;
    width: 100%;
    gap: 8px;
}

.half-container .box {
    flex: 1;
}

.box {
    min-height: 100px;
    border: 1px solid var(--border);
    background-image: var(--box-bg);
    box-shadow: var(--shadow);
}

.journal-divider {
    width: 100%;
    max-width: 1000px;
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

.journal-left {
    width: 325px;
    flex-shrink: 0;
    margin-top: 15px;
}

.journal-right {
    flex: 1;
    min-width: 0;
    margin-top: 15px;
}

.journal-box-left {
    height: 70vh;
    min-height: 100px;
    border: 1px solid var(--border);
    background-image: var(--box-bg);
    box-shadow: var(--shadow);
}

.journal-box-right {
    position: relative;
    height: 70vh;
    border: 1px solid var(--border);
    background-image: var(--box-bg);
    box-shadow: var(--shadow);
}

.journal-box-right::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -19px;
    bottom: 15px;
    border-left: 32px solid transparent;
    border-image-source: url("/images/ring-border.png");
    border-image-repeat: repeat;
    border-image-slice: 0 0 0 100%;
}

.journal-overflow {
    height: 69.8vh;
    overflow-y: auto;
    overflow-x: hidden;
}

#journal-content {
    padding: 30px;
}

.tab-container {
    max-width: 100%;
    height: 30px;
    background: var(--keyblack);
    color: white;
    width: fit-content;
    border: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    right: -15px;
    top: -1px;
    position: absolute;
    overflow: hidden;
}

#tab-title {
    padding: 6px 15px 5px 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.tab-title a {
    color: white;
}

.tab-shape {
    display: block;
    width: 14px;
    height: 29px;
}

.tab-shape.c-tab {
    background: var(--cyan);
}

.tab-shape.m-tab {
    background: var(--magenta);
}

.tab-shape.y-tab {
    background: var(--yellow);
}

.journal-preview {
    margin-bottom: 15px;
    padding-bottom: 15px !important;
    border-bottom: 1px dashed var(--border);
}

.half-column {
    display: flex;
    justify-content: space-between;
}

section {
    padding: 0px 15px 15px 15px;
}

.content {
    padding: 0px;
}

.pic-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0px 20px;
}

.pic-box img {
    width: auto;
    height: 100px;
    object-fit: cover;
    filter: drop-shadow(1px 1px 2px rgb(0 0 0 / 0.5));
}

.corners-left {
    height: 15px;
    display: flex;
}

.corners-right {
    height: 15px;
    display: flex;
    justify-content: flex-end;
}

.c {
    display: block;
    background: var(--cyan);
    width: 15px;
    height: 15px;
}

.m {
    display: block;
    background: var(--magenta);
    width: 15px;
    height: 15px;
}
.y {
    display: block;
    background: var(--yellow);
    width: 15px;
    height: 15px;
}
.k {
    display: block;
    background: var(--keyblack);
    width: 15px;
    height: 15px;
}

.entry-container {
    height: 100%;
    margin-top: 15px;
    padding: 0px 20px;
    text-align: center;
    display: flexbox;
}

.journal-entry {
    margin: 10px;
    padding: 0px 15px;
    scroll-margin-top: 500px;
}

.entry-title {
    font-family: Merchant Copy Double;
    color: var(--keyblack);
    margin: 15px 0px 3px 0px;
}

.entry-date {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.entry-content {
    height: fit-content;
}

button {
    background: var(--keyblack);
    color: white;
    font-family: var(--main-font);
    font-size: 0.9rem;
    border: none;
    margin-bottom: 5px;
    width: 100%;
    text-align: left;
}

button:hover {
    cursor: pointer;
}

.entry-btn {
    padding: 5px 8px 5px 10px;
    margin-left: 2px;
    background: var(--keyblack);
    color: white;
    font-family: var(--main-font);
    font-size: 0.9rem;
}

.entry-btn.y-tag {
    border-right: 10px solid var(--yellow);
}

.entry-btn.y-tag:hover {
    background: var(--yellow);
    color: var(--keyblack);
}

.entry-btn.c-tag {
    border-right: 10px solid var(--cyan);
}

.entry-btn.c-tag:hover {
    background: var(--cyan);
    color: white;
}

.entry-btn.m-tag {
    border-right: 10px solid var(--magenta);
}

.entry-btn.m-tag:hover {
    background: var(--magenta);
    color: white;
}

.pfp {
    width: fit-content;
    align-items: flex-start;
    padding: 15px;
    z-index: 99;
}

.pfp img {
    max-width: 240px;
    margin: 0px;
}

.lez-symbol {
    position: relative;
}

.lez-symbol::after {
    content: url("/images/lez-symbol.png");
    position: absolute;
    right: 15px;
    bottom: 9px;
    z-index: -99;
    pointer-events: none;
    opacity: 70%;
}

.tiny-buttons {
    margin-top: 15px;
    justify-items: center;
    text-align: center;
    width: 100%;
}

.special-heading {
    background: var(--keyblack);
    font-family: Merchant Copy double;
    font-size: 1.2rem;
    font-weight: normal;
    color: white;
    padding: 5px 1px 2px 2px;
    margin: 30px 0px;
}

.type-text::after {
    content: "|";
    color: white;
    margin-left: 1px;
    font-size: 1.5rem;
    font-family: serif;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

details {
    margin: 0px;
    ul:not(.filters),
    ol {
        list-style-type: decimal;
        margin-left: 22px;
    }
    ol {
        margin-top: 6px;
        margin-bottom: 2px;
    }
    summary {
        cursor: pointer;
        color: inherit;
        padding: 5px 8px 5px 8px;
        color: white;
        background-color: var(--magenta);
        &:hover {
            background-color: var(--keyblack);
            color: white;
        }
    }
    details-content {
        padding: 10px;
        display: block;
    }
    &[open] {
        margin-bottom: 0px;
        summary {
            background-color: var(--keyblack);
            color: white;
            border-bottom: 1px solid var(--border);
        }
    }
}

footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: var(--keyblack);
    color: white;
    padding: 5px;
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: var(--shadow);
}

footer div,
footer a {
    font-size: 0.8rem;
    color: white;
}

.main-divider {
    width: 100%;
    max-width: 1000px;
    display: flex;
    margin-top: 15px;
    gap: 15px;
    align-items: flex-start;
}

.sidebar-left {
    width: 325px;
    flex-shrink: 0;
}

.sidebar-box {
    background: var(--box-bg);
    border: 1px solid var(--border);
    overflow-y: auto;
    max-width: 100%;
    box-shadow: var(--shadow);
}

.sidebar-intro {
    margin-bottom: 8px;
}

.sidebar-title {
    background: var(--keyblack);
    color: white;
    padding: 7px 5px 5px 7px;
    min-height: 30px;
    align-content: center;
}

.sidebar-container {
    padding: 10px 20px 20px 20px;
}

.playlist-container {
    border-top: none;
}
.sidebar-text {
    padding: 5px;
}

.playlist-nav {
    display: flex;
    flex-direction: column;
}

.playlist-title {
    background: var(--keyblack);
    color: white;
    margin-top: 10px;
    padding: 5px 5px 5px 10px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.playlist-link {
    color: var(--keyblack);
    padding: 5px 5px 5px 10px;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.playlist-link a {
    text-decoration: none;
}

.playlist-link:last-child {
    border-bottom: none;
}

.playlist-link.active {
    background: var(--magenta);
    color: white;
    text-decoration: none;
}

.playlist-link:hover {
    background: var(--magenta);
    color: white;
    text-decoration: none;
}

/* YOUTUBE PLAYER */
.video-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding-bottom: 56.4%;
    height: 0;
    overflow: hidden;
    margin: auto;
    box-shadow: var(--shadow);
}

.video-style {
    border: var(--border) 1px solid;
    min-width: 100%;
    max-width: 700px;
    margin-bottom: -10px;
}

.video-container iframe,
.video-container > div {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-bottom: none;
    box-shadow: var(--shadow);
}

/* playlist */
.player-container {
    flex: 1;
    gap: 0px;
    min-width: 0;
}

#playlist {
    margin-top:-5px;
    position: relative;
    width: 100%;
    background: var(--box-bg);
}

#playlist tr {
    font-size: 01rem;
}

#playlist tr:hover {
    background-color: var(--cyan);
    color: white;
    cursor: pointer;
}

#playlist td {
    padding: 9px 10px 8px 10px;
    font-size: 0.9rem;
    border-bottom: var(--border) 1px solid;
}

#playlist th {
    padding: 6px 10px 5px 10px;
    font-size: 0.9rem;
    text-align: left;
    background: var(--keyblack);
    color: white;
    font-weight: 300;
    text-shadow: none;
    cursor: default;
    text-decoration: none !important;
}

#playlist th :hover {
    color: black !important;
    cursor: default;
    text-decoration: none !important;
}

table#playlist tbody tr :nth-child(1) {
    text-align: center;
}

table#playlist tbody th:nth-child(1) {
    text-align: center;
}

table#playlist tbody tr :nth-child(2) {
    text-align: left;
}

table#playlist tbody th:nth-child(2) {
    text-align: left;
}

.now-playing {
    display: flex;
    text-align: left;
    padding: 5px 10px 3px 10px;
    font-size: 1rem;
    background: var(--box-bg);
    border: 1px solid var(--border);
    width: 100%;
    height: 35px;
    margin-left: 5px;
    align-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

marquee {
    max-width: 320px;
}

.video-title {
    margin-left: 5px;
}

.controls {
    margin: 0px 0px 0px 0px;
    width: 100%;
    display: flex;
    gap: 3px;
    
}

.control-btn {
    width: 45px;
    height: 35px;
    color: white;
    font-size: 1rem;
    margin: 0px;
    background: var(--keyblack);
    text-align: center;
    align-content: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.controls i:first-of-type {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.controls i:last-of-type {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.control-btn:hover {
    background: var(--magenta);
    cursor: pointer;
}

/* ===== Scrollbar CSS ===== */
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background-color: #000000;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

*::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background: var(--magenta);
}

*::-webkit-scrollbar-thumb:hover {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background: var(--yellow);
    box-shadow: none;
}

@media (min-width: 700px) {
    .nav-link {
        display: flex;
        flex-wrap: nowrap;
    }

    .nav-link a {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 699px) {
    body {
        margin-bottom: 50px;
    }
    .header-address {
        display: none;
    }

    .clock {
        display: none;
    }

    .header-default {
        padding-top: 20px;
    }

    .header2-box {
        justify-content: center;
    }

    .page-decoration {
        left: 0;
    }

    .video-title {
        min-width: 0;
        max-width: 230px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .sidebar-left {
        width: 100%;
        margin-top: 15px;
    }

    .main-divider {
        flex-direction: column;
        align-items: center;
        display: contents;
        width: 100%;
    }

    .sidebar-box {
        width: 100%;
        margin-bottom: 0px;
    }
    .sidebar-intro {
        margin-bottom: 15px;
    }

    .player-container {
        margin-top: 15px;
        width: 100%;
    }

    .half-column {
        flex-direction: column;
    }

    .half-container {
        flex-direction: column;
        gap: 0;
    }
    .nav-link {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nav-link a {
        width: 100%;
    }

    .pfp {
        width: 100%;
        padding: 5px;
        text-align: center;
        justify-content: center;
        order: 2;
    }

    .pfp img {
        margin: 0px;
    }
}
