@font-face {
    font-family: 'Bang';
    src: url(font/Bangers/Bangers-Regular.ttf);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Bang', Arial, Helvetica, sans-serif;
    overflow: hidden;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-blocker {
    color: white;
    font-size: 62px;
    text-align: center;
}

.text-blocker img {
    width: 100px;
}

.blocker-position {
    flex-direction: column;
}

.impressum-page,
.blocker-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.impressum-wrapper {
    color: white;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    font-size: 24px;
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

.text-impressum {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.close-impressum-button {
    background-color: rgb(109, 142, 35);
    width: 140px;
    height: 32px;
    margin-top: 10px;
    box-shadow: inset 0px 0px 20px 8px rgb(5, 48, 24);
    border: 3px solid rgb(5, 45, 22);
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-family: Bang;
    font-size: 16px;
    text-shadow: #fc0 1px 0 10px;
    letter-spacing: 2px;
}

canvas {
    background-color: black;
    outline: 8px solid rgb(58, 7, 7);
    border-radius: 5px;
    display: block;
}

.none {
    display: none;
}

.start-container {
    background-image: url('img/5_background/back_ground.png');
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0px 0px 32px 16px rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.start-img-wrapper {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 920px;
    height: auto;
    max-height: 1500px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 30px 0 30px;
    box-shadow: 1px 1px 6px 7px rgb(20 20 20);
    padding: 16px;
    border-radius: 5px;
    box-sizing: border-box;
}

.game-instructions {
    color: white;
    letter-spacing: 2px;
    font-size: 20px;
    margin-top: 32px;
    overflow: hidden;
    max-height: 400px;
}

.liste {
    display: flex;
    align-items: center;
}

.start-image-canvas {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.end-container {
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0px 0px 32px 16px rgb(0, 0, 0);
    background-image: url('img/5_background/back_ground_game_over.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.end-container-win {
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0px 0px 32px 16px rgb(0, 0, 0);
    background-image: url('img/5_background/back_ground_win.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.z-index {
    z-index: 9999;
}

.end-container.show {
    opacity: 1;
    pointer-events: auto;
}

.end-container-win.show {
    opacity: 1;
    pointer-events: auto;
}

.background {
    background-image: url('img/5_background/back_ground.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

h1 {
    font-size: 100px;
    color: rgb(58, 7, 7);
    text-shadow: 5px 1px 2px rgb(255, 207, 75);
    margin-block-end: 15px;
}

.sound-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 24px 0;
}

.sound-icon {
    width: 32px;
    margin: 0 15px 0 15px;
}

.sound-icon:hover {
    cursor: pointer;
}

.how-to-play {
    margin: 24px 0 0 0;
}

.how-to-play-icons {
    width: 35px;
    margin: 0 5px 0 5px;
}

.icon-fullscreen {
    width: 30px;
    margin-right: 24px;
    cursor: pointer;
}

.play-text {
    margin-left: 25px;
    font-size: x-large;
}

.button-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin: 32px 0px 32px 0px;
}

.start-button {
    background-color: rgb(109, 142, 35);
    width: 250px;
    height: 80px;
    box-shadow: inset 0px 0px 15px 8px rgb(5, 48, 24);
    border: 5px solid rgb(5, 45, 22);
    border-radius: 8px;
    cursor: pointer;
}

.start-button h2 {
    color: white;
    font-family: Bang;
    font-size: 26px;
    text-shadow: #fc0 1px 0 10px;
    letter-spacing: 2.5px;
}

.start-button:hover {
    background-color: rgb(109, 142, 35);
    transform: scale(1.2);
}

.impressum-button {
    position: absolute;
    background-color: rgb(109, 142, 35);
    width: 120px;
    height: 30px;
    box-shadow: inset 0px 0px 20px 8px rgb(5, 48, 24);
    border: 3px solid rgb(5, 45, 22);
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-family: Bang;
    font-size: 16px;
    text-shadow: #fc0 1px 0 10px;
    letter-spacing: 2px;
}

.mobile-play {
    position: fixed;
    left: 0px;
    bottom: 10px;
    z-index: 999999;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0px 20px 0px 20px;
}

.d-flex {
    display: flex;
}
