/* ---------------------------- paleta de colores --------------------------- */
/* 
                                verde oscuro:15824e
                                amarillo:cccc33
                                verder claro:93c21c

*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

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

:root {
  --primary: #0b254b;
  --light: #ffffffea;
  --light-blue: #e9ecf8;
  --grey: #eff2f7;
  --gris_fondo: #e9ecf8;
  --verde: #22c58e;
  --verde_oscuro: #15824e;
  --verde_medio: #1abc9c;
  --verde_muyclaro: #c0f6e3;
  --verde_soft: #e4fbf3;
  --verde_boton: #009688;
  --verde_claro: #93c21c;
  --amarillo: #cccc33;
  --azul: rgb(13, 77, 173);
  --azul_claro: #4099ff;
  --azul_marino: #03316c;
  --rojo_difuso: #bd3323;
  --rojo_alerta: #842029;
  --rojo_bgd-alerta: #f8d7da;
  --amarillo_difuso: rgb(224, 224, 99);
  --verde_difuso: #54c4ae;
  --violeta_medio: #991abc;
  --otro: #54c4ae89;
}

body {
  text-align: center;
  font-family: "Roboto", sans-serif;
  background-image: url("../img/fondo05.jpg");
  /*background-color: #93c21c;*/
  /*background-image: linear-gradient(to right bottom, #2bc791, #24b77e, #1da86b, #169959, #0e8a47, #0c7d3b, #09712f, #066524, #06591b, #054d13, #04410a, #033601);*/
  background-attachment: fixed;
  width: 100vw;
}

.app {
  text-align: center;
  margin-top: 1em;
}

/* .blur{
   background:#4a0b7e5d;
   backdrop-filter: blur(.2rem); 
   height: 100%;
   width: 100%;      
   position: relative;
} */
.App-logo {
  width: 350px;  /* Nuevo */
  height: auto;  /* Proporcional */
  display: block;
  margin: 0 auto;
}

#welcome {
  width: 100%;
  margin: 0.5em;
}

.fondo-left {
  width: 100%;
  height: auto;
  vertical-align: middle;
  margin-top: 0em;
  border-radius: 0em;
  /*box-shadow: 4px 4px 8px rgba(183, 230, 168, 0.61);*/
  justify-content: center;
  align-items: center;
  position: relative;
}

.file-content {
  width: auto;
}

.App-file {
  width: 100vmin;
}

#particles-js {
  position: fixed;
  background-color: #68d0ecbd;
  width: 100%;
  height: 100%;
  /* 
  background-image: url('../../public/img/fondo_ogs_inicio1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; */
}



/* <---------------Contenedor del Login----------------->*/
.content {
  z-index: 99;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  justify-content: space-around;
  padding: 0em;
  margin: auto;
  text-align: center;
  /*background-color: #fdfdfd63;
  /* border: solid white 2px;
  width: 80vw; */
  backdrop-filter: blur(8px) saturate(149%);
  -webkit-backdrop-filter: blur(8px) saturate(149%);
  background-color: rgba(42, 45, 42, 0.16);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

#msg-alert {
  width: 90%;
  height: 50px;
  /* display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center; */
  text-align: center;
  margin: 0 auto;
  /* padding: .5em;   
  margin-left: 1.4em;*/
}
#msg-alerta {
  border-radius: 0.5em;
  color: var(--rojo_alerta);
  background-color: var(--rojo_bgd-alerta);
  width: 90%;
  height: 45px;
  text-align: center;
  margin: 0 auto;
  padding: 0.5em;
  margin-left: 3em;
}

.alert {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em;
  padding-left: 0.5em;
  margin-left: 1.4em;
}

.alert button {
  display: none;
  background-color: transparent;
  border: none;
  color: auto;
  font-weight: 600;
  font-size: 16px;
  padding: 0.2em;
}

.alert button:hover {
  border: none;
  color: #580b0b;
  transform: scale(1.2);
  transition: all 0.8ms ease;
}

.content-left img {
  height: auto;
  width: 100%;
}

.content-left p {
  color: rgb(0, 0, 0);
  font-size: 24px;
}

