@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Poppins:wght@700&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family:Verdana, Geneva, Tahoma, sans-serif; */
    
}

body,
.time,
.left-side,
.right-side,
.right-top,
.right-down {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: #2e2e45;
}

.digital-clock,
.time,
.right-side,
.right-top,
.right-down {
    position: relative;
}

.digital-clock {
    color: white;
    background: #2d2f38;
    width: 550px;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 5px rgba(14, 21, 37, .8);
}
.digital-clock::before{
    content: "";
    position: absolute;
    background: linear-gradient(45deg,blue,orange,green);
    background-size: 150% 150%;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    filter: blur(30px);
    animation: glowing 5s ease infinite;
}
#hours {
    font-weight: 600;
    padding: 0 10px;
    line-height: 125px;
    font-size: 8em;
    /* background: -webkit-linear-gradient(90deg, blue, white); */
    color: #dcfb00;
}

.right-side {
    flex-direction: column;
}

#dots {
    font-size: 3em;
    color: gray;
    transform: translateY(-3px);
}

#minutes {
    font-size: 5em;
    margin-left: 10px;
    font-weight: 500;
    /* background: -webkit-linear-gradient(90deg, orchid, white); */
    color: #00ff4c;
}

.right-down {
    margin-left: 10px;
    transform: translateY(-8px);
}

#seconds,
#period {
    font-size: 1.8em;
    font-weight: 500;
    margin-left: 10px;
}

#period {
    font-size: 1em;
    color: #939393;
    transform: translateY(4px)
}





@keyframes glowing {
    0%{
        background-position: 0 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0 50%;
    }
}