* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  background: #e3e3e3;
}
body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}
.container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 1280px;
  height: 733px;
  background: #FFF;
}
.flex-content {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.mdl-button {
  font-weight: 400 !important;
  text-transform: none !important;
}
.mdl-block-button {
  width: 100%;
  font-size: 20px;
  margin: 30px 0;
  padding: 3px 0;
  height: auto;
  border-radius: 5px;
}

/*Left aside*/
.left-aside {
  position: relative;
  width: 62.5%;
  height: 100%;
  background: -webkit-linear-gradient(45deg,  #4c248e 0%,#365dc3 100%);
  background: linear-gradient(45deg,  #4c248e 0%,#365dc3 100%);
}
.left-aside .landscape {
  width: 100%;
  height: 100%;
  background: url(../images/login-landscape.svg) no-repeat center center;
}
.left-aside .ani-dialog {
  position: absolute;
  width: 147px;
  height: 45px;
}
.left-aside .left-dialog {
  left: 32px;
  top: 276px;
  background: url(../images/left-dialog.svg) no-repeat center center;
  -webkit-animation: left-dialog-fade-in 4s infinite;
  animation: left-dialog-fade-in 4s infinite;
}
.left-aside .right-dialog {
  left: 592px;
  top: 423px;
  background: url(../images/right-dialog.svg) no-repeat center center;
  -webkit-animation: right-dialog-fade-in 4s infinite;
  animation: right-dialog-fade-in 4s infinite;
}
.left-aside .switch-language-area {
  position: absolute;
  left: 32px;
  bottom: 32px;
}
.left-aside .switch-language {
  color: #FFF;
  font-size: 20px;
}

/*Right aside*/
.right-aside {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}
.right-aside .aside-section {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  padding: 32px 64px;
  height: 100%;
  background: #FFF;
}
.right-aside .hello {
  color: #27aae1;
  font-weight: bold;
  margin-top: 48px;
  margin-bottom: 10px;
}
.right-aside .hello:first-child {
  margin-top: 75px;
}
.right-aside .welcome {
  font-size: 16px;
  font-weight: 400;
  color: #27aae1;
  margin: 0 0 40px;
}
.right-aside .login-with {
  text-align: center;
}
.right-aside .or-login-with {
  font-size: 14px;
  color: #999;
  margin-bottom: 25px;
}
.right-aside .login-methods {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.right-aside .login-methods img {
  display: block;
  margin: 0 auto 8px;
}
.right-aside .login-methods span {
  font-size: 12px;
  color: #999;
}
.right-aside .login-method {
  cursor: pointer;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
}
.right-aside .login-method:hover {
  opacity: .7;
}
.right-aside .agreed-tos, .right-aside .agreed-tos a, .right-aside .agreed-tos .mdl-checkbox__label {
  font-size: 14px;
  color: #999;
}

#back-to-phone-button {
  color: #999;
  margin-left: -16px;
}
.phone-login .phone-field,
.phone-login .code-field {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

@media screen and (max-width: 1281px), (max-height: 734px) {
  .container {
    width: 1000px;
    height: 572px;
  }
  .left-aside .ani-dialog {
    width: 92px;
    height: 28px;
  }
  .left-aside .left-dialog {
    left: 50px;
    top: 230px;
  }
  .left-aside .right-dialog {
    left: 465px;
    top: 343px;
  }
  .right-aside .aside-section {
    padding: 16px 32px;
  }
  .right-aside .hello:first-child {
    margin-top: 25px;
  }
}


@-webkit-keyframes left-dialog-fade-in {
  0%, 30%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 0;
  }
  75% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
  }
}



@keyframes left-dialog-fade-in {
  0%, 30%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 0;
  }
  75% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
  }
}

@-webkit-keyframes right-dialog-fade-in {
  0%, 25%, 100% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
  }
  50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  90% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes right-dialog-fade-in {
  0%, 25%, 100% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
  }
  50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  90% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 0;
  }
}

@-webkit-keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInY {
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

@-webkit-keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }
  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutY {
  from {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }
  to {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

.flipOutY {
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY;
}