.logo-login {
  text-align: center;
  padding-top: 5rem;
}

.titulo-inicio {
  font-weight: 700;
  color: #ffffff;
}

#otp-form-container {
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  display: none;
  position: absolute;

  margin-top: 30px;
  padding-top: 1em;
  height: 30vh;
  width: 100%;
  
  z-index: 1; /* Asegura que el contenedor OTP esté por encima de otros elementos */
}

#otp-form-container.show {
  transition: opacity 0.5s ease-in-out;
  display: block;
  opacity: 1;
}
/* 
#otp-error {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: red;
  font-size: 14px;
  font-weight: bold;
} */

/* 
#formulario {
  transition: opacity 0.5s ease-in-out;
} */

/* -------------------- estilo para el content del login -------------------- */
.contenedor_login {
  height: 89vh;
  width: 40%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap; /* nowrap*/
  -ms-flex-align: center;
  color: black;
  position: relative;
}

/* ----------------------- estilos para el formulario ----------------------- */
.frmGroup {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  text-align: center;
  align-items: center;
  margin-top: 1em;
  padding-top: 1em;
  height: 30vh;
  width: 100%;
}

/* ----------------------- estilos para el slider ----------------------- */

#banner {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;

  & #imagenes {
      display: block;
      object-fit: cover;
      animation: slide 15s cubic-bezier(.86, 0, .07, 1) infinite alternate;
  }
}

@keyframes slide {
  0% {
      transform: translateX(0);
  }

  50% {
      transform: translateX(-100%);
  }

  100% {
    transform: translateX(-200%);
}

}


/* --------------------- estilos para el contacto soporte(mails) -------------------- */

.contact {
  width: 80%;
  height: 10vh;
  margin-left: 0.5em;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  margin-right: 2em;
}

.icono_mail_contacto {
  display: flex;
  color: rgb(255, 255, 255);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 0.5em;
}

/* -------------------------- estilos link contacto ------------------------- */
.frmGroup .contact_mail {
  text-align: center;
  align-items: center;
  width: 100%;
  height: 2em;
  margin-left: 8em;
  position: relative;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  color: white;
}

.soporte_mail {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  text-align: left;
}

.soporte_mail a,
a:visited,
a:active {
  text-decoration: none;
  color: rgb(26, 25, 25);
}

.soporte_mail a:hover {
  text-decoration: underline #4ba123;
  color: #4ba123;
}

.soporte_mail .fa-envelope::before {
  color: #177f50 !important;
}

.forgot-password:hover {
  color: #cccc33;
  filter: drop-shadow(4px 4px 2px #c0c0c07e);
  transition: all 0.5s ease;
}

.soporte_mail:hover {
  transform: scale(4em);
}

.btn_soporte {
  /* margin-left: 2em;
margin-top: 1em;*/
  margin-bottom: 0.1em;
  align-items: center;
  width: 20%;
  border-radius: 0.5em !important;
  border: none;
  color: #f7f2f2;
  outline: none;
  box-shadow: 2px 2px 8px #5e5b5bd7;
  background-color: #177f50;
}

.btn_soporte:hover {
  background-color: #1ea066;
  color: #f7f2f2;
  transition: all 0.5s ease;
}

.modal-header .btn-close::before {
  color: var(--verde_boton) !important;
}

.btn-close:hover {
  background-color: var(--verde_soft);
  color: #141414;
  transition: all 0.5s ease;
}

.contact_mail a,
a:visited,
a:active {
  text-decoration: none;
  color: rgb(245, 245, 245);
}

.contact_mail a:hover {
  text-decoration: none;
  color: #cccc33;
  font-weight: 500;
}

.contact_mail:hover {
  transform: scale(4em);
}

/* ---------------------- estilos para iconos del form ---------------------- */
.txt_l {
  padding-right: 0.9em;
  vertical-align: middle;
}

.mail {
  display: block;
  width: 100%;
}

/* ------------------------- estilos para los inputs ------------------------- */
#formulario {
  width: 100%;
}

#cajas {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: left;
}

