.gameContainer {
    background-color: white;
    display: flex;
    flex-direction: column;
}

.board {
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 400px;
    border: 2px solid black;
    border-radius: 10px;
    background-image: url('/img/firstname-de/tippwolf/bg.png');
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    position: relative;
}

.box {
    height: 50px;
    top: 0;
    left: 0;
    position: relative;
    font-size: 150px;
}

.exitFullscreen {
    display: none;
}

.mobileKeyboard {
    display: none;
}

.keyBoardRow {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    overflow: hidden;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
}

.character {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff6571;
    background-image: linear-gradient(0deg, #ff6571 0%, #ff6571 27%, #ff6571 28%, #ff7782 69%);
    border: 1px solid black;
    border-radius: 3px;
    height: 50px;
    width: 30px;
    font-size: 40px;
    margin: 2px;
    float:left;
    user-select: none;
}

.tippwolfButton {
    background:    #f4cccc;
    background:    linear-gradient(#f4cccc, #ff6571 50%, #f4cccc);
    border:        1px solid #556699;
    border-radius: 1000px;
    box-shadow:    0 1px #444444;
    padding:       5px 35px;
    color:         #ffffff;
    font-family:   'source_sans_prosemibold', sans-serif;
    font-size:     1.5rem;
    text-align:    center;
}

.tippwolfButton:hover {
    background: linear-gradient(#f4cccc, #ff5571 50%, #f4cccc);
    box-shadow: 0 1px #444444;
    color:         #ffffff;
}

.tippwolfButton:active {
    background: linear-gradient(#ff6571, #f4cccc 50%, #ff6571);
    box-shadow: 0 1px #444444;
    color:         #ffffff;
}

.buttonContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scoreContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scoreField {
    font-size: 40px;
    color: #ff6571;
}

.levelField {
    font-size: 40px;
    color: #ff6571;
}

.gameOverField {
    font-size: clamp(3em, 5vw, 5em);
    color: #ff6571;
    background-color: white;
    border: 1px solid #556699;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    display: inline-block;
    white-space: nowrap;
}

.animate-pulsate {
    animation: pulsate .5s ease-out 3;
}

@keyframes pulsate {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.saveHighscoreOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
}

.saveHighscore {
    background: #edeae8;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'source_sans_prosemibold', sans-serif;
    font-size: 1.5rem;
    word-wrap: break-word;
    max-width: 90%;
}

.highScoreName {
    margin: 10px 0;
}

.highscoreButtonContainer {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.highscore-table {
    border-collapse: collapse;
    width: 100%;
    background-color: #f9f9f9;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    font-family: 'source_sans_prosemibold', sans-serif;
    font-size: 1.5rem;
}

.highscore-table th, .highscore-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.highscore-table th {
    background-color: #ff6571;
    color: white;
}

.highscore-table tr:hover {
    background-color: #f5f5f5;
}

.highscore-name-column {
    font-weight: bold;
    text-align: center;
}

.highscore-score-column {
    text-align: right;
}

.highscore-level-column {
    text-align: right;
}

.highscore-date-column {
    text-align: right;
}


@media (max-width: 600px) {
    .saveHighscore {
        width: 85%;
        font-size: 1.2rem;
    }

    .tippwolfButton {
        font-size: 1.2rem;
        padding:   5px 15px;
    }
}
