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

.wrapper {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.epl-headline {
    position: absolute;
    top: 30px;
}

h1 {
    position: absolute;
    top: 100px;
    font-size: 64px;
    letter-spacing: 3px;
    text-shadow: 2px, 2px, 8px rgba(0, 0, 0, 0.5);
}

.privacy-policy {
    position: unset;
}

h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

p {
    font-size: 30px;
}

.d-none {
    display: none;
}

canvas {
    background-color: black;
    display: block;
}

.canvas-fullscreen {
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.start-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
}

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

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

.touch-btn {
    touch-action: manipulation; 
    user-select: none; 
    -webkit-user-select: none;
    -webkit-touch-callout: none; 
}

.start-screen {
    height: 480px;
    width: 720px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.startscreen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.info-screen {
    height: 480px;
    width: 720px;
    background-color: rgb(152, 61, 0);
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.info-img {
    width: 50px;
    height: 50px;
    position: relative;
    top: -230px;
}

.imprint-main-con {
    display: flex;
    justify-content: space-between;
    width: 500px;
    position: relative;
    bottom: 150px;
    margin-left: 50px;
}

.imprint-bgr {
    height: 480px;
    width: 720px;
}

.how-to-play-bgr {
    height: 480px;
    width: 720px;
}

.legal-notice-main-con {
    position: relative;
    height: 480px;
    width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 32px;
    overflow-y: auto;
    max-height: 80vh;
    padding: 20px;
    background-image: url('../assets/img/5_background/first_half_background.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.legal-notice-main-con::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
    pointer-events: none; 
}

.legal-notice-main-con * {
    position: relative;
    z-index: 2;
}

.close-btn-con-main-imprint {
    position: fixed;
    top: 520px;
    z-index: 5;
}

.close-btn-how-to-play {
    position: fixed;
    top: 130px;
}

.how-to-play-main-con {
    display: flex;
    flex-direction: column;
    font-size: 28px;
    margin-left: 24px;
    margin-right: 24px;
    position: relative;
    top: -450px;
}

.how-to-play-img {
    width: 200px;
    position: relative;
    top: -570px;
}

.win-headline-fullscreen {
    display: flex;
    position: fixed;
    top: 410px;
    font-size: 164px;
}

.game-won-screen {
    height: 480px;
    width: 720px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.game-won-screen-fullscreen {
    height: 100vh;
    width: 100vw;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.game-over-screen {
    height: 480px;
    width: 720px;
    position: absolute;
    display: flex;
    align-items: center;
}

.game-over-screen-fullscreen {
    height: 100vh;
    width: 100vw;
    position: absolute;
    display: flex;
    align-items: center;
}

.endscreen-bgr {
    height: 480px;
    width: 720px;
}

.endscreen-bgr-fullscreen {
    height: 100vh;
    width: 100vw;
}

.game-over-img {
    height: 480px;
    width: 720px;
    position: fixed;
}

.game-over-img-fullscreen {
    height: 100vh;
    width: 100vw;
    position: fixed;
}

.wreath-img {
    height: 480px;
    width: 720px;
    position: fixed;
}

.wreath-img-fullscreen {
    height: 100vh;
    width: 100vw;
    position: fixed;
}

.restart-con {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.restart-img {
    width: 78px;
    height: 78px;
}

.restart-img:hover {
    transform: translateY(-2px);
}

.ingame-pos {
    position: fixed;
    bottom: 430px;
    z-index: 1;
}

.rotate-device-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 2rem;
    text-align: center;
    display: none;
}

.rotate-device-overlay p {
    margin: 0;
}

.icon-main-con {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -210px;
    width: 80px;
}

.icon-main-con-fullscreen {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -575px;
    width: 80px;
}

.game-over-img-bgr-fullscreen,
.game-over-img-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-start-img {
    height: 48px;
    width: 48px;
    cursor: pointer;
}

.back-to-start-img:hover {
    transform: translateY(-2px);
}

.game-over-main {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}

.imprint-headline {
    top: 10px;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #ff6600 #ffffff;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #ff6600;
    border-radius: 10px;
    border: 3px ridge #ffffff;
  }