@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,700);
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500&display=swap");
:root {
  --color-v: #7f71fe;
  --color-b: #1d015a;
}

body {
  margin: 40px;
  background-color: var(--color-b);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Raleway", sans-serif;
}

a {
  color: var(--color-v);
  text-decoration: none;
  cursor: pointer;
}

@keyframes chart {
  from {
    stroke-dashoffset: 245;
  }
  to {
    stroke-dashoffset: 58;
  }
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(359deg);
  }
  to {
    -webkit-transform: rotate(0deg);
  }
}
@keyframes aopacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes logo {
  0%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%, 90% {
    -moz-transform: translateY(-70px);
    -ms-transform: translateY(-70px);
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px);
  }
}
.m-restart {
  color: var(--color-v);
  position: absolute;
  top: 60px;
  right: 3px;
  font-size: 50px;
  cursor: pointer;
  display: none;
}
.m-restart:hover {
  color: #94cd77;
}

.m-layout {
  position: relative;
  width: 375px;
  height: 667px;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  border: 4px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(0deg, rgba(4, 158, 116, 0.3), rgba(255, 255, 215, 0.02));
  box-shadow: 0px 32px 47px rgba(32, 23, 23, 0.09);
}

.m-links-bottom {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  font-size: 14px;
  text-align: center;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.m-links-bottom a {
  opacity: 0.5;
}
.m-links-bottom a:hover {
  opacity: 1;
}

.m-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  -moz-transition: all 1.2s;
  -o-transition: all 1.2s;
  -webkit-transition: all 1.2s;
  transition: all 1.2s;
}
.m-container--login {
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.m-container--register {
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
.m-container--start {
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}

.m-logo {
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  top: 19px;
  left: 28px;
}

.m-login {
  line-height: 48px;
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 4;
}
.m-login:hover .a-login-img {
  border: 2px solid var(--color-v);
}

.m-login-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 235, 0.02);
  position: relative;
  top: 10px;
  left: -5px;
  box-sizing: border-box;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.m-menu {
  display: flex;
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  font-size: 30px;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  transition-delay: 1.5s;
  -moz-transform: translateY(60px);
  -ms-transform: translateY(60px);
  -webkit-transform: translateY(60px);
  transform: translateY(60px);
}

.m-menu_link {
  width: 25%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-menu_link--active {
  color: #94cd77;
}

.m-form, .m-content {
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
}

.m-form_title, .m-title {
  width: 100%;
  font-size: 26px;
  margin: 0 0 20px;
}

.m-form_group {
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
  padding-bottom: 18px;
}

.m-form_link {
  text-align: center;
}

.m-form_input {
  width: 100%;
  appearance: none;
  outline: 0;
  line-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  padding: 0 15px;
  display: block;
  font-size: 18px;
  box-sizing: border-box;
  color: #fff;
  font-weight: 300;
}

.m-form_label {
  display: block;
  margin-bottom: 10px;
}

.m-form_checkbox input {
  display: none;
}
.m-form_checkbox input:checked + label:after {
  background-color: var(--color-v);
}
.m-form_checkbox label {
  position: relative;
  padding-left: 25px;
}
.m-form_checkbox label:after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.m-form_checkbox label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-sizing: border-box;
  border: solid 3px rgba(255, 255, 255, 0.09);
}

.m-form_btn {
  appearance: none;
  outline: 0;
  background-color: var(--color-v);
  border: 0;
  margin-top: 15px;
  line-height: 44px;
  padding: 0 15px;
  color: #fff;
  font-weight: 500;
  border-radius: 3px;
  width: 100%;
  cursor: pointer;
  font-size: 18px;
  text-align: center;
}

.m-title {
  margin: 0 0 10px;
}
.m-title--2 {
  font-size: 20px;
  margin: 25px 0 15px;
}

.m-text {
  margin: 0 0 25px;
}

.m-flex {
  display: flex;
  margin: 0 -25px;
}

.m-box {
  padding: 20px;
  width: 100%;
  height: 100px;
  margin: 5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-box--1 {
  background: linear-gradient(135deg, #9a0dfe, #637dfb);
  box-shadow: 0 2px 12px -3px #9a0dfe;
}
.m-box--2 {
  background: linear-gradient(135deg, #ff66cc, #f88162);
  box-shadow: 0 2px 12px -3px #f1626f;
}
.m-box--3 {
  background: linear-gradient(135deg, #3bbca5, #1fa3ca);
  box-shadow: 0 2px 12px -3px #3bbca5;
}
.m-box p {
  font-size: 14px;
  margin: 0;
  white-space: nowrap;
}

.m-box_content {
  display: flex;
  align-items: center;
  width: 100%;
}

.m-box_text {
  width: 100%;
}

.m-box_title {
  font-size: 20px;
  margin: 0 0 7px;
}

.m-box--group {
  width: 100%;
  height: 75px;
}
.m-box--group .m-box_content {
  flex-direction: column;
}
.m-box--group .m-box_title {
  font-size: 15px;
  font-weight: 500;
}
.m-box--group p {
  font-size: 12px;
}

.m-progress {
  position: relative;
}

.m-progress_text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #94cd77;
}

.m-progress_svg {
  display: block;
  overflow: initial;
  width: 80px;
  height: 80px;
  -moz-transform: rotate(-85deg);
  -ms-transform: rotate(-85deg);
  -webkit-transform: rotate(-85deg);
  transform: rotate(-85deg);
}

.m-slider {
  margin: 0 -30px;
}

.swiper-container {
  width: 100%;
  height: 114px;
}

.swiper-slide {
  width: 160px;
}

.m-slide {
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  background: #2d1862;
  border: 1px solid var(--color-v);
  height: 90px;
  border-radius: 3px;
  box-shadow: 0px 3px 20px 13px rgba(0, 0, 0, 0.1);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}

.m-slide_title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  opacity: 0;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}

.m-slide_time {
  color: var(--color-v);
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}

.swiper-slide-active .m-slide_title, .swiper-slide-active .m-slide_time {
  opacity: 1;
}
.swiper-slide-active .m-slide {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
  background-color: var(--color-b);
  box-shadow: 0 2px 12px -3px black;
}

.swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-left {
  display: none;
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 0;
}

.swiper-pagination-bullet {
  background: var(--color-v);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--color-v);
}

.m-svg {
  position: absolute;
  top: -700px;
  left: -700px;
  z-index: 1;
  -webkit-animation: rotation 120s infinite linear;
}
.m-svg svg {
  height: 2000px;
}
.m-svg svg g circle {
  -webkit-animation: aopacity 3s 3s infinite linear;
}
.m-svg svg g:nth-child(2n) circle {
  -webkit-animation: aopacity 7s infinite linear;
}

.m-form_print {
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
}
.m-form_print svg {
  stroke-width: 4;
  width: 60px;
}
.m-form_print svg .path-1 path {
  stroke: rgba(255, 255, 255, 0.15);
}
.m-form_print svg .path-2 path {
  stroke: var(--color-v);
  stroke-dashoffset: 120;
  stroke-dasharray: 120;
  -moz-transition: all 3s;
  -o-transition: all 3s;
  -webkit-transition: all 3s;
  transition: all 3s;
}
.m-form_print svg:hover .path-2 path {
  stroke-dashoffset: 0;
}

.m-layout.openRegister .m-container--login {
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
.m-layout.openRegister .m-container--register {
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.m-layout.openLogin .m-container--login {
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.m-layout.openLogin .m-container--register {
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
.m-layout.openStart + .m-restart {
  display: block;
}
.m-layout.openStart .m-logo {
  animation: logo 1.5s linear forwards;
}
.m-layout.openStart .m-menu {
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.m-layout.openStart .m-links-bottom {
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
}
.m-layout.openStart #fillcircle {
  animation: chart 500ms 0.8s linear forwards;
}
.m-layout.openStart .m-container--login {
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}
.m-layout.openStart .m-container--register {
  -moz-transform: translateY(100%) translateX(100%);
  -ms-transform: translateY(100%) translateX(100%);
  -webkit-transform: translateY(100%) translateX(100%);
  transform: translateY(100%) translateX(100%);
}
.m-layout.openStart .m-container--start {
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.m-layout.openStart.openRegister .m-container--login {
  -moz-transform: translateX(-100%) translateY(100%);
  -ms-transform: translateX(-100%) translateY(100%);
  -webkit-transform: translateX(-100%) translateY(100%);
  transform: translateX(-100%) translateY(100%);
}
.m-layout.openStart.openRegister .m-container--register {
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

@media (max-width: 480px) {
  body {
    margin: 0;
  }

  .m-layout {
    border: none;
    width: 100%;
  }
}