:root {
    --accent-color: #ffbd29;
    --bg-color: black;
    --letters-color: white;
    --ui-accent: #fef3a4 !important;
    --ui-background: #4f3025e5 !important;
    --base-background: #9c3938 !important;
}

@font-face {
    font-family: 'LuckiestGuy';
    src: url('../assets/fonts/LuckiestGuy.ttf') format('ttf');
}

html {
    -ms-touch-action: none;
}

body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    cursor: default;
    color: #000000;
    background-color: #000000;
    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#game-div {
    background-size: cover;
    background-position: center;
}

#loading {
    position: fixed;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    max-width: 50%;
    max-height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

svg {
    width: 100%;
    height: 100%;
    position: absolute;
    max-width: 355px;
    max-height: 341px;
}

#letters-svg {
    fill: var(--letters-color);
}

#outline-svg path {
    stroke: var(--bg-color);
    stroke-width: 10;
    fill: none;
    transition: stroke-dashoffset 0.01s ease-in-out;
}

#letters-svg {
    transform-origin: center center;
    animation: scale 250ms ease-in-out forwards;
}

@keyframes scale {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

canvas {
    opacity: 0;
    animation: show 0.5s ease-in-out forwards;
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
