* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
        font-family: 'Helvetica Neue LT Std 45 Light';
        font-style: normal;
        font-weight: normal;
        src: url('font/HelveticaNeueLTStd45Light_22520.woff');
    }

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #060a1f;
    font-family: 'Helvetica Neue LT Std 45 Light', sans-serif;
}

#clock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#clock h1 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .3rem;
    text-align: center;
    color: #fff;
    margin-bottom: .5rem;
}

section {
    display: flex;
}

section div {
    position: relative;
    margin-right: .5rem;
    -webkit-box-reflect: below .5px linear-gradient(transparent, #0004);
}

section div:last-child {
    margin-right: 0;    
}

.hour-box::after, .minutes-box::after, .seconds-box::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform-origin: bottom;
    transform: scaleY(-1);
    mask: url(#fader);
}

.hour-box::after {
    background: -moz-element(#get-hour);
}

.minutes-box::after {
    background: -moz-element(#get-minutes);
}

.seconds-box::after {
    background: -moz-element(#get-seconds);
}

span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a73e8;
    color: #fff;
    font-size: 3.3rem;
    width: 100px;
    padding: 1.3rem 0 .4rem 0;
}

span:nth-child(even) {
    font-size: .7rem;
    background-color: #1d65c4;    
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: .5rem 0;
}

section div:last-child span {
    background-color: #ff006a;
}

section div:last-child span:last-child {
    background-color: #ec0062;
}

@media screen and (min-width: 567px) {
    span {
        padding: 1.1rem 0 .2rem 0;
    }
}