@font-face {
  font-family: m;
  src: url("../font/m/Montserrat-Regular.otf");
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  display: none;
}

/* Sección principal */

.bgp {
  position: relative;
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: #213242;
}
.figura_1 {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 369px;
  height: 375px;
  background: url(../../rg/img/figura_1.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.figura_2 {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 1016px;
  height: 804px;
  background: url(../../rg/img/figura_2.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.figura_3 {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: 306px;
  height: 311px;
  background: url(../../rg/img/figura_3.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Sección login */

.seccion-login {
  position: fixed;
  display: flex;
  flex-direction: column;
  width: 540px;
  height: 400px;
  border-radius: 30px;
  background-color: #E1B783;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.content-logo {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.content-logo h1 {
  font-family: m;
  font-size: 40px;
  color: #213242;
}
.content-logo img {
  width: 80px;
  height: 80px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
form > p{
  font-size: 12px;
  font-family: m;
  text-align: center;
  color: #213242;
}
.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: 30px;
  z-index: -1;
  pointer-events: none;
  box-shadow: rgba(33, 50, 66, 0.3) 0px 1px 4px;
}
input {
  font-family: m;
  font-size: 15px;
  color: #213242;
  width: 100%;
  margin-inline: 20px;
  background: none;
  border: none;
}

input:focus {
  outline: none;
}

::placeholder {
  font-family: m;
  font-size: 15px;
  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;
}
.boton {
  position: relative;
  width: 200px;
  height: 40px;
  background: linear-gradient(to right, #213242, #000);
  border-radius: 30px;
  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: m;
  font-size: 15px;
  color: #E1B783;
}

.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: m;
  font-size: 15px;
  color: #213242;
}
.recover:hover {
  font-weight: bold;
}
#modalInformacionCliente{
  display: none;
}
.modal-back{
  position: fixed;
  background-color: rgba(0, 0, 0, 0.521);
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.modal{
  background-color: #fff;
  width: 50%;
  border-radius: 5px;
}
.modal .modal-header{
  padding: 20px;
  font-family: m;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
}
.modal .modal-header{
  padding: 20px;
  font-family: m;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
}
.modal-header .modal-btn-close{
  cursor: pointer;
}
.modal .modal-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  font-family: m;
  font-size: 12px;
  text-align: center;
}
.modal .modal-footer{
  padding: 20px;
  font-family: m;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #ddd;
  font-size: 14px;
}

@media (min-width: 1367px) {
  .figura_1 {
    width: 277px;
    height: 281px;
  }
  .figura_2 {
    width: 761px;
    height: 603px;
  }
  .figura_3 {
    width: 230px;
    height: 233px;
  }
  .seccion-login {
    width: 540px;
    height: 400px;
    border-radius: 30px;
    gap: 30px;
  }
  .content-logo {
    gap: 10px;
  }
  .content-logo h1 {
    font-size: 40px;
  }
  .content-logo img {
    width: 80px;
    height: 80px;
  }
  form {
    gap: 20px;
  }
  .datos {
    width: 300px;
  }
  .datos label {
    height: 40px;
  }
  .usuario-bg {
    border-radius: 30px;
  }
  input {
    font-size: 15px;
    margin-inline: 20px;
  }
  ::placeholder {
    font-size: 15px;
  }
  input:focus ~ .usuario-bg {
    border: 1px solid #213242;
  }
  .boton {
    width: 200px;
    height: 40px;
    border-radius: 30px;
  }
  .boton h2 {
    font-size: 15px;
  }
  .recover {
    font-size: 15px;
  }
}

@media (min-width: 1281px) and (max-width: 1366px) {
  .figura_1 {
    width: 277px;
    height: 281px;
  }
  .figura_2 {
    width: 761px;
    height: 603px;
  }
  .figura_3 {
    width: 230px;
    height: 233px;
  }
  .seccion-login {
    width: 480px;
    height: 360px;
    border-radius: 20px;
    gap: 20px;
  }
  .content-logo {
    gap: 10px;
  }
  .content-logo h1 {
    font-size: 30px;
  }
  .content-logo img {
    width: 50px;
    height: 50px;
  }
  form {
    gap: 20px;
  }
  .datos {
    width: 280px;
  }
  .datos label {
    height: 35px;
  }
  input {
    font-size: 12px;
    margin-inline: 20px;
  }
  ::placeholder {
    font-size: 12px;
  }
  input:focus ~ .usuario-bg {
    border: 1px solid #213242;
    background: transparent;
  }
  .boton {
    width: 200px;
    height: 35px;
    border-radius: 30px;
  }
  .boton h2 {
    font-size: 12px;
  }
  .recover {
    font-size: 12px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .figura_1 {
    width: 221px;
    height: 225px;
  }
  .figura_2 {
    width: 609px;
    height: 482px;
  }
  .figura_3 {
    width: 184px;
    height: 187px;
  }
  .seccion-login {
    width: 400px;
    height: 300px;
    border-radius: 20px;
    gap: 20px;
  }
  .content-logo {
    gap: 10px;
  }
  .content-logo h1 {
    font-size: 25px;
  }
  .content-logo img {
    width: 40px;
    height: 40px;
  }
  form {
    gap: 20px;
  }
  .datos {
    width: 260px;
  }
  .datos label {
    height: 30px;
  }
  input {
    font-size: 10px;
    margin-inline: 20px;
  }
  ::placeholder {
    font-size: 10px;
  }
  input:focus ~ .usuario-bg {
    border: 1px solid #213242;
    background: transparent;
  }
  .boton {
    width: 180px;
    height: 30px;
    border-radius: 30px;
  }
  .boton h2 {
    font-size: 10px;
  }
  .recover {
    font-size: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .figura_1 {
    width: 166px;
    height: 168px;
  }
  .figura_2 {
    width: 457px;
    height: 361px;
  }
  .figura_3 {
    width: 138px;
    height: 140px;
  }
  .seccion-login {
    width: 400px;
    height: 300px;
    border-radius: 20px;
    gap: 20px;
  }
  .content-logo {
    gap: 10px;
  }
  .content-logo h1 {
    font-size: 25px;
  }
  .content-logo img {
    width: 40px;
    height: 40px;
  }
  form {
    gap: 20px;
  }
  .datos {
    width: 260px;
  }
  .datos label {
    height: 30px;
  }
  input {
    font-size: 10px;
    margin-inline: 20px;
  }
  ::placeholder {
    font-size: 10px;
  }
  input:focus ~ .usuario-bg {
    border: 1px solid #213242;
    background: transparent;
  }
  .boton {
    width: 180px;
    height: 30px;
    border-radius: 30px;
  }
  .boton h2 {
    font-size: 10px;
  }
  .recover {
    font-size: 10px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .figura_1 {
    width: 104px;
    height: 106px;
  }
  .figura_2 {
    width: 286px;
    height: 226px;
  }
  .figura_3 {
    width: 86px;
    height: 88px;
  }
  .seccion-login {
    width: 300px;
    height: 225px;
    border-radius: 20px;
    gap: 20px;
  }
  .content-logo {
    gap: 10px;
  }
  .content-logo h1 {
    font-size: 20px;
  }
  .content-logo img {
    width: 30px;
    height: 30px;
  }
  form {
    gap: 10px;
  }
  form > p{
    font-size: 10px;
  }
  .datos {
    width: 220px;
  }
  .datos label {
    height: 25px;
  }
  input {
    font-size: 10px;
    margin-inline: 20px;
  }
  ::placeholder {
    font-size: 8px;
  }
  input:focus ~ .usuario-bg {
    border: 1px solid #213242;
    background: transparent;
  }
  .boton {
    width: 150px;
    height: 25px;
    border-radius: 30px;
  }
  .boton h2 {
    font-size: 8px;
  }
  .recover {
    font-size: 8px;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .figura_1 {
    width: 68px;
    height: 69px;
  }
  .figura_2 {
    width: 188px;
    height: 149px;
  }
  .figura_3 {
    width: 57px;
    height: 58px;
  }
  .seccion-login {
    width: 267px;
    height: 200px;
    border-radius: 10px;
    gap: 10px;
  }
  .content-logo {
    gap: 5px;
  }
  .content-logo h1 {
    font-size: 15px;
  }
  .content-logo img {
    width: 25px;
    height: 25px;
  }
  form {
    gap: 10px;
  }
  form > p{
    font-size: 8px;
  }
  .datos {
    width: 200px;
  }
  .datos label {
    height: 25px;
  }
  input {
    font-size: 8px;
    margin-inline: 15px;
  }
  ::placeholder {
    font-size: 8px;
  }
  input:focus ~ .usuario-bg {
    border: 1px solid #213242;
    background: transparent;
  }
  .boton {
    width: 120px;
    height: 25px;
    border-radius: 30px;
  }
  .boton h2 {
    font-size: 8px;
  }
  .recover {
    font-size: 8px;
  }
}

