@font-face
{
    font-family: imported_font;
    src: url(RobotoMono-Regular.ttf);
}

body, html
{
    font-family: imported_font, monospace;
    font-size: 18px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
}

#main
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

#title
{
    font-size: 28px;
    margin-bottom: 1.6rem;
}

#game_container
{
    background-image: url(../img/bg.gif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#game
{
    box-shadow: 0 0 2px rgb(212, 218, 233);
    background-color: rgba(0, 0, 0, 0.63);
    position: relative;
}

.block
{
    position: absolute;
}

.snake_block
{
    background-color: #07ff00;
    opacity: 0.5;
}

.fruit
{
    background-color: red;
    border-radius: 50%;
    opacity: 0.5;
}

.unselectable
{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.no_cursor
{
    cursor: none !important;
}