/*
*
* Template Name: Klacks | No-Brainer
* Concept: Chat Mobile App Landing Page - Flat Background
* Files Associated: index-main.html, index-main-android.html
* Last Modified: 2019-09-21
* Author : Manoj Rajendiran
* Author Email : svencreations@gmail.com
* Author Website : http://svencreations.com/
*
*/

/* ==================================================================
* Table of Contents:
*
* 1.0 - Custom Font Declarations(if any)
* 2.0 - Simple Declarations / Fixes
* 3.0 - Basic Styles
* 4.0 - Responsive Styles
================================================================== */

/* ==================================================================
1.0 Custom Font Declarations(if any)
================================================================== */

/* ==================================================================
2.0 Simple Declarations / Fixes
================================================================== */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.gpu-acc {
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ==================================================================
3.0 Basic Styles
================================================================== */

/* 3.1 FullHeight Fix
-------------------------------------------------------------- */
html, body {
    height: 100%;
}

body {
    background: #f40009;
    color: #666;
    font-family: "Karla", sans-serif;
}

/* 3.2 Split Screen w/ vertical centering content
-------------------------------------------------------------- */
.split-wrapper, .split-container, .split-col {
    height: 100%;
    overflow: auto;
}

.split-container, .split-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.split-col {
    flex: 1;
}

/* 3.3 Column Left (Logo, Heading, Content, Download Buttons, Footer Credits)
-------------------------------------------------------------- */
.col-left {
    background: #FFF;
}

.col-left .content {
    max-width: 480px;
    margin: 0 2rem;
}

.dl-wrapper {
    margin-top: 2em;
    white-space: nowrap; /* Remove this if you add more than two buttons */
}

.dl-btn {
    display: inline-block;
    margin-right: 0.25rem;
}

.dl-wrapper img {
    height: 48px;
}

h1 {
    text-align: center;
    font-size: 1.8em;
    line-height: 1.25;
    margin: 1.25em 0 0.625em;
    color: #000;
}

p {
    font-size: 1em;
    line-height: 2;
    margin: 0;
}

.credits-info {
    padding-top: 2rem;
}

.credits-info p {
    color: #989898;
}

.credits-info a {
    color: #989898;
}

.credits-info a:hover {
    color: #4B22FF;
}

.social-links {
  margin: 0;
  padding: 2.5em 0 0;
}

.social-links li {
    position: relative;
    display: inline;
    padding-bottom: 0.1875em;
    margin-right: 0.75em;
}

.social-links li a {
    color: #989898;
    text-decoration: none;
    -webkit-transition: color 0.35s;
    -moz-transition: color 0.35s;
    -ms-transition: color 0.35s;
    -o-transition: color 0.35s;
    transition: color 0.35s;
    cursor: pointer;
}

.social-links li a:hover {
    color: #4B22FF;
}

.logo-container img {
  display: block;
  max-width: 50px;
  margin: 0 auto;
}


/* 3.4 Column Right (Mobile Mockup, Screenshot slider)
-------------------------------------------------------------- */
.android-mockup {
    position: relative;
    width: 320px;
    height: 636px;
    background: url("../../images/android-bg-white.png") no-repeat left top transparent;
    background-size: contain;
}

.ios-mockup {
    position: relative;
    width: 320px;
    height: 644px;
    background: url("../../images/ios-bg-white.png") no-repeat left top transparent;
    background-size: contain;
}

.drop-shadow {
    filter: drop-shadow(0px 10px 14px rgba(0,0,0,0.36));
    -webkit-filter: drop-shadow(0px 10px 14px rgba(0,0,0,0.36));
    -moz-filter: drop-shadow(0px 10px 14px rgba(0,0,0,0.36));
}

.swiper-container {
    position: absolute;
    left: 16px;
    top: 54px;
    width: 289px;
    height: 512px;
    border: 1px solid #eaeaea;
}

.ios-mockup .swiper-container {
    left: 18px;
    top: 71px;
    width: 285px;
    height: 501px;
}

.swiper-slide img {
    width: 100%;
}

/* ==================================================================
4.0 Responsive Styles
================================================================== */
@media only screen and (max-width: 1408px) {
    .ios-mockup {
        width: 298px;
        height: 600px;
    }

    .android-mockup {
        width: 302px;
        height: 600px;
    }

    .swiper-container {
        left: 15px;
        top: 51px;
        width: 273px;
        height: 485px;
    }

    .ios-mockup .swiper-container {
        left: 17px;
        top: 66px;
        width: 265px;
        height: 466px;
    }
}

@media only screen and (max-width: 1023px) {
    html, body {
        height: auto;
    }

    .split-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: auto;
    }

    .split-col {
        padding: 4rem 1.5rem;
        width: 100%;
    }

    .col-left .content {
        margin: 0;
    }

    .col-right {
        padding-left: 0;
        padding-right: 0;
    }
}

@media only screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }
}

@media only screen and (max-width: 360px) {
  .dl-btn {
    display: block;
    margin: 0.5rem 0;
  }

  .ios-mockup, .android-mockup {
    transform: scale(0.9);
  }
}


