root { 
    display: block;
}

body{
    background-repeat: repeat-x;
    background-position: top;
}

* {
    user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
}

::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

#canvas{
}

canvas {
    image-rendering: optimizeSpeed;
    image-rendering:-o-crisp-edges;
    image-rendering:-webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
	-ms-touch-action: none;
}

.ani_hack{
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* mobile webkit */
}

/***************FONTS*******************/

.check-fonts{
        position: fixed;
        opacity:0;
}


@font-face {
    font-family: 'Anton-Regular';
    src: url('Anton-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.prize-modal h3,
.prize-modal p,
.prize-modal button {
    font-family: 'Anton-Regular', sans-serif;
}

/* Animación para los bordes del modal */
@keyframes border-animation {
    0% {
        border-color: #fdffff;
		box-shadow: 0px 0px 40px 25px #ffeccf;
    }
    50% {
        border-color: #000; /* Un blanco más oscuro */
		box-shadow: 0px 0px 40px 35px #ffeccf;
    }
}

.prize-modal > div { /* Selecciona el div interno del modal */
    animation: border-animation 1.5s infinite alternate; /* Aplica la animación */
}
