.main-banner {
    position: relative;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 200px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
    text-transform: uppercase;
}

/* Overlay oscuro */
.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Oscurece el fondo */
    z-index: 1;
}

/* Texto en el banner */
.main-banner h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-weight: bold;
    position: relative; /* Para superponer el texto sobre el overlay */
    z-index: 2;
    position: relative;
  display: inline-block; /* para que la línea no sea del ancho completo */
  font-family: 'SFPro', sans-serif; /* si usás esa fuente */
  color: white; /* o el color que quieras para el texto */
  text-transform: uppercase;
}

.main-banner h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px; /* espacio entre el texto y la línea */
  transform: translateX(-50%);
  width: 40px; /* largo de la línea */
  height: 4px; /* grosor de la línea */
  background-color: #fff;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-banner {
    background-attachment: scroll !important;
    background-size: cover;
    background-position: center center;
  }
}

