:root{
    --rotation:0deg;
    --rotationH:0deg;
    --rotationM:0deg;
}

*{
    box-sizing: border-box;
}

body{
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #12001f;
}

.main{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
}

.date{
    width: 300px;
    height: 100px;
    background-color: #12001f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow:
    0 0 0 4px rgba(255,255,255,0.8),     /* a solid “frame” of white around the clock */
    0 0 15px 8px rgba(255,255,255,0.5),   /* outer soft glow */
    inset 0 0 10px rgba(0,0,0,0.2);
    border-radius: 20px;
}

.date div{
    background-color: #12001f;
    width: 100%;
    height: 100%;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: bold;
    color: white;
    border-radius: 20px;
    font-style: italic;
}

.date div:not(:last-child){
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: white;
}

.clock-body{
    position: relative;
    width: 300px;
    height: 300px;
    border-style: solid;
    border-width: 2px;
    border-color: #12001f;
    border-radius: 50%;
    z-index: 2;
    box-shadow:
    0 0 0 4px rgba(255,255,255,0.8),     
    0 0 15px 8px rgba(255,255,255,0.5),   
    inset 0 0 10px rgba(0,0,0,0.2);
}


#point{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    text-align: center;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    box-shadow:
    0 0 0 4px rgba(255,255,255,0.8),     
    0 0 15px 8px rgba(255,255,255,0.5),   
    inset 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

#point::after{
    content: "";
    position: absolute;
    height: 130px;
    width: 1px;
    background-color: rgb(255, 255, 255);
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.8),     
    0 0 5px 3px rgba(255,255,255,0.5),  
    inset 0 0 10px rgba(0,0,0,0.2);
    top: -125px;
    right: 3px;
    transform-origin: bottom center;
    transform: rotate(var(--rotation)) translateX(-50%);
    z-index: -1;
}
#point::before{
    content: "";
    position: absolute;
    height: 70px;
    width: 3px;
    background-color: rgb(255, 255, 255);
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.8),     
    0 0 5px 3px rgba(255,255,255,0.5),  
    inset 0 0 10px rgba(0,0,0,0.2);
    top: -65px;
    right: 4px;
    transform-origin: bottom center;
    transform: rotate(var(--rotationH)) translateX(-50%);
    z-index: -1;
}
#minute-hand {
  position: absolute;
  height: 100px;  
  width: 2px;
  background-color: rgb(255, 255, 255);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.8),     
    0 0 5px 3px rgba(255,255,255,0.5),   
    inset 0 0 10px rgba(0,0,0,0.2);
  top: -95px;
  right: 5px;
  transform-origin: bottom center;
  transform: rotate(var(--rotationM)) translateX(-50%);
  z-index: -1;
}