body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0;
    background: #ffe100;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
}

p {
    background-color: white;
    padding: 0.2em 0.4em;
    display: block;
    min-width: 240px;
    border-radius: 2px;
    margin: 3px 0;
}

.label {
    margin-bottom: 3em;
    display: block;
}
.side {
    display: block;
    padding: 0.2em;
}

.cassette {
    position: relative;
    width: 400px;
    height: 280px;
    border-radius: 5px;
    margin-top: 2em;
    background: url(cassette.png) center center no-repeat;
    background-size: contain;
}

.control-nav {
    display: flex;
    width: 450px;
    height: 40px;
    justify-content: center;
    background: url(controls.png) no-repeat center center;
    background-size: contain;
}

.controls {
    display: flex;
    justify-content: space-evenly;
    margin: 20px;
}

button {
    width: 44px;
    height: 74px;
    background: url(button.png) no-repeat center center;
    background-size: contain;
    border: none;
    cursor: pointer;
    margin: 0 4px ;
    text-indent: -10000px;
}

button:hover {
    background: url(button.png) no-repeat center center;
    background-size: contain;
    background-position-y: 6px;
}

button:active {
    background-position-y: 8px;
}

/* Přidejte tento kód do stávajícího CSS */
.kolecka-container {
    display: flex;
    justify-content: space-between;
    position: absolute;
}

.kolecka {
    background: url('kolecko.svg');
    background-size: contain;
    width: 50px;
    height: 50px;
    animation: none; /* Kolečka nebudou rotovat na začátku */
}

#kolecka-a {
    margin-left: 100px;
    margin-top: 103px;
}

#kolecka-b {
    margin-left: 100px;
    margin-top: 103px;
}

/* Animace rotace koleček */
.kolecka.rotating {
    animation: rotate 4s linear infinite;
}

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