body {
    overflow-y: auto;
    -ms-overflow-style: none;
    font-size: 1.2em;
    font-family: Baskerville, serif;
    color: white;
    text-align: center;
}

a {
    color: white;
    font-style: italic;
}

a::after {
    display: block;
    content: '';
    background-color: white;
    height: 1px;
    width: 50%;
    margin: 0.05em auto 0;
    -webkit-transition: width .25s ease-in-out;
    transition: width .25s ease-in-out;
}

a:hover::after {
    width: 100%;
}

.pwrap {
    display: inline-block;
}

.parallax-container {
    height: 55%;
}

.parallax-container .content {
    min-width: 150%;
    position: fixed;
    top: 0;
    left: -21%;
    z-index: -999;
}

.parallax-container .content video {
    width: 100%;
    height:100vh;
    object-fit: cover;
}

.gradient-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 100%);
}

.video-overlay {
    height: 100%;
    width: 100%;
    background: black;
    opacity: 0;
    position: absolute;
}

.fade-overlay {
    background: black;
    opacity: 0.15;
}

.main-content {
    min-height: 1000px;
}

.input-field input {
    color: white;
    text-align: center;
}

.flex-container {
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    justify-content: center;
}

.schedule-content {
    margin: auto;
    padding: 1em;
}

.links-content {
    padding: 1em;
}

.main-content {
}

.down-pointer {
    display: inline;
    margin-bottom: 5em;
}

.down-pointer .material-icons {
    font-size: 128px;
}

#password {
    max-width: 500px;
}

.footer {
    margin: 2em auto;
}

.footer .footer-links {
    display: flex;
    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    justify-content: center;
}

.footer .footer-links .footer-link {
    margin: 0.5em;
}

.double-happiness {
    margin: 10em auto 2.5em auto;
    background-image: url(https://jessandhaoweddingsite.s3.amazonaws.com/double_happiness.png);
    height: 7.5em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.banner-image {
    margin-top: 7.5em;
    max-width: 100%;
    background: url('https://jessandhaoweddingsite.s3.amazonaws.com/chinatown_walk.jpg') no-repeat center center;
    background-size: cover;
    width: 100%;
}

.banner-image .gradient-overlay {
    height: 100%;
    position: relative;
}

.container .heading {
    overflow: hidden;
}

.container .heading h2 {
    position: relative;
    font-size: 4em;
    text-transform: uppercase;
    margin-top: 0;
}

.container {
    margin-top: 5em;
    margin-bottom: 3em;
}

@media screen and (max-width: 480px) {
    .footer .footer-links{
        display: flex;
        flex-direction: column;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        justify-content: center;
    }
}

@media screen and (max-width: 580px) {
    .container .heading h2 {
        position: relative;
        font-size: 2em;
        text-transform: uppercase;
    }

    .image-gallery-image img {
        max-height: 240px;
        max-width: 100%;
    }
}

@media screen and (min-width: 581px) and (max-width: 840px) {
    .container .heading h2 {
        position: relative;
        font-size: 3em;
        text-transform: uppercase;
    }

    .image-gallery-image img {
        max-height: 240px;
        max-width: 100%;
    }
}

.border-box {
    border: 1px solid white;
    margin: 5em auto;
    padding: 0.5em 0.5em 2em 0.5em;
    width: 95%;
    max-width: 1600px;
}

.flex-container-row {
    display: flex;
    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.logistics-content {
    margin: 0 auto 1em;
    padding-left: 1vw;
    padding-right: 1vw;
    max-width: 580px;
    width: 50vw;
    flex: 0 0 50%;
}
@media screen and (max-width: 700px) {
    .flex-container-row {
        display: flex;
        flex-direction: column;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        justify-content: center;
    }

    .logistics-content {
        width: 100%;
        flex: 0 0 100%;
        max-width: none;
    }

    .border-box {
        width: 95%;
    }
}

.our-names {
    margin-top: 0;
}

.our-names h1 {
    font-size: max(6rem, 6vw);
    text-transform: uppercase;
}
@media screen and (max-width: 480px) {
    .our-names h1 {
        font-size: 4em;
    }
}

.intro-content {
    margin-bottom: 5vh;
}

.image-gallery {
    flex-flow: wrap;
}

.image-gallery-image img {
    height: 320px;
}