
@import 'https://fonts.googleapis.com/css?family=Lato:300,400,700';

button:focus {
  outline: none;
}

button:active {
  outline: none;
}

@font-face {
  font-family: 'Montserrat-Light';
  src: url(https://hapyak_demos.s3.amazonaws.com/fonts/Montserrat-Light.ttf);
}

body {
  overflow: hidden;
  margin: 0;
}

.background {
    height: 110vh;
    width: 100vw;
    background-image: url('https://hapyak_demos.s3.amazonaws.com/img/collage_mountains.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 20;
    margin-top: -2em;
}

.logo-login {
  display: block;
  width: 141px;
  padding-top: 30px;
  margin: 0 auto;
  margin-top: 10px;
}

.whole-container {
  height: 341px;
  width: 693px;
  margin: 0 auto;
  margin-top: 18vh;
}

.sign-in-container {
  width: 693px;
  height: 294px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.6);
}

h1 {
  font-family: Lato;
  font-weight: 400;
  font-size: 26px;
}

h2 {
  font-family: Lato;
  font-weight: 300;
  font-size: 20px;
}

h2.title-text {
  color: #ffffff;
  padding-bottom: 8px;
}

h2.log-in-card-title {
  color: #1892bf;
  margin-bottom: 5px;
}

p.description-text {
  font-family: Lato;
  font-weight: 100;
  font-size: 16px;
  color: #ffffff;
}

.sign-up-text {
  display: inline-block;
  width: 230px;
  height: 174px;
  padding: 62px 46px 68px 40px;
  opacity: 1;
  transition: opacity 1s linear;
}

.log-in-text {
  display: inline-block;
  width: 230px;
  height: 174px;
  padding: 62px 10px 68px 90px;
  opacity: 1;
  transition: opacity 1s linear;
  vertical-align: top;
}

.shift-button {
  width: 121px;
  height: 33px;
  border-radius: 3px;
  border: solid 1px #ffffff; 
  bottom: 0px;
  font-family: Montserrat-Light;
  font-size: 16px;
  color: #ffffff;
  background-color: rgba(0,0,0,0);
  margin-top: 20px;
}

.shift-button.sign-up {
  float: left;
}

.shift-button.log-in {
  float: right;
}

.log-in-card {
  position: relative;
  margin-top: -332px;
  transform: translateX(314px);
  width: 339px;
  height: 367px;
  background-color: #FFFFFF;
  box-shadow: 1px 2px 4px 0 rgba(0,0,0,0.5);
  z-index: 2;
}

.log-in-card-text {
  padding: 29px 38px 59px 32px;
}

.input-field {
  border: none;
  border-bottom: 2px solid #eaeaea;
  width: 262px;
  padding: 5px;
  margin-left: 4px;
  margin-top: 24px;
  font-family: Lato;
  font-weight: 300;
  font-size: 14px;
  color: #b4b4b4;
}

.username-field {
  background-image: url('username_icon.svg');
  background-repeat: no-repeat;
  background-position: 100% 50%;
}

.password-field {
  background-image: url('password_icon.svg');
  background-repeat: no-repeat;
  background-position: 100% 50%;
}

.top-field {
    margin-top: 44px;
}

/* .input-field:active {
  outline: none;
  border-bottom: 2px solid #1892bf;
} */

.input-field:focus {
  outline: none;
  border-bottom: 2px solid #1892bf;
  color: #444;
}

.log-in-button-container {
  position: relative;
  margin-top: 42px;
  margin-left: 152px;
}

.signup-button-container {
  position: relative;
  margin-top: 20px;
  margin-left: 160px;
  height: 36px;
}

.log-in-button-background {
  position: absolute;
  width: 121px;
  height: 31px;
  border-radius: 3px;
  background-color: #1892bf;
  border: solid 1px #1892bf;
  transition: transform 0.4s ease;
  transform: none;
}

.terms {
    width: 100%;
    padding-top: 4px;
}

.terms p {
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 10px;
    color: #9b9b9b;
    margin: 0;
    text-align: right;
}

.terms p a {
  text-decoration: none;
  color: #9b9b9b;
}

.terms p a:hover, 
.terms p a:active {
    color: #FA7737;
}

/* BLUE FILL SCREEN */

/* .log-in-button-container:hover .log-in-button-background,
.fill-screen {
    transform: scale(30, 60) translate(-0%, -10%);
}

.log-in-button-container:hover .log-in-button {
    color: #1892bf;
} */

.log-in-button {
  position: absolute;
  width: 120px;
  height: 30px;
  border-radius: 3px;
  background-color: transparent;
  border: solid 1px #1892bf;
  font-family: Montserrat-Light;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
}

p.reset-password-text {
  font-family: Montserrat-Light;
  font-size: 10px;
  color: #9b9b9b;
  margin-top: 53px;
  margin-left: 4px;
}

a.links {
  text-decoration: none;
}

p.reset-password-text:hover {
  color: #1892bf;
}

.move-left {
  transform: translateX(40px);
  margin-top: -350px;
  height: 400px;
  transition: transform 1s ease, height 1s ease, margin-top 1s ease;
}

.move-right {
  transform: translateX(314px);
  margin-top: -332px;
  height: 367px;
  transition: transform 1s ease, height 1s ease, margin-top 1s ease;
}

.fill-screen {
  color: #1892bf;
  height: 200vh;
  width: 200vw;
  transform: translateX(-40%) translateY(-40%);
  transition: transform .5s cubic-bezier(.59,.13,.69,1.03), height .5s cubic-bezier(.59,.13,.69,1.03), width .5s cubic-bezier(.59,.13,.69,1.03);
}

.form-fields {
/*  display: inline-block;*/
  opacity: 1;
  transition: opacity .5s linear;
}

.fade-text {
  opacity: 0;
  transition: opacity .1s linear;
}

.fade-card {
  opacity: 0;
  transition: opacity 0s linear;
}

.input-1{
  width: 100%
}

.input-2{
  width: 44%;
  display: inline-flex;
}

.signup-card-text{
  padding: 7px 38px 4px 32px;
  margin-top: 2em;
}

.move-up {
  transform: translateY(-100%);
}

#loadingScreen{
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
}

