@font-face {
  font-family: "EuclidSquare-Light";
  src: url(/fonts/EuclidSquare/EuclidSquare-Light.ttf);
}
@font-face {
  font-family: "EuclidSquare-Regular";
  src: url(/fonts/EuclidSquare/EuclidSquare-Regular.ttf);
}
@font-face {
  font-family: "EuclidSquare-Medium";
  src: url(/fonts/EuclidSquare/EuclidSquare-Medium.ttf);
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}
@keyframes submit {
  0% {
    transform: translate(-40%, -50%) scale(1);
  }
  20% {
    transform: translate(-40%, -50%) scale(.7);
  }
  70% {
    transform: translate(-40%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-40%, -50%) scale(1);
  }
}
html, body {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  background-image: url(/images/elements/waves2.png);
  background-repeat: no-repeat;
  background-size: 100% 500px;
  background-position: bottom left;
}
.logo {
  position: absolute;
  background-image: url(/images/elements/offly.png);
  background-size: cover;
  left: 0;
  top: 0;
  width: 130px;
  height: 80px;
  float: left;
}
.form {
  position: relative;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  margin-left: -250px;
  margin-top: -250px;
  background: #fff;
  border-radius: 60px;
  border: 1px solid transparent;
  box-shadow: 0 11px 34px 0 rgba(110, 110, 117, 0.16), 0 0 1px #ccc;
  z-index: 100;
}
.form .header {
  font-family: "EuclidSquare-Light";
  font-size: 50px;
  text-align: center;
  margin-top: 30px;
}
.form .input-box {
  position: relative;
  font-family: "EuclidSquare-Regular";
  text-align: left;
  margin-top: 30px;
  width: 400px;
  left: 50%;
  margin-left: -200px;
}
.form .input {
  width: 370px;
  padding: 15px;
  border: .5px solid #777;
  border-radius: 20px;
  outline: none !important;
  font-family: "EuclidSquare-Regular";
}
.form .input-text {
  display: block;
  font-size: 14px;
  width: 100%;
  margin-bottom: 4px;
}
.form .input-text span {
  color: #777;
  text-align: right;
  float: right;
}
.button {
  position: absolute;
  width: 160px;
  padding: 10px;
  font-family: "EuclidSquare-Light", Arial;
  font-size: 22px;
  color: #000 !important;
  background: #f6efec;
  border: 3px solid #000;
  border-radius: 30px;
  transition: background .1s ease-out;
  -webkit-tap-highlight-color: transparent;
  --gradient: linear-gradient(45deg, #57a4d6, #2397d1, #d4eeff);
}
.button::before {
  content: "";
  opacity: 0;
  transition: opacity .05s ease-out;
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  border-radius: 35px;
  background: var(--gradient);
  background-size: 400% 400%;
  animation: gradient 2s linear infinite;
  z-index: -1;
}
.button:hover::before {
  opacity: 1;
}
.button:hover {
  border: 3px solid transparent;
}
.button:active {
  background: #c6d9ec;
  border: 3px solid transparent;
}
.arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 34px;
  background-image: url(/images/elements/arrow1.png);
  background-size: 100%;
  transform: translate(-40%, -50%);
}
.button.submit {
  width: 48px;
  height: 48px;
  right: 0;
  float: right;
}
a {
  color: #509fef;
  font-family: "EuclidSquare-Regular", Arial;
}
.links {
  position: relative;
  left: 50px;
  top: 20px;
}
.links a {
  margin-right: 10px;
}
::selection {
  background: rgba(157, 157, 212, 0.4);
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(56, 75, 226, 0.3) inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
  -webkit-text-fill-color: #000 !important;
}
input:-webkit-autofill + .toggle-view:hover i, input:-webkit-autofill:hover + .toggle-view:hover i, input:-webkit-autofill:focus + .toggle-view:hover i, input:-webkit-autofill:active + .toggle-view:hover i {
  background: rgba(247, 247, 247, 0.5);
}
@media only screen and (max-width:600px) {
  .form {
    transform: scale(0.9);
  }
  body {
    background-size: 700px 300px;
  }
}
@media only screen and (max-width:500px) {
  .form {
    transform: scale(0.7);
  }
}
@media only screen and (max-width:400px) {
  .form {
    transform: scale(0.6);
  }
}
.button.submit.done {
  border-color: transparent;
  --gradient: linear-gradient(45deg, #387e1a, #4bb543, #b0f488);
}
.button.submit.done::before {
  opacity: 1;
}
.button.submit.done .arrow {
  background-image: url(/images/elements/checkmark.png);
  animation: submit .7s;
}
.error {
  position: relative;
  left: 50px;
  top: 30px;
  font-size: 14px;
  color: #ea6e55;
  font-family: "EuclidSquare-Regular", Arial;
  max-width: 80%;
}
.input.done {
  background: #ddd;
}
.toggle-view {
  position: absolute;
  top: 50%;
  right: 80px;
  color: #000;
}
.toggle-view:hover i {
  background: #f7f7f7;
  padding: 5px;
  margin: -5px;
  border-radius: 6px;
}
.bottom {
  position: fixed;
  width: 100%;
  height: 10px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2397d1;
}
.form.password-form, .form.verification-form {
  display: none;
}
.input.password, .input.code, .password-form .input {
  width: 310px;
}