* {
    background-color: black;
    color: white;
    font-family: monospace;
    text-align: center;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px red, -2px -2px blue;
    }
    20% {
        text-shadow: -2px -2px red, 2px 2px blue;
    }
    40% {
        text-shadow: 2px -2px red, -2px 2px blue;
    }
    60% {
        text-shadow: -2px 2px red, 2px -2px blue;
    }
    80% {
        text-shadow: 2px 2px red, -2px -2px blue;
    }
    100% {
        text-shadow: -2px -2px red, 2px 2px blue;
    }
}

@keyframes matrix {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes rain {
    0% {
        content: '0';
    }
    50% {
        content: '1';
    }
    100% {
        content: '0';
    }
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.page {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

pre {
    position: relative;
    overflow: hidden;
    animation: glitch 1s infinite, matrix 2s infinite;
    margin: 0;
    width: 100%;
    padding: 0 10px;
}

pre::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: attr(data-content);
    color: lime;
    background: transparent;
    animation: rain 0.1s infinite;
    mix-blend-mode: multiply;
    pointer-events: none;
}

::-webkit-scrollbar {
    display: none;
}

.scrollbar-none {
    scrollbar-width: none;
}

@media (max-width: 768px) {
    pre {
        width: 100%;
        font-size: 12px;
        overflow-x: auto;
        pointer-events: none;
        padding: 0 10px;
    }

    .container {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }

    pre::before {
        color: inherit;
        animation: matrix 2s infinite;
    }
}