@import "http://webfonts.ru/import/bebasneue.css"; /*Bebas font-family: 'Bebas Neue';*/

*{
    padding: 0;
    margin: 0;
}
img{
    width: 100%;
}
h1 {
    font-family: Bebas Neue;
    font-size: 4.5em;
    font-weight: normal;
    color: #ffffff;
}
p {
    font: 300 1.3em / 1.4em HelveticaNeue;
}
body {
    /*background: #000;*/
}

#one {
    background: url(images/Layer-1.png) 50% 50% no-repeat;
    text-align: center;
    background-size: cover;
}

.logo {
    width: 7.5%;
    display: block;
    margin: 0 auto;
    padding-top: 2em;
}

#one h1 {
    color: #ffffff;
    margin-top: 0.5em;
}
#one p {
    color: #329996;
    margin-top: 1em;
}

#scroll-btn { 
    height: 36px;
    width: 36px;
    background: url(images/Rounded-Rectangle-2.png) no-repeat;
    background-position: center;
    background-size: 15px;
    margin: 1.5em auto 0;
    position: relative;
    border-radius: 50%;
    border: 1px #f8db9a solid;
}

#scroll-btn>p {
    position: absolute;
    bottom: -30px;
    font: 300 16px / 32px HelveticaNeue;
    color: #f8db9a;
}

.elment {
    width:100%;
    margin-top: 2em;
    height: 17em;
    overflow: hidden;
}
.elment:after{
    content:" ";
    display: block;
    clear: both;
}

#elem1 {
    width: 18em;
    position: absolute;
    left: 50%;
    z-index: 1;
    margin-left: -9em;
    bottom: -10em
}

#elem2 {
    width: 11em;
    position: absolute;
    left: 50%;
    margin-left: -19em;
    bottom: -6em;
}

#elem3 {
    width: 11em;
    position: absolute;
    left: 50%;
    margin-left: 8em;
    bottom: -6em;
}

.section section.img,
.section section.description{
    display: inline-block;
    float: left;
    height: 100%;
    
}

.section section.description>h1,
.section section.description>p {
    float: right;
    width: 65.5%;
}
.section section.description>h1{
    font-size: 4em;
    margin-top: 25%;
    margin-bottom: 2.5%
}
.section section.description>p{
    font-size: 1.1em;
}
.section section.img{
    width: 45%;
    position: relative;
    left: 0;
    right: 0;
}
#four section.img img{
    width: 50%;
    margin-left: 2em;
    margin-top: 14%;
}

.section section.img>img{
    width: 60%;
    margin-top: 6%;
    position: absolute;
}
.section section.description{
    width: 55%;
    position: relative;
    left: 0;
    right: 0;
}

#two {
    background: url(images/Layer-3.png) 50% 50% no-repeat;
    background-size: cover;
    height: 100%;
    z-index: 2;
}
.section.sec2 section.description>h1,
.section.sec2 section.description>p {
    float: left;
    width: 65.5%;
    color: #ffffff;
}
.section.sec2 section.description{
    left: 10%;
}
.section.sec2 section.img{
    left: 5%;
}
.section.sec2 section.img>img{
    margin-left: 30%;
    margin-right: 4em;
}
.section {
    background-size: cover;
    overflow: hidden;
    position: relative;
}

#three {
   background: url(images/Layer-4.png);
    background-size: cover;
}

