		@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

@font-face {
    font-family: Cervo;
    src: url('https://hapibrain.com/wp-content/themes/hapibrain/assets/fonts/Cervo/Cervo-Regular.otf');
    font-weight: 300;
}

@font-face {
    font-family: Cervo;
    src: url('https://hapibrain.com/wp-content/themes/hapibrain/assets/fonts/Cervo/Cervo-Medium.otf');
    font-weight: 400;
}

@font-face {
    font-family: Cervo;
    src: url('https://hapibrain.com/wp-content/themes/hapibrain/assets/fonts/Cervo/Cervo-Regular.otf');
    font-weight: 600;
}

:root{
    --default-font: 'Lato', sans-serif;
    --cervo-font: Cervo;
    --default-font-size: 16px;
    --default-font-weight: 400;
    --default-blue: #69c0d7;
    --text-blue: #519db2;
    --text-green: #1f3f47;
    --default-white: #ffffff;
    --default-yellow: #f9e76a;
    --mobile-screen-bg: #519db2;
}

body{
    margin: 0px;
    padding: 0px;
    font-family: var(--default-font);
    font-size: var(--default-font-size);
    font-weight: var(--default-font-weight);
}

a,
a:hover,
a:active,
a:focus,
a:visited{
    outline: none;
    text-decoration: none;
}

img{
    image-rendering: -webkit-optimize-contrast;
}

