@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600&family=Open+Sans:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #060a1f;
}

#clock h2 {
    position: relative;
    display: block;
    color: #fff;
    text-align: center;
    margin: 10px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    font-size: 1.3rem;
    transition: 0.9s;
}

#clock h2:hover {
    letter-spacing: 10px;

}

#clock #time {
    display: flex;

}

#clock #time div {
    position: relative;
    margin: 0 5px;
    -webkit-box-reflect: below 3px linear-gradient(transparent, #0004);
}

#clock #time div span {
    position: relative;
    display: block;
    width: 180px;
    height: 160px;
    background: #2196f3;
    color: #fff;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    z-index: 10;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
    transition: 0.8s;
}


#clock #time div span:hover {
    transform: scale(1.09);
}

#clock #time div span:nth-child(2) {
    height: 60px;
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    font-weight: 500;
    /* box-shadow: none; */
    background: #127fd6;
    text-transform: uppercase;
}

#clock #time div:last-child span {
    background: #ff003c;
    color: black;
    font-weight: 400;
}

#clock #time div:last-child span:nth-child(2) {
    background: #ca1c45;
}