/* RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin : 0;
padding : 0;
border : 0;
outline : 0;
font-size : 100%;
vertical-align : baseline;
background : transparent;
}
body {
line-height : 1;
}
ol, ul {
list-style : none;
}
blockquote, q {
quotes : none;
}
blockquote:before, blockquote:after, q:before, q:after {
content : '';
content : none;
}
:focus {
outline : 0;
}
ins {
text-decoration : none;
}
del {
text-decoration : line-through;
}
table {
border-collapse : collapse;
border-spacing : 0;
}
a {
text-decoration: none;
}


/* Font faces */


@font-face {
	font-family: 'Pacifico';
	src: url('../fonts/Pacifico-Regular.eot');
	src: url('../fonts/Pacifico-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Pacifico-Regular.woff2') format('woff2'),
		url('../fonts/Pacifico-Regular.woff') format('woff'),
		url('../fonts/Pacifico-Regular.ttf') format('truetype'),
		url('../fonts/Pacifico-Regular.svg#Pacifico-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: -apple-system, 'San Francisco Display', 'Roboto', Helvetica, Arial, sans-serif;
}
.pacifico {
	font-family: 'Pacifico', cursive;
	line-height: 1em;
}

/* Typography */

body {
	font-size: 18px;
}
h1 {
	font-weight: 100;
	font-size: 3em;
	text-transform: uppercase;
	margin-bottom: .6em;
}
h2 {
	font-size: 4.7em;
	font-weight: normal;
	font-family: 'Pacifico', cursive;
	margin-bottom: .6em;
}
h3 {
	font-size: 1.4em;
	margin-bottom: .5em;
	line-height: 1.4em;
}
p {
	font-size: 1em;
	line-height: 1.4em;
	font-weight: 100;
	margin-bottom: .5em;
}
li {
	line-height: 1.4em;
}
p.pacifico.strong {
	font-size: 3.5em;
	font-weight: normal;
}
a {
	color: inherit;
}
p a {
	text-decoration: underline;
}

/* Buttons */

a.button {
	display: inline-block;
	background: white;
	color: #333;
	padding: .1em .7em;
	border-radius: 256px;
	font-size: .7em;
	font-weight: 600;
	text-transform: uppercase;
	margin: 0 .2em;
	-webkit-transition : all .25s;
	transition: all .25s;
	text-decoration: none;
}
a.button:hover {
	border-radius: 8px;
	background: black;
	color: white;
}
@media (max-width: 640px){
	.button.large{
		font-size: 1em;
		padding: .6em 1.2em;
	}
}

/* Form */

form {
	margin: 1em 0;
}
input,
textarea {
	background: transparent;
	border: none;
	font-size: 1em;
	padding: 0;
	margin: 0;
	width: 100%;
	position: relative;
	display: block;
	padding: 1em;
	font-weight: 100;
	color: white;
	font-family: courier new, sans-serif;
	resize: vertical;
}
form p {
	position: relative;
}
form p span::after {
	content: " ";
	width: 100%;
	height: 10px;
	border: 3px solid rgba(255,255,255,.15);
	border-top: 0;
	position: absolute;
	bottom: 0;
	left: 0;
}
form button {
	font-weight: 600;
	font-size: 1em;
	background: white;
	border: none;
	padding: .6em 2em;
	margin-top: 1em;
	float: right;
	cursor: pointer;
}
form button:hover {
	color: white;
	background: black;
}

/* Mains */

html,
body {
	height: 100vh;
}
body {
	background: url("../img/img_main_bg.jpg") no-repeat center top;
	background-color: #252525;
	color: white;
	background-size: cover;

	background-attachment: fixed;
}

/* Mobile Safari fix for fixed background */

@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{ @media {
	body {
		background: #252525;
	}
    body::before {
        content: " ";
	    color: white;
	    position: fixed;
	    width: 100%;
	    height: 100vh;
		background: url("../img/img_main_bg.jpg") no-repeat center top;
		background-size: cover;
		z-index: 0;

    }
}}

/* Sections layout elements */


.section {
	min-height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	position: relative;
}

/* IE11 flex hack */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.section.centered {
		height: 100vh;
	}
}

.container {
	width: 634px;
	margin: 0 auto;
	text-align: center;
}

.columns {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin-top: 2em;
}
.column {
	width: 30%;
}

/* Navigation */

#top-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	-webkit-transition : all .25s;
	transition: all .25s;
	background: transparent;
	padding: 40px 0;
}
body.scrolled #top-nav {
	background: rgba(37,37,37,.9);
}
body.nav-hidden #top-nav {
/* 	margin-top: -100px; */
	padding: 20px 0;
}
#top-nav ul {
	position: relative;
	text-align: right;
}
#top-nav ul li {
	display: inline-block;
	font-size: .75em;
	color: #555;
	font-weight: 600;
}
#top-nav ul li:after  {
	content: "/";
	margin: 0 .3em 0 .6em;
	color: inherit;
}
#top-nav ul li:last-child:after  {
	display: none;
	margin-right: 0;
}
#top-nav a {
	text-transform: uppercase;
}
#top-nav a:hover {
	color: white;
}

