/*Verlinkung mit Google Fonts -> Zugriff auf Schriftart*/
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap'); body {
    font-family: 'Patrick Hand';
    text-align: center;
}

#ueberschrift {
    font-size: 3em;
    margin-top: 0.5em;
}

#logo {
    width: 150px;
    height: 125px;
    /*Feste Position wird festgelegt. vorteil: Es verschiebt sich nicht, wenn sich andere Elemente verscheiben -> unabhängig.*/
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}

table:hover {
    cursor: pointer;
}

table {
    margin-top: 2.5em;
    margin-left: auto;
    margin-right: auto;
    animation: welle 0.75s;
}

@keyframes welle {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    70% {
        transform: scale(1.25);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#text {
    font-size: 2em;
    margin-top: 0.7em;
    /*Außenabstand nach rechts und links wegen dem Logo*/
    padding-left: 4.5em;
    padding-right: 4.5em;
}

td {
    width: 120px;
    height: 120px;
    font-size: 2em;
    background-color: #9DBA26;
}

#startbutton:hover {
    cursor: pointer;
}

#ladebalken {
    height: 20px;
    /*Wichtig, weil wird im js pro Sekunde immer um 10% kleiner*/
    width: 100%;
    background-color: rgb(128,64,0);
    position: relative;
}

#startbutton {
    font-family: 'Patrick Hand';
    font-size: 2em;
    padding: 1rem;
    margin: 1rem;
    width: 8em;
    background: rgb(128,64,0);
    border-radius: 0.5em;
    color: white;
    position: absolute;
    right: 1em;
    top: 17.5em;
}

#restartbutton:hover {
    cursor: pointer;
}

#restartbutton {
    font-family: 'Patrick Hand';
    font-size: 2em;
    padding: 1rem;
    margin: 1rem;
    width: 8em;
    background: rgb(128,64,0);
    border-radius: 0.5em;
    color: white;
    position: absolute;
    right: 1em;
    top: 14.5em;
}

#restartbutton {
    font-family: 'Patrick Hand';
    font-size: 2em;
    padding: 1rem;
    margin: 1rem;
    width: 8em;
    background: rgb(128,64,0);
    border-radius: 0.5em;
    color: white;
    position: absolute;
    right: 1em;
    top: 14.5em;
}

#ladebalkencontainer {
    height: 20px;
    /*Länge, sodass nicht volle Länge der Seite, sondern nur neben Spielfeld*/
    width: 35%;
    position: absolute;
    left: 1.5em;
    top: 37em;
}
