
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif !important;
}


  .Cabecera {
    position: fixed; /* Hacer que la cabecera sea fija */
    top: 0;
    left: 0;
    width: 100vw; /* Ocupar todo el ancho de la ventana */
    background-color: rgb(255, 255, 255);
    color: rgb(4, 36, 63);
    box-shadow: 0px 0.2px 5px rgb(13, 9, 53);
    height: 15vh;
  
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 99999999;
  }
  .Cabecera img {
    height: 90%;
    margin-left: 20px;
  }
  
  /* Estilos para el Navbar */
  .navbar {
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: unset;
    margin-right: 80px;
  }
  
  .nav-links {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
  }
  
  .nav-links li {
    padding-top: 8px;
    border-image-slice: 100;
    margin: 0px 5px;
    text-align: center;
    font-weight: bold;
    color: #060606;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .nav-links a {
    text-decoration: none;
    color: unset;
  
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    justify-content: end;
  }
  .bar {
    width: 30px;
    height: 3px;
    color: rgb(120, 75, 16);
    margin: 4px 0;
  }
  .nav-toggle:hover {
    padding: 0px 10px;
    border-radius: 3px;
    background-color: rgba(93, 109, 134, 0.4);
    transition: all 0.2s;
  }
  
  .nav-links li:hover {
    font-weight: 800;
    color: rgb(15, 109, 152);
  
    border-width: 3px;
    border-style: none none solid none;
    border-image-slice: 1;
    border-image-source: linear-gradient(
      to left,
      transparent,
      rgb(245, 166, 7),
      transparent
    );
  
    transition: border-image 0.4s;
    backdrop-filter: blur(30px);
  }
  
  .nav-links a {
    opacity: 1;
  }
  
  .has-submenu:hover .submenu {
    display: block;
  }
  
  .submenu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.2) 20px;
    z-index: 1;
    padding: 10px;
    border-radius: 4px;
    top: 100%;
    width: 220px;
  }
  
  .submenu li {
    list-style: none;
    margin: 9px 0;
    text-align: left;
  }
  
  .submenu a {
    text-decoration: none;
    color: unset;
  }
  
  
  /* ! Para Moviles y pantallas pequeñas  */
/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
  * {
    font-family: Arial, Helvetica, sans-serif !important;
  }
 /* ! HEader and Nav --------------------------------------- */
 .Cabecera {
  width: 100vw;
}

.navbar {
  width: 15%;
  z-index: 100000000;
}
.nav-links {
  display: none;
  flex-direction: column;
  background-image: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.799),
    rgb(255, 255, 255)
  );
  color: white;
  position: absolute !important;
  top: 74%;
  right: 2%;
  width: 50%;
  padding: 10px;
  border-radius: 3px;
  z-index: 9999999 !important;
  backdrop-filter: blur(30px);
}
.nav-links a {
  font-size: large;
  padding-top: 5px;
}

.nav-links.active {
  display: flex;
}

.nav-toggle {
  display: flex;
}

}