@font-face {
    font-family: 'Flama Condensed Book';
    src: url(fonts/FlamaCondensed-Book.eot);
    /* IE9 Compat Modes */
    src: url(fonts/FlamaCondensed-Book.woff) format('woff');
    /* Pretty Modern Browsers */
}

@font-face {
    font-family: 'Flama Condensed Bold';
    src: url(fonts/FlamaCondensed-Bold.eot);
    /* IE9 Compat Modes */
    src: url(fonts/FlamaCondensed-Bold.woff) format('woff');
    /* Pretty Modern Browsers */
}

@font-face {
    font-family: 'Flama Condensed Light';
    src: url(fonts/FlamaCondensed-Light.eot);
    /* IE9 Compat Modes */
    src: url(fonts/FlamaCondensed-Light.woff) format('woff');
    /* Pretty Modern Browsers */
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Flama Condensed Bold';
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#clock {
    padding: 0 0 0 0;
    width: 90%;
    height: 90%;
    max-width: 736px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(images/bg_desktop.png);
    position: relative;
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

#clock.mobile {
    background-image: url(images/bg_mobile.png);
    max-width: 750px;
    max-height: 520px;
}

.head {
    width: 100%;
}

.body {
    flex-direction: row;
    justify-content: stretch;
    position: absolute;
    bottom: 0;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    padding-bottom: 1.2%;
    box-sizing: border-box;
}

.body > div {
    flex: 1;
    text-align: center;
}

.body span {
    font-size: 90px;
    padding-top: 15px;
    display: inline-block;
}

.smalltext {
    padding-top: 5px;
    font-size: 30px;
    font-family: 'Flama Condensed Light';
    text-transform: uppercase;
} 