@font-face {
    font-family: Hanken Grotesk Black; 
    src: url('./fonts/HankenGrotesk-Black.ttf');
}

@font-face {
    font-family: Hanken Grotesk Medium;
    src: url('./fonts/HankenGrotesk-Medium.ttf');
}

@font-face {
    font-family: Helvetica Neue;
    font-weight: light; 
    src: url('./fonts/HelveticaNeueLight.ttf');
}
h1, h2, h3, h4, h5, h6 { /*reset for mobile and mac browsers */
    font-weight: normal;
}
body{
    -webkit-font-smoothing: antialiased;
    margin: 0;
    background: url('./images/purple-bottom.svg'), url('./images/green-bottom.svg');
    background-repeat: no-repeat;
    background-size: auto 1850px, auto;
    background-position: left bottom, right 55%;
}

@media (min-width: 1616px) {
    body {
        background-size: contain;
    }
}

@media (max-width: 1064px) {
    body {
        background-position: left bottom, right 65%;
        background-size: auto 1600px, auto;
    }
}

@media (max-width: 900px) {
    body {
        background-position: left bottom, right 65%;
        background-size: auto 1580px, auto;
    }
}

@media (max-width: 640px) {
    body {
        background-position: left bottom, right 60%;
        background-size: auto 2500px, auto;
    }
}

@media (max-width: 500px) {
    body {
        background-position: left bottom, right 60%;
        background-size: auto 2350px, auto;
    }
}

#nav-bar {
    height: 200px;
    background: transparent;
    display: block;
    float: left;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    transition: all ease .7s;
  }
  
  #nav-bar.scrolling {
    height: 75px;
    transition: all ease .7s;
    background-image: linear-gradient( rgb(255, 255, 255) 75%, rgba(255, 255, 255, 0.8));
  }

.logo {
    display: inline-block;
    margin-left: 50px;
    padding-top: 50px;
    padding-bottom: 20px;
    transition: all ease .7s;
}

#logo-icon {
    float: left;
}

#logo-text {
    font-family: Hanken Grotesk Black;
    color: #080530;
    font-size: 24px;
    margin-top: 0;
    padding-top: 4px;
    padding-left: 25px;
    float: left;
}

.demo-nav-container {
    display: none;
    float: left;
    padding-top: 48px;
    transition: all ease .7s;
}

.demo-img-container {
    display: none;
    float: left;
    padding-top: 48px;
    transition: all ease .7s;
}

#nav-bar.scrolling .demo-nav-container {
    padding-top: 20px;
    transition: all ease .7s;
    transform: scale(0.9);
  }

  #nav-bar.scrolling .demo-img-container {
    padding-top: 20px;
    transition: all ease .7s;
    transform: scale(0.9);
  }
  
#nav-bar.scrolling .logo {
    padding-top: 20px;
    margin-left: 30px;
    transition: all ease .7s;
    transform: scale(0.9);
  }

nav {
    position: relative;
    float: right;
    top: 0;
    display: inline-block;
    padding-top: 32px;
    padding-right: 50px;
    transition: all ease .7s;
}

#nav-bar.scrolling nav {
    padding-right: 30px;
    padding-top: 2px;
    transition: all ease .7s;
    transform: scale(0.9);
  }

@media (max-width: 639px) {
    .logo {
        display: flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50px;
        transition: all ease .7s;
    }
    #logo-text {
        padding-top: 10px;
    }

    #nav-bar.scrolling .logo {
        display: flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;
        transition: all ease .7s;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0), scale(0.9);
        transform: translateZ(0), scale(0.9);
      }
}

@media (max-width: 500px) {
    #logo-icon {
        width: 55px;
    }
    #logo-text {
        font-size: 20px;
        padding-left: 16px;
    }
}

h2 {
    font-family: Hanken Grotesk Black;
    font-size: 14px;
    line-height: 18px;

    color: #080530;
}

.nav-desktop {
    display: none;
    text-align: right;
}

.dropdown {
    position: relative;
    display: inline-block;
  }
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(255, 255, 255, 0.5);
    width: 85%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 1;
    margin-top: -5px;
}
  
.dropdown-content .dropdown-item {
    display: block;
    text-align: center;
    padding: 10px;
}
  
.dropdown-content .dropdown-item:hover {
    background: linear-gradient( rgb(196, 250, 243), #FFFFFF, #00D6D5) ;
}

.dropdown-text {
    color: black;
    text-decoration: none;
    font-family: Hanken Grotesk Black;
    font-size: 14px;
    padding: 5;
    margin: 0;
}

.dropdown-content .dropdown-text:hover {
    transform: translate(0, -1px);
    cursor: pointer;
}
  
.dropdown:hover .dropdown-content {
    display: block;
}

#new-caption {
    position: absolute;
    top: -20px;
    left: 165px;
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient( rgb(183, 235, 235), #00D6D5, rgb(0, 177, 177));
    border-radius: 50%;
    box-shadow:  0px 2px 5px rgba(0, 0, 0, 0.63);
}

#new-text {
    font-family: Hanken Grotesk Black;
    font-size: 10px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgb(0, 66, 66);
}

