@font-face {
    font-family: 'EduROM-Medium';
    src: url('fonts/EduROM-Medium.woff') format('woff');
}

html,
body {
    overscroll-behavior: none;
    height: 100%;
    margin: 0;
    overflow: auto;
    scrollbar-width: none;
    background-color: white;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

* {
    font-family: 'EduROM-Medium';
    font-weight: normal;

}

body::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
}

.container {
    padding-inline: 20px;
    padding-bottom: 0;
}

.containerBottom {
    padding-inline: 20px;
    padding-top: 100%;
}

h1 {
    padding-top: 0;
    padding-bottom: 150%;
    text-align: center;
    line-height: 0.9;
    font-size: 2.2rem;
}

small {
    font-size: 1rem;
}

h2 {
    text-align: center;
    font-size: 0.8rem;
    padding-inline: 20%;
    padding-top: 75%;
    padding-bottom: 75%;
    line-height: 0.9;

}

p {
    font-size: 1.2rem;
    hyphens: auto;
    line-height: 1;
}

h3 {
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
    line-height: 1;
    font-size: 3rem;
}

/* Main */

.navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.rect {
    position: absolute;
    display: block;
    background-color: none;
    color: black;
    font-size: 2.5rem;
    text-align: center;
}

.settings {
    z-index: 100;
}

.settings label {
    position: relative;
    top: -7px;
    color: black;
    font-size: 1rem;
    line-height: 0;
}

/* ZWEI */

.playfield {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vmin;
    height: 80vmin;
    transform: translate(-50%, -50%);
    /*border: solid red 1px;*/
    display: grid;
    grid-template-columns: repeat(5, 0fr);
    grid-template-rows: repeat(5, 0fr);
}

.solution {
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 80vmin;
    height: 80vmin;
    transform: translate(-50%, -50%);
    background-color: none;
    z-index: 100;
    background-size: contain;
    background-repeat: no-repeat;
}

.zweiTiles {
    position: relative;
    top: 0;
    left: 0;
    width: 16vmin;
    height: 16vmin;
    border: none;
}

.moveTile {
    position: absolute;
    width: 10vmin;
    height: 10vmin;
    background-color: none;
    z-index: 20;
}

.zweiMoveTiles {
    position: absolute;
    width: 16vmin;
    height: 16vmin;
    background-color: black;
    z-index: 10;
    /*border: 1px solid blue;*/
    background-size: contain;
    background-repeat: no-repeat;
}

.zweiMoveTiles img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emptyTile {
    position: absolute;
    width: 0vmin;
    height: 0vmin;
    background-color: none;
    z-index: 9;
}

/* DREI */

.snakeHead {
    position: absolute;
    background-color: white;
    box-sizing: border-box;
    border: 5px solid black;
    border-radius: 100%;
    z-index: 10;
}

.bodyPart {
    position: absolute;
    border-radius: 100%;
    z-index: 10;
}

.fruit {
    position: absolute;
    box-sizing: border-box;
    /*border: 5px solid;*/
    border-radius: 100%;
    z-index: 5;
}

.snakePointsCounter {
    position: absolute;
    text-align: center;
    top: 40px;
    width: 100%;
    height: auto;
    font-size: 2rem;
    z-index: 1;
}