@import url(https://fonts.googleapis.com/css?family=Roboto:300);

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  color: #1b2b84;
}

.login-page {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

.form {
  min-width: 400px;
  width: 30%;
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

/* .form input {
  outline: 0;

  width: 100%;
  border: 0;
  margin: 0 0 30px;
  border-bottom: 1px solid #949494;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
} */


div.input {
  position: relative;
  margin-bottom: 30px;
}

.input input {
  width: 100%;
  font-size: inherit;
  font-family: inherit;
  background-color: transparent !important;
  border: 1px solid transparent;
  border-bottom-color: #949494;
  padding: 15px 0;
}

.input input:focus {
  outline: none;
}

.input input::placeholder {
  color: #949494;
}

.input span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #3f51b5;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.input input:focus ~ span {
  transform-origin: bottom left;
  transform: scaleX(1);
}

.input input:focus::placeholder {
  color: #3f51b5;
}

.form button {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #3f51b5;
  width: 60%;
  border: 0;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* .form button:hover,.form button:active,.form button:focus {
  background: #43A047;
} */

.form  button::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color: #556ae2;
  transform-origin: center;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.45s ease-in-out;
}


button:active::before {
  transform: translate(-50%, -50%) scale(15);
}

.links {
  margin-top: 50px;
}

.links a {
  text-decoration: none;
  color: #000;
}

.links a:hover {
  color: #556ae2;
}

.form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.form .message a {
  color: #4CAF50;
  text-decoration: none;
}
.form .register-form {
  display: none;
}

.login-title {
  margin: 100px 0;
}


#error {color: #EF3B3A}

.content {
  position: relative;
  flex: 1;
  background: #c9edff;
  background: url(/ytdn/assets/login-bg4.png?t=4);
  background-size: cover;
  padding: 100px 100px;
  text-align: center;
  color: #1b2b84;
  /* text-shadow: 2px 2px 1px #FFFFFF; */
}

.content h1 {
  font-size: 3rem;
  font-weight: normal;
}

.content h2 {
  font-weight: normal;
  font-size: 2rem;
}

.logo {
  width: 180px;
}

.copy {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.5rem;
  opacity: 0.4;
}

.guide {
  font-size: 1.5rem;

}

.content-link {
  color: #3f51b5;
  text-decoration: none;
}

.content-link:hover {
  text-decoration: underline;
}

.copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 80%;
  width: 408px;
}
.copyright>a {
  color: blue;
}

.guideContent {
  padding: 5px;
  color: black;
  background: #ffffff4d;
  margin-top: 200px;
}

/** Small screen **/
@media (max-width: 768px) {
  .login-page {
    flex-direction: column;
  }

  .form {
    width: 100%;
    min-width: unset;
    padding: 15px;
  }

  .content {
    width: 100%;
    padding: 15px;

  }
}