.nav-li {
    display: inline-block;
    margin-right: 25px;
}


.login {
    display: none;
}

@media (min-width: 840px) {
    .login {
        display: inline-block;
        margin-top: 15px;
    }
}

.img-container {
    display: inline-block;
}

#separator {
    display: none;
}

@media (min-width: 1080px) {
    .nav-desktop {
        display: inline-block;
    }
    .login {
        margin-top: 0;
    }
    #separator {
        display: inline-block;
    }
    #indicator {
        display: block;
        right: 273px;
    }

}
@media (min-width: 1200px) {
    h2 {
        font-size: 16px;
        line-height: 19px;
    }
    .nav-li {
        margin-right: 35px;
    }
    #indicator {
        display: block;
        right: 327px;
    }
}

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

.nav-moveable {
    display: inline;
    text-align: right;
}

#separator {
    padding-right: 35px;
    vertical-align: -50%;
}

#separator-demo {
    padding-right: 20px;
    padding-left: 35px;
    vertical-align: -50%;
}

#login-icon {
    padding-right: 20px;
    vertical-align: -10%;
}

.login-text-container {
    display: inline-block;
}

button {
    background: #F86410;
    border-radius: 5px;
    border: none;
    padding: 0;
    margin: 0;
    font-family: Hanken Grotesk Black;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;

    transition: all .35s ease-in-out;
}

button:hover, button:focus { 
    transform: translate(0, -1.8px);
    background-color: rgb(255, 132, 60);
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all .2s ease-in-out;
}

#h2-demo, .login, .nav-li, .partners, .view, .footer-li, .foot-nav-li {
    transition: all .2s ease-in-out;
}

#h2-demo:hover, .login:hover, .nav-li:hover, .partners:hover, .view:hover, 
.footer-li:hover, .foot-nav-li:hover  {
    transform: translate(0, -2px);
    cursor: pointer;
}

a:focus #h2-demo, a:focus .login, a:focus .nav-li, a:focus .partners, a:focus .view,
a:focus .footer-li, a:focus .foot-nav-li {
    transform: translate(0, -2px) scale(1.01);
}

.logo:hover {
    transform: translate(0, -4px) scale(1.01);
    cursor: pointer;
}

a:focus .logo {
    transform: translate(0, -4px) scale(1.01);
}

#nav-demo-btn {
    display: inline;
    font-size: 14px;
    padding: 10px 20px 10px 20px;
    margin-left: auto;
    position: relative;
}

@media (min-width: 642px) {
    .demo-nav-container, .demo-img-container {
        display: block;
        float: left
    }
    .logo {
        float: left;
    }
}

/* HEADER END */


.section {
    width: 100%;
    min-height: 500px;
    padding-top: 150px;
    padding-bottom: 0px;
}

.green-section {
    background-color: #00D6D5;
}

.orange-section {
    background-color: #F86410;
}

.purple-section {
    background-color: #493EC9;
}

h4 {
    font-family: Hanken Grotesk Black;
    font-size: 11px;
    line-height: 13px;
    letter-spacing: 0.35em;

}

h5 {

    font-family: Hanken Grotesk Black;
    font-size: 46px;
    line-height: 139%;
    color: #080530;
    margin-top: 0;
    margin-bottom: 0;

}

.details-box {
    padding-left: 15%;
    padding-right: 15%;
    text-align: center;
}

#primary-btn {
    display: block;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    height: 55px;
    color: #493EC9;
    background-color: #FFFFFF;
    box-shadow:  0px 5px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
}

@media (min-width: 640px) {
    .main-row {
        max-width: 900px;
        display: flex;
        flex-direction: row;
    }
    .details-box {
        padding-left: 10%;
        padding-right: 5%;
        text-align: right;
    }
    #primary-btn {
        margin-left: auto;
        margin-right: 0;
        width: 85%;
        min-width: 230px;
        margin-bottom: 0px;
    }
}

.detail-header {
    color: #FFFFFF;
    margin-bottom: -15px;
}

.use-case-details {
    font-family: Hanken Grotesk Black;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    opacity: 0.8;
    line-height: 190%;
}

.large-img-box {
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    justify-content: flex-end;
    position: relative;
}

.large-img {
    width: 150%;
    z-index: 1;
}

.screen {
    position: absolute;
    top: 2%;
    left: 12%;
    width: 40%;
    height: 80%;
    background-color: #FFFFFF;
    background-size: contain;
    border-radius: 10px;
    z-index: 0;
}

#VA-screen {
    background-image: url('./images/va-image.png');
}

#AR-screen {
    background-image: url('./images/augmented-reality.png');
}

#GPS-screen {
    background-image: url('./images/location-notification.png');
}

#Rewards-screen {
    background-image: url('./images/reward-notification.png');
}

#Appts-screen {
    background-image: url('./images/appointments-mobile.png');
}

#Pay-screen {
    background-image: url('./images/payment-modal-screenshot.png');
}

.use-btns-section {
    margin-bottom: 300px;
}

@media (min-width: 1616px) {
    .use-btns-section {
        margin-bottom: 600px;
    }
}

