@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#2f363e;
}

.container{
    text-align:center;
}

.title{
    color:#fff;
    font-size:3rem;
    font-weight:700;
    margin-bottom:50px;
}

#time{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

.circle{
    position:relative;
    width:180px;
    height:180px;
}

.circle svg{
    position:absolute;
    top:0;
    left:0;
    width:180px;
    height:180px;
    transform:rotate(270deg);
}

.circle svg circle{
    fill:none;
    stroke:#191919;
    stroke-width:10;
}

.circle svg circle:nth-child(2){
    stroke:var(--clr);
    stroke-dasharray:440;
    stroke-dashoffset:440;
    transition:0.5s linear;
}

.time-text{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    text-align:center;
    z-index:10;
    font-size:2.5rem;
    font-weight:700;
}

.time-text span{
    margin-top:10px;
    font-size:0.8rem;
    font-weight:500;
    letter-spacing:3px;
    text-transform:uppercase;
}

.ap{
    color:#fff;
    font-size:2.5rem;
    font-weight:700;
}

.dots{
    position:absolute;
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    z-index:5;
}

.dots::before{
    content:'';
    position:absolute;
    top:-6px;
    width:15px;
    height:15px;
    border-radius:50%;
    background:var(--clr);
    box-shadow:
        0 0 20px var(--clr),
        0 0 60px var(--clr);
}

@media(max-width:768px){

    .title{
        font-size:2rem;
    }

    .circle{
        width:150px;
        height:150px;
    }

    .circle svg{
        width:150px;
        height:150px;
    }

    .time-text{
        font-size:2rem;
    }

    .time-text span{
        font-size:0.7rem;
    }

    .ap{
        width:100%;
        text-align:center;
    }
}