.bgp {
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: #213242;
}
.seccion-login {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 480px;
  min-height: 480px;
  height: auto;
  padding: 40px 0;
  border-radius: 10px;
  background-color: #ceaa7d;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.btn_left {
  position: absolute;
  top: 20px;
  left: 20px;
}
.btn_left img {
  width: 25px;
  height: 25px;
}
.content-logo {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.content-logo h1 {
  margin: 20px 0 0 0;
  font-family: logo;
  font-size: 33px;
  color: #213242;
}
.content-logo img {
  width: 64px;
  height: 80px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.txt_email {
  font-family: r;
  text-align: center;
  color: #213242;
  font-size: 15px;
}
.datos {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 300px;
  align-items: center;
  isolation: isolate;
}
.datos label {
  display: flex;
  width: 100%;
  height: 40px;
}
.usuario-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: 10px;
  z-index: -1;
  pointer-events: none;
  box-shadow: rgba(33, 50, 66, 0.2) 0px 1px 4px;
}
input {
  font-family: r;
  font-size: 12px;
  color: #213242;
  width: 100%;
  margin-inline: 20px;
  background: none;
  border: none;
}

input:focus {
  outline: none;
}
::placeholder {
  font-family: r;
  font-size: 12px;
  color: #213242;
}
input:focus ~ .usuario-bg {
  border: 1px solid #213242;
  background: transparent;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition: "color 9999s ease-out, background-color 9999s ease-out";
  -webkit-transition-delay: 9999s;
}
.bg_boton {
  display: flex;
  justify-content: center;
}
.msg_form {
  font-family: b;
  color: #213242;
  font-size: 1.5rem;
}
.boton {
  position: relative;
  width: 160px;
  height: 30px;
  background: linear-gradient(to right, #213242, #141f29);
  border-radius: 10px;
  border: none;
  overflow: hidden;
  cursor: pointer;
}
.boton h2 {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
  display: inline-flex;
  align-items: center;
  font-family: r;
  font-size: 12px;
  color: #ceaa7d;
}
.boton::before,
.boton::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.boton::before {
  content: "";
  background: #213242;
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}
.boton:hover::before {
  transform: translate3d(100%, 0, 0);
}
.boton:active {
  transform: scale(0.95);
}
.recover {
  text-decoration: none;
  font-family: r;
  font-size: 12px;
  color: #213242;
}
.recover:hover {
  font-weight: bold;
}
.txt_error {
  font-family: r;
  text-align: center;
  color: #213242;
  font-size: 15px;
}
footer {
  font-family: r;
  color: #213242;
  font-size: 12px;
}
footer a {
  font-family: b;
  color: #213242;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* code */
.form_confirm input[type="number"]::-webkit-inner-spin-button,
.form_confirm input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form_confirm .confirm_container {
  display: flex;
  justify-content: center;
  align-content: center;
}
.form_confirm span {
  font-family: r;
  color: #213242;
  text-align: center;
}
.form_confirm input[type="number"] {
  border: 1px solid #2132429c;
  color: #213242;
  isolation: isolate;
  inset: 0;
  width: 30px;
  height: 50px;
  text-align: center;
  border-radius: 5px;
  box-shadow: rgb(33 50 66 / 20%) 0px 1px 4px;
  font-family: b;
  font-size: 1.1rem;
}
/* code */
@media (min-width: 481px) and (max-width: 767px) {
  .seccion-login {
    width: 420px;
    height: 360px;
    gap: 20px;
  }
  .btn_left img {
    width: 20px;
    height: 20px;
  }
  .content-logo h1 {
    margin: 20px 0 0 0;
    font-size: 33px;
  }
  .content-logo img {
    width: 64px;
    height: 80px;
  }
  form {
    gap: 20px;
  }
  .txt_email {
    font-size: 13px;
  }
  .datos {
    width: 300px;
  }
  .datos label {
    height: 40px;
  }
  input {
    font-size: 12px;
  }
  ::placeholder {
    font-size: 12px;
  }
  .boton {
    width: 160px;
    height: 30px;
  }
  .boton h2 {
    font-size: 12px;
  }
  .recover {
    font-size: 12px;
  }
  .txt_error {
    font-size: 12px;
  }
}
@media (min-width: 320px) and (max-width: 480px) {
  .seccion-login {
    width: 300px;
    height: 340px;
    gap: 20px;
  }
  .btn_left img {
    width: 20px;
    height: 20px;
  }
  .content-logo h1 {
    margin: 10px 0 0 0;
    font-size: 20px;
  }
  .content-logo img {
    width: 40px;
    height: 50px;
  }
  form {
    gap: 20px;
  }
  .txt_email {
    font-size: 13px;
  }
  .datos {
    width: 260px;
  }
  .datos label {
    height: 30px;
  }
  input {
    font-size: 12px;
  }
  ::placeholder {
    font-size: 12px;
  }
  .boton {
    width: 140px;
    height: 25px;
  }
  .boton h2 {
    font-size: 12px;
  }
  .recover {
    font-size: 12px;
  }
  .txt_error {
    font-size: 12px;
  }
}

