#hero {
  padding-top: 13rem;
  transition: all 0.3s ease;

}

#hero .hero-info {
  display: flex;
  align-items: center;
}

#hero .hero-logo {
  display: none;
}

#hero .hello {
  font-size: 1.1rem;
}

#hero .name {
  font-size: 1.1rem;
  color: var(--link);
  font-weight: bold;
  border-bottom: 1px solid var(--link);
}

#hero h1 {
  font-size: 2.4rem;
  margin: 5px 0;
}

#hero .subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  font-family: "JetBrains Mono", monospace;
  margin-top: 10px;
}

#hero .cnt-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.tech-container {
  margin-top: 70px;

  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.tech-no-slider {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Contenedor del slider */
.tech-slider {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  animation: scroll-tech 20s linear infinite;
  width: max-content;
  flex-wrap: wrap;
}

/* Estilos de cada tecnología */
.tech-slider span,
.tech-no-slider span {
  padding: 5px 10px;
  border: 1px solid var(--text-color2);
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 300;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-color2);
}

.tech-slider i,
.tech-no-slider i {
  font-size: 1.1rem;
}

/* Efecto de desvanecimiento en los bordes */
.slider::before,
.slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Degradado a la izquierda */
.slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

/* Degradado a la derecha */
.slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

/* Animación continua */
@keyframes scroll-tech {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* Móviles pequeños */
@media (min-width: 481px) and (max-width: 768px) {
  /* Estilos aplicados solo a tablets en orientación horizontal */

  #hero {
    padding-top: 17rem;
  }

  #hero h1 {
    font-size: 3rem;
    margin: 5px 0;
    margin-right: 70px;
    transition: all 0.3s ease;
  }

}

/* Tablets grandes y laptops pequeñas */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Cambios para tablets en horizontal y laptops */
  #hero {
    padding-top: 17rem;
  }

  #hero .hero-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

  #hero .hero-logo {
    display: block;

  }

  #hero .hero-logo img {
    width: 200px;
    border-radius: 50%;
  }

  #hero .hello {
    font-size: 1.2rem;
  }

  #hero .name {
    font-size: 1.2rem;
    color: var(--link);
    font-weight: bold;
    border-bottom: 1px solid var(--link);
  }

  #hero h1 {
    font-size: 3.6rem;
    margin: 0;

    transition: all 0.3s ease;
  }
.tech-container {
  margin-bottom: 0px;
}
}

/* Escritorios grandes */
@media (min-width: 1025px) {

  /* Ajustes para pantallas de escritorio */
  #hero {
    padding-top: 18rem;
  }

  #hero .hero-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

  }

  #hero .hero-logo {
    display: block;
  }

  #hero .hero-logo img {
    width: 250px;
    border-radius: 50%;

    transition: all 0.3s ease;
  }


  #hero .hello {
    font-size: 1.2rem;
  }

  #hero .name {
    font-size: 1.2rem;
    color: var(--link);
    font-weight: bold;
    border-bottom: 1px solid var(--link);
  }

  #hero h1 {
    font-size: 4.2rem;
    margin: 0;
    transition: all 0.3s ease;
  }
.tech-container {
  margin-top: 100px;
}
.tech-no-slider {
  gap: 15px;}
}