@font-face {
  font-family: Poppins-Medium;
  src: url("fuentes/poppins/Poppins-Medium.ttf");
}

@font-face {
  font-family: Poppins-Bold;
  src: url("fuentes/poppins/Poppins-Bold.ttf");
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url("fuentes/poppins/Poppins-ExtraBold.ttf");
}

* {
  margin: 5;

  box-sizing: border-box;
}

.card-container {
  display: flex; /* Habilita el uso de flexbox */
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: center; /* Centra el contenido verticalmente */
}

h2 {
  color: black;
  margin: 0; /* Eliminar el margen predeterminado del h2 */
}



body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 5px 5px 0px 0;
  font-family: Poppins-ExtraBold, sans-serif;
background-image: linear-gradient( 90.2deg,  rgba(1,47,95,1) -0.4%, rgba(56,141,217,1) 106.1% );

  /* Imagen inicial y sombra
  background: 
    linear-gradient(rgba(45, 54, 121, 0.756), rgba(58, 91, 107, 0.8)), /* Sombra oscura */
    /* url('../img/f1.JPG') no-repeat center center; Imagen inicial */
  /* background-size: cover;
  background-blend-mode: overlay; Combina la sombra con la imagen */

  /* Suaviza el cambio de fondo */
  /*transition: background 2.9s ease-in-out;
  animation: changeBg 50.5s infinite;*/
  opacity: 1; 
  
}

.wrap-login {
  max-width: 500px; /* Ajusta según tus necesidades */
  margin: 1 auto;

  /* Fondo con transparencia */
  background-color: rgba(148, 148, 148, 0.551); /* Blanco con 80% de opacidad */
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)); /* Gradiente transparente */

  /* Sombras */
  box-shadow: 7px 10px 32px -12px #4a585f;

  /* Bordes y diseño */
  border-radius: 3.25rem;
  border: 1px solid rgba(5, 5, 5, 0.2); /* Bordes sutiles y semi-transparentes */
  overflow: hidden;

  /* Espaciado interno */
  padding: 8px 40px 10px 40px;
}


/* Keyframes para cambiar las imágenes de fondo con transición */
@keyframes changeBg {
  0% {
    background: 
      linear-gradient(rgba(45, 54, 121, 0.49), rgba(58, 91, 107, 0.8)),
      url('../img/f1.JPG') no-repeat center center;
    background-size: cover;
  }
  33% {
    background: 
      linear-gradient(rgba(45, 54, 121, 0.756), rgba(58, 91, 107, 0.8)),
      url('../img/f2.JPG') no-repeat center center;
    background-size: cover;
  }
  66% {
    background: 
      linear-gradient(rgba(45, 54, 121, 0.756), rgba(58, 91, 107, 0.8)),
      url('../img/f3.JPG') no-repeat center center;
    background-size: cover;
  }
  100% {
    background: 
      linear-gradient(rgba(45, 54, 121, 0.756), rgba(58, 91, 107, 0.8)),
      url('../img/f4.JPG') no-repeat center center;
    background-size: cover;
  }
}


.container-fluid {
  position: relative;
  overflow: hidden;
  display: flex;
  align-content: center;
   background-clip: border-box;
  border: 0 solid transparent;
  border-radius: 1.25rem;
  margin-bottom: 1.2rem;
  min-height: 90vh;
}

.row {
  width: 100%;
  height: 100%;
}

.col-md-8,
.col-md-4 {
  padding: 0;
}

.img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
 
}

.img img {
  max-width: 5%;

  margin-bottom: 20px;
}

input {
  outline: none;
  border: none;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

.responsive-img {
  max-width: 100%;
  height: 250px;
  display: block;
  margin: auto;
}

.container-login {
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 15px;
 
  background-clip: border-box;
  border: 0 solid transparent;
  border-radius: 1.25rem;
  margin-bottom: 1.2rem;
}
/*formulario*/



.login-form {
  width: 100%;
  height: 100%;
}

.login-form-title {
  display: block;
  font-family: Poppins-ExtraBold;
  font-size: 50px;
  color: #000000;
  line-height: 2;
  text-align: center;
}

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #240086;
  margin-bottom: 37px;
}

.input100 {
  font-family: Poppins-ExtraBold;
  font-size: 22px;
  color: #1900ff;
  line-height: 1.2;
  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px;
}

