body {
    background: #fc4a1a; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #fc4a1a, #f7b733); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #fc4a1a, #f7b733); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.clock {
    width: 20rem;
    height: 20rem;
    margin: 5% auto;
    padding: .5rem;
    background-color: white;
    border: 0.25rem solid black;
    border-radius: 50%;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}
.clock-face {
    position: relative;
    width: 100%;
    height: 100%;
}
.hand {
    width: 50%;
    height: 5px;
    background: black;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.seconds-hand {
    height: 3px;
    background-color: red;
}
.hours-hand {
    width: 25%;
    left: 25%;
}