*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 20px;
}

 
body{
    background: linear-gradient(to right, rgba(124, 74, 255,.7), rgba(244, 68, 200,.8));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}
header h1{
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,.7);
}
.clock{
    width: 500px;
    height: 500px;
    border: 2px solid #000;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    position: relative;
    user-select: none;
}
.clock .overlay{
    width: 85%;
    height: 85%;
    border-radius: 50%;
    position: absolute;
    top: 8%;
    left: 8%;
    right: 2%;
    bottom: 3%;
    border: 2px dashed #000;
}
.clock .number{
    --rotation: 0;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 1.5rem;
    width: 100%;
    height: 100%;
    transform: rotate(var(--rotation));
}
.clock .number1{--rotation: 30deg}
.clock .number2{--rotation: 60deg}
.clock .number3{--rotation: 90deg}
.clock .number4{--rotation: 120deg}
.clock .number5{--rotation: 150deg}
.clock .number6{--rotation: 180deg}
.clock .number7{--rotation: 210deg}
.clock .number8{--rotation: 240deg}
.clock .number9{--rotation: 270deg}
.clock .number10{--rotation: 300deg}
.clock .number11{--rotation: 330deg}

.clock .hand{
    --rotation: 0;
    position: absolute;
    left: 50%;
    bottom: 50%;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    z-index: 10;
    transform-origin: bottom;
    transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}
.clock::after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #000;
    border-radius: 50%;

}
.clock .second{
    width: 4px;
    height: 45%;
    background: rgb(153, 16, 16);
}
.clock .minute{
    width: 7px;
    height: 40%;
    background: rgb(10, 8, 8);
}
.clock .hour{
    width: 10px;
    height: 35%;
    background: rgb(10, 10, 10);
}