:root {
  --naranja-color: #ed5f2e;
  --naranja-secundario-color: #f2913d;
  --font-elza--regular: "elza", sans-serif;
  --font-etica--regular: "lft-etica-mono", sans-serif;
}

main {
  min-width: 400px;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Mejora para móviles */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}

.texto-parallax {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: url(../img/fondo-basket.jpg);
  font-size: 5rem;
}

.fondo-texto-parallax {
  background-color: var(--naranja-secundario-color);
  font-family: var(--font-elza--regular);
}

.img-borja {
  transform: translateY(8rem);
}

.max-w-intrinseco {
  max-width: 438px !important;
  height: auto !important;
}

.border-orange {
  border-bottom: 2px solid var(--naranja-color);
}

@media (max-width: 1024px) {
  .cont-scroll-animation {
    max-height: 60rem;
  }

  .texto-parallax {
    font-size: 2rem;
  }
}

.cont-bio {
  max-height: 50rem;
}

.cont-scroll-animation::-webkit-scrollbar {
  display: none;
}

.blanco,
.naranja {
  height: 0.2rem;
}

.naranja {
  background-color: var(--naranja-color);
}

.blanco {
  background-color: white;
}

.footer {
  background-image: url(../img/elipse.png);
  background-repeat: no-repeat;
  background-position: right top 95%;
}

.min-400 {
  min-width: 400px;
}

.sec-animada {
  background-image: linear-gradient(
      90deg,
      rgba(42, 42, 42, 0.7) 0%,
      rgba(0, 0, 0, 0.87) 54%
    ),
    url("../img/fondo-basket.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.retrato {
  max-width: 300px;
}

.scroll-progress-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

#scrollProgress {
  height: 100%;
  width: 0%;
  background: orange;
  transition: width 0.1s linear;
}