.typeform-widget {
  margin: 0 auto;
  margin-top: 80px;
}

.bottom{
  z-index: -9999;
}

.bring-to-top{
  z-index: 10000;
}

.animation-container {  
  width: 600px;
  height: 400px;
  margin: 0 auto;
  position: relative;
  background-color: #FFF;
  top: 250px;
  margin-top: -200px;
  text-align: center;
}

.fade-in{
  animation: fade-in .5s;
  -webkit-animation: fade-in .5s;
  -moz-animation: fade-in .5s;
}

#loginSubmit{
  position: absolute;
  bottom: 1em;
  background-color: #afb8bb;
  left: 50%;
  margin-left: -10em;
  width: 20em
  
}

#loginSubmit:after{
  content: 'BUILDING YOUR HAPYAK ACCOUNT';
  width: 20em;
}

#loginSubmit.ready{
  background-color: #1892BF;
}

#loginSubmit.ready:after{
  content: 'CONTINUE'

}

@keyframes fade-in{
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@-webkit-keyframes fade-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@-moz-keyframes fade-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

#progressBar {
    width: 90%;
    height: 22px;
    border: 1px solid #111;
    background-color: #292929;
    position: absolute;
    bottom: 4em;
    margin-left: 5%;
    border-radius: 5px;
}
#progressBar div {
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 22px; /* same as #progressBar height if we want text middle aligned */
    width: 0;
    background: rgb(30,87,153); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(30,87,153,1) 0%, rgba(41,137,216,1) 50%, rgba(32,124,202,1) 51%, rgba(125,185,232,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    border-radius: 5px;
}