/* Transitions */

img.bg-transition-enter {
	width: 100%;
	display: block;
	margin-top: -15%;
	position: relative;
	z-index: 1;
}
img.bg-transition-leave {
	width: 100%;
	display: block;
	position: relative;
	z-index: 1;
}

/* Main section */

#main {
	background-image: 	-webkit-radial-gradient(rgba(3,139,225,.3) 0%, rgba(3,139,225,0) 70%),
						-webkit-radial-gradient(rgba(227,0,80,.2) 0%, rgba(227,0,80,0) 70%);
	background-image: 	radial-gradient(rgba(3,139,225,.3) 0%, rgba(3,139,225,0) 70%),
						radial-gradient(rgba(227,0,80,.2) 0%, rgba(227,0,80,0) 70%);
	background-size: 80%, 90%;
	background-position: 200% -150%, -300% -300%;
	background-repeat: no-repeat;
}
#app-icon {
	margin: 0 0 1.5em;
}
#dl-buttons {
	margin: 1.7em 0;
}
#dl-buttons a {
	margin: 0 .5em;
	display: inline-block;
}
#dl-buttons a:hover {
	-webkit-transform: scale(1.1);
	        transform: scale(1.1);
}

/* Features section */

#phone {
	position: relative;
	margin: 2em 0;
}
#phone a {
	display: block;
}
#features-list {
	margin: 0 auto 0;
	position: relative;
	height: 150px;
}
#features-list li {
	position: absolute;
	opacity: 0;
	-webkit-animation-play-state: paused;
	        animation-play-state: paused;
	-webkit-animation: none;
	        animation: none;
}
#features-slideshow.on #features-list li {
	-webkit-animation-play-state: running;
	        animation-play-state: running;
	-webkit-animation: slideFadeOut 9s infinite;
	        animation: slideFadeOut 9s infinite;
}
#features-slideshow.on #features-list li:nth-child(3n-1) {
	-webkit-animation-delay: 3s;
	        animation-delay: 3s;
}
#features-slideshow.on #features-list li:nth-child(3n-3) {
	-webkit-animation-delay: 6s;
	        animation-delay: 6s;
}
#features-list img.feature-img {
    position: absolute;
		top: -251px;
    left: 50%;
    width: 320px;
    margin-left: -150px;
    display: none;
    -webkit-animation: fadeIn 1s forwards;
            animation: fadeIn 1s forwards;
}
#features-slideshow.on #features-list img.feature-img {
	display: block;
}

@-webkit-keyframes slideFadeOut {

	0% { opacity: 0; }
	3% { opacity: 1; }
	30% { opacity: 1; }
	33% { opacity: 0; }
	100% { opacity: 0; }

}

@keyframes slideFadeOut {

	0% { opacity: 0; }
	3% { opacity: 1; }
	30% { opacity: 1; }
	33% { opacity: 0; }
	100% { opacity: 0; }

}
@-webkit-keyframes fadeIn {

	0% { opacity: 0; }
	100% { opacity: 1; }

}
@keyframes fadeIn {

	0% { opacity: 0; }
	100% { opacity: 1; }

}


#feature-bullets {
	text-align: center;
	overflow: hidden;
	margin: 0 auto 0;
}
#feature-bullets img {
	display: inline-block;
	width: 100%;
	vertical-align: bottom;
}
.feature-bullet {
	display: inline-block;
	vertical-align: middle;
	margin: 0 1em 0;
	width: 12px;
	opacity: 0;
	background: white;
	height: 6px;
	width: 12px;
	border-radius: 256px;
	-webkit-animation-play-state: paused;
	        animation-play-state: paused;
}
#features-slideshow.on .feature-bullet {
	opacity: .2;
	-webkit-animation-play-state: running;
	        animation-play-state: running;
}
#features-slideshow.on .feature-bullet {
	-webkit-animation: bulletFadeOut 9s infinite;
	        animation: bulletFadeOut 9s infinite;
}
#features-slideshow.on .feature-bullet:nth-child(3n-1) {
	-webkit-animation-delay: 3s;
	        animation-delay: 3s;
	-webkit-transform-origin: center 82%;
	        transform-origin: center 82%;
}
#features-slideshow.on .feature-bullet:nth-child(3n-1) img {
	-webkit-transform: rotate(180deg);
	        transform: rotate(180deg);
}
#features-slideshow.on .feature-bullet:nth-child(3n-3) {
	-webkit-animation-delay: 6s;
	        animation-delay: 6s;
}