/*Video*/


  #container {
    background-color: #000;
    overflow: hidden;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
  }

  #video {
    position: absolute;

    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    height: 100%; width: 100%;
  }

  #video_cover {
    position: absolute;

    width: 100%; height: 100%;

    background: url('video_cover.jpeg') no-repeat;
    font-weight: 300;
    background-size: cover;
    background-position: center;
  }

  #video_controls {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }

  #play img {
    width: 100px;
  }
  #pause img {
    width: 90px;
  }
  #pause {
    display: none;
  }


  #container {
    height: 100%;
  }

  #overlay {
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    background: transparent;
  }

  #overlay.pause{
    background-color: rgba(0,0,0,0.5);
  }


  .error-msg {
    display: block;
    margin: 0.5em auto;
    font-size: 0.75em;
    letter-spacing: 1px;
    line-height: 1;
    position: block;
    width: 100%;
    color: red;
  }
  

 .invisible{
   visibility: hidden!important;
 }

 .visible{
  visibility: visible!important;
 }

/*Loader*/

/*Loader*/

#loader { 
  display: block; 
  position: absolute; 
  left: 50%; 
  top: 50%;
  transform: translate(-50%,-50%); 
  max-width: 150px;
  height: auto;
}
#load {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background:  #fff;
}

  
 /*Projects Options*/

 .action{
  padding-top: 25vh;
 }
 .action img{
  max-width: 330px;
  width: 100%;
  margin-bottom: 0.75em;
 }
.btn{
  margin-top: 1em;
  display: inline-block;
  font-weight: 400;
  color: #f40009;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #FFF;
  border: 1px solid #FFF;
  padding: .375em 1.75em;
  font-size: 1.25em;
  line-height: 1.5;
  border-radius: .35em;
  font-family: inherit;
  }

  #start{
   display: block;
   margin: 1em auto;
   border: 1px solid rgb(255, 54, 54);
  }
  .field{
      margin-bottom: 1em;
  }
  .field > input, .field > select, .field > select > option{
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 0);
    padding: .375em .75em;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    color: #004b85;
    background-color: rgba(255,255,255,0.75);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #f40009;
    border-radius: .25rem;
    display: block;
    margin: 0.5em auto 0 auto;
    width: 70vw;
    max-width: 350px;
    text-align: left;
    font-family: inherit;
  }

  input.input::placeholder, .input::placeholder{
    font-family: inherit;
    color: #f40009;

  }

  .header{
    max-width: 1130px;
    position: relative;
    width: 100%;
    margin: 0 auto;
  }

  .logo{
    position: absolute;
    max-width: 100%;
    top: 0;
    left: 0;
    max-width: 15vw;
    transform: translate(0, -50%);
    max-height: 5vw;
  }
  .logo.right{
    left: 100%;
    transform: translate(-100%, -50%);
  }


  @media only screen and (max-width: 768px) {
    #home{
      padding-top: 2.5em;
    }
    .logo{
      max-height: 8vw;
      max-width: 30vw;
    }
  }


  /*text*/

  .overlay-text p,
  .overlay-text-br p
  {
    font-weight: 800;
    color:  #f40009;
    word-break: break-word;

  }
  .overlay-text p{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20vw;
    height: 20vw;
    transform: translate(59%, 24%);
    font-size: 4vw;
    text-transform: capitalize;
  }

  .overlay-text-br p{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25vw;
    height: 10vw;
    transform: translate(-105%, 0%);
    font-size: 4.5vw;
    text-transform: capitalize;
  }

  .portrait  .overlay-text-br p{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44vh;
    height: 10vh;
    transform: translate(-105%, -7%);
    font-size: 7.5vh;
  }

  .portrait .overlay-text p {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35vh;
    height: 42vh;
    transform: translate(61%, 23%);
    font-size: 6vh;
  }



  
  /*Image*/
.file-input{
  position: relative;
}
#file{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
#upload, .btn-red{
  display: block;
  width: 100%;
  border-radius: 0.2em;
  padding: 10px 25px;
  border: 0;
  margin: 0 auto;
  font-size: 15px;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: #f40009;
  color: #fff;
  outline: none;
  transition: .3s ease-in-out;
  margin: 0.5em auto 0 auto;
}
.btn-red{
  display: inline-block;

}
#upload:hover,
#upload:focus {
background: #bb0006;
}
#upload:active {
background: #b10006;
-webkit-transition: 0.1s ease-in-out;
transition: 0.1s ease-in-out;
}

#upload-wrapper{
  display: none;
}
#upload-wrapper.show{
  display: block;
}

#preview{
  display: none;
  margin: 0 auto;
  border: 2px #f40009 solid;
  border-radius: 0.2em;
  width: 80%;

}

#preview-image{
  display: block;
  min-width: 100%;
  width: 100%;
  height: auto;
}



.play-btn__svg{
  transition: 1s; 
  fill: #f40009; 
  opacity: .7;
}

.play-btn:hover .play-btn__svg {
  fill: #a41d33;
  opacity: 1;
}

#play > svg{
  height: 150px;
  width: 150px;
  
}