body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('assets/img/desert.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

#checkOrientation {
    /* for landscape orientation on mobile devices */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    color: indigo;
    font-size: 27px;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.start-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 1;
    max-width: 992px;
    width: 100%;
    max-height: 540px;
    height: 100%;
    background-image: url('assets/img/9_intro_outro_screens/start/startscreen_1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.playBtn {
    background-color: transparent;
    font-size: large;
    border: 2px solid black;
    padding: 0px 5px;
    border-radius: 12px;
    display: inline-block;
}

.game-over-img {
    height: 100%;
    width: 100%;
}

.headline-mute-button-div {
    display: flex;
    justify-content: flex-end;
    max-width: 720px;
    width: 100%;
    gap: 180px;
    align-items: center;
}

h1 {
    letter-spacing: 3px;
    font-size: 40px;
    text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.2);
}

canvas {
    /* importend for responsive*/
    display: block;
}

.controls-info-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    height: 50px;
    font-size: larger;
}

.btnInfo {
    display: flex;
    gap: 30px
}

.info-icons-div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speaker-icon {
    width: 35px;
    height: 35px;
}

.game-over-screen {
    position: fixed;
    aspect-ratio: 3 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.game-over-screen-btns {
    display: flex;
    position: absolute;
    gap: 50px;
}

.restart-button {
    font-size: xxx-large;
    color: indigo;
}

.menu-button {
    font-size: xxx-large;
    color: indigo;
}

.mobile-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
}

.panels-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.panel-top {
    display: flex;
    justify-content: end;
    padding-right: 20px;
    padding-top: 10px;
    gap: 15px;
}

.panel-bottom {
    display: flex;
    justify-content: space-between;
    padding: 0 30px 25px;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

#btnLeft,
#btnRight,
#btnJump,
#btnThrow {
    background-color: transparent;
    border: none;
}

.arrow-icon {
    width: 40px;
    height: 40px;
}

.bottle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: silver solid 2px;
}

.div-as-button img {
    pointer-events: none;
}

.info-icon-bottle,
.info-icon-arrow {
    width: 25px;
    height: 25px;
}

.play-rules-main-div {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.imprint-rules-div {
    display: flex;
    gap: 60px;
}

.play-rules-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    max-width: 1920px;
    padding: 50px 80px;
    overflow-y: auto;
}

.imprint-content,
.play-rules-content {
    font-size: xx-large;
}

.imprint-link {
    font-size: 50px;
    padding: 0;
}

@media (max-width: 1920px) {

    .imprint-content,
    .play-rules-content {
        font-size: x-large;
    }

    .imprint-link {
        font-size: large;
    }

    .restart-button,
    .menu-button {
        font-size: xx-large;
    }
}

@media (max-width: 1400px) {
    .controls-info-display {
        display: none;
    }

    .controls-info-mobile {
        height: 50px;
        font-size: smaller;
        display: flex !important;
        align-items: center;
        width: 80%;
        justify-content: space-between;
    }

    #headline-mute-button-div {
        display: none;
    }

    .restart-button,
    .menu-button {
        font-size: larger;
    }
}

@media screen and (orientation: landscape) and (max-width: 1025px) {
    .play-rules-main-div {
        display: none;
    }

    .landscape-warning {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        text-align: center;
        padding: 20px;
        font-size: large;
    }
}

@media screen and (orientation: portrait),
(min-width: 1026px) {
    .landscape-warning {
        display: none;
    }
}

@media (max-width: 992px) {
    .start-screen {
        max-height: 320px;
    }

    .playBtn {
        font-size: small;
    }

    .controls-info-mobile {
        font-size: xx-small;
        gap: 50px;
        width: fit-content;
        height: 80px;
    }

    a {
        font-size: small;
    }
}

/* Smartphone portrait */
@media only screen and (max-width: 720px) {

    canvas {
        width: 100%;
    }

    .imprint-content,
    .play-rules-content {
        text-align: center;
        font-size: medium;
    }

    .play-rules-content {
        padding: 0 40px 50px;
    }

    .imprint-link {
        font-size: smaller;
    }

    h2 {
        font-size: 26px;
    }
}

/* Smartphone landscape */
@media only screen and (max-height: 480px) {
    canvas {
        height: 100vh;
    }

    span {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .play-rules-content {
        padding: 320px 40px 50px;
    }
}