/* general styling */
@font-face {
  font-family: "Neuebit";
  src:
    local("Neuebit"),
    url("https://memar.neocities.org/fonts/NeueBit-Regular.otf") format("opentype"),
    url("https://memar.neocities.org/fonts/NeueBit-Regular.ttff") format("truetype"),
    url("https://memar.neocities.org/fonts/NeueBit-Regular.woff") format("woff");
    /*url("https://memar.neocities.org/fonts/NeueBit-Regular.woff2") format("woff2");
    url("https://memar.neocities.org/fonts/NeueBit-Regular.eot") format("eot");*/
}


/* Left Navigation Bar */
.left-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 45px;
    height: 100vh;
    background-color: #000000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0 15px 0;
    box-shadow: 2px 0 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Home link with icon */
.home-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    padding: 5px;
}


.home-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Filter group container */
.filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding-bottom: 5px;
}

/* Rotated text for nav items */
.nav-text {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: 10px;
    font-family: 'Neuebit';
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 0px 10px 0px 10px;
}

/* Filter buttons */
.filter-btn {
    width: 35px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.filter-btn:hover {
    background-color: #000000;
}

.filter-btn.active {
    color: #aaff01;
}

/* Body and container setup */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    font-family: 'Neuebit';
    font-size: 20px;
    line-height: 1.005em;
    letter-spacing: .6px;
}

/* Main container with horizontal scrolling */
.sketchbook-container {
    margin-left: 45px;
    height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
}

/* Hide scrollbar but keep functionality */
.sketchbook-container::-webkit-scrollbar {
    display: none;
}

.sketchbook-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Individual post containers */
.post {
    flex-shrink: 0;
    width: calc(100vw - 45px - 80px); /* Full width minus nav and preview */
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
}

/* Media container within post */
.post-media {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-media img,
.post-media video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Post description */
.post-description {
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
}

.post-description a {
    color: #0066cc;
    text-decoration: none;
}

.post-description a:hover {
    text-decoration: underline;
}
