html.open, body.open {
    overflow: hidden;
}

body {
    font-family: 'Source Sans Pro', sans-serif, "Helvetica Neue", "Helvetica";
}

button {
    outline: none;
}

/* popup */
.noscroll {
    overflow: hidden;
}
[aria-hidden="true"] {
    transition: opacity 0.05s, z-index 0s 0.1s;
    width: 100vw;
    z-index: -1;
    opacity: 0;  }

[aria-hidden="false"] {
    transition: opacity 0.05s;
    width: 100%;
    z-index: 1;
    opacity: 1;
}

#youtube-overlay {
    position: fixed;
    overflow-y: scroll;
    top: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(91, 99, 103, 0.52);
}

#youtube-overlay .box {
    margin: 30px auto;
    width: 100%;
    min-height: 100px;
    max-width: 853px;
}

#youtube-overlay .box .close-button {
    float: right;
    clear: both;
    margin-bottom: 5px;
    cursor: pointer;
}

/* header */

.hero {
    background-image: url('/sf/static/travelfriend/landing/images/luke-dahlgren-350329-copy.jpg');
    background-size: cover;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and ( min-device-pixel-ratio: 2) {
    .hero {
        background-image: url('/sf/static/travelfriend/landing/images/luke-dahlgren-350329-copy@2x.jpg');
    }
}

@media
only screen and (-webkit-min-device-pixel-ratio: 3),
only screen and (        min-device-pixel-ratio: 3) {
    .hero {
        background-image: url('/sf/static/travelfriend/landing/images/luke-dahlgren-350329-copy@3x.jpg');
    }
}

@media screen and (min-width: 768px) {
    .hero {
        background-image: url('/sf/static/travelfriend/landing/images/luke-dahlgren-350329.jpg');
        background-size: cover;
    }

    @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
        .hero {
            background-image: url('/sf/static/travelfriend/landing/images/luke-dahlgren-350329@2x.jpg');
        }
    }

    @media only screen and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-pixel-ratio: 3) {
        .hero {
            background-image: url('/sf/static/travelfriend/landing/images/luke-dahlgren-350329@3x.jpg');
        }
    }
}

.ln-header {
    padding: 22px 23px 0;
}

@media screen and (min-width: 768px) {
    .ln-header {
        max-width: 1045px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 34px 35px 0;
    }
}

/* NAV */

.nav-icon {
    width: 20px;
    height: 13px;
    position: relative;
    cursor: pointer;
}

.nav-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #2189e6;
    border-radius: 9px;
    opacity: 1;
    left: 0;
}

.nav-icon-mobile span {
    background: #ffffff;
}

.nav-icon span:nth-child(1) {
    top: 0px;
}

.nav-icon span:nth-child(2) {
    top: 5px;
}

.nav-icon span:nth-child(3) {
    top: 10px;
}

.nav-icon.mobile span:nth-child(1) {
    transform-origin: left center;
    transform: rotate(45deg);
    top: -2px;
    left: 3px;
}

.nav-icon.mobile span:nth-child(2) {
    transform-origin: left center;
    transform: rotate(-45deg);
    top: 12px;
    left: 3px;
}

.nav-button {
    display: inline-block;
    float: right;
    padding: .25rem .75rem;
    line-height: 1;
}

@media screen and (min-width: 768px) {
    .nav-button {
        display: none;
    }
}

.header-mobile {
    height: 100vh;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #2189e6;
    z-index: 1;
    box-sizing: border-box;
    display: none;
}

.header-mobile.open {
    display: block;
}

.nav-link-mobile {
    font-size: 20px;
    color: #ffffff;
    line-height: 2;
}

@media screen and (min-width: 768px) {
    .header-mobile {
        display: none;
    }
}

.nav {
    font-size: 14px;
    color: #2189e6;
    line-height: 1.4;
    text-align: center;
}

.nav-desktop {
    display: none;
}


@media screen and (min-width: 768px) {
    .nav {
        max-height: 100px;
        float: right;
    }

    .nav-desktop {
        display: inline-block;
    }


    .nav li {
        display: inline-block;
        padding: 0 0 0 10px;
    }
}


.nav-mobile {
    margin: 50px 0 0;
}

