body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.circle-container {
    position: relative;
    width: 90%;
    height: 90%;
}

.block{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-color: #5fb0e6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.block:hover{
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.center {
    transform: translate(-50%, -50%);
    z-index: 10;
}

.circle{
    /* Центрируем блок */
    margin: -50px 0 0 -50px; /* Смещаем на половину ширины/высоты */
    
    /* Поворачиваем и смещаем по радиусу */
    transform: 
        rotate(calc((var(--i) - 1) * 30deg)) /* Поворот против часовой (для коррекции) */
        translate(0, -350px)                  /* Отодвигаем от центра */
        rotate(calc((var(--i) - 1) * -30deg)); /* Компенсируем поворот текста */
}
canvas{
    position: absolute;
    width: 100%;
    height: 100%;
}
.connection {
    position: absolute;
    background-color: #519dd0;
    height: 3px;
    transform-origin: 0 0;
    z-index: -1;
}