.focus-efecto {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-efecto::before {
  /*efecto de los inputs*/
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 4px;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  background: -o-linear-gradient(left, #21d4fd, #b721ff);
  background: -moz-linear-gradient(left, #21d4fd, #b721ff);
  background: linear-gradient(left, #21d4fd, #b721ff);
}

.focus-efecto::after {
  font-family: Poppins-ExtraBold;
  font-size: 25px;
  color: #050505;
  line-height: 1.2;
  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0px;
  padding-left: 5px;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus + .focus-efecto::after {
  top: -15px;
}

.input100:focus + .focus-efecto::before {
  width: 100%;
}

.has-val.input100 + .focus-efecto::after {
  top: -15px;
}

.has-val.input100 + .focus-efecto::before {
  width: 100%;
}

.container-login-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 9px;
  text-align: center;
}

.wrap-login-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 40px 5px;
  overflow: hidden;
  margin: 0 auto;
}

.login-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: #a64bf4;
  background: -webkit-linear-gradient(left, #3cce2f, #ecf40d, #170eb7, #170eb7);
  background: -o-linear-gradient(left, #3cce2f, #ecf40d, #170eb7, #170eb7);
  background: -moz-linear-gradient(left, #3cce2f, #ecf40d, #170eb7, #170eb7);
  background: linear-gradient(left, #3cce2f, #ecf40d, #170eb7, #170eb7);
  top: 0;
  left: -100%;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login-form-btn {
  font-family: Poppins-ExtraBold;
  font-size: 25px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
}

.wrap-login-form-btn:hover .login-form-bgbtn {
  left: 0;
}

@media (max-width: 576px) {
  .container-login {
    text-align: center;
  }
  .wrap-login {
    padding: 50px 10px;
    max-width: 90%;

    margin: 0 auto; /* Esta línea centrará el elemento en la columna */
  }
  .justified-paragraph {
    font-size: 14px;
  }
  .responsive-img {
    max-width: 70%;
    height: 140px;
    display: block;
    margin: 0 auto;
  }
  .col-md-8 {
    display: none; /* Oculta la columna en dispositivos móviles */
  }
}



/* Estilos para el checkbox personalizado */
/* From Uiverse.io by MattiaCode-IT */ 
.checkbox-container {
  display: inline-block;
  margin: 0px auto;
  user-select: none;
}

.task-checkbox {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  color: #374151;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 10px;
  border-radius: 8px;
}

.checkbox-label:hover {
  background: rgba(16, 185, 129, 0.05);
  color: #111827;
}

.checkbox-box {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #0e0f0f00;
  border-radius: 6px;
  margin-right: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.checkbox-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 4px;
  opacity: 0;
}

.checkmark {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.9) rotate(20deg);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.check-icon {
  width: 24px;
  height: 24px;
  fill: white;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.2));
}

.success-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 255, 170, 0.961);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.checkbox-text {
  transition: all 0.3s ease;
  position: relative;
}

.checkbox-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff0c;
  transition: width 0.4s ease;
  transform: translateY(-50%);
}

.checkbox-label:hover .checkbox-box {
  border-color: #10b981;
  box-shadow: 3 2 0 2px rgba(16, 185, 129, 0.1);
}

.task-checkbox:checked + .checkbox-label .checkbox-box {
  border-color: #10b981;
  background: #10b981;
  box-shadow:
    0 4px 12px rgba(10, 255, 173, 0.558),
    0 0 0 2px rgba(22, 235, 164, 0.458);
}

.task-checkbox:checked + .checkbox-label .checkbox-fill {
  transform: scale(1);
  opacity: 1;
}

.task-checkbox:checked + .checkbox-label .checkmark {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: checkPop 0.3s ease-out 0.2s;
}

.task-checkbox:checked + .checkbox-label .success-ripple {
  animation: rippleSuccess 0.6s ease-out;
}

.task-checkbox:checked + .checkbox-label .checkbox-text {
  color: #c00202;
}

.task-checkbox:checked + .checkbox-label .checkbox-text::after {
  width: 100%;
}

.checkbox-label:active .checkbox-box {
  transform: scale(0.95);
}

@keyframes checkPop {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes rippleSuccess {
  0% {
    width: 0;
    height: 0;
    opacity: 0.6;
  }
  70% {
    width: 50px;
    height: 50px;
    opacity: 0.3;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}