#four {
    background: -webkit-linear-gradient(90deg, #329996 0%, #37324a 100%);
    background: -moz-linear-gradient(90deg, #329996 0%, #37324a 100%);
    background: -o-linear-gradient(90deg, #329996 0%, #37324a 100%);
    background: -ms-linear-gradient(90deg, #329996 0%, #37324a 100%);
    background: linear-gradient(0deg, #329996 0%, #37324a 100%);
}
#four section.description>h1{
    margin-top: 14%;
}
#four section.img img{
    width: 60%;
}
.appstore img{
    height: 4%;
    width: 28.8%;
    display: inline-block;
    position: relative;
    top: 0.99em;
    left: 1.5em;
}
.appstore{
    float: left;
    vertical-align: middle;
    display: inline-block;
    color: #fff;
}

.footer {
    width: 100%;
    height: 60px;
    position: absolute;
    background-color: #37324a;
    bottom: 0px;
    z-index: 3;
    text-align: center;
    color: #329996;
}
.footer p{
    font: 400 1.25em Bebas Neue;
    height: 100%;
    line-height: 2.7;
    display: inline-block;
}
.footer .email-form{
    display: inline-block;
    position: relative;
    top: 12px;
    margin-left: 15px;
}
    

.email-form  input{
    background-color: transparent;
    border: #329996 solid 2px;
    height: 33px;
    display: block;
    float: left;
    position: relative;
}
.email-form  input[type=email]{
    border-right: none;
    padding-left: 10px;
    color: #329996;
}
.email-form  input[type=submit]{
    border-left: none;
    width: 35px;
    background: url(images/Shape-1.png) no-repeat;
    background-position: center;
    height: 37px;
    cursor: pointer;
}
.email-form  input[type=email]::-webkit-input-placeholder {
    color: #329996;
    text-align: center;
}
.email-form  input[type=email]:focus{
  outline: none;
}

.fb-btn {
    width: 120px;
    display: inline-block;
    background-color: #3b5998;
    padding: 9px;
    padding-left: 31px;
    padding-bottom: 8px;
    border-radius: 3px;
    position: relative;
    line-height: 2.7;
    font: 400 1em Bebas Neue;
    text-decoration: none;
    letter-spacing:1px;
    color: #fff;
}
.fb-btn:before{
    content: " ";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(images/FB-Icon.png);
    background-size: 20px;
    top: 8px;
    left: 39px;
}
.fb-btn:hover{
    background-color: #5978b9;
}

.or {
    display: inline-block;
    margin: 0 20px;
}

#footer{
    position: fixed;
}

/*Animation*/

#elem1,
#elem2,
#elem3,
section.description,
section.img{
       -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}



.form-two {
    position: absolute;
    width: 80%;
    text-align: center;
    bottom: 20px;
    margin: 0 10%;
}
.form-two:after{
    content: " ";
    display: block;
    clear: both;
}
.form-two>p{
    color: #ffffff;
    font: 300 1.25em / 2em HelveticaNeue;
}

.email-form-big {
    display: inline-block;
    width: 40%;
    text-align: left;
}
.





#base-form>input {
}
#base-form input {
    
}

.form-base-one {
    position: absolute;
    right: 0%;
    margin-top: 4em;
    bottom: 4.5em;
    width: 65.5%;
}
.form-base-one>p{
    color: #ffffff;
    font: 300 1.1em / 3em HelveticaNeue;
}
.form-base-one>form>input:first-child{
    width: 100%;
    height: 45px;
    position: relative;
    border:1px solid #ffffff;
    color: #ffffff;
    font-size: 1em;
    font-weight: 300;
}
.form-base-one>form>input[type=email]::-webkit-input-placeholder {
    color: #fff;
    text-align: left;
}
.form-base-one>form>input:last-child{
    position: absolute;
    right: -10px;
    background: url(images/shape-2.png) no-repeat;
    background-position: center;
    background-size: 16px;
    border: none;
    margin-top: .6em;
    width: 4em;
    height: 2.5em;
    border-left: 1px solid #fff;
}

.form-base-two {
    position: absolute;
    left: 103%;
    width: 80%;
    z-index: 2;
}
.form-base-two>p{
    color: #ffffff;
    font: 300 1em / 3em HelveticaNeue;
}
.form-base-two>a.fb-btn{
    line-height: 2em;
    text-align: center;
    width: 8em;
}
.form-base-two>a.fb-btn:before{
    top:0.9em;
    left: 2.8em;
}

/*Validation*/
input.invalid {
    border-color: #c62329;
}
input.invalid ~ input{
    border-color: #c62329;
	pointer-events: none;
}
.form-base-one>form>input:first-child.invalid {
    border-color: #c62329;
}

input,
select{
	-webkit-appearance:none;  
    -webkit-border-radius:0px;
}


/*Delete*/
.bg {
	background: url(img/Background.png);
	height: 100%;
	width: 100%;
	background-size: cover;
	padding: 0; margin: 0;
}

.dialog-bg {
	background-color: rgba(0, 0, 0, 0.75);
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: -100;
	opacity: 0;
}
.dialog-bg.active{
	opacity: 1;
	z-index: 100;
}

.dialog-main {
	width: 550px;
	height: 375px;
	background-color: #339492; 
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}
.dialog-main>img{
	margin: 25px auto -5px;
	width: 100px;
}
.dialog-title {
	color: #ffffff;
	font: 400 35px / 75px Bebas Neue;
	margin-bottom: 1px;
}

.dialog-text {
	margin: 0px 57px 21px;
	color: #000000;
	font: 300 17px / 24px HelveticaNeue;
}
.dialog-ok {
	padding: 14px;
	width: 150px;
	display: block;
	margin: 25px auto;
	background-color: #37324a;
	color: #f8d793;
	font: 400 26px / 24px Bebas Neue;
	text-decoration: none;
	opacity: 1;
}
.dialog-ok:hover {
	opacity: 0.8;
	color: #ffc54c;
}
.dialog-bg,
.dialog-title,
.dialog-main>img{
	-webkit-transition: all 300ms ease-in;
	-moz-transition: all 300ms ease-in;
	-ms-transition: all 300ms ease-in;
	-o-transition: all 300ms ease-in;
	transition: all 300ms ease-in;
}
.section section.description{
    z-index: 5;
}
input[type="text"]:disabled {
    opacity: 1;
}
