@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #17181f;
}
.container
{
    position: relative;
    background: #000;
    border-radius: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.clock
{
    position: relative;
    width: 550px;
    height: 550px;
    background: #000;
    border-radius: 50%;
    box-shadow: 10px 50px 70px rgba(0,0,0,0.25),
    inset 5px 5px 10px rgba(0,0,0,0.5),
    inset 5px 5px 20px rgba(255,255,255,0.2),
    inset -5px -5px 15px rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
}
.clock::before
{
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #000;
    border: 3px solid #d4d5e0;
    border-radius: 50%;
    z-index: 10000;
}
.clock span
{
    position: absolute;
    inset: 15px;
    color: #fff;
    text-align: center;
    transform: rotate(calc(30deg * var(--i)));
    /* 360/12 = 30deg */
}
.clock span b
{
    font-size: 2em;
    opacity: 0.70;
    font-weight: 300;
    display: inline-block;
    transform: rotate(calc(-30deg * var(--i)));
}
.circle
{
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(187, 136, 41, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 10;
}
.circle2
{
    width: 350px;
    height: 350px;
    z-index: 9;
}
.circle3
{
    width: 300px;
    height: 300px;
    z-index: 8;
}
.circle i
{
    position: absolute;
    width: 6px;
    height: 50%;
    background: var(--clr);
    opacity: 0.75;
    transform-origin: bottom;
    transform: scaleY(0.9);
}
.circle:nth-child(1) i
{
    width: 2px;
}
.circle:nth-child(2) i
{
    width: 4px;
}
.circle::before
{
    content: '';
    position: absolute;
    top: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr);
    box-shadow: 0 0 20px var(--clr), 0 0 60px var(--clr);
}

#date{ position: absolute;
    margin-top: -100px;
    padding: 8px 14px;
    font-size: 0.5em;
    border: 2px solid rgba(0,0,0,0.5);
    border-radius: 40px;
    display: flex;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5),
    inset 5px 5px 20px rgba(255,255,255,0.2),
    inset -5px -5px 15px rgba(0,0,0,0.75);

}
#date h1{
    color: #fff;
    font-weight: 400;
}
/* digital clock style */
#time
{
    position: absolute;
    margin-top: 100px;
    padding: 5px 10px;
    font-size: 2em;
    border: 2px solid rgba(0,0,0,0.5);
    border-radius: 40px;
    display: flex;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5),
    inset 5px 5px 20px rgba(255,255,255,0.2),
    inset -5px -5px 15px rgba(0,0,0,0.75);
}

#time div
{
    position: relative;
    width: 50px;
    text-align: center;
    font-weight: 400;
    color: var(--clr);
}
#time div:nth-child(1)::after,
#time div:nth-child(2)::after
{
    content: ':';
    position: absolute;
    right: -3px;
}
#time div:last-child
{
    font-size: 0.6em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    right: 7px;
}
#time div:nth-child(2)::after
{
    animation: animate 1s steps(1) infinite;
}
@keyframes animate
{
    0%
    {
        opacity: 1;
    }
    50%
    {
        opacity: 0;
    }
}