@font-face {
    font-family: "Handjet";

    src: url("/assets/fonts/Handjet-VariableFont_ELGR,ELSH,wght.ttf")
        format("truetype");

    font-style: normal;
    font-weight: 250;
}

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: "Handjet", sans-serif;
}


.gallery-grid {
    display: flex;
    flex-wrap: nowrap; 

    overflow-x: auto;
    overflow-y: hidden;

    gap: 8px;
    height: 100vh;
    width: 100vw; 

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-grid::-webkit-scrollbar {
    display: none;
}

.image-slice {
    flex: 0 0 80px;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.image-slice img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
}

.text-slice {
    flex: 0 0 80px;
    background: white;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    writing-mode: vertical-rl;
    text-orientation: mixed;

    color: #666;
    text-decoration: none;

    font-size: 20px;
    letter-spacing: 1px;

    flex-shrink: 0;
}


.text-slice.right {
    writing-mode: vertical-rl;
}

.text-slice.left {
    writing-mode: vertical-rl;
    transform: scale(-1);
}


.text-slice-link {
    color: inherit;
    text-decoration: none;
}

.text-slice-link:hover {
    text-decoration: underline;
    color: black;
}
.text-slice {
    width: 80px;
    height: 100vh;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
}

.text-slice-section {
    flex: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;

    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.text-slice-link {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;

}

#intro-overlay {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
    cursor: pointer;

    transition:
        opacity 1s ease,
        visibility 1s ease;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

#intro-message {
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.post {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post-title {
    font-size: 2rem;
    margin-top: 0.8rem;
    margin-bottom: 0;
    justify-content: center;
    display: flex;
}

.post-date {
    margin-top: 1rem;
    margin-bottom: 0;
    justify-content: center;
    display: flex;
        font-size: 20px;

}

.post-image {
    display: flex;
    justify-content: center;
}

.post-image img {
    max-width: 100%;
    max-height: 80vh;
}

.post-body {
    width: 60%;
    margin: 4rem;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: "Handjet", sans-serif;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    font-size: 20px;

}



.track-artist {
    margin-bottom: 4px;
}



.music-controls {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width:60%;
    color: #666;
    pointer-events: auto;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;

    pointer-events: auto;
    width: 120px;
    height: 15%;
    color:#c6c6c6;
    transform: rotate(90deg);

    background: transparent;
    cursor: pointer;
}

.volume-slider::-webkit-slider-runnable-track {
    height: 1px;
    background: black;
    color:#c6c6c6;

}

/* Thumb */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;

    width: 8px;
    height: 8px;

    margin-top: -3px;

    border-radius: 50%;
    background: currentColor;

    color:#c6c6c6;
}
