/*
 * Globals
 */
/* Links */
a,
a:focus,
a:hover {
    color: #fff;
    text-decoration: none;
}

/* Custom default button */
.btn-default {
    color: #fff;
    text-shadow: none;
    /* Prevent inheritence from `body` */
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 0.5rem 2rem;
}

.btn-default:hover,
.btn-default:focus {
    background-color: rgba(255, 255, 255, 0.3);
}

/*
 * Base structure
 */
html,
body {
    height: 100%;
}

body {
    background: url(../img/cover.jpg) no-repeat bottom left fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
}

#backgroundVideo {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
    position: relative;
    height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    display: table;
    width: 100%;
    height: 100%;
    /* For at least Firefox */
    min-height: 100%;
    background: rgba(48, 53, 70, 0.5);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
}

/* Padding for spacing */
.inner {
    padding: 30px;
}

/*
 * Header
 */
.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.nav-masthead {
    text-align: center;
    display: block;
}

.nav-masthead .nav-link {
    display: inline-block;
}

@media (min-width: 768px) {
    .masthead-brand {
        float: left;
    }

    .nav-masthead {
        float: right;
    }
}

/*
 * Cover
 */
.cover {
    padding: 0 20px;
}

.cover .btn-notify {
    padding: 10px 60px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 40px;
}

.cover-heading {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cover-copy {
    max-width: 500px;
    font-size: 1rem;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .cover-heading {
        font-size: 3.4rem;
        letter-spacing: 15px;
    }

    .cover-copy {
        font-size: 1.25rem;
    }
}

/*
 * Footer
 */
.mastfoot {
    color: #999;
    /* IE8 proofing */
    color: rgba(255, 255, 255, 0.5);
}

/*
 * Timer
 */
#timer {
    min-height: 150px;
}

#timer div {
    display: inline-block;
    line-height: 1;
    text-align: center;
    padding: 20px 10px;
    min-height: 80px;
    width: 80px;
    margin-bottom: 1rem;
}

#timer span {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.6px;
}

#days {
    font-size: 2rem;
}

#hours {
    font-size: 2rem;
}

#minutes {
    font-size: 2rem;
}

#seconds {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    #timer {
        min-height: 200px;
    }

    #timer div {
        padding: 20px;
        min-height: 100px;
        width: 120px;
        margin-bottom: 3rem;
    }

    #days {
        font-size: 5rem;
    }

    #hours {
        font-size: 5rem;
    }

    #minutes {
        font-size: 5rem;
    }

    #seconds {
        font-size: 3rem;
    }
}

/*
 * Affix and center
 */
@media (min-width: 768px) {
    /* Pull out the header and footer */
    .masthead {
        position: fixed;
        top: 0;
    }

    .mastfoot {
        position: fixed;
        bottom: 0;
    }

    /* Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }

    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%;
        /* Must be percentage or pixels for horizontal alignment */
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 1060px;
    }
}
