@font-face {
	font-family: 'AvenirNext';
	font-style: normal;
	font-weight: 400;
    font-display: swap;
	src: url('../fonts/AvenirNext-Regular.ttf');
}

@font-face {
	font-family: 'AvenirNext';
	font-style: normal;
	font-weight: 500;
    font-display: swap;
	src: url('../fonts/AvenirNext-Medium.ttf');
}

@font-face {
	font-family: 'AvenirNext';
	font-style: normal;
	font-weight: 600;
    font-display: swap;
	src: url('../fonts/AvenirNext-DemiBold.ttf');
}

@font-face {
	font-family: 'AvenirNext';
	font-style: normal;
	font-weight: 700;
    font-display: swap;
	src: url('../fonts/AvenirNext-Bold.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    background-color: #FFFFFF;
    font-family: 'AvenirNext', sans-serif;
    margin: 0 auto;
    overflow-x: hidden;
}

#tooSmall {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    background-color: #FFDDCC;
    color: #00857D;
    font-family: 'AvenirNext', sans-serif;
    font-size: 20px;
    line-height: 1.25;
}

section .inner {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
}

.white {
    background-color: #FFFFFF;
}

.peach {
    background-color: #FFDDCC;
}

.green {
    background-color: #00837E;
}

h2 {
    font-size: 55px;
    line-height: 60px;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #63656A;
    margin-top: 28px;
    margin-bottom: 38px;
}

p {
    font-size: 24px;
    line-height: 33px;
    font-weight: 400;
    color: #63656A;
}

p.eyebrow {
    font-size: 24px;
    line-height: 33px;
    font-weight: 600;
    color: #00837E;
}

.green h2 {
    color: #FFFFFF;
}

.green p {
    color: #FFFFFF;
}

.green p.eyebrow {
    color: #FFDDCC;
}

#hero {
    display: block;
    width: 100vw;
    height: 0;
    padding-bottom: 47.92%;
    background-color: #00837E;
    background-image: url('../images/header.jpg');
    background-size: 100% 100%;
    background-position: right -50px bottom -600px;
    background-repeat: no-repeat;
    animation-name: backgroundEffect;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    overflow: hidden;
}

@keyframes backgroundEffect {
    0% {background-position: right -50px bottom -600px}
    100% {background-position: right -50px bottom}
}

#heroCopy {
    width: 100%;
    max-width:626px;
    margin-top: 70px;
}

#hero #eyebrow {
    color: #FFDDCC;
    font-weight: 700;
    font-size: 22.5px;
    line-height: 30.75px;
    letter-spacing: 1.2px;
}

#hero h1 {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 41.25px;
    line-height: 45px;
    letter-spacing: 2.25px;
    margin-top: 10px;
    margin-bottom: 18px;
}

#hero p {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 18px;
    line-height: 24.75px;
}

#logo {
    width: 539px;
    height: auto;
}

.container {
    position: relative;
    padding: 100px;
    max-width: 1600px;
    margin: 0 auto;
}

.container.short {
    padding: 71px 100px;
}

.container.flex {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#tapAway {
    position: relative;
    display: block;
    width: 100vw;
    height: 1422px;
    background-color: #FFDDCC;
    background-image: url('../images/cva_mockup.jpg');
    background-size: cover;
    background-position: center top -100px;
    background-repeat: no-repeat;
}

#tapAway .copy {
    position: absolute;
    top: 100px;
    right: 180px;
}

#data {
    background-image: linear-gradient(90deg, #cfd9e0 50%, #ffffff 50%);
}

#data .container.grid {
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
}

#data #fillerImage {
    width: 100%;
    height: auto;
}

#data .copy {
    width: 100%;
    padding: 80px 100px;
}

#visit-button {
    display: block;
    width: 360px;
    height: auto;
    margin-top: 24px;
    margin-left: -11px;
}

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

#video {
    display: block;
    align-items: unset;
    justify-content: unset;
    width: 100vw;
    height: 0;
    padding-bottom: 56.25%;
}
#video.paused:before {
    position: absolute;
    content: '';
    background-image: url('../images/play-button.png');
    background-size: 126px 126px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

#video video {
    width: 100vw;
    height: auto;
}

#mobile {
    position: relative;
    height: 855px;
}

#mobile h2 {
    width: 600px;
    margin-bottom: 28px;
}

#mobile p {
    width: 557px;
}

#mobileHand {
    position: absolute;
    right: 100px;
    top: 0;
    height: 100%;
    width: auto;
}

#footer {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 545px;
}

#footer img {
    position: relative;
    height: 100%;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 2400px) {
    /* #logo {
        width: 730px;
        height: auto;
    } */
    
    .container {
        padding: 100px;
        max-width: 1600px;
        margin: 0 auto;
    }

    section .inner {
        position: relative;
        max-width: 1600px;
        margin: 0 auto;
        height: 100%;
    }

    #tapAway {
        height: 1222px;
    }
}

