*{
    padding: 0;
    margin: 0;
  }       
  
  html, body {
    height:  100%;
  
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
  /*_______________________________________________________________________________________________________________________________________________________________________________________________*/
  
  header {
    width: 100%;
    background: linear-gradient(90deg,#000000,  #c60000, #c60000, #000000); 
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  
  padding: 0; /* Eliminar el padding de todo el header */
  margin: 0; /* Asegurarse de que no haya márgenes */
  box-sizing: border-box; /* Esto ayuda a que el padding no afecte el ancho total */
  }
  
  /* FILA SUPERIOR */
  .superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  padding: 0 20px; /* Esto da el espaciado adecuado sin hacer que el header se desborde */
  width: 100%;
  box-sizing: border-box; /* Asegura que el padding no afecte el ancho */
  }
  
  /* Estructura interna */
  .PP, .PP2, .PP3 {
  height: 100%;
  display: flex;
  align-items: center;
  }
  
  .PP { 
  width: 20%; }
  
  
  #EUDG{
    display: left;
    gap: 10px;
    padding: 1px;
    width: 42%; /* Hace que solo ocupe el ancho necesario */
    margin: 0 auto; /* Esto centra el contenedor en la página */
  }
  
  #EUDG a img {
    width: 20px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  #EUDG a img:hover {
    transform: scale(1.1);
  }
  
  
  .PP2 { 
  width: 60%; 
  justify-content: center; 
  color: white;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 40px;
  }
  .PP3 { 
  width: 20%; 
  justify-content: flex-end;
  text-align: center;
  right: 0;  
  }
  
  .VV {
  padding: 10px 20px;
  margin-right: 15px;
  margin-top: 10px;
  font-size: 16px;
  background-color: #000000;
  color: white;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease; /* Efecto suave para todas las propiedades */
  }
  
  .VV:hover {
  background-color: #c60000; /* Cambia el color de fondo cuando pasas el cursor */
  transform: scale(1.05);}
  
  .VV:active {
  transform: scale(0.95); /* Hace que el botón se haga más pequeño al hacer clic */
  }
  
  .VV i {
  margin-right: 5px; /* Espacio entre el icono y el texto */
  }
  
  .VV i:hover {
  color: #c60000; /* Cambia el color del icono al pasar el cursor */
  }
  
  
  /* FILA INFERIOR */
  .inferior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #000000;
  }
  
  .principal {
  width: 60%;
  background-color: #000000;
  text-align: center;
  }
  
  /* Menú principal */
  .menu {
    display: flex;
  
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* Los elementos del menú */
  .menu > li {
    position: relative;
    margin: 0 20px; /* Se agregan márgenes entre los elementos */
    display: flex;
    justify-content: center; /* Centra el contenido dentro de cada <li> */
    align-items: center; /* Alinea el texto verticalmente */
    text-align: center; /* Asegura que el texto esté centrado */
  }
  
  /* Enlaces de los menús */
  .menu > li > a {
    padding: 10px 20px; /* Ajusta el espacio alrededor del texto */
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-decoration: none;
    transition: all .5s;
    display: inline-block; /* Asegura que los enlaces se comporten como bloques en línea */
  }
  
  .menu li a:hover {
    color: #f9ba07;
  }
  
  /* Estilos para el submenú */
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
  }
  
  .submenu li {
    list-style-type: none;
  }
  
  .submenu li a {
    display: block;
    padding: 10px 20px;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-decoration: none;
  }
  
  .submenu li a:hover {
    color: #c60000;
  }
  
  .menu > li:hover > .submenu {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }

  .busqueda {
  width: 35%;
  display: flex;
  justify-content: center;
  background-color: #000000;
  text-align: center;
  color: #ffffff;
  font-size: 30px; 
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  }
  
  .barra-busqueda {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #000000;
  }
  
  .barra-busqueda input[type="text"] {
  padding: 8px;
  border: none;
  border-radius: 5px;
  width: 200px;
  font-size: 15px;
  }
  
  .barra-busqueda button {
  background-color: #0603b8;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  }
  
  
  .barra-busqueda button:hover {
  background-color: #037fb8;
  color: white;
  }


main {
    width: 100%;
    color: black;
    background: linear-gradient(90deg, #000000, #f9ba07, #f9ba07, #f9ba07, #000000); 
}
    h1{
        text-align: center;
        color: #000000;
        font-size: 30px; 
        font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
      }
  
  section.contenido {
    background-image: url('ImgP/oldpaper.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: justify;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #000000;

    background-color: rgba(255, 255, 255, 0.75); /* fondo blanco semitransparente */
    padding: 40px;
    margin: 50px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }

  h3{
    text-align: justify;
    color: #000000;
    font-size: 18px; 
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  }



  /*_______________________________________________________________________________________________________________________________________________________________________________________________*/

  footer {
    width: 100%;
    background-color: #000000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .RS {
    width: 50%;
    height: 70%;
    float: left;
    background-color: #000000;
    color: white; /* Color del texto */
    text-align: center;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 20px;
    
    }
    
    .social-icon {
    display: inline-flex; /* Alinea el icono y el texto en una fila */
    align-items: center;
    font-size: 15px; /* Tamaño adecuado para los iconos */
    text-decoration: none; /* Elimina el subrayado */
    color: #037fb8; /* Color original de Instagram */
    margin-bottom: 20px; /* Espaciado entre los enlaces */
    transition: transform 0.3s ease; /* Efecto suave para cuando se pase el cursor */
    }
    
    .social-icon i {
    margin-right: 8px; /* Espacio entre el icono y el texto */
    }
    
    .social-icon:hover {
    transform: scale(1.1); /* Agranda ligeramente el icono y el enlace */
    }
    
    .social-icon:hover i {
    color: #0603b8; /* Un color un poco más oscuro cuando el cursor pase por encima */
    }
    
    .social-icon:active {
    transform: scale(1.05); /* Levemente más pequeño cuando se haga clic */
    }
    
    
    
    .EE {
    width:50%;
    height: 60%;
    float: left;
    background-color: #000000;
    text-align: center;
    }
    
    
    
    .AP {
    width: 100%;
    height: 40%; 
    float: left;
    background-color: #000000;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align: center;
    color:white;
    }
   
@media (max-width: 768px) {
  .superior, .inferior {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
  }

  .PP, .PP2, .PP3, .principal, .busqueda {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .menu {
    flex-direction: column;
  }

  .menu > li {
    margin: 10px 0;
  }

 .submenu {
  position: static;
  display: none;
  opacity: 1;
  visibility: visible;
}

.submenu.visible {
  display: block;
}

  .barra-busqueda {
    flex-direction: column;
    gap: 5px;
  }

  .dropdown-container {
    flex-direction: column;
  }

  .TaTGTGOMJ-table table {
    font-size: 12px;
  }

  td img {
    width: 30px;
    height: 30px;
  }
}
 