body {
    font-family: 'Acme', sans-serif;
    text-align: center;
    font-size: 4.5vmin;
    background-color: black;
    background-image: url("img/rasen.jpg") ; 
    margin: 0;
    overflow: auto;
}
 #listenansicht {
    animation: fadein 0.5s;
    margin-top: 20%;
}


table {
    margin: auto;
    font-size: 5vmin;
}

td {
    border: 1px solid;
    border-color: #000000;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

#spielnummer {
    background-color: green;
    color: white;
    margin-bottom: 15px;
    background: #b6d7a8;
    background: linear-gradient(#b6d7a8, #274e13);
    border: 2px solid #000000;
    border-radius: 11px;
    padding: 10px 10px;
    color: #ffffff;
    text-align: center;
    font: normal bold 4vmin "Open Sans", sans-serif;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

button {
    font-size: 4vmin;
    width: 18%;
}

.navi {
    background: #b6d7a8;
    background: linear-gradient(#b6d7a8, #274e13);
    border: 2px solid #000000;
    border-radius: 11px;
    padding: 10px 10px;
    color: #ffffff;
    display: inline-block;
    font: normal bold "Open Sans", sans-serif;
    text-align: center;

}

h1 {
    margin: -2%;
}

#ergebnisHin,
#ergebnisRueck {
    font-family: 'Syne Mono', monospace;
    font-size: 7vmin;

}

#teil1,
#teil2 {
    animation: fadein 0.5s;

}


@media (orientation: landscape) {
    body {
        font-size: 5vmin;
    }

    #teil1 {
        left: 0%;
    }

    #teil2 {
        left: 50%;
    }

    table {
        font-size: 2.5vmax;
    }

    #teil1,
    #teil2 {
        position: absolute;
        top: 50%;
        transform: translate(0%, -50%);
        width: 50%;
        height: 80%;
        animation: fadein 0.5s;
    }

    #spielnummer {
        position: absolute;
        transform: translate(-50%, 0%);
        top: 0px;
        font-size: 2vmax;
        width: 60%;
    }

    #statistik {
        font-size: 2vmax;
    }

    .navi {
        background: #b6d7a8;
        background: linear-gradient(#b6d7a8, #274e13);
        border: 2px solid #000000;
        border-radius: 11px;
        color: #ffffff;
        font: normal bold 4vmin/1 "Open Sans", sans-serif;
        text-align: center;
    }
    #button1,
    #button2,
    #button3,
    #button4,
    #button5 {
        position: absolute;
        top: 90%;
    }
    #listenansicht {
        animation: fadein 0.5s;
        margin-top: 10%;
    }
    
}

#button1,
#button2,
#button3,
#button4,
#button5 {
    position: absolute;
    transform: translate(-50%, 0%);
} 

#button1 {
    left: 10%;
}

#button2 {
    left: 30%;
}

#button3 {
    left: 50%;
}

#button4 {
    left: 70%;
}

#button5 {
    left: 90%;
}

#blackscreen {
    display: grid;
    place-items: center;
    height: 100vh;
    width: 100vw;
    background-color: black;
    color: aliceblue;
    font-size: 4vmin;
    overflow: hidden;
    text-align: center;
    animation: fadeout 5s;
}

 
.LOGOname {
    opacity: 0;
    background-color: rgb(20, 20, 20);
    border: 1vmin;
    border-style: solid;
    border-color: darkred;
    border-radius: 0%;
    padding: 0%;
    text-align: center;
    animation: anim2 2s;
    animation-fill-mode: forwards;
}

.LOGOa {
    color: grey;
    animation: anim3 3s;
}

.LOGOp {
    animation: anim3 3s;
}

.LOGOspiel {
    opacity: 0;
    font-size: 0vmin;
    animation: anim1 1s;
    animation-fill-mode: forwards;
}

@keyframes anim2 {
    from {
        opacity: 0;
        width: 0vw;
        font-size: 0vmin;
        padding: 0%;
    }

    to {
        opacity: 1;
        width: 60vw;
        font-size: 4vmin;
        padding: 5%;
    }
}

@keyframes anim1 {

    from {
        opacity: 0;
        font-size: 0vmin;
    }

    to {
        opacity: 1;
        font-size: 10vmin;
    }

}

@keyframes anim3 {

    from {
        opacity: 0;
        font-size: 0vmin;
    }

    to {
        opacity: 1;
        font-size: 4vmin;
    }

}

@keyframes fadeout {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.darkred {
    color: darkred;
}