/*Iconos de email, contraseña y ojo*/
.txt--mail,
.txt--password {
  width: 100%;
  height: 5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border-radius: 0.5em;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.ojo {
  width: 1em;
  height: 1em;
  position: relative;
  top: 0.5em;
  font-size: 20px;
  cursor: pointer;
}

#mail {
  margin-right: 5.5em !important;
}

#email {
  margin-right: 1.1em;
}

#password {
  margin-left: 0.5em;
}

#mail_icono {
  padding-right: 0.5em;
}

#lock {
  padding-right: 0.1em;
}

.txt_input {
  display: block;
  margin-left: 1em;
  justify-content: center;
  align-items: center; 
}

.txt_login:focus {
  border: solid #21995d 1px;
  
} 

.txt_login:hover {
  border: solid #fcfdfd 1px;
}

.txt_login {
  height: 3em;
  width: 80%;
  box-shadow: 2px 2px 6px rgba(95, 146, 115, 0.205);
  background-color: rgba(236, 233, 233, 0.842);
  border-color: white;
  border-radius: 5px;
  padding: 0.5em;
  margin-bottom: 0.5em;
  border: none;
  caret-color: rgb(17, 17, 17);
  appearance: none;
  outline: none;
  box-sizing: border-box; 
  padding-left: 1em;
}

input{
  font-size: 18px !important;
}
input:focus{
  font-size: 18px !important;
}

#forgot_passw {
  font-size: medium;
  color: rgb(45, 122, 199);
  text-align: center;
  justify-content: center;
  margin: 0 auto;
}

#forgot_passw:hover {
  font-size: medium;
  color: #15824e;
}

/* ----------------------- propiedades del boton login y otp ---------------------- */
.btn_login {
  margin-left: 2em;
  /* margin-top: 1em; */
  margin-top: 0.5em;
  margin-bottom: 1em;
  align-items: center;
  width: 83%;
  height: 3em;
  border-radius: 0.5em !important;
  border: none;
  color: #f7f2f2;
  outline: none;
  font-weight: 700;
  box-shadow: 2px 2px 8px #3e6652a4;
  background-color: #1ba567;
}

.btn_login:hover {
  background-color: #32af77;
  color: #fff;
  transition: all 0.4s ease;
}

.btn_login:active {
  transform: scale(0.98);
}

/*ancho de imagen izquierdo*/

.content-left {
  width: 50%; /* 50%*/
}

/* ----------------- estilos para contacto, aws & copiryght ----------------- */
.frmGroup2 {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  margin-left: 0em;
  background-size: cover;

}

.frmGroup2 .contact_mail {
  text-align: center;
  width: auto;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: left;
  align-items: center;
  background-color: #f0efef;
}

.frmGroup2 a {
  font-size: medium;
  color: #93c21c;
  text-align: left;
}

.frmGroup2 img {
  margin-top: 0vh;
}

/* ------------------- estilos para el logo y text de aws ------------------- */
#aws {
  text-align: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: 2.5em;
}

.aws {
  width: 100%;
  height: 8vh;
  text-align: center;
  justify-content: center;
}

.aws_logo {
  width: 5vmin;
  vertical-align: middle;
}

.aws_texto {
  color: rgb(39, 39, 39);
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  vertical-align: top;
}

.OGS_copiryght {
  font-size: 16px;
  color: rgb(85, 82, 82);
  text-align: center;
}

#otp-form-container {
  display: none;
}

#otp-form-container.show {
  display: block;
}

.OGS_copiryght a {
  color: rgb(85, 82, 82);
  text-decoration: none;
}

/* ------------------------------- responsive ------------------------------- */

