body {
  margin: 0;
  padding: 0;
}

.app {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../images/fondoLogin.svg");
  /*background-image: url("../../images/fondoLogin.svg");*/
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
  display: flex;
}

/* parte iszqueirda */
.poster-content {
  position: relative;
  width: 60%;
  height: 100vh;
  display: none;
}

.poster-header img {
  width: 25%;
  padding-top: 10px;
  padding-left: 15px;
}

.poster-cuerpo {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.poster-cuerpo img {
  position: absolute;
  width: 70%;
}

/* parte derecha */
.login-container {
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.form_content_field {
  display: flex;
  flex-direction: column;
}

.title {
  text-align: center;
  font-size: 2rem;
  color: #004cbb;
}

label {
  font-weight: 600;
}

form {
  position: relative;
  width: 65%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
  user-select: none;
}

.form_field {
  width: 80%;
  height: 70px;
  display: flex;
  flex-direction: column;
}

.form_field-Opcion {
  width: 80%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.form_field-Opcion p {
  margin: 0;
  margin-bottom: 10px;
  font-weight: 400;
  cursor: pointer;
  font-size: 1rem;
}

input[type="password"],
input[type="text"],
button[type="submit"],
.error-message {
  height: 50px;
  background-color: #f0f0f0;
  border-radius: 5px;
  border: none;
  font-size: 1.4rem;
}

input[type="text"] {
  background-image: url("../img/account.svg");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: 10px center;
  /*padding-left: 40px;*/
}

input[type="password"] {
  background-image: url("../img/locket.svg");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: 10px center;
  /*padding-left: 40px;*/
}

.form_field-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

button[type="submit"] {
  height: 50px;
  background-color: #4972fe;
  color: white;
  font-weight: 800;
  width: 250px;
  transition-duration: 1s;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #7f9bf8;
  transition-duration: 0.5s;
}

.error-message {
  width: 100%;
  background-color: #ffbebe;
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shake 0.5s ease-in-out;
  animation-iteration-count: 1;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(10px);
  }
  75% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

/*pc*/

@media (min-width: 1000px) {
  form {
    background-color: transparent;
  }
  .login-container {
    width: 40%;
    border-radius: 100px 0px 0px 100px;
    -webkit-box-shadow: -16px 16px 49px -39px rgba(0, 0, 0, 0.27);
    -moz-box-shadow: -16px 16px 49px -39px rgba(0, 0, 0, 0.27);
    box-shadow: -16px 16px 49px -39px rgba(0, 0, 0, 0.27);
  }

  .poster-content {
    display: flex;
    flex-direction: column;
  }

  .title {
    transform: translateY(-84px);
    font-size: 3rem;
    text-align: center;
    transition-duration: 1;
  }

  .form_field-submit {
    transform: translateY(30px);
  }
}



