*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
color: #ffffff;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #212121;
}
.container{
position: relative;
}
.clock{
width: 400px;
height: 400px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.089);
border: 10px solid #e2e8eb;
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.9), inset 0px 0px 20px rgba(122, 122, 122, 0.336);
display: flex;
justify-content: center;
align-items: center;
}
.clock span{
position: absolute;
transform: rotate(calc(30deg * var(--i)));
inset: 20px;
text-align: center;
}
.clock span p{
transform: rotate(calc(-30deg * var(--i)));
display: inline-block;
font-size: 24px;
font-family: sans-serif;
}
.clock::before{
content: '';
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
background-color: #ffffff;
z-index: 2;
}
.hand{
position: absolute;
display: flex;
justify-content: center;
align-items: flex-end;
}
.hand p{
position: absolute;
background-color: var(--clr);
width: 4px;
height: var(--h);
border-radius: 8px;
}