/*
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
*/

/*--reset--*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
dl,
dt,
dd,
ol,
nav ul,
nav li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clearfix {
    clear: both;
}

/*--start editing from here--*/

a {
    text-decoration: none;
}

.txt-rt {
    text-align: right;
}

/* text align right */

.txt-lt {
    text-align: left;
}

/* text align left */

.txt-center {
    text-align: center;
}

/* text align center */

.float-rt {
    float: right;
}

/* float right */

.float-lt {
    float: left;
}

/* float left */

.pos-relative {
    position: relative;
}

/* Position Relative */

.pos-absolute {
    position: absolute;
}

/* Position Absolute */

.vertical-base {
    vertical-align: baseline;
}

/* vertical align baseline */

.vertical-top {
    vertical-align: top;
}

/* vertical align top */

nav.vertical ul li {
    display: block;
}

/* vertical menu */

nav.horizontal ul li {
    display: inline-block;
}

/* horizontal menu */

img {
    max-width: 100%;
    padding-bottom: 1em;
}

/*--end reset--*/

body {
    height: 100%;
    text-align: center;
    font-weight: bold;
    background: url('/newmoban/_external/demo.mobanwang.com/mb/lo201804/201804120/html/images/banner.jpg') no-repeat center;
    background-size: cover;
    min-height: 100vh;
}

/*-------------------------------------
---------------------------------------
-----------------TIMER-----------------
---------------------------------------
-------------------------------------*/

#timer {
    background: rgba(0, 0, 0, 0.68);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-top-width: 2px;
    letter-spacing: 0.01vh;
    font-weight: bold;
    line-height: 26vh;
    height: 25vh;
    margin-bottom: 20px;
    text-align: center;
    width: 35vw;
    padding: 1vw;
    margin: 1em auto;
    color: #03a9f4;
}

/*---------------------------------------
-----------------------------------------
-----------------BUTTONS-----------------
-----------------------------------------
---------------------------------------*/

#startButton,
#startButton:hover,
#pauseButton,
#pauseButton:hover,
#clearButton,
#clearButton:hover {
    -webkit-appearance: none;
    -webkit-user-select: none;
    border-radius: 3px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    min-height: 6vh;
    line-height: 20px;
    margin-right: 0.5%;
    padding-bottom: 6px;
    letter-spacing: 1px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    position: relative;
    text-decoration: none;
    text-shadow: rgba(0, 0, 0, 0.14902) 0px -1px 0px;
    vertical-align: middle;
    white-space: nowrap;
    min-width: 60px;
    width: 15%;
    word-wrap: break-word;
}

#pauseButton,
#clearButton {
    display: none;
}

/*---------------------------------------
-----------------------------------------
-----------------BUTTONS-----------------
-----------------------------------------
---------------------------------------*/

#startButton,
#startButton:hover,
#pauseButton,
#pauseButton:hover,
#clearButton,
#clearButton:hover {
    border-radius: 3px;
    border: none;
}

#pauseButton,
#clearButton {
    background-color: #111;
}

#pauseButton:hover,
#clearButton:hover {
    background: #000;
}

/*-----------------------
	-------START BUTTON------
	-----------------------*/

#startButton {
    background: #03A9F4;
}

h1 {
    font-size: 2.9em;
    text-transform: uppercase;
    text-shadow: 4px 1px 1px #000000;
    color: #fff;
    letter-spacing: 3px;
    font-family: 'Josefin Sans', sans-serif;
    padding: 5vw 0 0;
}

.copyright {
    margin: 4em 0 2em;
}

.copyright p {
    color: #fff;
    letter-spacing: 1px;
    padding: 0 1em 2em;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
}

.copyright p a {
    color: #fff;
}

/*--responsive--*/

@media(max-width:1920px) {
    h1 {
        font-size: 3.5vw;
    }
}

@media(max-width:1024px) {
    h1 {
        font-size: 4.5vw;
    }
}

@media(max-width:800px) {
    h1 {
        font-size: 5vw;
    }
}

@media(max-width:568px) {
    #timer {
        width: 45vw;
    }
}

@media(max-width:480px) {
    h1 {
        font-size: 2.3em;
        letter-spacing: 1px;
    }
}

@media(max-width:440px) {
    h1 {
        font-size: 2.1em;
    }
}

@media(max-width:384px) {
    #startButton,
    #startButton:hover,
    #pauseButton,
    #pauseButton:hover,
    #clearButton,
    #clearButton:hover {
        width: 19%;
    }
    #timer {
        width: 50vw;
    }
}

@media(max-width:375px) {
    #startButton,
    #startButton:hover,
    #pauseButton,
    #pauseButton:hover,
    #clearButton,
    #clearButton:hover {
        width: 21%;
    }
}

@media(max-width:320px) {
    h1 {
        font-size: 1.8em;
    }
}