@font-face {
    font-family: 'zabars';
    src: URL('fonts/zabars.ttf') format('truetype');
}

@font-face {
    font-family: 'boogaloo';
    font-weight: 700;
    src: url('fonts/boogaloo.ttf') format('truetype');
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
    margin: 0;
    background-image: url(img/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'zabars', Arial, Helvetica, sans-serif;
    overflow: hidden;
}

h1 {
    font-size: 64px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgb(0, 0, 0, 0.4);

    background-image: -webkit-linear-gradient(top, #592301, #994409, #f6bb60);

    -webkit-text-fill-color: #0000;
    background-clip: text;
}

canvas {
    background-color: black;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    display: block;
}


footer {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 720px;
    padding-top: 24px;
    padding-bottom: 32px;
    background-color: rgb(153, 68, 9);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    font: normal bold 16px / 1 'boogaloo', sans-serif;
}

.console-btn {
    font-size: 32px;
    border: 2px solid black;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.hover:hover {
    filter: invert(90%) sepia(96%) saturate(6682%) hue-rotate(310deg) brightness(97%) contrast(99%);
    cursor: pointer;
    transition: 100ms;
}


#go-jump {
    rotate: -90deg;
}

#go-throw {
    rotate: -45deg;
}

.throw {
    rotate: -45deg;
}

.jump {
    rotate: -90deg;
}

.endscreen {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 480px;
    width: 720px;
    background-image: url(img/5_background/second_half_background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.startscreen {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 480px;
    width: 720px;
    object-fit: cover;
}

.height {
    height: 480px;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
}


.play-btn {
    position: relative;
    background-image: linear-gradient(to bottom, #e2454c, #e67870, #c58490, #907bae, #149cab, #149cab, #8378b3, #d23037);
    border: 1px solid #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 1px 0px #3e3e3e;
    padding: 20px 45px;
    color: #ffffff;
    display: flex;
    font: normal bold 26px / 1 'boogaloo', sans-serif;
    text-align: center;
    text-shadow: 2px 2px #592301;
    top: -95%;
    left: 50%;
    transform: translate(-50%) rotate(2deg);
    transition: 100ms;

}

.play-btn:hover {
    cursor: pointer;
    text-shadow: 2px 2px #000;
    transform: translate(-50%) rotate(-2deg);
}

.end-btn {
    position: absolute;
    width: 32px;
    padding: 8px 16px;
    background-color: #994409;
    box-shadow: 0px 0px 6px 1px #000;
    border: 1px solid #f6bb60;
    border-radius: 16px;
    top: -95%;
    transition: 200ms;
}

.end-btn:hover {
    cursor: pointer;
    box-shadow: 0px 0px 6px 4px #f6bb60;
}

.end-btn img {
    filter: invert(90%) sepia(96%) saturate(6682%) hue-rotate(310deg) brightness(97%) contrast(99%);
}

#home {
    top: 10px;
    right: 10px;
}

#restart {
    top: 10px;
    left: 10px;
}

.menu {
    display: flex;
    gap: 8px;
}

.overlay {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 480px;
    width: 720px;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    justify-content: center;
    align-items: center;

}

.section {
    background-color: rgb(153 68 9);
    position: absolute;
    height: 240px;
    width: 360px;
    display: flex;
    justify-content: space-evenly;
    border: 8px solid #f6bb60;
    border-radius: 18px;
    box-shadow: 0px 0px 12px 8px rgb(153 68 9);
    padding: 24px 0;
}

h2 {
    font-size: 64px;
    margin-top: 0;
}

.info {
    background-color: #f6bb60 !important;
    border: 0px !important;
    box-shadow: 0px 0px 17px 8px #994409 inset !important;
    height: calc(100% - 48px);
    width: 100%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;

}

.impressum {
    font-family: 'boogaloo';
    font-size: 24px;
    overflow-y: auto;
    padding: 16px 48px;
    margin: 40px 16px 0 0;
}



::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-thumb {
    background-color: #994409;
    border: 4px solid transparent;
    border-radius: 8px;
    background-clip: padding-box;
}

.end {
    align-items: end;
}

#change-speaker {
    background-image: url('img/play.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 32px;
    height: 32px;

}


.close {
    font-size: 16px;
    font-family: 'arial';
    color: #f6bb60;
    border-radius: 100%;
    border: 3px solid;
    width: 16px;
    height: 16px;
    text-align: center;
    padding: 4px;
    position: absolute;
    right: 8px;
    top: 8px;
    margin: 0;
    cursor: pointer;
}

.close:hover {
    transition: 300ms;
    box-shadow: 0px 0px 8px 2px #bd722a;
    text-shadow: 0px 0px 4px;
}

.close-info {
    right: 24px;
    top: 24px;
    color: #bd722a;
}

.close-info:hover {
    color: #ab6726
}

.fullscreen {
    cursor: pointer;
    width: 32px;
}

#fullscreen {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.only-mobile {
    display: none;
}

.only-desktop {
    display: block;
}

.pstn-rltv {
    position: relative;
}

#mobile-keyboard {
    align-items: center;
    justify-content: center;
    gap: 240px;
}

.mobile-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

table {
    font-family: 'boogaloo';
    font-size: 32px;
    filter: invert(90%) sepia(96%) saturate(6682%) hue-rotate(310deg) brightness(97%) contrast(99%);
}

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

.width {
    width: 720px;
}

.d-none {
    display: none;
}

.d-flex {
    display: flex;
}

.rotate {
    display: none;
    width: 100%;
}

.device {
    font-size: 56px;
    text-align: center;
    margin: 0;
    font-family: 'boogaloo', Arial, Helvetica, sans-serif;
}

.console {
    position: absolute;
    top: 25%;

    height: 40vh;
    background-color: rgb(153, 68, 9);
    width: 8vw;
    border-radius: 16px;
}

.left {
    left: 25px
}

.right {
    right: 25px
}

@media (max-width: 1024px) and (orientation: landscape) {
    #mobile-keyboard {
        display: flex;
    }

    .only-mobile {
        display: flex;
    }

    .only-desktop {
        display: none;
    }
}


@media only screen and (max-width: 500px) {
    .rotate {
        display: block;
    }

    #fullscreen {
        display: none;
    }
}


@media only screen and (max-height: 600px) {
    h1 {
        display: none;
    }

    .play-btn {
        padding: 8px 24px;
        font-size: 24px;
    }

    canvas {
        height: 64vh !important;
        width: 56vw;

    }

    .responsive {
        height: 64vh !important;
        width: 56vw;
    }


    .height .width {
        display: none;
    }

    footer {
        height: 10vh;
        width: 100%;
        padding: 0;
    }

    .fullscreen {
        display: none;
    }

    .section-manage {
        height: 40vh;
        width: 32vw;
    }

    table {
        font-size: 21px;

        img {
            width: 32px !important;
        }
    }
}