@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    }

body {
background: linear-gradient(to left, #75025A,#171717);  
display: flex;
justify-content: center; 
align-items: center;
min-height: 100vh;
overflow: hidden;
}

h1 {
    position: absolute;
     color: lightgray;
     font-family: 'Permanent Marker', cursive;
     font-size: 2.7rem;
     text-shadow: 5px 10px #000;
     bottom: 75%;
}
.clock {
padding: 0;
margin: 0;    
width: 400px;
height: 400px;
background-color:  rgba(255, 255, 255, .6);
border-radius: 20%; 
border: 4px dotted white; 
position: relative;  
box-shadow: 5px 10px #000;
} 

.clock .number {
    --rotation: 0;
 position: absolute;
 width: 100%;
 height: 100%;
 text-align: center;
 font-family: 'Permanent Marker', cursive;
 text-shadow: 5px 3px #000;
 transform: rotate(var(--rotation));
 font-size: 1.5rem;
 color: white;
}

.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 .number12 { --rotation: 360deg; }

.clock .hand {
    --rotation: 0;
    position: absolute;
    bottom: 50%;
    left: 50%;
    background-color: black;
    border: 1px solid white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform-origin: bottom;
    z-index: 10;
    transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

.clock::after {
  content: '';
  position: absolute;
  background-color: white;
  border: 1px solid black;
  z-index: 11;
  width: 15px;
  height: 15px;
  top: 50%;  
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.clock .hand.second {
    width: 3px;
    height: 45%;
    background-color: black;
}

.clock .hand.minute {
    width: 7px;
    height: 40%;
    background-color: white;
}

.clock .hand.hour {
    width: 10px;
    height: 35%;
    background-color: white;
}