/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Para ocupar al menos toda la altura de la ventana */
  }
  
  header {
    background-color: #283845;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 20px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #f29559;
  }
  
  .video-background {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  #bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background: no-repeat;
    background-size: cover;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
  }
  
  h1 {
    margin: 0;
    font-size: 3em;
    width: 80%;
    max-width: 800px;
  }

  a {
    text-decoration: none;
    color: #fff;
  }

  a:hover {
    color: #f29559;
  }
  
  .subtitle {
    padding-top: 10px;
    font-size: 1.25em;
    margin: 10px 0 20px;
  }
  
  .btn {
    background-color: #f29559;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .btn:hover {
    background-color: #ffffff;
    color: #f29559;
    transform: translateY(-2px);
  }
  
  .content-wrapper {
    flex: 1; /* Para ocupar el espacio restante */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    margin: 20px 0;
    padding: 0 20px;
  }

  @media (max-width: 768px) {
    h1 {
      font-size: 2em;
      width: 90%;
    }
    
    .subtitle {
      font-size: 1em;
    }
    
    .btn {
      padding: 10px 15px;
      font-size: 14px;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 1.5em;
      width: 100%;
    }
    
    .subtitle {
      font-size: 0.9em;
    }
    
    .btn {
      padding: 8px 12px;
      font-size: 12px;
    }
  }
