
  
  .headervideo {
    position: relative;
    height: 90vh;
    width: 100%; 
    z-index: 20;
    font-size: 2em; 
  }
  
  .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .contentvideo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    height: 100%;
    color: #000;
    flex-wrap: wrap;
    
  }
  
  .text-overlay {
    max-width: 40%;
    margin-top: 20%; 
    color: white; 
    text-align: left; /* Alineación a la izquierda en pantalla grande */
    margin-left: 10%;   
    } 
  
  .text-overlay h1 {
    font-size: 2.5rem;
  }
  
  .text-overlay .subtitulovideo {
    font-size: 1.2rem;
    margin: 10px 0;
  }
  
  .text-overlay h2 {
    font-size: 0.9rem; 
  }
  .tituloform{
    font-size: 1.5rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;  
    color: #801017;
  } 

  .formulario {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: 10px;
    color: black;
  }
  
  input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc; 
  }
  
  button {
    background-color: #801017;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #ca2323;
  } 

  /* Estilo para el elemento <select> */
select {
  width: 100%;
  padding: 10px; /* Espaciado interno */
  margin: 10px 0; /* Margen superior e inferior */
  border: 1px solid #ced4da; /* Bordes */
  border-radius: 5px; /* Bordes redondeados */
  background-color: #fff; /* Fondo blanco */
  font-size: 16px; /* Tamaño de fuente */
  color: #333; /* Color del texto */
}

/* Estilo para el fondo del select al enfocar */
select:focus {
  border-color: #80bdff; /* Color del borde al enfocar */
  outline: none; /* Sin contorno */
  box-shadow: 0 0 5px rgba(0, 123, 255, .5); /* Sombra al enfocar */
}

/* Opciones dentro del select */
select option {
  background-color: #fff; /* Fondo de las opciones */
  color: #333; /* Color del texto de las opciones */
  padding: 15EM; /* Espaciado interno de las opciones */
  font-size: 1.1em;   
}  
 
/* Cambiar el color de las opciones al pasar el mouse */
select option:hover {
  background-color: #f1f1f1; /* Color de fondo al pasar el mouse */
}


  
  @media (max-width: 768px) {
    .content {
      flex-direction: center;
      align-items: center;
      text-align: center; /* Centrado del texto en móvil */
    }
  
    .text-overlay {
      padding: 20px;
      max-width: 90%;
      margin-bottom: 20px;
    }
  
    .text-overlay h1 {
      font-size: 2rem; /* Ajuste de tamaño para móvil */
    }
  
    .text-overlay h2 {
      font-size: 1.2rem;
    }
  
    .formulario {
      max-width: 90%;
      margin: 0 auto;
      margin-top: 20px;
    }
  }
  