@media only screen and (max-width: 900px) {
  .logo-login {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    height: 4em;
  }

  #particles {
    display: none;
  }

  .content_login {
    display: none;
  }

  .content-left {
    display: none;
  }

  .content-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    /* position: absolute; */
  }

  .frmGroup {
    text-align: center;
    align-items: center;
    height: 50vh;
    width: 100%;
    margin-bottom: 15em;
  }

  .formulario {
    width: 100%;
  }

  #mensaje-error {
    border-radius: 0.5em;
    color: var(--rojo_alerta);
    background-color: var(--rojo_bgd-alerta);
    width: 80%;
    text-align: center;
    margin: 0 auto;
  }

  .txt--password {
    width: 100%;
    height: 5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border-radius: 0.5em;
   /*  font-size: 20px; */
    color: black;
    text-align: center;
  }

  #lock {
    display: none;
  }

  .ojo {
    width: 1em;
    height: 1em;
    position: relative;
    top: 0.5em;
    font-size: 20px;
    cursor: pointer;
  }

  #password {
    margin-left: 1.05em;
  }

  .txt_input {
    width: 100vw;
  }

  .txt_login {
    height: 4em;
    width: 70%;
  }

  .contact {
    margin-top: 0.5em;
    height: auto;
    display: flex;
    width: 100;
    justify-content: center;
    align-items: center;
  }

  #mail_icono {
    display: none;
  }

  .contact_mail {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
  }

  #aws {
    width: 100%;
  }

  #aws p {
    text-align: center;
  }

  #aws img {
    width: auto;
  }

  .aws_texto {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
  }
}

@media only screen and (max-width: 985px) and (min-width: 750px) {
  .app {
    margin-top: 0 !important;
  }

  .content {
    width: 100%;
     /* position: fixed; */
    height: 100%;
    /* cambios */
    margin-top: 0;
  }

  #msg-alert {
    width: 90%;
    height: 50px;
    text-align: center;
    margin: 0 auto;
  }
  #msg-alerta {
    border-radius: 0.5em;
    color: var(--rojo_alerta);
    background-color: var(--rojo_bgd-alerta);
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0 auto;
    padding: 0.5em;
  }

  .alert {
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0.5em;
    padding-left: 0.5em;
    margin-left: 1.4em;
  }

  .alert button {
    background-color: transparent;
    border: none;
    color: auto;
    font-weight: 600;
    font-size: 16px;
    padding: 0.2em;
  }

  .alert button:hover {
    border: none;
    color: #580b0b;
    transform: scale(1.2);
    transition: all 0.8ms ease;
  }

  #particles {
    display: none;
  }

  .logo-login {
    margin: 0 auto;
    text-align: center;
    width: 80vw;
    padding-bottom: 0.1em;
    /* position: absolute; */
  }

  .logo-login img {
    width: 50%;
    height: auto;
  }

  .content_login {
    display: none;
  }

  .content-left {
    display: none;
  }

  .content-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .frmGroup {
    text-align: center;
    align-items: center;
    height: 20vh;
    width: 100%;
    margin-bottom: 25em;
  }

  .formulario {
    width: 100vw;
  }

  #mensaje-error {
    border-radius: 0.5em;
    color: var(--rojo_alerta);
    background-color: var(--rojo_bgd-alerta);
    width: 80%;
    text-align: center;
    margin: 0 auto;
  }

  .txt--password {
    width: 100%;
    height: 5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border-radius: 0.5em;
    color: black;
    text-align: center;
    margin-left: 0.5em;
  }

  #lock {
    display: none;
  }

  .ojo {
    width: 1em;
    height: 1em;
    position: relative;
    top: 0.5em;
    font-size: 20px;
    cursor: pointer;
  }

  #password {
    margin-left: 1.05em;
  }

  .txt_input {
    width: 100%;
  }

  .txt_login {
    height: 4em;
    width: 20em;
  }

  .btn_login {
    height: 4em;
    margin: 1 auto;
    margin-left: 0em;
    width: 50%;
    text-align: center;
    align-items: center;
    font-size: 16px;
  }

  .contact {
    margin-top: 0.5em;
    margin-left: 2.5em;
    height: auto;
    display: flex;
    width: 100%;
    text-align: justify;
    justify-content: center;
    align-items: center;
  }

  #mail_icono {
    display: none;
  }

  .frmGroup .contact_mail {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-left: 11em;
  }

  #aws {
    width: 100%;
    margin: auto;
    padding-top: 0.5em;
  }

  #aws p {
    text-align: center;
  }

  #aws img {
    width: auto;
  }

  .aws_texto {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
  }
}

