body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-image: url('img/background_body.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

canvas {
    background-color: black;
    margin-bottom: 300px;
    display: block;
}

.start-screen-container {
    height: 100vh;
    margin: 0;
    position: absolute;
    width: 10vw;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.start-screen {
    background-image: url('./img/9_intro_outro_screens/start/startscreen_2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 480px;
    width: 720px;
    z-index: 2;
    margin-bottom: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.start-button {
    background-color: #FFDD03;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 50px;
    cursor: pointer;
    margin-block-start: -487px;
    z-index: 999;
    border-radius: 10px;
}

.d-none {
    display: none;
}

.game-over-screen-container {
    height: 100vh;
    margin: 0;
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-over-screen {
    background-image: url('./img/9_intro_outro_screens/game_over/game over.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 480px;
    width: 720px;
    z-index: 0;
    margin-bottom: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.buttons-container {
    height: 100vh;
    margin: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.buttons {
    height: 48px;
    width: 720px;
    margin-bottom: 220px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.button {
    background-color: #FFDD03;
    margin-right: 10px;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
}

.mute {
    background-image: url('./img/buttons/mute.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.unmute {
    background-image: url('./img/buttons/unmute.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.start {
    background-image: url('./img/buttons/start.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fullscreen {
    background-image: url('./img/buttons/fullscreen.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.instructions {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
}

.mobile-button {
    height: 48px;
    width: 48px;
    margin-right: 10px;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #FFDD03;
}

.mobile-left {
    background-image: url('./img/buttons/left.svg');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-right {
    background-image: url('./img/buttons/right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.mobile-up {
    background-image: url('./img/buttons/up.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}

.mobile-throw {
    background-image: url('./img/buttons/bottle-mobile.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}

.orientation-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: grey;
    z-index: 9999;
}

.orientation-alert img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orientation-alert p {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    font-weight: bold;
}

@media only screen and (max-width: 720px) {
    canvas {
        width: 100%;
        overflow-x: hidden;
    }

    .game-over-screen {
        width: 100%;
        height: 100%;
        background-size: 120%;
        margin-top: -80px; /* Anpassen je nach Bedarf */
        overflow-x: hidden;
    }

    .start-screen-container {
        width: 100vw;
        overflow-x: hidden;
    }

    .start-screen {
        width: 100%;
        background-size: 120%;
        margin-top: -80px; /* Anpassen je nach Bedarf */
        overflow-x: hidden;
    }

    .start-button {
        margin-top: -400px; /* Anpassen je nach Bedarf */
    }

    .buttons {
        margin-top: 80px;        
    }

    .button {
        padding: 10px 25px;
    }

    .instructions {
        font-size: 16px;
        margin-bottom: 50px;
    }

    h1 {
        display: none;
    }

    .start-button {
        padding: 5px 15px;
    }

    .fullscreen {
        display: none;
    }
}

@media only screen and (max-width: 520px) {
   .orientation-alert {
       display: block;
   }
}

@media only screen and (max-height: 480px) {
    canvas {
        height: 100vh;
        overflow-x: hidden;
        margin: 0;
        width: 100vw;
    }

    h1 {
        display: none;
    }

    .game-over-screen-container {
        height: 100vh;
        margin: 0;
        position: absolute;
        width: 100%;
        display: block;
    }

    .game-over-screen {
        width: 100%;
        height: 100%;
        background-size: 120%;
        overflow-x: hidden;
    }

    .start-screen-container {
        width: 100vw;
        overflow-x: hidden;
        height: 100vh;
        display: block;
    }

    .start-screen {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        background-size: 100%;
    }

    .instructions {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .fullscreen {
        display: none;
    }

    .start-button {
        margin-top: -400px;
    }

    .instructions-text {
        display: none;
    }

    .instructions-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;

    }

}

 



