﻿.cd-container {
    margin: 0 auto;
    max-width: 280px;
}

    .cd-container .time {
        border-radius: 5px;
        box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
        display: inline-block;
        text-align: center;
        position: relative;
        height: 55px;
        width: 65px;
        -webkit-perspective: 500px;
        -moz-perspective: 500px;
        -ms-perspective: 500px;
        -o-perspective: 500px;
        perspective: 500px;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        -o-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    .cd-container .count {
        background: #202020;
        color: #f8f8f8;
        display: block;
        font-family: 'Oswald', sans-serif;
        font-size: 2em;
        line-height: 2.4em;
        overflow: hidden;
        position: absolute;
        text-align: center;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
        top: 0;
        width: 100%;
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-transform-style: flat;
        -moz-transform-style: flat;
        -ms-transform-style: flat;
        -o-transform-style: flat;
        transform-style: flat;
    }

    .cd-container .clabel {
        background: #202020;
        color: #dbd6d6;
        display: block;
        font-family: 'Oswald', sans-serif;
        position: absolute;
        text-align: center;
        top: 50px;
        width: 100%;       
    }

@media screen and (max-width: 48em) {
    .cd-container {
        width: 100%;
    }

        .cd-container .countdown-container {
            height: 100px;
        }

        .cd-container .time {
            height: 70px;
            width: 48px;
        }

        .cd-container .count {
            font-size: 1.5em;
            line-height: 70px;
        }

        .cd-container .label {
            font-size: 0.8em;
            top: 72px;
        }
}