@-webkit-keyframes clockwise {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes clockwise {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes counter-clockwise {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@-moz-keyframes counter-clockwise {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
.container {
  position: absolute;
  top: 45%;
  height: 185px;
  width: 200px;
  margin-top: -92.5px;
  left: 0;
}

.gearbox {
  height: 185px;
  width: 200px;
  position: relative;
  border: none;
  overflow: hidden;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  transform: rotate(180deg);
}
.gearbox .overlay {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  -moz-box-shadow: inset 0px 0px 20px black;
  -moz-transition: background 0.2s;
  -o-transition: background 0.2s;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.gearbox.turn .overlay {
  background: transparent;
}

.gear {
  position: absolute;
  height: 60px;
  width: 60px;
  -moz-box-shadow: 0px -1px 0px 0px #888888, 0px 1px 0px 0px black;
  -webkit-box-shadow: 0px -1px 0px 0px #888888, 0px 1px 0px 0px black;
  box-shadow: 0px -1px 0px 0px #888888, 0px 1px 0px 0px black;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
}
.gear.large {
  height: 120px;
  width: 120px;
  -moz-border-radius: 60px;
  -webkit-border-radius: 60px;
  border-radius: 60px;
}
.gear.large:after {
  height: 96px;
  width: 96px;
  -moz-border-radius: 48px;
  -webkit-border-radius: 48px;
  border-radius: 48px;
  margin-left: -48px;
  margin-top: -48px;
}
.gear.one {
  top: 12px;
  left: 10px;
}
.gear.two {
  top: 61px;
  left: 60px;
}
.gear.three {
  top: 110px;
  left: 10px;
}
.gear.four {
  top: 13px;
  left: 128px;
}
.gear:after {
  content: "";
  position: absolute;
  height: 36px;
  width: 36px;
  -moz-border-radius: 36px;
  -webkit-border-radius: 36px;
  border-radius: 36px;
  background: #111;
  top: 50%;
  left: 50%;
  margin-left: -18px;
  margin-top: -18px;
  z-index: 3;
  -moz-box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1), inset 0px 0px 10px rgba(0, 0, 0, 0.1), inset 0px 2px 0px 0px #090909, inset 0px -1px 0px 0px #888888;
  -webkit-box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1), inset 0px 0px 10px rgba(0, 0, 0, 0.1), inset 0px 2px 0px 0px #090909, inset 0px -1px 0px 0px #888888;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1), inset 0px 0px 10px rgba(0, 0, 0, 0.1), inset 0px 2px 0px 0px #090909, inset 0px -1px 0px 0px #888888;
}

.gear-inner {
  position: relative;
  height: 100%;
  width: 100%;
  background: #555;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.large .gear-inner {
  -moz-border-radius: 60px;
  -webkit-border-radius: 60px;
  border-radius: 60px;
}
.gear.one .gear-inner {
  -webkit-animation: counter-clockwise 3s infinite linear;
  -moz-animation: counter-clockwise 3s infinite linear;
}
.gear.two .gear-inner {
  -webkit-animation: clockwise 3s infinite linear;
  -moz-animation: clockwise 3s infinite linear;
}
.gear.three .gear-inner {
  -webkit-animation: counter-clockwise 3s infinite linear;
  -moz-animation: counter-clockwise 3s infinite linear;
}
.gear.four .gear-inner {
  -webkit-animation: counter-clockwise 6s infinite linear;
  -moz-animation: counter-clockwise 6s infinite linear;
}
.gear-inner .bar {
  background: #555;
  height: 16px;
  width: 76px;
  position: absolute;
  left: 50%;
  margin-left: -38px;
  top: 50%;
  margin-top: -8px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.large .gear-inner .bar {
  margin-left: -68px;
  width: 136px;
}
.gear-inner .bar:nth-child(2) {
  -moz-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}
.gear-inner .bar:nth-child(3) {
  -moz-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  -webkit-transform: rotate(120deg);
  transform: rotate(120deg);
}
.gear-inner .bar:nth-child(4) {
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.gear-inner .bar:nth-child(5) {
  -moz-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}
.gear-inner .bar:nth-child(6) {
  -moz-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  -webkit-transform: rotate(150deg);
  transform: rotate(150deg);
}

img.yak-logo{
  position: absolute;
  right: 1em;
  top: 45%;
  margin-top: -75px;
}

hr.line {
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background-color: #dbdbdb;
}

.dot-container {
    position: absolute;
    width: 160px;
    left: 50%;
    top: 50%;
    margin-left: -82px;
}

.dot {
    margin-top: -1em;
    padding: .5em;
    animation: move-left-right 2s infinite;
    transform: rotate(45deg);
    background: #7A7A7A;
    border-radius: 2px;
    width: 5px;
    height: 5px;
}

/*div#signupFormFields {
    margin-top: -0.5em;
}*/

.log-in-card-text.login {
    padding: 45px 38px 59px 32px;
}



@-webkit-keyframes move-left-right {
    0% {
        transform: translateX(0%) rotate(45deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    99% {
        transform: translateX(150px) rotate(45deg);
    }
    100% {
        transform: translateX(0%) rotate(45deg);
        opacity: 0;
    }
}