/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;  
}

body {
  display: flex;
  background-image: linear-gradient(to right, rgb(3, 17, 29) 0%, rgba(0,0,0,0) 100%);
  background-position: center; 
  height: 100%;
  margin: 0;
      flex-direction: column;
  min-height: 100vh; /* Establece la altura mínima del cuerpo al 100% de la altura de la ventana */
}
.comunicarse{
  margin-top: 10px;
  text-align: justify;
}
.custom-icon{
  color: #0d7e33;
}

.container {
  width: 400px;  
  margin: 2rem auto;
  padding: 2rem;

  border-radius: 8px;
  box-shadow: 0px 5px 15px #cacacad3; 

  background: #ebe9e9;
  text-align: left; 
}
.container2 {
  width: 80%;  
  margin: 2rem auto;
  padding: 2rem;

  border-radius: 8px;
  box-shadow: 0px 0px 10px #aaa; 

  background: #ebe9e9;
  text-align: left; 
}

.dni {
  text-align: center;  
  font-size: 30px; 
  margin-bottom: 20px;
}
.acceso {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  
  text-decoration: none;
  border-radius: 2px;

  display: flex; 
  justify-content: flex-end; /* Alinea los elementos hacia el final del contenedor (derecha) */
  font-weight: bold; 
  transition: background .3s ease;
}

.acceso:hover {
  background-color: #3b67b0;
}
.H1{
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: 1.2;
  text-align: center;
}
.titlee{
  color: #ddd;
  font-family: sans-serif;
}
.titlee2{
  color: #dddddde1;
  font-family: sans-serif;
  text-align: center;
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin: 1rem auto;
  padding: 0 1rem;
  max-width: 960px;
  margin-bottom: 1rem;  
}


input {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;  
  width: 100%;
  margin-bottom: 1rem;
} 

.botones {
  display: flex;
  text-align: center;
  justify-content: center; 
}
.botones2 {
  display: flex;

  justify-content: center; 
}

.entrada{
  padding: 12px 16px;  
  width: 65%;
  border: none;
  outline: none; 
  border-radius: 4px;


  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;  
}
.buscar {
  padding: 12px 16px;  
  width: 48%;
  border: none;
  outline: none; 
  border-radius: 4px;
  text-align: center;

  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;  
  background: #118094;
  color: #fff;
}
.buscar:hover{
  background: #054141;
}

.entrada {
  background: #10a857;
  color: #fff;
}

.salida {
  background: #ff0000;
  color: #fff;  
}

#fecha {
  text-align: center;
  margin-top: 1rem;
  color: #a3a1a1;
}

.institute-name {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 70px;
  line-height: 1.2;
  text-align: center;
}

.line-1 {
  color: #ddd;
  letter-spacing: 0.05em;
}

.line-2 {
  color: #0e9961;
  letter-spacing: 0.05em;
}

/* Estilos para pantallas más pequeñas */
@media only screen and (max-width: 768px) {
  .container {
      width: 90%; /* Ajusta el ancho del contenedor para adaptarse a pantallas más pequeñas */
      max-width: 500px; /* Limita el ancho máximo del contenedor */
  }
  h1 {
      font-size: 24px; /* Reduce el tamaño del título en pantallas más pequeñas */
  }
  .entrada{
    width: 75%;
  }
  .institute-name {
      margin-top: 45px;
  }
}

footer {
  
  background-color: #0D161D; /* Color de fondo del pie de página */
      color: #fff; /* Color del texto */
      text-align: center; /* Alineación del texto al centro */
      padding: 20px 0; /* Espaciado interno */
      width: 100%; /* Ancho completo */

}

footer p {
  margin: 0; /* Eliminar el margen por defecto del párrafo */
}
.movimiento:hover {
  transform: translateY(-5px);
}
.H1:hover {
  color: #26a65b;
}









/* INICIO NAVEGACION DEL MENU DEL TOPBAR */
body,
ol,
ul,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,

textarea,
i,
select {
    margin: 0;
    padding: 0;
}
/* NAVVVVV */
.logo{
    width: 35px;
    height: 30px;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0px;
    background-color: #111C22; /* Ajusta el color de fondo según sea necesario */
    z-index: 999; /* Asegura que el menú esté en la parte superior */
}
.link{
    text-decoration: none;
    font-family: Arial, sans-serif; /* Cambia la fuente del texto */
    font-size: 16px; /* Ajusta el tamaño del texto */
    color: #fff; /* Cambia el color del texto */
    text-decoration: none; /* Quita el subrayado del enlace */
    transition: color 0.3s ease;
    
}
.link:hover {
    color: #0e9961; /* Cambia el color del texto cuando se pasa el cursor sobre él */
}
.link.active {
    border-bottom: 2px solid rgba(29, 102, 29, 0.479);
    padding: 5px;
    color: #0e9961;
    background-color: transparent; /* Color de fondo cuando el enlace está activo */
    border-radius: 4px; /* Bordes redondeados */

    /* Animación de parpadeo */
}
.link.active:hover{
  color: #fff;
}
@keyframes blinkBorder {
    0% {
        border: 2px solid #0d3f1c; /* Borde sólido al principio */
    }
    100% {
        border: 6px solid #0d3f1c88; /* Borde semi-transparente al final */
    }
}
#linkcer{
    border: 2px solid #0e9961 ;
    padding: 5px;
    border-radius: 4px;
}
#linkcv{
    border: 2px solid #0e9961 ;
    padding: 5px;
    border-radius: 4px;
}
.nav-links {
    display: flex;
    gap: 1.2rem;
    list-style: none;
}
nav ul {
    margin-right: 10px;
    display: flex;
    gap: 1.2rem;
    list-style: none;
}

.menu-icon {
    display: none;
}

@media only screen and (max-width: 768px) {
    nav {
        padding: 12px 20px; /* Reduce el espacio al ajustar la pantalla */
    }

    .menu-icon {
        display: block;
        color: #fff; /* Color blanco para el icono */
        background: none;
        border: none;
        font-size: 1.5rem;
        margin-right: 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgb(49, 49, 49);
        flex-direction: column;
        padding-left: 30px;
        text-align: left; /* Alinea el texto a la derecha */
    }
    .nav-links.active {
        display: flex; /* Muestra la lista cuando la clase 'active' está presente */

    }
    .nav-links li {
        margin: 0px 0px;
        margin-right: 50px !important;
    }
}
/* NAVVVVV */
body {

    justify-content: center;
    align-items: center;
    background-color: #0D161D;
}

.dr {
  position: absolute;
  bottom: 16px; 
  right: 16px;
  width:100px;
}

.btnasis{
  padding: 7px;
  background-color: #0a4575;
  border: none;
  color: #ddd;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
}
.btnasis:hover{
background-color: #10a6b9;
}
/* Ejemplo de consulta de medios */
@media (max-width: 768px) {
    .nav-links{
        background-color: #0D161D;
    }
   
}
/* TABLA RESULTADO */


.names{
  padding: 10px;
  padding-bottom: 0px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
}
th, td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}
th {
  background-color: #f2f2f2;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}
@media (min-width: 768px) {
  th, td {
      padding: 10px 15px;
      border-radius: 4px;
  }
}
@media (max-width: 767px) {
  table{
    padding-top: -5px !important;
  }

  .container2 {
    width: 90%;  
    margin: 2rem auto;
    padding: 1rem;
  
    border-radius: 8px;
    box-shadow: 0px 0px 10px #aaa; 
  
    background: #ebe9e9;
    text-align: left; 
  }
  table thead {
    font-size: 14px;
}

  table td {
    font-size: 10px;

}
}
/* TABLA RESULTADO */