body, html {
    height: 100%;
    margin: 0;
    background: no-repeat center center fixed;
    background-size: cover;
  }
  
  #myVideo {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    border-radius: 10px;
  }
  
  #navbar {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
    gap: 10px;
    padding: 10px;
  }
  
  .nav-button {
    background-color: transparent;
    color: white;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    padding: 7px 10px;
    top: 10px;
    transition-duration: 0.4s;
    position: relative;
    overflow: hidden;
    font-family: "Orbitron", sans-serif;
    background: linear-gradient(90deg, transparent, rgba(0, 10, 43, 0.5), transparent);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 1s ease-in-out;
    border-radius: 4px;
  }
  
  .nav-button:hover {
    color: rgb(255, 255, 255);
    background-color: #99d5f1b9;
    background-position: 0 0;
  }
  
  .nav-button::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: rgb(255, 255, 255);
    bottom: 0;
    left: 50%;
    transition: all 0.4s ease;
  }
  
  .nav-button:hover::after {
    width: 100%;
    left: 0;
  }
  
  #logo {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 300px;
    z-index: 2;
  }
  
  @media only screen and (min-width: 600px) and (max-width: 900px) {
    #logo {
      width: 200px;
    }
  
    #navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  @media only screen and (max-width: 600px) {
    #logo {
      width: 150px;
    }
    #navbar {
      display: none;
    }
    #navbar.show {
      display: flex;
    }
    .nav-button {
      width: 100%;
      text-align: left;
    }
    .menu-icon {
      display: block;
      cursor: pointer;
    }
  }
  
  #menu-icon {
    display: none;
    width: 30px;
    height: 20px;
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 4;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  
  .bar {
    width: 100%;
    height: 4px;
    background-color: #ffffff;
  }
  
  #navbar1 {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    z-index: 3;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background-color: #1c1b1b8f;
    border-radius: 10px 0 0 10px;
  }
  
  .nav-button1 {
    background-color: transparent;
    color: white;
    text-align: left;
    border: none;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    padding: 10px 24px;
    transition-duration: 0.4s;
    position: relative;
    overflow: hidden;
    font-family: "Orbitron", sans-serif;
    background: linear-gradient(90deg, transparent, rgba(0, 10, 43, 0.5), transparent);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 1s ease-in-out;
    border-radius: 4px;
  }
  
  .nav-button1:hover {
    color: rgb(255, 255, 255);
    background-color: #99d5f1b9;
    background-position: 0 0;
  }
  
  .nav-button1::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: rgb(255, 255, 255);
    bottom: 0;
    left: 50%;
    transition: all 0.4s ease;
  }
  
  .nav-button1:hover::after {
    width: 100%;
    left: 0;
  }
  
  @media only screen and (max-width: 600px) {
    #menu-icon {
      display: flex;
    }
  }
  
  #search-bar {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    z-index: 3;
  }
  
  #search-box {
    margin-right: 7px;
    border-radius: 5px;
    border: none;
    background-color: transparent;
    color: white;
    padding: 7px 35px;
    margin: 4px 2px;
    font-family: "Orbitron", sans-serif;
    background-color: #0000006e;
  }
  
  #search-button {
    font-family: "Orbitron", sans-serif;
    background-color: transparent;
    color: white;
    border: none;
    margin: 4px 2px;
    cursor: pointer;
    padding: 7px 21px;
    transition-duration: 0.4s;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(90deg, transparent, rgba(0, 10, 43, 0.5), transparent);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 1s ease-in-out;
    border-radius: 4px;
  }
  
  #search-button:hover {
    color: rgb(255, 255, 255);
    background-color: #99d5f1b9;
    background-position: 0 0;
  }
  
  #search-button::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: rgb(255, 255, 255);
    bottom: 0;
    left: 50%;
    transition: all 0.4s ease;
  }
  
  #search-button:hover::after {
    width: 100%;
    left: 0;
  }
  
  @media (min-width: 1024px) {
    #search-bar {
      left: 20px;
      bottom: 20px;
      flex-direction: row-reverse;
    }
    #search-box {
      padding: 7px 35px;
    }
    #search-button {
      padding: 7px 21px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1023px) {
    #search-bar {
      right: 15px;
      bottom: 27%;
    }
    #search-box {
      padding: 5px 30px;
    }
    #search-button {
      padding: 5px 18px;
    }
  }
  
  @media (max-width: 767px) {
    #search-button, #search-box {
      width: 100%;
    }
    #search-bar {
      right: 30px;
      bottom: 74%;
      flex-direction: row-reverse;
      display: flex;
      justify-content: space-between;
    }
  }
  /* Animaciones para aparecer y desaparecer -----------*/
  @keyframes aparecer {
    0% {
      opacity: 0;
      transform: translateY(20px); 
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes desaparecer {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(20px);
    }
  }
  
  /* Estilos para el pie de página */
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 1.25rem; 
    background-color: rgba(0, 0, 0, 0.662);
    border-radius: 0.625rem; 
    font-family: "Orbitron", sans-serif;
    font-size: 0.875rem; 
    color: white;
    opacity: 0;
    transition: all 0.5s ease; 
  }
  
  footer.aparecer {
    animation: aparecer 2s forwards;
  }
  
  footer.desaparecer {
    animation: desaparecer 2s forwards;
  }
  
  .footer-section {
    width: 100%;
    padding: 0.625rem;
    text-align: center;
  }
  
  .footer-section a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
  }
  
  .footer-section a:hover {
    color: #ddd; 
  }
  
  @media (min-width: 37.5rem) { 
    footer {
      flex-direction: row;
    }
    .footer-section {
      width: 50%;
      text-align: left;
    }
  }
  
  @media (min-width: 56.25rem) { 
    .footer-section {
      width: 30%;
    }
  }
  
  .footer-section h3 {
    margin-bottom: 1.25rem; 
  }
  
  @media (max-width: 600px) {
    footer {
      flex-direction: column;
    }
    .footer-section {
      width: 100%;
      text-align: center;
    }
  }
  
  @media (min-width: 601px) and (max-width: 900px) {
    footer {
      flex-direction: row;
    }
    .footer-section {
      width: 50%;
      text-align: left;
    }
  }
  
  @media (min-width: 901px) {
    .footer-section {
      width: 30%;
    }
  }
  
  /*flecha--*/
  #arrow {
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    z-index: 2;
    font-family: "Orbitron", sans-serif;
    display: none; /* Oculta la flecha por defecto */
  }
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translate(-50%, -50%);
    }
    40% {
      transform: translate(-50%, -70%);
    }
    60% {
      transform: translate(-50%, -40%);
    }
  }
  
  /* Esto se aplicará solo en pantallas de PC */
  @media (min-width: 1024px) {
    #arrow {
      display: block; /* Muestra la flecha solo en pantallas de PC */
      animation: bounce 2s infinite, shadow 2s infinite;
    }
    @keyframes shadow {
      0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 1);
      }
      50% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0);
      }
    }
  }
  
  /* Animacion texto------------ */
  @keyframes example {
    0% {color: rgb(255, 255, 255);}
    50% {color: grey;}
    100% {color: rgb(0, 0, 0);}
  }
  @keyframes typing {
    0% { 
      width: 0; 
      opacity: 1; 
    }
    50%, 100% { 
      width: 100%; 
      opacity: 1; 
    }
  }
  #titulo {
    text-align: center;
    font-size: 2em; 
    animation-name: example;
    animation-duration: 4s; 
    animation-iteration-count: infinite;
    font-family: "Orbitron", sans-serif;
    overflow: hidden;
    white-space: nowrap; 
  }
  @media (max-width: 37.5rem) {
    #titulo {
      font-size: 4vw;
      white-space: normal; 
      min-height: 1.2em;
    }
  }
  @media (min-width: 37.5rem) and (max-width: 56.25rem) { 
    #titulo {
      font-size: 3vw;
    }
  }
  @media (min-width: 56.25rem) { 
    #titulo {
      font-size: 2vw;
      animation-name: example, typing;
      animation-duration: 4s, 4s; 
      animation-iteration-count: infinite, infinite;
    }
  }
  @media (orientation: landscape) {
    #titulo {
      font-size: 1.5vw;
      letter-spacing: 0.2em;
    }
  }
  @media (orientation: portrait) {
    #titulo {
      font-size: 4vw;
      letter-spacing: 0.1em;
    }
  }
  
  /*hasta aca es encabezado y pie de pagina y titulos*/
  
  
  