
html {
    display: grid;
    min-height: 100%;
}

body {
    display: grid;
    background: #fce300;
    background: url("../img/bg-l.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


.container {
    position: relative;
    margin: auto;
    overflow: hidden;
    /*width: 650px;*/
    /*height: 480px;*/
}

h1 {
    font-family: "Lato", sans-serif;
    text-align: center;
    margin-top: 2em;
    font-size: 5vw;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #F6F4F3;
}

#timer {
    color: #BE242C;
    text-align: center;
    text-transform: uppercase;
    font-family: "Lato", sans-serif;
    font-size: 0.7em;
    letter-spacing: 5px;
    margin-top: 0;

}

.days, .hours, .minutes, .seconds {
    display: inline-block;
    padding: 20px;
    width: 100px;
    border-radius: 5px;
}

.days {
    background: #658553;

}

.hours {
    background: #7C9F61;
}

.minutes {
    background: #FEB500;
}

.seconds {
    background: #FEE350;
}

.quote {
    position: absolute;
    display: inline-block;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    text-align: center;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.2);
}

footer {
    position: fixed;
    bottom: 0;
    right: 0;
    text-transform: uppercase;
    padding: 10px;
    font-family: "Lato", sans-serif;
    font-size: 0.7em;
}

footer p {
    letter-spacing: 3px;
    color: #EF2F3C;
}

footer a {
    color: #F6F4F3;
    text-decoration: none;
}

footer a:hover {
    color: #276FBF;
}


@media (orientation: portrait) {
    #timer {
        margin-top: calc(5vh);
        padding: 0;
        letter-spacing: 0;

    }

    body {
        background: url("../img/bg-p.jpg") no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        margin: 0;
    }

    .days, .hours, .minutes, .seconds {
        display: inline-block;
        padding: 10px;
        width: calc(20vw - 15px);
        height: calc(20vw - 15px);
        border-radius: 5px;
        margin: 5px;
    }

    .quote {
        padding: 5px;
        border-radius: 5px;
        position: absolute;
        display: inline-block;
        left: 50%;
        bottom: 45vh;
        transform: translateX(-50%);
        font-size: 1rem;
        color: white;
        text-align: center;
        width: 80vw;
        background-color: rgba(0, 0, 0, 0.3);
    }

}

.hide {
    display: none;
}
