body {
    height: 275px;
    width: 275px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10%;
    overflow: hidden;
    background-color: darkgray;
}

.clock {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px #1F51FF,
          inset 0 0 15px #1F51FF;
    background-color: li;
}

.center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #1F51FF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #1F51FF;
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    background: #1F51FF;
    box-shadow: 0 0 5px #1F51FF;
    border-radius: 3px;
}

.hour {
    width: 4px;
    height: 60px;
    margin-left: -2px;
}

.minute {
    width: 3px;
    height: 80px;
    margin-left: -1.5px;
}

.second {
    width: 2px;
    height: 90px;
    margin-left: -1px;
    background: #ff0020;
    box-shadow: 0 0 5px #ff0020;
}

.number {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 15px;
    text-align: center;
    color: #1F51FF;
    font-size: 24px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0 0 10px #1F51FF;
    transform: rotate(var(--rotation));
}

.number span {
    display: inline-block;
    transform: rotate(calc(-1 * var(--rotation)));
    position: absolute;
    left: 50%;
    top: 10px;
    transform-origin: bottom;
}