html, body {
    margin: 0;
    padding: 0;
    text-align: center;
    align-content: center;
    align-items: center;
}

#container {
    width: 70%;
    margin: 0 auto;
    z-index: 3;
}

header {
    padding: 0;
    margin: 0;
    z-index: 1000;
}

#header-img {
    float: left;
    padding: 0;
    margin: 0;
    width: 75px;
    height: 75px;
}

#nav-container {
    z-index: 1000;
    background-color: white;
    max-width: 80%;
    margin: 0 auto;
    height: 75px;
    box-shadow: 0px 5px 5px -4px rgba(0, 0, 0, .75);
}

#nav-bar {
    width: 100%;
    height: 75px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#nav-bar ul {
    padding: 0 5% 0 0;
    margin: 0;
    float: right;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

#nav-bar li {
    list-style-type: none;
    padding: 0;
    display: inline;
}

#nav-bar li a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    line-height: 70px;
    padding: 5px 20px;
    font-family: 'Lobster', cursive;
    transition: .5s color ease;
    position: relative;
}

#nav-bar li a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

#nav-bar li a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

#home {
    margin-top: 120px;
}

#hero {
    max-width: 100%;
    margin: 30px auto;
    text-align: center;
    position: relative;
}

#hero video {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

#overlay {
    position: absolute;
    top: 40%;
    left: 20%;
    width: 90%;
}

#hero-text-container {
    text-align: left;
}

#hero-text {
    font-family: 'Titillium Web', sans-serif;
    color: white;
    font-size: 1.9rem;
    line-height: 2.2rem;
    font-weight: 900;
}

#play-button {
    font-family: 'Titillium Web', sans-serif;
    color: white;
    margin-top: 20px;
    font-weight: 500;
}

#cities {
    padding-top: 4%;
    padding-bottom: 4%;
    width: 100%;
    height: auto;
    text-align: center;
}

#cities h1 {
    font-size: 1.5em;
    line-height: 2.5rem;
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
    margin-bottom: 40px;
}

#cities-img-container {
    position: relative;
    width: 60%;
    height: 100%;
    display: inline-block;
    vertical-align: top;
}

#cities-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

#img-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

#img-text h1 {
    font-size: 5rem;
    font-family: 'Lobster', cursive;
}

#img-text p {
    font-size: 2rem;
    font-family: 'Lobster', cursive;
}

.split {
    display: inline-block;
}

#city-text {
    width: 37%;
    display: inline-block;
    text-align: left;
    padding: 1%;
    align-items: center;
}

.teaser {
    display: inline-block;
    text-align: center;
    font-family: 'Titillium Web', sans-serif;
    position: relative;
    margin: 3%;
    margin-top: 30px;
}

.city-state {
    font-size: 4vw;
    opacity: .1;
    text-align: center;
}

.city-name {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#ride {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    vertical-align: top;
}

#vertical-container {
    display: table;
    width: 40%;
    height: 100%;
}

#vertical-center {
    width: 80%;
    display: table-cell;
    vertical-align: middle;
    padding-top: 40%;
    font-family: 'Titillium Web', sans-serif;
}

#vertical-center h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: blueviolet;
}

#vertical-center p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8rem;
    margin-bottom: .8rem;
}

#divider {
    width: 18%;
}

#ride-img {
    width: 40%;
    display: inline-block;
}

#ride-img img {
    width: 100%;
    height: auto;
}

.btn {
    background-color: blueviolet;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

#email-text {
    font-family: 'Titillium Web', sans-serif;
}

#email-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 40px;
    color: blueviolet;
}

#email-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8rem;
    margin-bottom: .8rem;
}

#form {
    width: 100%;
    max-width: 1000px;
    padding: 0;
    margin: auto;
    text-align: center;
    font-family: 'Titillium Web', sans-serif;
}

input {
    width: 50%;
    margin: 5px;
    background: transparent;
    border: none;
    line-height: 2rem;
    border-bottom: 1px solid blueviolet;
    font-family: 'Titillium Web', sans-serif;
}

textarea {
    width: 50%;
    margin-top: 10px;
    font-family: 'Titillium Web', sans-serif;
}

#submit {
    margin-top: 10px;
    margin-bottom: 30px;
}

.social-icons {
    padding: 0;
    list-style: none;
}

.social-icons li {
    display: inline;
}

.fa-linkedin {
    padding: 10px 14px;
    border-radius: 5px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.fa-linkedin:hover {
    background-color: #0073a4;
    color: white;
}

.fa-github {
    padding: 10px 14px;
    border-radius: 5px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.fa-github:hover {
    background-color: black;
    color: white;
}

.fa-codepen {
    padding: 10px 14px;
    border-radius: 5px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.fa-codepen:hover {
    background-color: violet;
    color: white;
}

hr {
    width: 60%;
    margin-bottom: 30px;
}

#tag {
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 0px;
    font-size: .7em;
    font-family: 'Lobster', cursive;
}

@media only screen and (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        text-align: center;
        align-content: center;
        align-items: center;
    }
    #container {
        width: 100%;
    }
    #nav-container, #nav-bar, #header {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    #ride-img img {
        width: 100%;
    }
    #city-text {
        padding: 0;
        margin: 0;
        width: 35%;
        margin-bottom: 20px;
    }
    .city-state {
        font-size: 3.0rem;
    }
}

@media only screen and (max-width: 600px) {
    body {
        margin: 0;
        padding: 0;
        text-align: center;
        align-content: center;
        align-items: center;
    }
    #container {
        width: 100%;
    }
    #nav-container, #nav-bar, #header {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    #header-img {
        float: none;
    }
    #nav-container ul {
        background-color: white;
        position: fixed;
        top: 0;
        left: 0;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    #hero-text {
        font-size: 1rem;
        line-height: 1rem;
    }
    #ride-img, #ride-img img, #divider {
        display: none;
    }
    #vertical-container {
        width: 100%;
    }
    #vertical-center {
        padding: 0;
    }
    #cities-img-container {
        width: 100%;
        display: block;
    }
    #city-text {
        padding: 0;
        margin: 0;
        width: 100%;
        margin-bottom: 20px;
    }
    .teaser {
        width: 30%;
        margin: auto;
    }
    .city-state {
        font-size: 3.0rem;
    }
    #ride, #cities {
        display: inline;
    }
}