@font-face {
    font-family: MyriadProRegular;
    src: url('fonts/MyriadPro-Regular.otf');
}

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: MyriadProRegular, Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    background-color: black;
}


#container {
    width: 100%;
    height: 100%;
    /*padding: 10px; */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;

}


.blue {
    background:-moz-linear-gradient(
        center bottom,
        #9AD6F6 0%, #FFFFFF 100%
    );
    background:-webkit-gradient(
        linear,
        left bottom, left top,
        from(#9AD6F6), to(#FFFFFF)
    );
}

.green {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(142, 228, 127, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(142, 228, 127, 0.82))
    );
}

.red {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(228, 49, 50, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(228, 49, 50, 0.82))
    );
}

.grey {
    background:-moz-linear-gradient(
        center bottom, #E3E3E3 0%, #FFFFFF 100%
    );
    background:-webkit-gradient(
        linear,
        left bottom, left top,
        from(#E3E3E3), to(#FFFFFF)
    );
}

.yellow {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(250, 250, 145, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(250, 250, 145, 0.82))
    );
}

.white {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(250, 250, 250, 0.82))
    );
}

.black {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(0, 0, 0, 0.82))
    );
}

.fuchsia {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(195, 85, 195, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(195, 85, 195, 0.82))
    );
}

.silver {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(227, 228, 229, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(227, 228, 229, 0.82))
    );
}

.teal {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(24, 167, 181, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(24, 167, 181, 0.82))
    );
}

.purple {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(238, 130, 238, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(238, 130, 238, 0.82))
    );
}

.maroon {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(195, 33, 72, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(195, 33, 72, 0.82))
    );
}

.aqua {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(0, 255, 255, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(0, 255, 255, 0.82))
    );
}

.lime {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(158, 253, 56, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(158, 253, 56, 0.82))
    );
}

.navy {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(18, 10, 143, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(18, 10, 143, 0.82))
    );
}

.olive {
    background:-moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 1) 0%, rgba(154, 185, 115, 0.80) 100%
    );
    background:-webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(255, 255, 255, 1)), to(rgba(154, 185, 115, 0.82))
    );
}



#time {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#clock-wrap {
    float: left;
    text-align: center;
    width: 35%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#text {
    text-align: center;
    float: right;
    margin: 0;
    width: 65%;
    height: 100%;
    overflow: hidden;
}

.time, .date, .name{
    line-height: 100%;
    display: block;
    margin: 5% 0;
}

.flag {
    height: 8%;
    width: 8%;
    padding-right: 3%;
    padding-bottom: 2%;
}

.cell {
    padding-right:25px;
    vertical-align: center;
}

@media all and (max-width: 200px) and (max-height: 120px){
    #clock-wrap{
    display: none;
    }
    #text{
    float:none;
    margin: 0 auto;
    }

}

@media all and (max-width: 320px) and (max-height: 240px){


}

@media all and (max-width: 400px) and (max-height: 300px){


}

@media all and (max-width: 500px) and (max-height: 390px){


}

@media all and (max-width: 640px) and (max-height: 480px){


}

@media all and (max-width: 720px) and (max-height: 576px){


}

@media all and (max-width: 800px) and (max-height: 600px) or (max-width: 800px){


}

@media all and (max-width: 1024px) and (max-height: 768px) or (max-width: 1024px){


}

@media all and (max-width: 1366px) and (max-height: 768px) or (max-width: 1366px){


}

@media all and (max-width: 1600px) and (max-height: 1200px) or (max-width: 1600px){


}

@media all and (max-width: 1920px) and (max-height: 1080px) or (max-width: 1920px){


}