#hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero {
  position: relative;
}

#hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#fondoHero {
  width: 100vw;
  height: 90vh;
  overflow: hidden;
  position: absolute;
  object-fit: cover;
}

#hero .slide.active {
  opacity: 1;
  z-index: 1;
}

#contenidoHero {
  display: flex;
  flex-direction: column;
  z-index: 3;
  align-items: center;
  color: var(--blanco);
  text-align: center;
}

#contenidoHero p {
  font-size: 1.25rem;
  text-shadow: var(--sombraFuerte), var(--sombraFuerte);
}

#contenidoHero h1 {
  font-size: 6rem;
  line-height: 6rem;
  padding-bottom: 1rem;
  text-shadow: var(--sombraFuerte), var(--sombraFuerte), var(--sombraFuerte), var(--sombraFuerte);
}

#contenidoHero h1 span {
  font-family: var(--fontFamilyPrincipal);
  font-style: italic;
}

#contenidoHero .boton {
  align-self: center;
  margin-top: 8px;
  box-shadow: var(--sombraFuerte);
  background-color: var(--colorPrimario);
  color: var(--white);
}

#hero .fondoNegro {
  background-color: #00000050;
  z-index: 2;
  min-height: 90vh;
  overflow: hidden;
  position: absolute;
  width: 100vw;
}

@media screen and (max-width: 768px) {
  #contenidoHero h1 {
    font-size: 5rem;
    line-height: 5rem;
    padding: 0 16px 8px 16px;
  }
}