html {
  scroll-behavior: auto;
}
.nav-link {
  font-size: 1.4rem;
  margin: 0.4rem;
  color: whitesmoke !important;
  text-align: end;
}

h2 {
  font-size: 1.6rem; /* Bajamos un poco el impacto */
}

.aarv-img {
  margin-bottom: 2rem;
}

#mobile-aarv {
  margin-bottom: 2rem;
}

#home, #hero {
  padding: 3rem;
  margin-top: 5rem;

  min-height: 90vh;
  height: auto !important;
  scroll-margin-top: 50px;

  flex-direction: column; /* Asegura que se apilen */

  /* Centra el texto para que se vea más profesional */
  padding: 2rem 1rem;
}

#home::before,
#hero::before {
  background-size: cover !important;
  background-position: center bottom !important;
  background-repeat: no-repeat;
}

.typing2-wrapper {
  animation: none !important;
  border-right: none !important;
  max-width: none !important;
  overflow: visible !important;
}

.typing2-part1, 
.typing2-part2 {
  display: flex;
  align-items: center;
  width: fit-content;
  font-size: 2.2rem; /* Tablet size */
  margin-bottom: 0.5rem;
  white-space: nowrap !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  overflow: hidden !important;
  max-width: 0;
  border-right: 3px solid transparent;
  line-height: 1;
  position: relative;
  top: 1px;
}

.typing2-part1 {
  animation:
    type-part1 0.45s steps(13, end) 0.5s both,
    blink 0.75s step-end 0.5s infinite,
    cursor-part1 0.1s step-end 0.95s forwards;
}

.typing2-part2 {
  animation:
    type-part2 0.35s steps(10, end) 0.95s both,
    blink 0.75s step-end 0.95s infinite;
}

/* @keyframes type/type2 are defined in style.css */

.slide {
  margin-top: 3rem;
}

.formContacto {
  width: 100% !important;
  margin: 0px !important;
  padding: 0px !important;
}

.buttonForm {
  margin: 1rem auto !important;
  width: calc(100% - 2rem);
}

.formContacto input,
.formContacto textarea {
  width: calc(100% - 2rem) !important;
  margin: 1rem auto !important;
  display: block;
}

footer {
  flex-direction: column; /* Asegura que se apilen */
  align-items: center;
  text-align: center;
}

.logonavbar {
  margin-left: 2.6rem !important;
  margin-right: 0rem;
  text-align: center !important;
}
#logonavbar {
  margin-left: 2rem !important;
}
