* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #081b29;
    overflow: hidden;
}
.wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bar-seconds,
.number-hours {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.bar-seconds span {
    position: absolute;
    /* 360 deg / 60deg = 6deg */
    transform: rotate(calc(var(--index) * 6deg));
    inset: -20px;
    text-align: center;
}
.bar-seconds span p {
    display: inline-block;
    width: 2px;
    height: 12px;
    background: #0ef;
    border-radius: 2px;
    box-shadow: 0 0 10px #0ef;
}
/* 5n means every multiple of 5 */
.bar-seconds span:nth-child(5n) p {
    width: 6px;
    height: 18px;
    transform: translateY(1px);
}
.number-hours span {
    position: absolute;
    /* 360 deg / 12 = 30deg */
    transform: rotate(calc(var(--index) * 30deg));
    inset: 6px;
    text-align: center;
}
.number-hours span p {
    font-size: 52px;
    color: #0ef;
    text-shadow: 0 0 10px #0ef;
    transform: rotate(calc(var(--index) * -30deg));
}
.hands-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hands-box .hand {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
}

.hands-box .hand i {
    display: inline-block;
    transform-origin: bottom;
    border-radius: 50%;
    box-shadow: 0 0 10px #0ef;
}
.hands-box .hours {
    width: 320px;
    height: 320px;
}
.hands-box .hours i {
    width: 8px;
    /* Half  of parent height*/
    height: 160px;
    background: #0ef;
}

.hands-box .minutes {
    width: 450px;
    height: 450px;
}
/* Center dot bottom */
.hands-box .minutes::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: #0ef;
    border-radius: 50%;
    box-shadow: 0 0 5px #0ef;
}
.hands-box .minutes i {
    width: 8px;
    /* Half  of parent height*/
    height: 225px;
    background: #0ef;
}
.hands-box .seconds {
    width: 480px;
    height: 480px;
}
/* Center dot top */
.hands-box .seconds::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
}
.hands-box .seconds i {
    width: 4px;
    /* Half  of parent height*/
    height: calc(240px + 70px);
    background: white;
    box-shadow: 0 0 3px #0ef;
}