body {
    background-color: grey;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#clock {
    background-color: aliceblue;
    border: 2px solid black;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 100px auto;
    position: relative;
}

.numbers {
    width: 30px;
    height: 18px;
    text-align: center;
    position: absolute;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#one {
    right: 75px;
    top: 42px;
}

#two {
    right: 35px;
    top: 85px;
}

#three {
    right: 20px;
    top: 141px;
}

#four {
    right: 35px;
    bottom: 85px;
}

#five {
    right: 75px;
    bottom: 42px;
}

#six {
    left: 135px;
    bottom: 20px;
}

#seven {
    left: 75px;
    bottom: 42px;
}

#eight {
    left: 35px;
    bottom: 85px;
}

#nine {
    left: 20px;
    top: 141px;
}

#ten {
    left: 35px;
    top: 85px;
}

#eleven {
    left: 75px;
    top: 42px;
}

#twelve {
    left: 135px;
    top: 20px;
}

.kazalec {
    transform-origin: center left;
    background-color: black;
    position: absolute;
    left: 150px;
    border: 1px solid aliceblue;
}

#kazalecHRS {
    width: 100px;
    height: 18px;
    border-radius: 9px 50% 50% 9px;
    top: 141px;
    animation: rotateAround 43200s linear infinite;
    z-index: 1;
}

#kazalecMIN {
    width: 130px;
    height: 12px;
    border-radius: 6px 50% 50% 6px;
    top: 144px;
    animation: rotateAround 3600s linear infinite;
    z-index: 2;
}

#kazalecSEC {
    width: 130px;
    height: 6px;
    border-radius: 3px 50% 50% 3px;
    top: 147px;
    background-color: rgb(59, 195, 236);
    animation: rotateAround 60s linear infinite;
    z-index: 3;
}

@keyframes rotateAround {
    from {
        transform: rotate(calc(var(--transformStart)));
    }
    to {
        transform: rotate(calc(var(--transformStart) + 360deg));
    }
}

#mid {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: black;
    left: 135px;
    top: 135px;
    border-radius: 50%;
    z-index: 4;
}