root { 
    display: block;
}

body{
    background-color: #9a6600;
    background-repeat: repeat-x;
    background-position: top;   
	font-family: 'Chewy', cursive;
}

*, *:before, *:after {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
     
input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

#canvas{
    position: fixed;  
}

canvas {
    image-rendering: optimizeSpeed;
    image-rendering:-o-crisp-edges;
    image-rendering:-webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    -ms-touch-action: none;
    touch-action: none;
}

.ani_hack{
    perspective: 1000;
    -webkit-perspective: 1000;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    touch-action: none;
    -ms-touch-action: none;
    -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;
}

.check-font-1{
        font-family: 'obelixproitalic';
}
                
@font-face {
    font-family: 'obelixproitalic';
    src: url('obelixproit-cyr-webfont.woff2') format('woff2'),
         url('obelixproit-cyr-webfont.woff') format('woff'),
         url('obelixproit-cyr-webfont.svg#obelixproitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Frog modal image for wallet gate */
.frog-modal-img {
    width: 48px;
    height: 48px;
    background-image: url('../sprites/hero.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 192px 192px; /* Adjust if the spritesheet is a different size */
    border-radius: 12px;
    box-shadow: 0 4px 12px #0006;
    display: block;
}

/* Speech bubble for wallet modal */
.speech-bubble {
    background: #9a6600;
    color: #fff;
    border-radius: 18px;
    padding: 18px 24px 18px 24px;
    font-size: 1.2em;
    box-shadow: 0 2px 8px #0003;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-width: 220px;
    max-width: 340px;
}

.speech-bubble-arrow {
    position: absolute;
    left: -18px;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 18px solid #9a6600;
    content: "";
    display: block;
}
