/* CSS 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, center,
dl, dt, dd, ol, ul, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* CSS Reset end*/

body {
    background-color: #282828;
    color: white;
    text-shadow: #000000ee 0 0 15px;
    font-family: "Commissioner", Arial, Helvetica, sans-serif;
    font-weight: 300;

    /* Stop side scrolling thing happening */
    overflow-x: hidden;
}

h1 {
    position: absolute;

    /* Place above image but under header */
    z-index: 3;

    text-align: center;
    left: 1vw;
    right: 1vw;
    top: 40vh;

    font-weight: 300;
    font-size: 45px;
}

h6 {
    position: absolute;

    /* Place above image but under header */
    z-index: 3;

    text-align: center;
    left: 1vw;
    right: 1vw;
    /* more down */
    top: calc(40vh + 60px);

    font-size: 30px;
    font-weight: 400;
}

.fadeIn {
    /* Smooth fae in for main elements*/
    opacity: 0;
    transition: opacity 1s;
}

#img {
    position: static;

    width: 99vw;
    /* Always proper apsect ratio */
    height: calc(100vw * 8.264);
    transform: translate(0, 0);
    z-index: -1;
}

nav {
    position: sticky;

    text-align: center;
    padding: 20px;
    top: 0;
    background: #282828;

    /* Place above everything */
    z-index: 4;
    
    height: 30px;
    font-size: 20px;
    box-shadow: #000000aa 0 0 20px;
}

button {
    position: fixed;

    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    
    font-size: 16px;
    background: #282828;
    color: white;
    border: solid black 1px;
    border-radius: 500px;

    /* Look clickable */
    cursor: pointer;
    /* Place above everything */
    z-index: 4;
    box-shadow: #000000aa 0 0 10px;

    /* Smooth fade in/out */
    transition: opacity 0.3s;
    opacity: 0;
    display: block;

    font-family: "Commissioner", sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

footer {
    position: relative;

    padding: 10px;
    bottom: 0;
    background: #282828;
}

.navImg {
    height: 55px;
    vertical-align: middle;
    margin-top: -40px;
    margin-bottom: -40px;
    margin-right: 100%;
}

.leftTextNav {
    position: absolute;
    color: white;
    padding-left: 60px;
    margin-top: -16px;
    text-align: left;
    text-shadow: black 0 0 15px;
}

.rightTextNav {
    color: white;
    margin-top: -16px;
    text-align: right;
    float: right;
    padding-left: 20px;
    text-decoration: underline;
    font-size: 20px;
}

.rightTextNav:hover {
    color: grey;
    cursor: pointer;
}