body {
    margin: 0;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.pole {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.block {
    width: 100px;
    height: 100px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    margin: 0 5px;
    backface-visibility: hidden;
}

.block_animation {
    animation: animationBlock 1s linear infinite;
}

@keyframes animationBlock {
    0% {
        transform: rotateX(0deg);
    }
    60% {
        transform: rotateX(360deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}


button {
    font-size: 20px;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    animation: animationButton 2s linear infinite;
}

@keyframes animationButton {
    0%{
        background-color: red;
    }
    33% {
        background-color: green;
    }
    66% {
        background-color: blue;
    }
    100% {
        background-color: red;
    }
}