@media only screen and (max-width: 1800px) {
    h2 {
        font-size: 41px;
        line-height: 45px;
        letter-spacing: 0.05em;
        margin-top: 21px;
        margin-bottom: 28px;
    }
    
    p {
        font-size: 18px;
        line-height: 24.5px;
        font-weight: 400;
        color: #63656A;
    }
    
    p.eyebrow {
        font-size: 18px;
        line-height: 24.5px;
        font-weight: 600;
        color: #00837E;
    }

    #logo {
        width: 539px;
        height: auto;
    }
    #heroCopy {
        max-width:550px;
        margin-top: 54px;
    }
    
    .container {
        padding: 100px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .container.short {
        padding: 71px 100px;
    }

    section .inner {
        position: relative;
        max-width: 1400px;
        margin: 0 auto;
        height: 100%;
    }

    #visit-button {
        width: 240px;
        height: auto;
        margin-top: 70px;
        margin-left: -11px;
    }
    
    #tapAway {
        position: relative;
        display: block;
        width: 100vw;
        height: 1222px;
        background-color: #FFDDCC;
        background-image: url('../images/cva_mockup.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    #video.paused:before {
        position: absolute;
        content: '';
        background-image: url('../images/play-button.png');
        background-size: 96px 96px;
        background-position: center center;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }

    #mobile {
        position: relative;
        height: 755px;
    }

    #footer {
        height: 408px;
    }
}

@media only screen and (max-width: 1400px) {
    #hero {
        background-position: right -50px bottom -600px;
    }
    @keyframes backgroundEffect {
        0% {background-position: right -50px bottom -600px}
        100% {background-position: right -50px bottom}
    }
    #heroCopy {
        max-width:472px;
        margin-top: 30px;
    }
    
    #hero #eyebrow {
        font-size: 20.5px;
        line-height: 27.75px;
    }
    
    #hero h1 {
        font-weight: 500;
        font-size: 38.25px;
        line-height: 41px;
        margin-top: 10px;
        margin-bottom: 18px;
    }
    
    #hero p {
        font-size: 17px;
        line-height: 22.75px;
    }
    
    #logo {
        width: 450px;
        height: auto;
    }

    .container {
        padding: 100px;
    }

    .container.short {
        padding: 53px 100px;
    }

    #tapAway {
        height: 1022px;
    }

    #tapAway .copy {
        top: 80px;
        right: 160px;
    }

    #data .copy {
        width: 100%;
        padding: 17px 100px;
    }

    #mobile {
        position: relative;
        height: 600px;
    }
}

@media only screen and (max-width: 1300px) {
    #mobile {
        position: relative;
        height: 540px;
    }

    #tapAway {
        height: 1122px;
    }

    #tapAway .copy {
        top: 70px;
        right: 140px;
    }
}

@media only screen and (max-width: 1200px) {
    #hero {
        padding-bottom: 53.92%;
        background-color: #00837E;
        background-image: url('../images/header.jpg');
        background-size: contain;
        background-position: right -50px bottom;
        background-repeat: no-repeat;
    }
    @keyframes backgroundEffect {
        0% {background-position: right -50px bottom -600px}
        100% {background-position: right -50px bottom}
    }
    #heroCopy {
        max-width:472px;
        margin-top: 30px;
    }
    
    #hero #eyebrow {
        font-size: 20.5px;
        line-height: 27.75px;
    }
    
    #hero h1 {
        font-weight: 500;
        font-size: 38.25px;
        line-height: 41px;
        margin-top: 10px;
        margin-bottom: 18px;
    }
    
    #hero p {
        font-size: 17px;
        line-height: 22.75px;
    }
    
    #logo {
        width: 450px;
        height: auto;
    }

    .container {
        padding: 60px;
    }

    .container.short {
        padding: 53px 60px;
    }

    #data .copy {
        width: 100%;
        padding: 17px 60px;
    }

    #data .copy h2 {
        font-size: 39px;
        line-height: 42px;
    }

    #visit-button {
        width: 200px;
        height: auto;
        margin-top: 24px;
        margin-left: -11px;
    }

    #tapAway {
        height: 1022px;
    }

    #tapAway .copy {
        top: 70px;
        right: 100px;
    }

    #mobile {
        position: relative;
        height: 440px;
    }

    #mobile h2 {
        width: 540px;
        margin-bottom: 28px;
    }
    
    #mobile p {
        width: 450px;
    }
}

@media only screen and (max-width: 1090px) {
    #hero {
        padding-bottom: 53.92%;
        background-color: #00837E;
        background-image: url('../images/header.jpg');
        background-size: contain;
        background-position: right -80px bottom;
        background-repeat: no-repeat;
    }
    @keyframes backgroundEffect {
        0% {background-position: right -80px bottom -600px}
        100% {background-position: right -80px bottom}
    }
    #tapAway .copy {
        top: 70px;
        right: 70px;
    }

    #data .copy {
        width: 100%;
        padding: 17px 50px;
    }

    #data .copy h2 {
        font-size: 35px;
        line-height: 39px;
    }
}

@media only screen and (max-width: 1023px) {
    #tooSmall {
        display: flex;
    }
    .container {
        padding: 70px;
    }

    .container.short {
        padding: 45px 70px;
    }

    #footer {
        height: 360px;
    }
}