body{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content:center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(45deg, #111111, #2b28c4, #79df1f);
    animation: myanimation 10s ease infinite;
    background-size: 400% 400%;
    font-family: Arial, Helvetica, sans-serif;
}

@keyframes myanimation{
    0%{
        background-position: 0% 50%;

    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }

}
.clock-container{
    background-color: rgba(46, 153, 195, 0.7);
    padding: 20px 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0,0.4);
}
.clock{
    color: #00e5ff;
    font-size: 60px;
    letter-spacing: 5px;
    text-align: center;
    display: flex; 
    align-items: center;
}
#hours, #minutes, #seconds, #ampm{
    transition: transform 0.5s;
}
.clock span:hover{
    transform: scale(1.2);
}