/*-----------------------------------------------------------------------------------*/
/* GENERAL
/*-----------------------------------------------------------------------------------*/

body {
	text-align: center;
	font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	color: #3a3a3a;
	font-weight: 700;
	font-family: 'Roboto Condensed', sans-serif;
}

p {
	font-size: 1.2em;
}

.lead {
	font-weight: 300;
}

button {
	display: inline-block;
	margin-bottom: 10px;
	padding: 6px 12px;
	border: 1px solid transparent;
	border-radius: 5px;
	vertical-align: middle;
	text-align: center;
	white-space: nowrap;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.428571429;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.visibility {
	visibility: hidden;
}

.animated {
	visibility: visible !important;
	animation-duration: 1s;
	animation-fill-mode: both;
}

.app-store-link {
	display: inline-block;
	cursor: pointer;
}

.app-store-link img {
	display: block;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

/* Animations */
@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.animated.fadeIn {
	animation-name: fadeIn;
}

@keyframes fadeInLeft {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.animated.fadeInLeft {
	animation-name: fadeInLeft;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.1); }
	100% { transform: scale(1); }
}

.animated.pulse {
	animation-name: pulse;
}

@keyframes flipInX {
	0% {
		transform: perspective(400px) rotateX(90deg);
		opacity: 0;
	}
	40% { transform: perspective(400px) rotateX(-10deg); }
	70% { transform: perspective(400px) rotateX(10deg); }
	100% {
		transform: perspective(400px) rotateX(0deg);
		opacity: 1;
	}
}

.animated.flipInX {
	backface-visibility: visible !important;
	animation-name: flipInX;
}

/* Bootstrap 5 compatibility while preserving the original layout */
.container {
	--bs-gutter-x: 30px;
}
.row {
	--bs-gutter-x: 30px;
}
@media (min-width: 768px) {
	.container { max-width: 750px; }
}
@media (min-width: 992px) {
	.container { max-width: 970px; }
}
@media (min-width: 1200px) {
	.container { max-width: 1170px; }
}

/*-----------------------------------------------------------------------------------*/
/* KEY COLOR
/*-----------------------------------------------------------------------------------*/

/*---- Typography ----*/
header h1, 
.payoff h1,
header h2, 
.payoff h2,
.social a:hover {
	color: #ffffff;
	text-shadow: 2px 2px #555;
}

.features p {
	color: #06b872;
}

/*---- Background ----*/
.features,
.detail .carousel-indicators .active {
	background: #0bf397;	
}

/*-----------------------------------------------------------------------------------*/
/* NAVBAR
/*-----------------------------------------------------------------------------------*/

nav.navbar {
	position: fixed;
	z-index: 1030;
	top: -100px;
	left: 0;
	margin-bottom: 0px;
	padding: 10px 0px;
	width: 100%;
	background: #ffffff;
	opacity: 0.98;
	border-bottom: 1px solid #eee;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: top 0.3s ease-in-out;
}

.navbar-nav {
	margin-left: auto;
}

nav.navbar.fixed-to-top {
	top: 0px;
}

.navbar .navbar-nav .nav-link {
	color: #333333;
	font-size: 1em;
	transition: all 300ms ease-in-out;
}

.navbar .navbar-nav .nav-link:hover, 
.navbar .navbar-nav .nav-link:focus {
	color: #099fcc;	
	cursor: pointer;
}

.navbar .navbar-brand {
	color: #333333;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 2em;
	font-family: 'Roboto Condensed', sans-serif;
}

.navbar .navbar-toggler {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 9px 10px;
}

.navbar .navbar-toggler:focus {
	box-shadow: none;
}

.navbar .navbar-toggler-icon {
	width: 22px;
	height: 16px;
	background-image: linear-gradient(#888 0 0), linear-gradient(#888 0 0), linear-gradient(#888 0 0);
	background-size: 22px 2px;
	background-position: 0 0, 0 7px, 0 14px;
	background-repeat: no-repeat;
}

/*-----------------------------------------------------------------------------------*/
/* HEADER 
/*-----------------------------------------------------------------------------------*/

header {
	padding: 150px 0 60px;
	min-height: 1050px;
	background-color: #099fcc !important;
	background-size: cover;
	background-repeat: no-repeat;
	color: white;
	overflow: hidden;
}

header .container,
header .row,
header .col-lg-12 {
	height: 100%;
}

header .col-lg-12 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

header h1, header h2 {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 100px;
	font-family: 'Roboto Condensed', sans-serif;
}

header p.lead {
	font-size: 36px;
}

header .sample-promote {
	margin-top: 50px;
	width: 550px;
	max-width: 100%;
}

header .sample-promote img {
	display: block;
	width: 100%;
	height: auto;
}

header .carousel-iphone {
	margin-right: auto;
	margin-left: auto;
	width: 320px;
	height: 672px;
	background: url('../img/iphone-front.png') no-repeat;
	background-size: 100%;
}

header .carousel-no-device {
	margin-right: auto;
	margin-left: auto;
	width: 582px;
	max-width: 100%;
	height: auto;
}

header .carousel {
	position: relative;
	margin-right: auto;
	margin-left: auto;
	padding: 95px 0px 0px 4px;
	width: 582px;
	max-width: 100%;
}

header .carousel-inner .carousel-item img {
	display: block;
	width: 100%;
	height: auto;
}

header .carousel-indicators .active {
	width: 15px;
	height: 15px;
	background: #444444;
}

header .carousel-indicators {
	bottom: -63px;
}

header .carousel-indicators li,
header .carousel-indicators button {
	display: inline-block;
	margin: 1px;
	width: 15px;
	height: 15px;
	border: 1px solid #666666;
	border-radius: 10px;
	text-indent: -999px;
	cursor: pointer;
}

/*-----------------------------------------------------------------------------------*/
/* PURCHASE
/*-----------------------------------------------------------------------------------*/

.purchase {
	overflow: hidden;
	padding: 100px 0px;
	min-height: 200px;
}

.purchase button.app-store {
	width: 152px;
	height: 52px;
	background: url(../img/badge-appstore.png) #3a3a3a no-repeat 0px 5px;
	color: white;
}

.purchase h1,
.purchase h2 {
	font-size: 2.5rem;
}

/*-----------------------------------------------------------------------------------*/
/* PAYOFF
/*-----------------------------------------------------------------------------------*/

.payoff {
	overflow: hidden;
	padding: 150px 0px;
	min-height: 600px;
	background-color: #01406d;
	background-position: center top;
	background-repeat: repeat-x;
	color: white;
}

.payoff h1, .payoff h2 {
	text-transform: uppercase;
	font-weight: 300;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 2.8em;
}

/*-----------------------------------------------------------------------------------*/
/* DETAIL
/*-----------------------------------------------------------------------------------*/

.detail {
	overflow: hidden;
	padding: 50px 0px 0px 0px;
	min-height: 500px;
}

.detail .title {
	margin-bottom: 80px;
	text-align: center;
}

.detail .features .row {
	margin-bottom: 40px;
}

.detail .carousel h1, .detail .carousel h2 {
	font-size: 3.8em;
}

.detail .carousel h1, .detail .carousel h2, .detail p {
	text-align: left;
	font-weight: 300;
}

.detail .carousel-control {
	background: none;
}

.detail .app-screenshot {
	overflow: hidden;
	margin-right: auto;
	margin-left: auto;
	padding-top: 15px;
	width: 500px;
	height: auto;
	background-size: 100%;
}

.detail .app-screenshot img {
	margin-right: auto;
	margin-left: auto;
	padding-left: 4px;
	width: 500px;
}

.detail .carousel-indicators {
	position: relative;
	bottom: 0;
	left: 0;
	margin-top: 20px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding: 5px;
	padding-bottom: 8px;
	width: 100%;
	border-top: 1px solid #eee;
	background: #ffffff;
}

.detail .carousel-indicators .active {
	width: 45px;
	height: 5px;
	border: none;
	border-radius: 0px;
}

.detail .carousel-indicators li,
.detail .carousel-indicators button {
	display: inline-block;
	margin: 1px;
	width: 45px;
	height: 5px;
	border: none;
	border-radius: 0px;
	background: #eeeeee;
	text-indent: -999px;
	cursor: pointer;
}

/*-----------------------------------------------------------------------------------*/
/* FEATURES
/*-----------------------------------------------------------------------------------*/

.features {
	overflow: hidden;
	padding: 150px 0px;
	min-height: 400px;
	color: black;
}

.features p {
	font-weight: 400;
}

.features h2 {
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 300;
}

.features .circle {
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	padding-top: 33px;
	width: 150px;
	height: 150px;
	border: 2px solid #ffffff;
	border-radius: 100%;
	text-align: center;
}

.features i {
	font-size: 5em;
}

/*-----------------------------------------------------------------------------------*/
/* SOCIAL
/*-----------------------------------------------------------------------------------*/

.social {
	overflow: hidden;
	padding: 80px 0px 150px 0px;
	min-height: 350px;
	background: url('../img/sea.jpg');
	background-position: center top;
	background-repeat: repeat-x;
	color: white;
}

.social h2 {
	color: white;
}

.social a {
	margin-left: 10px;
	color: #FFF;
	font-size: 5em;
	transition: all 0.3s;
}

.social a:hover {
	text-decoration: none;
	cursor: pointer;
}

/*-----------------------------------------------------------------------------------*/
/* GET-IT
/*-----------------------------------------------------------------------------------*/

.get-it {
	padding: 80px 0px 60px 0px;
	text-align: center;
}

.get-it h1,
.get-it h2 {
	font-size: 2.5rem;
}

.get-it button.app-store {
	width: 152px;
	height: 52px;
	background: url(../img/badge-appstore@2x.png) #373737 no-repeat 0px 5px;
	color: white;
}

.get-it .place-holder {
	padding-top: 30px;
}

.get-it hr {
	margin-top: 3em;
	margin-bottom: 3em;
}

.get-it ul {
	list-style-type: none;
	text-align: center;
	margin: 0;
	padding: 0;
}

.get-it ul li {
	display: inline-block;
	margin-left: 30px;
}

.get-it ul li:first-child {
	margin-left: 0px;
}

.get-it ul li a {
	color: #333333;
	font-size: 1em;
	transition: all 300ms ease-in-out;
	text-decoration: none;
}

.get-it ul li a:hover {
	color: #099fcc;
	text-decoration: none;
	cursor: pointer;
}

/*-----------------------------------------------------------------------------------*/
/* COPYRIGHT
/*-----------------------------------------------------------------------------------*/

.copyright {
	padding: 0px 0px 20px 0px;
	text-align: center;
	font-size: 0.95em;
}

/*-----------------------------------------------------------------------------------*/
/* MEDIA QUERIES
/*-----------------------------------------------------------------------------------*/

/* Tablet */
@media (max-width: 991.98px) {

	header {
		padding-top: 90px;
		padding-bottom: 50px;
		min-height: 900px;
	}

	header h1, header h2 {
		font-size: 64px;
	}

	header p.lead {
		font-size: 28px;
	}

	header .sample-promote {
		margin-top: 40px;
		width: 500px;
	}

	.navbar .navbar-brand {
		font-size: 26px;
	}

	.navbar .navbar-nav .nav-link {
		font-size: 15px;
	}

	.navbar-nav {
		margin-left: 0;
		text-align: left;
	}

	.purchase h1, .purchase h2 {
		font-size: 32px;
	}

	.purchase p,
	.purchase p.lead {
		font-size: 18px;
	}

	.payoff {
		padding-top: 60px;
		padding-bottom: 60px;
		min-height: 200px;
	}

	.payoff h1, .payoff h2 {
		font-size: 30px;
	}

	.detail .carousel h1, .detail .carousel h2 {
		font-size: 38px;
		text-align: center;
	}

	.detail p {
		margin-bottom: 15px;
		font-size: 18px;
		text-align: center;
	}

	.features h2 {
		font-size: 28px;
	}

	.features p {
		font-size: 17px;
	}

	.features i {
		font-size: 4em;
	}

	.features .col-lg-4 {
		margin-bottom: 60px;
	}

	.social h2 {
		font-size: 28px;
	}

	.social a {
		font-size: 4em;
	}

	.get-it h1, .get-it h2 {
		font-size: 32px;
	}

	.get-it p,
	.get-it p.lead {
		font-size: 18px;
	}

	.get-it ul li a {
		font-size: 15px;
	}

	.copyright {
		font-size: 14px;
	}

	header,
	.social {
		background-position-y: 0;
		background-size: 200%;
	}

}

/* Mobile */
@media (max-width: 575.98px) {

	header {
		padding-top: 50px;
		padding-bottom: 35px;
		min-height: 720px;
	}

	header h1, header h2 {
		font-size: 44px;
		line-height: 1.05;
	}

	header p.lead {
		font-size: 22px;
		line-height: 1.4;
	}

	header .sample-promote {
		margin-top: 30px;
		width: 100%;
	}

	.navbar .navbar-brand {
		font-size: 21px;
	}

	.navbar .navbar-nav .nav-link {
		font-size: 14px;
	}

	.purchase {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.purchase h1, .purchase h2 {
		font-size: 27px;
	}

	.purchase p,
	.purchase p.lead {
		font-size: 16px;
		line-height: 1.6;
	}

	.payoff {
		padding-top: 45px;
		padding-bottom: 45px;
	}

	.payoff h1, .payoff h2 {
		font-size: 23px;
		line-height: 1.35;
	}

	.detail .carousel h1, .detail .carousel h2 {
		font-size: 29px;
		line-height: 1.2;
	}

	.detail p {
		margin-bottom: 10px;
		font-size: 16px;
		line-height: 1.3;
	}

	.detail .app-screenshot {
		width: 100%;
	}

	.detail .app-screenshot img {
		margin-top: 0;
		padding-top: 0;
		padding-left: 0;
		width: 100%;
	}

	.features h2 {
		font-size: 24px;
	}

	.features p {
		font-size: 16px;
	}

	.features i {
		font-size: 3em;
	}

	.features .col-lg-4 {
		margin-bottom: 50px;
	}

	.social h2 {
		font-size: 24px;
	}

	.social a {
		font-size: 3.5em;
	}

	.get-it {
		padding-top: 60px;
		padding-bottom: 45px;
	}

	.get-it h1, .get-it h2 {
		font-size: 27px;
	}

	.get-it p,
	.get-it p.lead {
		font-size: 16px;
	}

	.get-it ul li {
		margin-left: 15px;
	}

	.get-it ul li a {
		font-size: 14px;
	}

	.copyright {
		padding-right: 15px;
		padding-left: 15px;
		font-size: 13px;
		line-height: 1.5;
	}

}
