/* --- SIDEBAR --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 8px;
    background: #000000;
    border-right: 1px solid #000000;
    z-index: 10;
}

.sidebar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin: 10px 0;
    transition: opacity 0.2s ease;
}

.sidebar a:hover {
    opacity: 0.5;
}

/* Ensure the whole page background is black and text is readable */
body {
    background: #000000;
    color: #ffffff;
}


.container {
    margin-left: 70px;
    padding: 85px;
    flex: 1;
    max-width: 900px;
}

.container img {
    max-width: 3000px;
    width: 100vw;
    /* responsive: 70% of viewport width on small screens */
    height: auto;
    display: block;
    margin: 40px auto;
}

/* Sparkle effect styling */
.sparkle-effect {
    position: absolute;
    width: 64px;
    height: 64px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    animation: sparkle-fade 1.8s linear forwards;
}

@keyframes sparkle-fade {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* ensure SVG arrows in the sidebar are visible and sized (shared) */
.sidebar a {
    padding: 6px;
}

.sidebar a svg {
    width: 20px;
    height: 20px;
    display: block;
}

.sidebar a svg path {
    stroke: currentColor;
}