/* Normalize CSS
==========================*/

button, hr, input {
    overflow: visible
}

audio, canvas, progress, video {
    display: inline-block
}

progress, sub, sup {
    vertical-align: baseline
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    width: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0
}

menu, article, aside, details, footer, header, nav, section {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

figcaption, figure, main {
    display: block
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline-width: 0
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
}

b, strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

mark {
    background-color: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

audio:not([controls]) {
    display: none;
    height: 0
}

img {
    border-style: none
}

svg:not(:root) {
    overflow: hidden
}

button, input, optgroup, select, textarea {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button, input {
}

button, select {
    text-transform: none
}

[type=submit], [type=reset], button, html [type=button] {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
    outline: ButtonText dotted 1px
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
}

textarea {
    overflow: auto
}

[type=checkbox], [type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

[hidden], template {
    display: none
}

/* General Styles
==========================*/

body {
    font-family: "Montserrat", sans-serif;
}

.section {
    padding: 80px 20px;
    position: relative;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 50px;
    text-align: center;
}

/* Header
==========================*/

#header {
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: fixed;
    top: 0;
    overflow: hidden;
    width: 100%;
    z-index: 999;
}

#logo-container {
    background-color: hsl(0, 0%, 0%);
    margin: 0;
    padding: 5px 20px;
    transition: all 0.2s;
}

#header-img {
    height: 60px;
}

#logo-container:hover {
    background-color: hsl(0, 0%, 20%);
}

#nav-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: stretch;
}

#nav-bar ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav-bar ul li {
}

#nav-bar ul a {
    color: #000;
    display: block;
    font-size: 17px;
    padding: 10px;
    position: relative;
    text-decoration: none;
    transition: all 0.2s linear;
}

#nav-bar ul a:hover {
    color: #0070d1;
}

#nav-btn {
    background-color: hsl(0, 0%, 20%);
    border-radius: 25px;
    color: #fff;
    display: block;
    font-size: 17px;
    margin: 0 10px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s linear;
}

#nav-btn:hover {
    background-color: #0070d1;
    color: #fff;
}

/* Hero Section
==========================*/

#intro {
    background-color: #000;
    background-image: url("assets/hero-bg.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-flow: column wrap;
    align-content: center;
    justify-content: center;
    position: relative;
    color: #fff;
    height: 600px;
    margin-top: 70px;
}

#intro-overlay {
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    height: 100%;
    width: 100%;
    z-index: 2;
}

#intro-container {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    z-index: 3;
}

#intro-container h1 {
    font-size: 56px;
    font-weight: 300;
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
}

#intro-container p {
    font-size: 22px;
    margin: 0 0 40px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    line-height: 1.6em;
}

#intro a {
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #1c1c1c;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 25px;
    text-decoration: none;
    transition: all 0.2s linear;
}

#intro a:hover {
    background-color: #0070d1;
    color: #fff;
}

/* Overview
==========================*/

#overview {
    background-color: #f1f1f1;
}

#overview p {
    font-size: 18px;
    line-height: 1.6em;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

/* Trailer Section
==========================*/

#trailer {
    background-color: #c1c1c1;
    position: relative;
    text-align: center;
    background-image: url("assets/trailer-bg.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

#trailer-overlay {
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.video-container {
    position: relative;
    z-index: 4;
}

#video {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    z-index: 4;
}

/* Key Features
==========================*/

#features {
    background-color: #f1f1f1;
}

.features-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1600px;
}

#f-box1 {
    background-image: url("assets/feature-1.png");
}

#f-box2 {
    background-image: url("assets/feature-2.png");
}

#f-box3 {
    background-image: url("assets/feature-3.png");
}

#f-box4 {
    background-image: url("assets/feature-4.png");
}

.f-box {
    background-color: #c1c1c1;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: block;
    margin: 5px;
    overflow: hidden;
    padding: 100px 20px;
    position: relative;
    text-align: center;
    width: calc(50% - 50px);
    max-width: 760px;
    min-height: 270px;
    transition: all 0.2s;
    z-index: 1;
}

.fbox-overlay {
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.f-box h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4em;
    margin: 0 auto 30px auto;
    position: relative;
    max-width: 300px;
    min-height: 80px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.f-box p {
    font-size: 20px;
    line-height: 1.6em;
    position: relative;
    margin: 0 auto;
    max-width: 400px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    z-index: 3;
}

/* Stay Tuned
==========================*/

#form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

#form label {
    display: block;
    font-size: 18px;
    line-height: 1.6em;
    margin: 30px auto;
    max-width: 800px;
}

#email {
    background-color: hsl(0, 0%, 90%);
    border: 1px solid hsl(0, 0%, 80%);
    border-radius: 25px;
    display: inline-block;
    font-size: 17px;
    margin: 10px auto;
    padding: 10px 20px;
    width: calc(100% - 40px);
    max-width: 250px;
    text-decoration: none;
    transition: all 0.2s linear;
}

#email:focus {
    background-color: hsl(0, 0%, 95%);
    border: 1px solid hsl(0, 0%, 60%);
    outline: 0;
}

::placeholder {
    color: hsl(0, 0%, 50%);
    opacity: 1;
}

#submit {
    background-color: hsl(0, 0%, 20%);
    border: none;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    margin: 10px 5px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s linear;
}

#submit:hover {
    background-color: #0070d1;
    color: #fff;
}

/* Footer
==========================*/

#footer {
    background-color: hsl(0, 0%, 20%);
    color: #fff;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

#footer img {
    display: block;
    flex-shrink: 0;
    margin: 10px auto 30px auto;
    padding: 0 20px;
    width: 160px;
}

#footer ul {
    display: block;
    margin: 10px auto 30px auto;
    padding: 0 20px;
    max-width: 300px;
    list-style: none;
    text-align: left;
}

#footer ul li a {
    color: hsl(0, 0%, 100%);
    display: inline-block;
    margin: 5px 0;
    text-decoration: none;
    transition: all 0.2s linear;
}

#footer ul li a:hover {
    color: #b3b3b3;
}

#footer ul li a.author {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-flow: row nowrap;
}

#footer ul li a.author span {
    display: block;
}

#footer ul li a.author svg {
    fill: #ffffff;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    transition: all 0.2s linear;
}

#footer ul li a.author:hover svg {
    fill: #b3b3b3;
}

#footer p {
    display: block;
    margin: 10px auto 0 auto;
    padding: 0 20px;
    max-width: 300px;
    text-align: left;
    line-height: 1.5em;
}

/* Media Queries
==========================*/

@media only screen and (max-width: 1320px) {
    .video-container {
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        max-width: 1280px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        margin: 0 auto;
    }
    #video {
        box-shadow: none;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media only screen and (max-width: 950px) {
    .f-box {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
}

@media only screen and (max-width: 768px) {
    #header {
        position: static;
    }
    #logo-container {
        padding: 0 20px;
        text-align: center;
        height: 70px;
        width: 100%;
    }
    #intro-container h1 {
        font-size: 46px;
    }
    #header-img {
        height: 70px;
    }
    #nav-container {
        display: none;
    }
    .section {
        padding: 60px 10px;
    }
    #intro {
        margin-top: 0;
    }
    #footer {
        display: block;
    }
    #footer ul {
        text-align: center;
    }
    #footer p {
        text-align: center;
    }
}