
body {
    margin: 0;
    background: #333;
    text-shadow: 1px 1px 2px black;
}

#game {
    position: absolute;
    background: no-repeat fixed url("../images/background01.png");
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-size: cover;
}

#gameScene {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#registerScene {
    position: absolute;
    background: none;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    overflow: hidden;
}

#registerScene > div {
    transform-origin: 50% 0 0;
}

#registerScene > div > form {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 640px;
    padding: 32px;
    height: 256px;
    margin: 0 0 0 -608px;
}

#registerScene > div * {
    font-family: sans-serif;
    font-size: 24px;
    color: #fff;
    line-height: 32px;
}
#registerScene > div > form > * {
    margin: 32px 0 0 0;
}

#registerScene > div input, #registerScene > div button {
    background: #333;
    border: solid 1px #f88;
    font-size: 24px;
    line-height: 30px;
}
#registerScene > div input {
    min-width: 96px;
}
form > div.buttons {
    display: flex;
    gap: 30px;
}
#musicButton > div {
    width: 32px;
    height: 32px;
    background-image: url('../images/music_button.png');
}
#musicButton:disabled > div {
    background-color: rgba(50, 50, 50, 0.5);
    background-blend-mode: multiply;
}
#musicButton.muted > div {
    background-position-x: 32px;
}


#registerScene > div > #highScores {
    position: absolute;
    top: 80px;
    left: 50%;
    width: 384px;
    margin: 0 0 0 160px;
}

#registerScene #highScores * {
    font-family: monospace;
    white-space: nowrap;
}

#highScores .nick {
    display: inline-block;
    float: left;
    width: 288px;
    overflow: hidden;
}
#highScores .score {
    display: inline-block;
    float: right;
    width: 96px;
    overflow: hidden;
}

@keyframes infinite-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.rotate-img {
    position: absolute;
    width: 150px;
    height: 150px;
    right: 80px;
    color: #fff;
    bottom: 80px;
    animation: infinite-rotate 2s linear infinite;
    transform-origin: 50% 50%; /* Adjust this to change the midpoint */
}