.startScreen,
.settingScreen,
.gameOverScreen,
.winnerOverScreen {
    max-width: 1200px;
    height: 700px;
    top: 0;
    z-index: 8;
    background: #00000087;
    border-radius: 10px;
    position: relative; /* Stelle sicher, dass sie relativ positioniert sind */
    overflow: hidden; /* Verhindert das Überlaufen von Inhalten */
}

.startImage img,
.images,
.gameOverImages,
.winnerOverImages {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verwende 'cover' statt 'inherit' */
}

.startWallpaperImage,
.gameOverImage,
.winnerOverImage {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    overflow: hidden;
    border-radius: 10px;
}

.muteContainer {
    height: 100%;
    display: flex;
    justify-content: end;
    position: absolute;
    align-items: end;
    width: 100%;
}

.muteBTN ion-icon {
    font-size: 45px;
    cursor: pointer;
}

.mobileVersion {
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 150;
    background-color: #cacaca;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.turnScreenBox {
    font-family: "Rye";
    font-size: 30px;
}

.turnScreenBox img {
    width: 250px;
    height: auto;
}

@media only screen and (orientation: portrait) {
    .mobileVersion {
        display: flex; 
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 950px) and (min-width: 700px) {
    .gamePage {
        width: 500px;
    }
  
}
@media only screen and (orientation: landscape) {
  
    .mobileVersion {
        display: none; 
    }
}
@media only screen and (max-width: 950px) and (orientation: landscape) {
    h1 {
        display: none;
    }
.mobileVersion {
    display: none;
}
    .gamePage {
        width: 100%;
        height: 100%;
    }

    .startScreen,
    .startImage,
    .startWallpaperImage,
    .settingScreen,
    .startScreen img {
        width: 100%;
        height: 100%;
    }

    .mobileButton {
        display: flex;
    }

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

    .canvas {
        height: 100%;
        width: 70%;
    }
}
