:root {
    --text-size: min(180px, 15vw);
    --duck-size: 12px;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
    touch-action: manipulation;
}

body:not(.BigShotMode) {
    background: url("../media/waltuh.webp") repeat;
    background-size: 150px;
    animation: bg-scroll 150s linear infinite;
}

body.BigShotMode {
    background: url("../media/pogg.webp") repeat;
    background-size: 150px;
    animation: bg-scroll 10s linear infinite;
}

@keyframes bg-scroll {
    0% {
        background-position: 100vw -100vh;
    }
    100% {
        background-position: -100vw 100vh;
    }
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: -1;
    image-rendering: crisp-edges;
}

.bigshot {
    position: fixed;
    top: 10px;
    left: 10px;
    cursor: crosshair;
    font-size: var(--duck-size);
    color: white;
    z-index: 100;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none; 
    padding: 0;
    margin: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    :root {
        --text-size: min(140px, 18vw);
        --duck-size: 10px;
    }
    
    body:not(.BigShotMode) {
        background-size: 75px;
        animation-duration: 30s;
    }
    
    body.BigShotMode {
        background-size: 75px;
        animation-duration: 15s;
    }
    
    .bigshot {
        padding: 15px;
        font-size: calc(var(--duck-size) * 1.5);
        text-decoration: none;
    }
}