*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background: #091921;
}

.clock{
    border: 5px solid #091921;
    width: 350px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
    background-image: url('./clock.png');
    background-position: center;
    background-size: cover;
    box-shadow: 0 -15px 15px rgba(255,255,255,0.05),
                inset 0 -15px 15px rgba(255,255,255,0.05),
                0 15px 15px rgba(0,0,0,0.1),
                inset 0 -15px 15px rgba(0,0,0,0.1);
}

.hands{
    width: 350px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: relative;
}

.date{
    font-family: sans-serif;
    position: absolute;
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    
}

.month, .day{
    background: #050f14;
    padding: 5px 8px;
    border-radius: 3px;
}

.hands::before{
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 10px;
    aspect-ratio: 1/1;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.hour, .minute, .second{
    border-radius: 5px;
}

.hour{
    position: absolute;
    background: red;
    height: 30%;
    width: 4px;
    bottom: 50%;
    right: calc(50% - 2px);
    /* transform: rotateZ(10deg); */
    transform-origin:bottom center;
    
}

.minute{
    position: absolute;
    background: white;
    height: 38%;
    width: 3px;
    right: calc(50% - 1.5px);
    bottom: 50%;
    transform-origin:bottom center;
}

.second{
    position: absolute;
    background: white;
    height: calc(43% + 25px);
    width: 1px;
    bottom: calc(50% - 25px);
    right: 50%;
    transform-origin: 50% calc(100% - 25px);
    transform: rotateZ(270deg);
    transition: transform 200ms ease linear;
}
