body {
    width : 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    background-color: cornflowerblue;
}

.clock-container {
    width: 500px;
    height: 500px;
    position: relative;
}

.clock-container img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    transition-property: all;
    transition-duration: 500ms;
}