.nav.open {
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    max-height: 300px;
    overflow: hidden;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
}

.nav-link-desktop {
    color: #2189e6;
}

/* NAV */

.logo {
    display: inline-block;
}

.logo-image {
    width: 129.6px;
    height: 17.7px;
}

@media screen and (min-width: 768px) {
    .logo-image {
        width: 241px;
        height: 33px;
    }
}

.headline {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    margin: 0 auto;
}

.headline-top {
    margin: 46px auto 20px;
}

@media screen and (min-width: 768px) {
    .headline {
        font-size: 48px;
    }

    .headline-top {
        margin: 100px auto 0;
    }
}

.sub {
    font-size: 13px;
    text-align: center;
    color: #000000;
    margin: 0 auto;
    width: 180px;
}

@media screen and (min-width: 768px) {
    .sub {
        margin: 30px auto;
        font-size: 18px;
        width: auto;
    }
}

.video {
    width: 64.1px;
    height: 45.8px;
    object-fit: contain;
    margin: 20px auto 50px;
}

@media screen and (min-width: 768px) {
    .video {
        width: 64.1px;
        height: 45.8px;
        object-fit: contain;
        margin: 0 auto 270px;
    }
}

.cta-top {
    margin: 234px 0 0;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .cta-top {
        margin: 0;
    }
}

.cta-mobile {
    margin: 225px auto 0;
}

.cta-button {
    font-family: sans-serif;
    position: relative;
    width: 258px;
    height: 46px;
    margin: 0 auto;
    display: block;
    background-color: #2189e6;
    border: none;
    border-radius: 11px;
    color: #ffffff;
    text-align: left;
    padding: 0;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}
.cta-button:hover {
    cursor: pointer;
    background-color: #1862AB;
}
.cta-button-white {
    background-color: #ffffff;
    color: #2189e6;
}

.cta-button-white:hover {
    background-color: #F0F0EE;
    color: #2189e6;
}

.cta-button.disabled {
    opacity: 0.5 !important;
    text-align: center !important;
    padding: 0 !important;
}

.cta-button > .text {
    display: block;
    text-align: center;
}
.cta-button.disabled > .text {
    display: none;
}
.cta-button.disabled > .spinner {
    display: block;
}

.cta-button > .spinner {
    display: none;
}

.cta-button.disabled:hover {
    background-color: #2189e6 !important;
}

@media screen and (min-width: 768px) {
    .cta-button {
        width: 372.4px;
        height: 64.1px;
        font-size: 16px;
        letter-spacing: 2px;
        color: #ffffff;
    }
}

.cta-button-rect {
    width: 9px;
    height: 8.9px;
    transform: rotate(-45deg);
    border: solid 2px #ffffff;
    border-left: none;
    border-top: none;
    position: absolute;
    right: 30px;
}

.cta-button-rect-white {
    border: solid 2px #2189e6;
    border-left: none;
    border-top: none;
}

@media screen and (min-width: 768px) {
    .cta-button-rect {
        top: 26px;
    }
}

.cta-terms-top {
    padding: 10px 0;
}

.cta-terms {
    width: 210.5px;
    font-size: 10px;
    text-align: center;
    margin: 0 auto;
    object-fit: contain;
}

@media screen and (min-width: 768px) {
    .cta-terms {
        font-size: 13px;
        width: auto;
        padding: 10px 0 65px;
    }
}

.cta-terms-white {
    color: #ffffff;
}

/* body */

.online-now {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    margin: 28px 0 18px;
}

.online-count-span {
    display: inline-block;
    word-wrap: break-word;
}

.online-count {
    border-radius: 6px;
    background-color: #2189e6;
    color:#FFF;
    padding: 0 8px;
}

.see-all {
    font-weight: normal;
    font-size: 14px;
    color: #2189e6;
    text-decoration: none;
    margin-top:-3px;
}

@media screen and (min-width: 768px) {
    .online-now {
        font-size: 24px;
        margin: 56px 0 36px;
    }
}

.online-box-wrapper {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    display: grid;
    align-items: center;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .online-box-wrapper {
        width: auto;
    }
}

