* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
}

/* Popup Basis */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    z-index: 1000;
}

/* Überschriften */
.popup h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 900;  /* Montserrat Black */
}

/* Text */
.popup p {
    color: #666;
    margin: 15px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;  /* Montserrat Medium */
}

/* Game Button */
.game-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
    font-weight: 700;  /* Montserrat Bold */
}

.game-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Game Over Styles */
#gameOverPopup h2 {
    color: #e74c3c;
}

/* Highscore Styles */
#newHighscore h2 {
    color: #f1c40f;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

/* Score Werte */
#finalScore, #finalHighscore, #newHighscoreValue {
    font-weight: 700;  /* Montserrat Bold */
    font-size: 24px;
    color: #2980b9;
}

/* Canvas Score Text */
#gameCanvas {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;  /* Montserrat Bold */
}