:root{
    --bg-color-900: #fff;
    --bg-color-700: #091921;
    --bg-color-50:#e8dfec;
}
body.dark{
    --bg-color-900: #091921;
    --bg-color-700: #fff;
    --bg-color-50: #393939;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-color-900);
    transition: all 1s ease;
}
#time{
    display: flex;
    gap: 40px;
    color: var(--bg-color-700);
}
#hours,
#minutes,
#seconds{
    margin-left: -7px;
}
#time .circle{
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#time .circle svg{
    position: relative;
    margin-left: -3px;
    width: 125px;
    height: 110px;
    transform: rotate(270deg);
}
#time .circle svg circle{
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: var(--bg-color-700);
    stroke-width: 2px;
    transform: translate(2px,2px);
}
#time .circle svg circle:nth-child(2){
    stroke: var(--clr);
    stroke-dasharray: 314;
}
#time div{
    position: absolute;
    text-align: center;
    font-weight: 500;
    font-size: 1.5em;
}
#time div span{
    position: absolute;
    transform: translateX(-50%) translateY(-5px);
    font-size: 0.35em;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
#time .ap{
    position: relative;
    font-size: 1em;
    transform: translateX(-20px);
}
.dots{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -7px;
}
.dots::before{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    top: -8px;
    background: var(--clr);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--clr),
    0 0 60px var(--clr);
}
.toggle{
    position: fixed;
    top: 30px;
    right: 30px;
    cursor: pointer;
}
.toggle i{
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid var(--bg-color-50);
    color: var(--bg-color-700);
}
@media (max-width: 766px){
    #time{
        flex-direction: column;
    }
    #time div{
        width: 115%;
    }
}