*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.digitalclockbody{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    overflow: hidden;
    background:  #111845;
}

#time{
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 3px solid red; */
}

#time .circle{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time .circle svg{
    position: relative;
    transform: rotate(270deg);
}

#time .circle:nth-child(1) svg{
    width:250px ;
    height: 250px;
}

#time .circle:nth-child(2) svg{
    width: 210px;
    height: 210px;
}
#time .circle:nth-child(3) svg{
    width: 170px;
    height: 170px;
}

#time .circle svg circle{
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: var(--clr);
    stroke-width: 5;
    transform: translate(5px, 5px);
    opacity: 0.25;
}

#time .circle:nth-child(1) svg circle{
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
}

#time .circle:nth-child(2) svg circle{
    stroke-dasharray: 630;
    stroke-dashoffset: 630;
}

#time .circle:nth-child(3) svg circle{
    stroke-dasharray: 510;
    stroke-dashoffset: 510;
}

.dots{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 10;
}

.dots::before{
    content: '';
    position: absolute;
    top: -3px;
    width: 15px;
    height: 15px;
    background: var(--clr);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--clr),
    0 0 40px var(--clr),
    0 0 60px var(--clr),
    0 0 80px var(--clr);
}

.timeBx{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #fff;
    font-family: consolas;
    gap: 15px;
    font-size: 1.5em;
    font-weight: bold;
}

.timeBx #hours::after,
.timeBx #minutes::after{
    content: ':';
    position: absolute;
}

.timeBx div{
    color: var(--c);
    text-shadow: 0 0 10px var(--c),
    0 0 20px var(--c) ;
}

.ap{
    position: absolute;
    transform: translateY(-15px);
    font-size: 0.5em;
    right: 56px;
}



/* Small devices (landscape phones, 576px and up) */
@media (min-width: 367px) { 
    #time .circle, .circle svg{
        display: flex;
    }
 }

 /* Small devices (landscape phones, 576px and up) */
 @media (min-width: 576px) { 
    #time .circle, .circle svg{
        display: none;
    }
 }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #time .circle, .circle svg{
        display: none;
    }
 }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    #time .circle, .circle svg{
        display: flex;
    }
 }
