


body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}



.section {
    transition: transform 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section > :not(.pixel-trail-canvas):not(.pixel-rain-canvas) {
    position: relative;
    z-index: 2;
}

#main {
    overflow: hidden;
    background: #777d8c;
}

#main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.45;
    pointer-events: none;
}

#main img {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 0 rgba(62, 82, 109, 0.45));
}

.pixel-trail-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.pixel-rain-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

.z-4 {
    z-index: 4;
}

.nav-item {
    margin: 0 10px;
}



#modal-bg {
    z-index: 1000;
}

.artwork-container {
    overflow-y: auto;
    max-height: 55vh;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.artwork-container img {
    width: 100%;
    height: auto;
    border: 4px solid #000;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.artwork-title-wrapper {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    margin-bottom: 0.5rem;
    margin-top: 3.5rem;
}

.pagination-controls {
    position: absolute;
    bottom: 4px;
    align-items: center;
}

@media (min-width: 768px) {
    .artwork-container {
        max-height: 83vh;
        width: auto;
        padding: 0;
    }
    
    .artwork-title-wrapper {
        writing-mode: vertical-lr;
        text-orientation: upright;
        margin-bottom: 0;
        margin-top: 0;
    }
}

/* .nes-btn {
    color: #000;
    font-family: 'Press Start 2P', cursive;
}

.nes-btn[disabled] {
    cursor: not-allowed;
} */


.resume-container {
    width: 100%;
    height: 70vh;
    border: 4px solid #000;
}

.resume-container object {
    width: 100%;
    height: 100%;
}

.nes-btn {
    font-family: 'Press Start 2P', cursive;
    background-color: #2196F3;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nes-btn:hover {
    background-color: #0D47A1;
}
