* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: black;
    color: chartreuse;
}

#gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

#gallery img.flicker {
    animation: flicker 0.5s steps(1);
}

.sidebar {
    position: fixed;
    top: 20px;
    left: 20px;
    bottom: 20px;
    z-index: 10;
    width: 640px;
    background-color: rgba(0, 0, 0, 0.5);
}

.sidebar-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-style: solid;
    border-radius: 15px;
    border-color: chartreuse;
    z-index: 12;
    pointer-events: none;
    animation: borderPulse 5s ease-in-out infinite;
}

.sidebar-content {
    position: relative;
    z-index: 11;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    animation: shadowPulse 5s ease-in-out infinite;
}

.heading {
    position: static;
    margin: 20px;
    font-family: elevon, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
}

.description {
    margin: 20px;
    font-family: video, serif;
    flex-grow: 1;
}

.navigation {
    margin: 20px;
    display: flex;
    justify-content: space-between;
    font-family: elevon, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
    animation: blink 1s steps(1) infinite;
}

@keyframes shadowPulse {
    0%, 100% {
        text-shadow: 0 0 20px;
    }
    50% {
        text-shadow:
            0 0 20px,
            0 0 30px;
    }
}

@keyframes borderPulse {
    0%, 100% {
        box-shadow:
            inset 0 0 20px chartreuse,
            inset 0 0 0px chartreuse,
            0 0 20px chartreuse,
            0 0 0px chartreuse;
    }
    50% {
        box-shadow:
            inset 0 0 20px chartreuse,
            inset 0 0 30px chartreuse,
            0 0 20px chartreuse,
            0 0 30px chartreuse;
    }
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes flicker {
    0%, 5%, 10%, 15%, 25%, 35%, 50%, 65%, 85%, 100% {
        opacity: 1;
    }
    2%, 8%, 12%, 20%, 30%, 45%, 60%, 75%, 90% {
        opacity: 0;
    }
}
