/* Estilos generales */
.hero {
  background-image: url("../img/fondoInicio.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 4rem 1rem;
  position: relative;
}

.contenedor-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Imagen */
.hero-imagen {
  max-width: 400px;
}

.hero-imagen img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 100px;
}

/* Texto */
.hero-texto h1 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: var(--color1);
  margin-bottom: 1rem;
  margin-top: 1rem;
  line-height: 1;
}

.hero-texto h1 strong {
  font-family: "Protest Riot", sans-serif;
  font-size: 3rem;
  display: block;
  color: var(--color1);
  margin-bottom: 1.5rem;
}


.hero-texto p {
  font-size: 1rem;
  color: var(--color1);
  max-width: 40ch;
  margin: 0 auto;
  margin-bottom: 1rem;
}

/* Botón */
.button-hero {
  text-align: center;
  width: 100%;
}

.btn-hero {
  background-color: var(--color2);
  color: var(--color11);
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  margin: 1.5rem 0rem;
}

.btn-hero:hover {
  background-color: var(--color14);
}


/* Tablet */
@media screen and (min-width: 768px) {

.contenedor-hero {
    justify-content: center;
    align-items: center;
    text-align: center;
}

  .hero-imagen {
    max-width: 350px;
  }

  .hero-texto h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-texto h1 strong {
    font-size: 4rem;
  }

  .hero-texto p {
    font-size: 1.2rem;
    margin: 1rem 0rem;
  }
}

/* Desktop */
@media screen and (min-width: 1024px) {

  @media screen and (min-width: 1024px) {
    .hero {
      padding: 15rem 0rem;
    }
  
    .contenedor-hero {
      flex-direction: row-reverse;
      align-items: center;
      gap: 2rem;
      padding: 0 2rem;
    }
  
    .hero-imagen {
      max-width: 800px; 
      flex: 1;
    }
  
    .hero-imagen img {
      padding-top: 0;
    }
  
    .hero-texto {
      text-align: left;
      flex: 1;
    }
  
    .hero-texto h1 {
      font-size: 3rem;
      line-height: 1;
    }
  
    .hero-texto h1 strong {
      font-size: 6rem;
      line-height: 1.1;
    }
  
    .hero-texto p {
      font-size: 1.4rem;
      line-height: 2rem;
      margin: 1.5rem 0;
    }
  
    .button-hero {
      text-align: left; /* Esto alinea el botón con el texto */
      margin-top: 2rem;
    }
  }
  
  
 /*.hero {
    padding: 12rem 0rem;
 }
  
  .contenedor-hero {
    flex-direction: row-reverse;
    padding: 4rem 2rem;
    gap: 2rem;
    align-items: center;
  }

  .hero-imagen {
    max-width: 500px;
    padding-top: 0;
  }

  .hero-texto {
    text-align: left;
}

  .hero-texto h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-texto h1 strong {
    font-size: 6rem;
    line-height: 1.1;
  }

  .hero-texto p {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .button {
    margin-top: 2rem;
}*/
}
