*{
  margin: 0;
  padding: 0;
}
body{
  background-image: url("IMG/CSR.webp") ;
  background-color: #0d09ba;
  background-repeat:no-repeat;
  background-size: cover;
  zoom: 1.2;
}
.passwordre {
  text-decoration: none;
  color: aliceblue;
}
.Contenedor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 40px;
    margin: 20px auto;
    transform: translate(-50%, -55%);
    background: transparent;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.8);
    border: 2px solid rgb(0, 0, 0,0.5);
    backdrop-filter: blur(15px);
    border-radius: 10px;
  }
.Contenedor p:first-child {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
  }
  .Contenedor2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    padding: 40px;
    margin: 20px auto;
    transform: translate(-50%, -55%);
    background: transparent;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.8);
    border: 2px solid rgb(0, 0, 0,0.5);
    backdrop-filter: blur(15px);
    background-color: #e219190c;
    border-radius: 10px;
  }

.Contenedor .CajaInput {
    position: relative;
  }
.Contenedor .CajaInput input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
  }
.Contenedor .CajaInput ion-icon{
  position: absolute;
  right: 2px;
  color: #fff;
}
.Contenedor .CajaInput label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
  }
  
.Contenedor .CajaInput input:focus ~ label,
.Contenedor .CajaInput input:valid ~ label {
    top: -20px;
    left: 0;
    color: #fff;
    font-size: 12px;
  }
  
.Contenedor form .boton {
   background-color: transparent;
   border: none;
  }

.Contenedor form .boton {
    margin-right: 20px;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: transparent;
    overflow: hidden;
    transition: .5s;
    margin-top: 40px;
    letter-spacing: 3px
  }
.Contenedor form .boton {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 40px;
    letter-spacing: 3px
  }
.Contenedor .boton:hover {
    background-color: transparent;
    background: #fff;
    color: #272727;
    border-radius: 5px;
  }
.Contenedor  span {
    position: absolute;
    display: block;
  }
.Contenedor a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff);
    animation: btn-anim1 1.5s linear infinite;
  }
  
  @keyframes btn-anim1 {
    0% {
      left: -100%;
    }
  
    50%,100% {
      left: 100%;
    }
  }
  
  .Contenedor a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #fff);
    animation: btn-anim2 1.5s linear infinite;
    animation-delay: .375s
  }
  
  @keyframes btn-anim2 {
    0% {
      top: -100%;
    }
  
    50%,100% {
      top: 100%;
    }
  }
  
  .Contenedor a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #fff);
    animation: btn-anim3 1.5s linear infinite;
    animation-delay: .75s
  }
  
  @keyframes btn-anim3 {
    0% {
      right: -100%;
    }
  
    50%,100% {
      right: 100%;
    }
  }
  
  .Contenedor a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #fff);
    animation: btn-anim4 1.5s linear infinite;
    animation-delay: 1.125s
  }
  
  @keyframes btn-anim4 {
    0% {
      bottom: -100%;
    }

    50%,100% {
      bottom: 100%;
    }
  }
  
  .Contenedor p:last-child {
    color: #aaa;
    font-size: 14px;
  }
  
  .Contenedor a.a2 {
    color: #fff;
    text-decoration: none;
  }
  
  .Contenedor a.a2:hover {
    background: transparent;
    color: #aaa;
    border-radius: 5px;
  }
  .error{
    display: none;
  }
  /*-----------*/
  .loading-symbol {
    display: none;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 135px;
    }
    .loading-symbol:after {
    content: "";
    display: inline-block;
    width: 120px;
    height: 120px;
    border: 4px solid #ccc;
    border-right-color: #333;
    border-radius: 50%;
    animation: spin 2s infinite linear;
    }
    @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
    }
  /*--------------------*/
  .alert{
    display: none;
  }

  .alert p:first-child{
    margin: 20px auto;
    background-color: #bda315f5;
    width: auto;
    padding: 13px;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
  } 

  .alert p:first-child{
    margin: 0 0 30px;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 20px;
  }

.mensajealert{
  display: none;
  font-size: 15px;
}
.mensajenoexisteinput{
  border: 1px solid #a8201b !important;
  box-shadow: #a8201b 1px 1px 3px;
}
.mensajepeticioninput{
  border: 1px solid #725516 !important;
  box-shadow: #725516 1px 1px 3px;
}
.mensajepeticion{
  color: #725516;
}
.mensajenoexiste{
  color: #a8201b;
}
.succesfull{
  display: none;
}
.success-checkmark {
  margin-top: 50px;
  margin-left: 135px;
  position: flex;
  width: 120px;
  height: 120px;
  }
  .success-checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #27743a;
  fill: transparent;
  animation: stroke 1.2s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  .success-checkmark__check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 2;
  stroke: #27743a;
  fill: transparent;
  animation: stroke 1.2s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  @keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
  }
  .successCheckmark-text{
    text-align: center;
    color: #27743a;
    padding: 5px;
    font-size: 20px;
    margin-bottom: 50px;
  }
  /*-----------*/
  .error p:first-child{
    margin: 20px auto;
    background-color: #ff2a2af5;
    width: auto;
    padding: 13px;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
  } 

  .error p:first-child{
    margin: 0 0 30px;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 20px;
  } 

@media  screen and (min-height: 1600px) {
 body{
  background-color: #031c91 ;
  zoom: 1.8;
  background-size: auto;
  background-position: 50% -60%;
  
 }}
a{
  cursor: pointer;
}

.mensaje{
  display: none;
}
.cancelar{
  background-color: red;
  width: 60px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  border-radius: 5px;
  margin-left: 300px;
  padding: 5px;
}
 /* ---------------------- */
 .popup-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.popup {
  background-color: #fff;
  width: 430px;
  padding: 20px;
  position: absolute;
  left: 50%;
  margin-top: -10%;
  transform: translateX(-50%);
}

.popup.open {
  animation: popupSlideIn 0.5s forwards;
}

.popup.close {
  animation: popupSlideOut 0.5s forwards;
}

@keyframes popupSlideIn {
  from {
    top: -400px;
  }
  to {
    top: 50%;
  }
}

@keyframes popupSlideOut {
  from {
    top: 50%;
  }
  to {
    top: -400px;
  }
}
/*----------*/
.form-container h2{
text-align: justify;
}
.form-container {
  max-width: 100%;
  background-color: #fff;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: #212121;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.084), 0px 2px 3px rgba(0, 0, 0, 0.168);
}

.form-container button:active {
  scale: 0.95;
}

.form-container .logo-container {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

.form-container .form {
  display: flex;
  flex-direction: column;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-container .form-group input {
  width: 350px;
  padding: 12px 16px;
  border-radius: 6px;
  font-family: inherit;
  border: 1px solid #ccc;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #1778f2;
}

.form-container .form-submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: inherit;
  color: #fff;
  background-color: #212121;
  border: none;
  width: 100%;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin: 12px 0;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.084), 0px 2px 3px rgba(0, 0, 0, 0.168);
}

.form-container .form-submit-btn:hover {
  background-color: #313131;
}

.form-container .link {
  color: #0e335f;
  text-decoration: none;
}

.form-container .signup-link {
  align-self: center;
  font-weight: 500;
}

.form-container .signup-link .link {
  font-weight: 400;
}

.form-container .link:hover {
  text-decoration: underline;
}