.online-box {
    width: 510px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (min-width: 768px) {
    .online-box {
        width: auto;
        margin: 0 auto;
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(4, 1fr);
    }
}

.online-box-image {
    width: 150px;
}

@media screen and (min-width: 768px) {
    .online-box-image {
        width: 236px;
    }
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: #74b817;
    border-radius: 50%;
    display: inline-block;
    margin: 9px 8px;
}

@media screen and (min-width: 768px) {
    .online-indicator {
        width: 12px;
        height: 12px;
        margin: 15px 10px;
    }
}

.online-box-image-wrapper {
    line-height: 0;
    color: #ffffff;
    position: relative;
    margin: 0 0px;
}

.online-box-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.online-box-image-wrapper-desktop {
    display: none;
}

@media screen and (min-width: 768px) {
    .online-box-image-wrapper-desktop {
        display: block;
    }
}

.online-box-name {
    position: absolute;
    bottom: 4px;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    .online-box-name {
        font-size: 20px;
    }
}

.online-age {
    font-weight: 400;
}

.join-headline {
    margin: 42px 0 16px 0;
}

@media screen and (min-width: 768px) {
    .join-headline {
        margin: 66px 0 36px 0;
    }
}

.join-text {
    width: 273.3px;
    font-size: 13px;
    line-height: 1.38;
    text-align: center;
    color: #2189e6;
    margin: 0 auto 34px;
}

@media screen and (min-width: 768px) {
    .join-text {
        width: 573.9px;
        font-size: 18px;
    }
}

.map {
    display: flex;
    justify-content: center;
}

.map-image-desktop {
    display: none;
}


@media screen and (min-width: 768px) {
    .map-image-desktop {
        display: block;
    }

    .map-image-mobile {
        display: none;
    }
}

.fun {
    margin: 40px 0 0 0;

}

@media screen and (min-width: 768px) {
    .fun {
        margin: 34px 0 0 0;

    }
}

.fun-sup {
    font-size: 13px;
    line-height: 1.38;
    text-align: center;
    color: #2189e6;
    margin: 0 0 5px;
}

@media screen and (min-width: 768px) {
    .fun-sup {
        font-size: 18px;

    }
}

.cta-bottom {
    margin: 80px 0 0 0;
}

@media screen and (min-width: 768px) {
    .cta-bottom {
        margin: 84px 0 0 0;

    }
}

.cta-terms-bottom {
    color: #4a4a4a;
    margin: 15px auto;
}

@media screen and (min-width: 768px) {
    .cta-terms-bottom {
        margin: 20px 0 0 0;
    }
}

.cta-terms-link {
    color: #2189e6;
    text-decoration: none;
}

.cta-terms-link-white {
    color: #ffffff;
}

.apps {
    width: 170px;
    margin: 0 auto;
    text-align: center;
}

.apps-soon {
    font-size: 14px;
    line-height: 2;
    text-align: center;
    color: #000000;
    margin: 50px 0 0;
}

@media screen and (min-width: 768px) {
    .apps-soon {
        margin: 0;
    }
}

.apps-icon {
    margin: 0 auto 10px;
}

.social {
    width: 200px;
    display: flex;
    justify-content: space-between;
    margin: 70px auto;
}

.social-icon-fb {
    width: 12px;
    height: 25px;
}

.social-icon-twitter {
    width: 30.8px;
    height: 25px;
}

.social-icon-insta {
    width: 25px;
    height: 25px;
}

/* footer */

.footer-links {
    font-size: 14px;
    color: #2189e6;
    text-align: center;
    line-height: 30px;
}

.footer-links-link {
    padding: 0 10px;
    text-decoration: none;
    color: #2189e6;
}
.footer-rights {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    margin: 30px auto 50px;
}

.fb-login-button {
    margin: 0 auto;
}

.fb-loader {
    width: 237px;
    height: 40px;
    background: #4468B0;
    border-radius: 4px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
}

/* Spinner */
.spinner {
    margin: 0 auto;
    width: 50px;
    height: 40px;
    text-align: center;
}

.spinner > div {
    background-color: #FFF;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% {
           transform: scaleY(1.0);
           -webkit-transform: scaleY(1.0);
       }
}
/* Spinner */
