
body {
    height: 100%;
}

.spiel {
    text-align: center;
    width: 86%;
    margin-left: 14%;
    height: 60%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spiel:hover {
    cursor: default;
}

.spiel h1 {
    color: #F2E2D2;
}

.spiel button {
    background-color: transparent;
    border-color: transparent;
    filter: brightness(1);
    opacity: 1;
}

.spiel h2 {
    color: #F2E2D2;
}

.spiel span {
    color: #F2E2D2;
}

.nav {
    height: 100%;
    width: 14.5%;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: transparent;
    border-right: 0.25em solid rgb(240, 255, 228);
    border-top: 0 solid #337CA0;
    overflow-x: hidden;
    padding-top: 20px;
    margin-right: 86%;
}

.nav:hover {
    cursor: default;
}

.nav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 25px;
    color: #F2E2D2;
    display: block;
}

.nav a:hover {
    color: #F2E2D2;
}

.nav button {
    color: #F2E2D2;
    border-color: #F2E2D2;
    background-color: #c0860a;
    border-radius: 0.8em;
    border-width: 0.15em;
}

#rebirth,
#reset,
#end {
    display: block;
    width: 100%;
    margin: 0 0 0.15em;
    padding: 0.1em 0.4em;
    line-height: 0.95;
    transform: translateY(-1.15em);
}

#ShopO {
    margin-top: -0.7em;
    padding-bottom: 0;
}

.nav h2 {
    color: #F2E2D2;    
}

.nav h4 {
    color: #F2E2D2;
}

@media screen and (max-height: 450px) {
    .nav {
        padding-top: 15px;
    }

    .nav a {
        font-size: 18px;
    }
}

#cookieSprite {
    height: 300px;
    width: 300px;
}

.floating-text {
    position: absolute;
    color: rgb(0, 0, 0);
    font-weight: bold;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

.btnTransform {
    transition: 0.3s;
}

.btnTransform:hover {
    transform: scale(1.05, 1.05);
    cursor: pointer;
}

.btnTransform:active {
    transform: scale(0.95, 0.95);
}

.achievements {
    text-align: center;
    border: 10px solid rgb(240, 255, 228);
    background-color: #c0860a;
    width: 86%;
    margin-left: 14%;
    height: 40%;
    box-sizing: border-box;
    float: top;
    color: #F2E2D2;
}

.card {
    color: #F2E2D2;
    border: 10px solid rgb(240, 255, 228);
    background-color: #c0860a;
    border-radius: 0.8em;
    border-width: 0.15em;
    padding: 2%;
    margin: 0.25%;
    height: 20%;
    width: 19.5%;
    display: inline-block;
}

 /*background*/
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  pointer-events: none;
}

