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

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

.hero{
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, #080001, #0197dd);
    color: #fff;
    position: relative;
}

.container{
    width: 800px;
    height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.clock{
    width: 100%;
    height: 100%;
    background: rgba(235, 0, 255, 0.11);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(40px);
}

.container::before{
    content: '';
    width: 180px;
    height: 180px;
    border-radius: 5px;
    background: #f41b75;
    position: absolute;
    left: -50px;
    top: -50px;
    z-index: -1;
}

.container::after{
    content: '';
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #419aff;
    position: absolute;
    right: -30px;
    bottom: -50px;
    z-index: -1;
}

.clock span{
    font-size: 80px;
    width: 110px;
    display: inline-block;
    text-align: center;
    position: relative;
}

.clock span::after{
    font-size: 16px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

#hrs::after{
    content: "HOURS";
}

#min::after{
    content: "MINS";
}

#sec::after{
    content: "SEC";
}
/* ==========================
   Tablet
========================== */
@media (max-width: 992px){

    .container{
        width:90%;
        max-width:700px;
        height:160px;
    }

    .clock span{
        font-size:60px;
        width:90px;
    }

}

/* ==========================
   Mobile
========================== */
@media (max-width:768px){

    .container{
        width:95%;
        height:140px;
    }

    .clock{
        padding:20px 10px;
    }

    .clock span{
        font-size:42px;
        width:60px;
    }

    .clock span::after{
        font-size:12px;
        bottom:-18px;
    }

    .container::before{
        width:100px;
        height:100px;
        left:-15px;
        top:-15px;
    }

    .container::after{
        width:100px;
        height:100px;
        right:-15px;
        bottom:-20px;
    }

}

/* ==========================
   Small Mobile
========================== */
@media (max-width:480px){

    .container{
        width:95%;
        height:120px;
    }

    .clock{
        border-radius:8px;
        padding:15px 8px;
    }

    .clock span{
        font-size:30px;
        width:45px;
    }

    .clock span::after{
        font-size:9px;
        bottom:-15px;
    }

    .container::before{
        width:70px;
        height:70px;
        left:-10px;
        top:-10px;
    }

    .container::after{
        width:70px;
        height:70px;
        right:-10px;
        bottom:-10px;
    }

}
