.login-box {
  width: 100%;
  margin: auto;
  max-width: 525px;
  min-height: 580px;
  position: relative;
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.login-snip {
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 90px 70px 50px 70px;
}

.login-snip .login,
.login-snip .sign-up-form,
.login-snip .sign-up-trainer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  transition: all 0.4s linear;
}

.login-snip .sign-in, .login-snip .sign-in-trainer, .login-snip .sign-up,
.login-space .group .check {
  display: none;
}

.login-snip .tab,
.login-space .group .label,
.login-space .group .button {
  text-transform: uppercase;
}

.login-snip .tab {
  font-size: 22px;
  margin-right: 15px;
  padding-bottom: 5px;
  margin: 0 15px 10px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.login-snip .sign-in:checked+.tab, .login-snip .sign-in-trainer:checked+.tab,
.login-snip .sign-up:checked+.tab {
  color: var(--primary);
  border-color: var(--primary);
}

.login-space {
  min-height: 345px;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.login-space .group {
  margin-bottom: 15px;
}

.login-space .group .label,
.login-space .group .input,
.login-space .group .button {
  width: 100%;
  color: var(--primary);
  display: block;
  outline: none;
}

.login-space .group .button {
  color: #fff;
}

.login-space .group .input,
.login-space .group .button {
  border: none;
  padding: 15px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-space .group .label {
  color: #aaa;
  font-size: 15px;
}

.login-space .group label .icon {
  width: 15px;
  height: 15px;
  border-radius: 2px;
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
}

.login-space .group label .icon:before,
.login-space .group label .icon:after {
  content: "";
  width: 10px;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.2s ease-in-out 0s;
}

.login-space .group label .icon:before {
  left: 3px;
  width: 5px;
  bottom: 6px;
  transform: scale(0) rotate(0);
}

.login-space .group label .icon:after {
  top: 6px;
  right: 0;
  transform: scale(0) rotate(0);
}

.login-space .group .check:checked+label {
  color: #fff;
}

.login-space .group .check:checked+label .icon {
  background: #1161ee;
}

.login-space .group .check:checked+label .icon:before {
  transform: scale(1) rotate(45deg);
}

.login-space .group .check:checked+label .icon:after {
  transform: scale(1) rotate(-45deg);
}

.login-snip .sign-in:checked+.tab+.sign-up+.tab+.sign-in-trainer+.tab+.login-space .login {
  transform: rotate(0);
}

.login-snip .sign-up:checked+.tab+.sign-in-trainer+.tab+.login-space .sign-up-form {
  transform: rotate(0);
}

.login-snip .sign-in-trainer:checked+.tab+.login-space .sign-up-trainer {
  transform: rotate(0);
}

*,
:after,
:before {
  box-sizing: border-box;
}

.clearfix:after,
.clearfix:before {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hr {
  height: 2px;
  margin: 60px 0 50px 0;
  background: var(--primary);
}

.foot {
  text-align: center;
}

.card {
  width: 500px;
}

::placeholder {
  color: #b3b3b3;
}

.twoToneCenter {
  text-align: center;
}

.twoToneButton {
  display: inline-block;
  /* border: 1px solid darken(#212121, 50%); */
  outline: none;
  /* padding: 10px 20px; */
  /* line-height: 1.4; */
  /* background: #212121; */
  /* background: linear-gradient(
    to bottom,
    lighten(#212121, 20%) 0%,
    lighten(#212121, 15%) 50%,
    darken(#212121, 5%) 51%,
    darken(#212121, 2.5%) 100%
  ); */
  /* border-radius: 4px; */
  /* border: 1px solid darken(#212121, 30%); */
  /* color: lighten(silver, 10%); */
  /* text-shadow: darken(silver, 80%) -1px -1px 0px; */

  position: relative;
  transition: padding-right 0.3s ease;
  /* font-weight: 700; */
  /* box-shadow: 0 1px 0 lighten(#212121, 30%) inset,
    0px 1px 0 lighten(#212121, 10%); */
}

/* .twoToneButton:hover {
  box-shadow: 0 0 10px darken(#212121, 10%) inset,
    0px 1px 0 lighten(#212121, 10%);
  color: lighten(silver, 20%);
} */

/* .twoToneButton:active {
  box-shadow: 0 0 10px darken(#212121, 10%) inset,
    0px 1px 0 lighten(#212121, 10%);
  color: lighten(silver, 30%);
  background: darken(#212121, 10%);
  background: linear-gradient(
    to bottom,
    lighten(#212121, 10%) 0%,
    lighten(#212121, 5%) 50%,
    darken(#212121, 5%) 51%,
    darken(#212121, 10%) 100%
  );
} */

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #dee2e6;
  opacity: 0.5;
  border-radius: 25px;
  display: none;
}

.twoToneButton.spinning {
  /* background-color: #212121; */
  padding-right: 40px;
}

.twoToneButton.spinning:after {
  content: "";
  /* position: absolute; */
  right: 6px;
  top: 50%;
  width: 0;
  height: 0;
  box-shadow: 0px 0px 0 1px darken(#212121, 10%);
  position: absolute;
  border-radius: 50%;
  padding: 10px;
  animation: rotate360 0.5s infinite linear, exist 0.1s forwards ease;
}

.twoToneButton.spinning:before {
  content: "";
  width: 0px;
  padding: 10px;
  height: 0px;
  border-radius: 50%;
  right: 6px;
  top: 50%;
  /* position: absolute; */
  border: 2px solid darken(#212121, 40%);
  border-right: 3px solid var(--dark);
  animation: rotate360 0.5s infinite linear, exist 0.1s forwards ease;
}

@keyframes rotate360 {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes exist {
  100% {
    width: 15px;
    height: 15px;
    margin: -8px 5px 0 0;
  }
}

.toggle-password {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.toggle-password.left {
  left: 17px;
}

.toggle-password.right {
  right: 17px;
}

.commentBox {
  display: none;
}

.commentBox.activeBox {
  display: block;
}
