@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 */
}

@font-face {
    font-family: 'OpenSans Light';
    src: url(fonts/OpenSans-Light.ttf);
    /* IE9 Compat Modes */
    src: url(fonts/OpenSans-Light.ttf) format('ttf');
    /* Pretty Modern Browsers */
}

body, html {
    height: 100%;
}

body {
    background-image: url(images/background.jpg) !important;
    background-size: contain;
    background-repeat: no-repeat !important;
    background-position: 50% 46% !important;
    font-family: 'Flama Condensed Bold';
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#clock {
    padding: 0 0 50px 0;
    width: 90%;
    height: 90%;
    max-width: 700px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.head {
    width: 100%;
    /* background: url(images/headline.png); */
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.head p {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 40px;
}

.head p.light {
    font-size: 25px;
    font-family: 'Flama Condensed Book';
}

.body {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
}

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

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

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

@media screen and (device-aspect-ratio: 40/71) and (-webkit-min-device-pixel-ratio: 2) {
        
    body {
        background-image: url(images/background-mobil.jpg) !important;
    }

    .head p {
        font-size: 23px;    
    }
}