@media only screen and (max-width: 749px) and (min-width: 230px) {
  .app {
    margin-top: 0 !important;
  }

  #lock {
    display: none;
  }

  .content {
    width: 95%;
    height: 95%;
    /* position: fixed; */
  }

  #msg-alert {
    width: 90%;
    text-align: center;
    margin: 0 auto;
  }
  #msg-alerta {
    border-radius: 0.5em;
    color: var(--rojo_alerta);
    background-color: var(--rojo_bgd-alerta);
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0 auto;
    padding: 0.5em;
    /* margin-left: 0em; */
  }

  .alert {
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0.5em;
    padding-left: 0.5em;
    /*  margin-left: 1.4em; */
  }
  .alert button {
    display: none;
  }
 

  #particles {
    display: none;
  }

  .contenedor_login {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .logo-login {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding-bottom: 1.5em;
  }

  .logo-login img {
    width: 60%;
    height: auto;
  }

  .titulo-inicio {
    padding-bottom: 0em;
  }

  .content_login {
    display: none;
  }

  .content-left {
    display: none;
  }

  .content-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 90vh;
  }

  .frmGroup {
    display: flex;
    text-align: center;
    align-items: center;
    height: auto;
    width: 100%;
    gap: 2.5em;
    margin: 0;
    /*  margin-left: 1em; */
    margin-bottom: 1em;
  }

  .formulario {
    width: 100%;
  }

  #mensaje-error {
    border-radius: 0.5em;
    color: var(--rojo_alerta);
    background-color: var(--rojo_bgd-alerta);
    width: 80%;
    text-align: center;
    margin: 0 auto;
  }

  #mail_icono {
    display: none;
  }

  #cajas {
    width: 100%;
    margin-top: 2em;
  }

  .txt--mail,.txt--password {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 0.9em; 
    border-radius: 0.5em;
/*     font-size: 20px; */
    color: black;
    text-align: center;
  }

  .txt_input input{  
    margin-left: 2em; 
    color: black;
    width: 100%;
  }

  .ojo {
    width: 1em;
    height: 1em;
    z-index: 1000;
    position: relative;
    padding: 0%;
    top: -0.1em;
    right: 0.5em;
    font-size: 20px;
    cursor: pointer;
    color: white;
  }
  #email{
    margin: 0 auto;
    width: 100%;
    height: 3em;
    margin-right: 1em;
    margin-left: 1em;

  }
   #password {
    margin: 0 auto;
    width: 100%;
    height: 3em;
    margin-right: 1em;
    margin-left: 1em
  } 


  .txt_input {
    width: 90%;
    margin-top: 0.1em;
  }

  .txt_login {
    height: 4em;
    width: 80%;
    margin-right: 2em;
  }

  #forgot_passw {
    font-size: medium;
    color: rgb(93, 90, 90);
    align-items: center !important;
    margin-right: 2.5em;
  }

  .btn_login {
    height: 3em;
    margin: 0 auto;
    margin-top: 1em;
    margin-right: 0em;
    text-align: center;
    align-items: center;
    font-size: 16px;
  }

  .txt_l {
    text-align: left;
    margin-right: 0.5em;
  }

  .contact {
    margin-top: 0.5em;
    position: relative;
    height: 1em;
    display: flex;
    width: 100%;
    text-align: justify;
    justify-content: center;
    align-items: center;
    margin-left: 5em;
  }

  .frmGroup .contact_mail {
    font-family: "Roboto";
    text-align: center;
    align-items: center;
    width: 100%;
    height: 2em;
    margin-left: 1em;
    position: relative;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    color: white;
  }

  #aws {
    justify-content: center;
    align-items: center;
    width: auto;
    height: 50%;
    margin: auto;
  }

  #aws p {
    text-align: center;
  }

  #aws img {
    width: auto;
    margin-left: 0.5em;
  }

  .aws_texto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1em;
  }

  .OGS_copiryght {
    margin-top: 2em;
    font-family: "Roboto";
  }
}
