/* digital clock */
.hero{
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, #000000, #9992b1);
    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;
    background: #f41b75;
    position: absolute;
    border-radius: 5px;
    left: -50px;
    top: -50px;
    z-index: -1;
}
.container::after{
    content: '';
    width: 180px;
    height: 180px;
    background: #419aff;
    position: absolute;
    border-radius: 50%;
    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: -5px;
    left: 50%;
    transform: translateX(-50%);
}
#hrs::after{
    content: 'Hours';
}
#min::after{
    content: 'Mins';
}
#sec::after{
    content: 'Sec';
}
@media (max-width: 600px){
    .hero h1{
        margin: 50px;
    }

    .container{
        width: 90%;
        height: 150px;
    }

    .clock span{
        font-size: 45px;
        width: 70px;
    }

    .clock span::after{
        font-size: 12px;
        bottom: -15px;
    }

    .container::before{
        width: 120px;
        height: 120px;
        left: -20px;
        top: -30px;
    }

    .container::after{
        width: 120px;
        height: 120px;
        right: -20px;
        bottom: -30px;
    }

}