.btn{
    outline: none;
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 1em;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn--blue{
    background-color: var(--default-blue);
    color: var(--default-white);
}

.btn--blue,
.btn--blue:hover,
.btn--blue:focus,
.btn--blue:active,
.btn--blue:visited{
	color: white;
}

.header{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background-color: var(--default-white);
    height: 70px;
}

.header__image{
    width: 170px;
    height: auto;
}

.footer{
    padding: 50px 20px;
    text-align: center;
    font-size: 1em;
    letter-spacing: 1px;
    font-weight: 600;
    background-color: var(--default-yellow);
    color: var(--text-green);
}

.footer a,
.footer a:hover,
.footer a:focus,
.footer a:visited{
    color: var(--text-green);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero__section{
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
	max-height: 1080px;
	min-height: 1080px;
    background: url('/assets/images/hero-bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero__left,
.hero__right{
    width: 50%;
}

.hero__left{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__right{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    color: var(--text-blue);
}

.hero__right__content{
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin-left: -50px;
}

.hero__mobile{
    width: 100%;
    max-width: 300px;
}

.hero__right h2{
    font-family: var(--cervo-font);
    font-size: 3em;
    margin-bottom: 0px;
}

.hero__right p{
    letter-spacing: 1px;
    font-size: 1.2em;
    display: flex;
    justify-content: flex-start;
	margin-top: 0px;
}

.bottom-icons{
	position: absolute;
    bottom: 20px;
    right: 10%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 70px;
}

.hero-image--hapibrainlarge{
    width: 200px;
}

.hero-image--qr{
    width: 100px;
}

.hero-image--appstore{
    width: 150px;
		margin-top: -5px;
}

.mobile-screens{
    width: 100%;
}

.mobile-screens-row{
    width: 100%;
    height: 100vh;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.iphone{
    width: 100%;
    max-width: 300px;
}

.store-logo{
    width: 150px;
}

.mobile-screens-column{
    width: 50%;
}

.mobile-screens-column--left{
    background-color: #519db2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-screens-column--right{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.mobile-screens-row-1 .mobile-screens-column--right{
    background-color: #8e277c;
}

.mobile-screens-column--right__content{
    width: 100%;
    margin-left: 100px;
    max-width: 350px;
    color: white;
	z-index: 100;
}

.mobile-screens-column--right__content h2{
    font-family: var(--cervo-font);
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2em;
}

.mobile-screens-column--right__content p{
    font-size: 1.2em;
    letter-spacing: 1px;
    margin-top: 0px;
    margin-bottom: 50px;
}

.row-1-wave{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 400px;
}

.mobile-screens-row-2 .mobile-screens-column--right{
    background-color: #71639c;
}

.row-2-wave--top{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 400px;
}

.row-2-wave--bottom{
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 400px;
}

.mobile-screens-row-3 .mobile-screens-column--right{
    background-color: #1f3f47;
}

.mobile-screens-row-4 .mobile-screens-column--right{
    background-color: #8e277c;
}

.wave{
	position: absolute;
	width: 400px;
	z-index: 1;
}
		
@media screen and (min-width: 2561px){
	body{
		font-size: 26px !important;
	}
	
	.hero__mobile,
	.iphone{
        max-width: 450px;
    }
	
	.hero__right__content {
    	max-width: 1200px;
		margin-top: -50px;
	}

	.mobile-screens-column--right__content {
		max-width: 600px;
	}
	
	.store-logo {
		width: 220px;
	}
	
	.hero__section{
		font-size: 28px;
	}
	
	.hero-image--hapibrainlarge{
		width: 300px;
	}
	
	.hero-image--qr {
		width: 200px;
	}
	
	.hero-image--appstore {
		width: 250px;
	}
}

@media screen and (max-width: 2560px){
	body{
		font-size: 26px !important;
	}
	
	.hero__mobile,
	.iphone{
        max-width: 450px;
    }
	
	.hero__right__content {
    	max-width: 1200px;
		margin-top: 0px;
		margin-left: -100px;
	}

	.mobile-screens-column--right__content {
		max-width: 600px;
	}
	
	.store-logo {
		width: 220px;
	}
	
	.hero__section{
		font-size: 26px;
	}
	
	.hero-image--hapibrainlarge{
		width: 300px;
	}
	
	.hero-image--qr {
		width: 200px;
	}
	
	.hero-image--appstore {
		width: 250px;
	}
}

@media screen and (max-width: 1920px){
    body{
        font-size: 22px !important;
    }

    .mobile-screens-column--right__content{
        max-width: 600px;
    }

    .iphone{
        max-width: 400px;
    }

    .hero__mobile {
        max-width: 400px;
    }

    .hero__right__content{
        max-width: 900px;
    }
	
	.store-logo {
		width: 180px;
	}
	
	.hero__section {
    	font-size: 22px;
	}
	
	.hero__right__content{
		margin-top: -100px;
		margin-left: -150px;
	}
	
	.hero-image--hapibrainlarge {
    	width: 250px;
	}
	
	.hero-image--qr {
    	width: 150px;
	}
	
	.hero-image--appstore {
    	width: 200px;
	}
}

@media screen and (max-width: 1720px){
	.hero__right__content{
		margin-top: -200px;
	}

	.hero__section {
		font-size: 18px;
	}
}

@media screen and (max-width: 1440px){
	body,
	.hero__section{
		font-size: 16px !important;
	}
	
	.iphone,
	.hero__mobile{
		max-width: 300px;
	}
	
	.store-logo {
    	width: 150px;
	}
	
	.mobile-screens-column--right__content {
    	max-width: 400px;
	}
	.hero-image--hapibrainlarge{
		width: 200px;
	}

	.hero-image--qr{
		width: 100px;
	}

	.hero-image--appstore{
		width: 150px;
		margin-top: -5px;
	}
	
	.bottom-icons{
		gap: 50px;
	}
}

@media screen and (max-width: 1024px){
    .hero-image--hapibrainlarge{
        width: 130px;
    }

    .hero-image--appstore{
        right: 30%;
    }

    .hero__mobile {
        width: 100%;
        max-width: 250px;
    }

    .iphone {
        max-width: 250px;
    }

    .hero__right__content{
        margin-top: -150px;
		margin-left: 0px;
    }

    .hero__right h2{
        font-size: 2.3em;
    }

    .hero__right p{
        font-size: 1em;
    }

    .mobile-screens-column--left{
        width: 40%;
    }

    .mobile-screens-column--right{
        width: 60%;
    }
	
	.mobile-screens-column--right__content{
		margin-left: 50px;
		max-width: 80%;
	}
	
	.hero__left{
		width: 40%;
	}
	
	.hero__right{
		width: 60%;
	}
	
	.bottom-icons {
		gap: 30px;
	}
	
	.hero__right__content {
    	max-width: 85%;
	}
}

@media screen and (max-width: 768px){
	
	.hero__section{
		height: auto;
	}
	
    .mobile-screens-column{
        width: 100%;
    }

    .hero__mobile{
        width: 200px;
    }

    .hero-image--appstore {
        right: 40%;
    }

    .mobile-screens-column--right__content{
        margin-left: 30px;
        padding: 20px;
    }

    .footer {
        padding: 60px 20px;
    }

    .mobile-screens-row{
        height: auto;
    }

    .mobile-screens-column--left{
        padding: 20px;
    }

    .hero__left, .hero__right{
        width: 100%;
    }

    .hero__right__content{
        margin-left: 0px;
        padding: 20px;
    }

    .hero__section{
        padding-bottom: 300px;
			padding-top: 30px;
    }
	
	.hero__right__content {
		margin-left: 0px;
		padding: 30px;
		max-width: 100%;
		margin-top: 0px;
	}
	
	.hero__right h2 {
		font-size: 2.5em;
		line-height: 1.2em;
		margin-bottom: 20px;
		margin-top: 0px;
	}
	
	.bottom-icons {
		position: absolute;
		bottom: 20px;
		right: unset;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		flex-wrap: wrap;
		flex-direction: column-reverse;
		justify-content: center;
		align-items: center;
		gap: 30px;
	}
	
	.header {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 20px 20px;
		background-color: var(--default-white);
		height: auto;
		gap: 20px;
	}
	
}