.use-header {
    text-align: center;
    margin-top: 50px;
}

.use-case-row {
    max-width: 1300px;
    padding-left: 5%;
    padding-right: 5%;
    margin-top: 70px;
}

.use-case-box {
    width: 31%;
    margin-left: 1%;
    margin-right: 1%;
    float: left;
    height: 200px;
    background: #493EC9;
    border-radius: 20px;
    box-shadow:  0px 5px 10px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    padding-Top: 10px;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.use-case-box:hover, .use-case-box:focus {
    transform: translate(0, -3px) scale(1.01);
}

.use-case-img-box {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.usecase-img {
    width: 100%;
}

.use-case-text-box {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.use-case-text {
    font-family: Hanken Grotesk Black;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
}

@media (max-width: 950px) {
    .use-case-box {
        width: 48%;
    }
}

@media (max-width: 640px) {
    .use-case-box {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
    .large-img-box {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}




/* FOOTER */

#final-btn-primary {
    display: block;
    margin-top: 20px;
    margin-right: auto; 
    margin-left: auto;
    width: 90%;
    height: 80px;   
    box-shadow:  0px 5px 15px rgba(0, 0, 0, 0.2); 
}

#final-btn-demo {
    display: block;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    height: 80px;
    background: #FFFFFF;
    box-sizing: border-box;
    color: #F86410;
    box-shadow:  0px 5px 15px rgba(0, 0, 0, 0.2);
}

#final-btn-demo:hover, #final-btn-demo:focus {
    background: rgba(255, 255, 255, 0.808);
}

@media (min-width: 900px) {
    #final-btn-primary {
        margin-right: 20px;
        margin-left: auto;
        width: 352px;
        height: 80px;
    }
    #final-btn-demo {
        margin-left: 20px;
        margin-right: auto;
        width: 352px;
        height: 80px;
    }
}

@media (min-width: 640px) {
    #demo-btn {
        width: 95%;
        height: 80px;
        margin-left: 0;
    }
    #final-btn-primary  {
        margin-right: 2.5%;
        margin-left: auto;
        width: 90%;
        height: 80px;
    }
    #final-btn-demo {
        margin-left: 2.5%;
        margin-right: auto;
        width: 90%;
        height: 80px;
    }
}

.final-head {
    margin-bottom: 70px;
}

#final-header {

    font-family: Hanken Grotesk Black;
    font-size: 81px;
    line-height: 119%;
    text-align: center;
    color: #FFFFFF;
}

@media (min-width: 900px) {
    #final-header {
        font-size: 50px;
    }
}

@media (min-width: 1066px) {
    #final-header {
        font-size: 81px;
    }
    #grow-row {
        margin-bottom: 150px;
    }
}


.about-box {
    padding-right: 10px;
}

.p-info {
    font-family: Helvetica Neue;
    font-size: 16px;
    line-height: 212%;
    color: #FFFFFF;
}

.h4-white {
    text-align: center;
    color: #FFFFFF;
    margin-top: 50px;
}

.foot-nav-ul {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.foot-nav-li {
    font-family: Hanken Grotesk Black;
    font-size: 16px;
    line-height: 275%;
    color: #FFFFFF;

    display: list-item;
    text-align: center;
    list-style: none;
}

.foot-nav-icons {
    width: 7%;
}
 
.partner-row {
    margin-top: 50px;
}

.partners {
    display: block;
    width: 50%;
    height: 50%;
    margin-top: 50px;

    margin-left: auto;
    margin-right: auto;
}


footer {
    margin-top: 100px;
    margin-bottom: 190px;
}

.footer-li {
    display: none;
}

@media (min-width: 640px) {
    .final-head {
        margin-bottom: 200px;
    }
    .h4-white {
        text-align: left;
        margin-top: 0;
    }
    .partners {
        margin-top: 0;
        vertical-align: middle;
    }

    .partner-row {
        margin-top: 80px;
    }
    #partner1 {
        margin-left: 40%
    }
    
    #partner2 {
        margin-left: auto;
        margin-right: auto;
    }
    
    #partner3 {
        margin-left: auto;
        margin-right: 40%;
    }
    .about-box {
        padding-right: 100px;
    }
    #footer-ul {
        padding-left: 14%;
    }
    .footer-li {
        display: inline-block;
        padding-right: 30px;
    }
    .foot-nav-li {
        text-align: left;
    }
    .foot-nav-hide {
        display: none;
    }
    .foot-nav-icons {
        vertical-align: -3px;
        width: initial;
    }
}

@media (max-width: 900px) {
    #final-header {
        font-size: 40px;
    }
    h5, #brand, #design-launch, #grow  {
        font-size: 35px;
    }
    .increase-header {
        font-size: 38px;
    }
    .apple-icon {
        vertical-align: -5px;
    }
    
}

@media (max-width: 500px) {
    h5, #brand, #design-launch, #grow  {
        font-size: 30px;
    }
    .increase-header {
        font-size: 28px;
    }
    #final-header {
        font-size: 30px;
    }
    .p-info {
        font-size: 12px;
    }
}