*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    width: 100%;
  min-height: 100vh;
  background: linear-gradient(45deg, #08001f, #30197d);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
}
.digits{
    background-color: #8868f22b;
    width: 800px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border-radius: 5px;
}
span{
    font-size: 76px;
    margin: 0 10px;
    font-weight: 700;
    position: relative;
}
span::before{
    content: "";
    position: absolute;
    font-size: 13px;
    bottom: -13px;
    left: 35px;
}
#hrs::before{
content: "HOURS";
}
#mins::before{
content: "MINS";
}
#secs::before{
content: "SEC";
}
#ampm{
    font-size: 27px;
}
.clock{
    position: relative;
}
.square{
    position: absolute;
    width: 150px;
    height: 140px;
    background-color: rgb(232, 90, 114);
    left: -30px;
    top: -30px;
    border-radius: 5px;
}
.circle{
    position: absolute;
    width: 160px;
    height: 160px;
    background-color: rgb(115, 115, 251);
    right: -26px;
    bottom: -40px;
    border-radius: 50%;
}
@media screen and (max-width: 850px) {
    .digits{
        width: 100%;
        height: 400px;
        padding: 20px;
    }
}
@media screen and (max-width: 550px) {
span{
    font-size: 50px;
}
span::before{
    content: "";
    font-size: 12px;
    left: 15px;
}
}
@media screen and (max-width: 450px) {
    span{
        font-size: 40px;
        font-weight: 600;
    }
    span::before{
        content: "";
        font-size: 8px;
        left: 10px;
    }
    #ampm{
        font-size: 15px;
    }
}
@media screen and (max-width: 400px) {
    span{
        font-size: 35px;
        font-weight: 700;
    }
    span::before{
        content: "";
        font-size: 8px;
        left: 10px;
    }
    #ampm{
        font-size: 15px;
    }
}