@-webkit-keyframes bulletFadeOut {

	0% { opacity: .2; }
	3% { opacity: 1; height: 12px; }
	30% { opacity: 1; height: 12px; }
	33% { opacity: .2; height: 6px; }
	100% { opacity: .2; }

}

@keyframes bulletFadeOut {

	0% { opacity: .2; }
	3% { opacity: 1; height: 12px; }
	30% { opacity: 1; height: 12px; }
	33% { opacity: .2; height: 6px; }
	100% { opacity: .2; }

}

/* Samples section */

.video-sample-img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.video-sample-meta {
	font-size: .8em;
	color: rgba(255,255,255, .5);
}
.video-sample:hover {
	-webkit-transform: scale(1.1);
	        transform: scale(1.1);
}

/* FAQ section */

#faq {
	font-family: "Bookman Old Style", Georgia, serif;
	background: #252525;
	padding: 5em 0 0;
}
#answers h3 {
	font-weight: normal;
	font-size: 1em;
	margin: 2em 0 1em;
}
ul.contents,
#error ul {
	border: 1px solid rgba(255,255,255,.2);
	border-left: 0;
	border-right: 0;
	text-align: left;
	padding: 1.5em 0;
	margin-top: 3em;
}
ul.contents li,
#error ul li {
	margin: .5em 0;
}
#answers {
	margin-top: 3em;
	text-align: left;
}
#answers p {
	color: #999;
}

/* Support section */

.section.short .container {
	width: 400px;
	margin: 0 auto;
}

/* Footer */

#footer {
	background: #252525;
	padding: 2em 0;
	overflow: hidden;
	font-size: .75em;
	color: #888;
	margin-top: -6em;
	position: relative;
}
#footer .left-part {
	width: 50%;
	float: left;
	text-align: left;
}
#footer .right-part {
	width: 50%;
	float: right;
	text-align: right;
}
#footer .right-part a {
	display: inline-block;
}
#footer .right-part a::after {
	content: "/";
	margin: 0 .5em;
	text-decoration: none;
}
#footer .right-part a:last-child::after {
	display: none;
}

/* Mobile screen corrections */

@media screen and (max-width: 640px), screen and (max-height: 640px) {


	body {
		font-size: 14px
	}
	.container,
	.section.short .container {
		width: 260px;
		margin: 0 auto;
	}
	h2 {
		font-size: 3.4em;
	}
	#features-list {
		height: 105px;
	}
	.section {
		min-height: 0;
		display: block;
		padding: 50px 0;
	}
	.section:last-of-type {
		margin-bottom: 140px;
	}
	body.nav-hidden #top-nav {
		margin-top: -100px;
	}
	#top-nav {
		padding: 0;
		text-align: center;
	}
	#top-nav .container{
		width: 100%;
	}
	#top-nav ul {
		text-align: center;
	}
	#top-nav ul a {
		display: inline-block;
		padding: 20px 0;
	}

	#main {
		background: none;
	}

	h1 {
		font-size: 1.8em;
	}
	p.strong.pacifico {
		font-size: 2.5em;
	}

	#phone {
		position: relative;
		-webkit-transform: none;
		        transform: none;
		width: 100%;
		top: auto;
		left: auto;
		margin: 2em 0;
	}
	#phone img {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}
	.section#main {
		padding-top: 70px;
	}
	#features-list img.feature-img {
	    top: -160px;
	    left: 50%;
	    width: 197px;
	    margin-left: -103px;
	    display: block;
	}
	.columns {
		display: block;
	}
	.column {
		width: 100%;
		margin-bottom: 3em;
	}
	#faq {
		padding: 5em 0 5em;
	}
	.video-sample:hover {
		-webkit-transform: none;
		        transform: none;
	}
	.video-sample-meta {
		font-size: 1.1em;
	}
	.video-sample a.button {
		font-size: 1em;
		padding: .6em 1.2em;
	}
	#footer {
		margin-top: -60px;
	}
	#footer .right-part,
	#footer .left-part {
		float: none;
		text-align: center;
		width: 100%;
	}
	#redirection.centered,
	#error.centered {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		min-height: 100%;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		position: relative;
		padding: 0;
		margin: 0;
	}

}

/* Desktop screen size corrections */

@media screen and (min-height: 1025px) {
	body {
		font-size: 24px;
	}
	.container {
		width: 960px
	}
	#app-icon img {
		width: 124px;
		height: 128px;
	}
	.section.short .container {
		width: 600px;
	}
	.feature-bullet {
		width: 18px;
	}
	#features-list img.feature-img {
		top: -304px;
		width: 389px;
		margin-left: -200px;
	}
	#dl-buttons a img {
		width: 180px;
		height: auto;
	}
	#phone img {
		width: 500px;
		height: auto;
	}
}
