h1 {
    text-align: center;
    margin-top: 0;
    padding-top: 20px;
}

h2 {
    text-align: center;
    margin-top: 0;
    padding-top: 0px;
}

button {
    display: flex;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

table {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 10px;
    margin-bottom: 20px;
    color: white;
    font-size: large;
    font-family: arial;
}
td span {
    color: yellow;
    font-size: larger;
}
td:first-child {
    text-align: center;
    color: gold;
}

tr {
    height: 40px;
}

.board {
    display: flex;
    position: relative;
    width: 400px;
    height: 700px;
    background-image: url(hintergrund.gif);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.homeBoard {
    position: relative;
    width: 400px;
    height: 700px;
    background-image: url(hintergrund.gif);
    background-repeat: no-repeat;
    background-size: cover;
}

.rocket {
    position: absolute;
    width: calc(25px * 1.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rocketBody {
    z-index: 2;
    width: 100%;
}
.rocketFlame {
    z-index: 1;
    animation: flickeryFlame 0.1s infinite alternate linear;
}
@keyframes flickeryFlame {
    0% {
        margin-top: -10px;
    }
    100% {
        margin-top: -1px;
    }
}


.invader {
    position: absolute;
}
.bullet {
    position: absolute;
}
.statisticArea {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
}
.score {
    margin-right: 10px;
}

@keyframes explode {
    0% {
        content: url("explosion1.png");
        visibility: visible;
    }
    10% {
        content: url("explosion2.png");
    }
    20% {
        content: url("explosion3.png");
    }
    30% {
        content: url("explosion4.png");
    }
    40% {
        content: url("explosion5.png");
    }
    50% {
        content: url("explosion6.png");
    }
    60% {
        content: url("explosion7.png");
    }
    70% {
        content: url("explosion8.png");
    }
    80% {
        content: url("explosion9.png");
    }
    90% {
        content: url("explosion10.png");
        opacity: 100%;
    }
    100% {
        opacity: 0%;
    }
}
.explosion {
    position: absolute;
    width: 50px;
    height: 40px;
    z-index: 1;
}
.rocketExplosion {
    position: absolute;
    width: 60px;
    height: 80px;
    z-index: 1;
}
.ufoExplosion {
    position: absolute;
    width: 60px;
    height: 40px;
    z-index: 1;
}
.startButtonContainer {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}
.startButton {
    font-size: 8px;
    zoom: 300%;
}
.ufo {
    position: absolute;
    width: calc(512px * 0.07);
    height: calc(512px * 0.07);
}
.ufoHome {
    width: calc(512px * 0.07);
    height: calc(512px * 0.07);
}
.canvas {
    width: 50px;
    height: 30px;
    position: absolute;
}
.box {
    margin: auto;
    border: solid 3px indigo;
    height: fit-content;
    gap: 5px;
    border-radius: 5px;
}
