@font-face {
    font-family: PixelOperator;
    src: url(8a28b611b4524577d745.ttf) format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: PixelOperator;
    src: url(adc3ab09706c7df90dc3.ttf) format('truetype');
    font-weight: bold;
}

body, html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #9DD200;
    font-family: PixelOperator, 'Courier New', monospace;
    text-align: center;
    overflow-x: hidden;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#preview {
    position: absolute;
    top: 100vh;
    left: 0;
}

h1 {
    font-size: 5rem;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

h2 {
    margin-bottom: 100px;
}

@media (max-width: 780px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .skull-left, .woman-right {
        display: none;
    }
}

@keyframes glitchEffect {
    0% { clip: rect(44px, 9999px, 56px, 0); }
    20% { clip: rect(20px, 9999px, 36px, 0); }
    40% { clip: rect(90px, 9999px, 130px, 0); }
    60% { clip: rect(60px, 9999px, 100px, 0); }
    80% { clip: rect(30px, 9999px, 60px, 0); }
    100% { clip: rect(10px, 9999px, 40px, 0); }
}

canvas#glitchCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.2;
}

.skull-left {
    position: absolute;
    transform: rotate(-20deg);
    top: 100px;
    left: -300px;
    height: auto;
    width: 250px;
}

.woman-right {
    position: absolute;
    transform: rotate(20deg);
    bottom: 0;
    right: -350px;
    height: auto;
    width: 400px;
}

.popup {
    width: 60%;
    background: #D7D7D7;
    border: 2px solid #000;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    border-radius: 5px;
    margin: 0 auto;

    @media (max-width: 780px) {
        margin: 0;
        width: 100%;
    }

    .popup-header {
        background: #565656;
        color: #FFF;
        font-size: 14px;
        padding: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #000;
    }

    .popup-header .close-btn {
        background: none;
        border: none;
        color: #FFF;
        font-size: 25px;
        cursor: not-allowed;
        border: solid 1px #FFF;
        border-radius: 5px;
        line-height: 16px;
        padding: 0;
        padding-left: 1px;
        padding-right: 1px;
        background-color: #8D8D8D;
    }

    .popup-body {
        padding: 20px;
        font-size: 14px;
        color: #000;
        display: flex;
        flex-direction: column;
        align-items: center;
        display: grid;
        grid-template-columns: 1fr 3fr;
    }

    .info-icon {
        width: 75px;
        height: 75px;
        background: #FFF;
        color: #565656;
        font-weight: bold;
        border-radius: 100%;
        font-size: 32px;
        margin-bottom: 10px;
        box-shadow: 2px 2px 2px #565656;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .info-icon::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 3px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 0 solid transparent;
        border-top: 13px solid #FFF;
        transform: rotate(-45deg);
    }
    
    .popup-footer {
        display: flex;
        justify-content: space-evenly;
        gap: 20px;
        padding: 20px;
    }

    .btn {
        border: solid 2px #565656;
        background-color: #D7D7D7;
        color: #000;
        box-shadow: 2px 2px 2px #565656;
        cursor: url(a0f9628e562b4a83240f.png), auto;
        font-size: 12px;
        padding: 5px 10px;
        width: 75px;
        text-decoration: none;
    }

    .btn:hover {
        border: solid 2px #FFF;
        color: #FFF;
    }
}

.scroll-down {
    margin-top: 100px;
    font-size: 20px;
    animation: bounce 1.5s infinite;

    @media (max-width: 780px) {
        margin-top: 200px;
    }

    a {
        color: #9DD200;
        text-decoration: none;
    }
}

a {
    cursor: url(a0f9628e562b4a83240f.png), auto;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #9DD200;
    border-radius: 10px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: #7FBF00;
}

html {
    scrollbar-color: #9DD200 #000;
    scrollbar-width: thin;
    cursor: url(f0b0171069d0bb423e77.png), auto;
}

#preview {
    position: relative;
    padding: 100px;
    padding-bottom: 0;
    height: calc(100vh + 200px);

    @media (max-width: 780px) {
        padding: 25px;
        padding-bottom: 0.1px;
    }

    .popup {
        text-align: left;

        .popup-body {
            line-height: 20px;
            display: block;
        }

        .popup-footer .btn {
            text-align: center;
            width: unset;
        }
    }

    .popup-left {
        position: absolute;
        left: 100px;
        width: 45%;
    }

    .popup-right {
        position: absolute;
        right: 100px;
        width: 45%;
        top: 550px;
    }

    @media (max-width: 1450px) {
        .popup {
            width: 90%;
        }

        .popup-left, .popup-right {
            position: static;
            width: 100%;
            margin-bottom: 25px;
        }
    }
}

.hidden {
    display: none;
}

#image-slider {
    .preview-image {
        img {
            max-width: 100%;
            height: 400px;
            width: 100%;
            object-fit: contain;
        }
    }

    .controls {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .prev-btn, .next-btn {
        font-family: PixelOperator, 'Courier New', monospace;
        border: solid 2px #565656;
        background-color: #D7D7D7;
        color: #000;
        box-shadow: 2px 2px 2px #565656;
        cursor: url(a0f9628e562b4a83240f.png), auto;
        font-size: 16px;
        padding: 5px 10px;
        font-weight: bold;
        text-decoration: none;
    }

    .prev-btn:hover, .next-btn:hover {
        border: solid 2px #FFF;
        color: #FFF;
    }
}
