/* =========================
   SKILLS - MOBILE FIRST
========================= */

.section-skills {
  width: 100%;
  text-align: center;
  padding: 2rem 0 4rem;
  scroll-margin-top: 100px;
}


/* TÍTULO ANIMADO */

.titulo-skills-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  padding-bottom: 1rem;
}

.titulo-skills {
  content: url("../img/skills-titulo-2.svg");
  display: inline-block;
  width: auto;
  animation: moverTitulo 15s linear infinite;
}

@keyframes moverTitulo {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}


/* CONTENEDOR GENERAL */

.skills-container {
  width: 100%;
}


/* BANDAS LILAS */

.skills-heading {
  width: 100%;
  box-sizing: border-box;

  margin: 3rem 0 2rem;
  padding: 1rem 20px;

  background-color: var(--color10);

  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color3);
  text-align: center;
}


/* =========================
   HERRAMIENTAS
========================= */

.contenedor-skills-1 {
  width: calc(100% - 40px);
  max-width: 750px;

  margin: 0 auto;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.skill {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 10px 16px;

  border: 3px solid var(--color5);
  border-radius: 8px;

  background-color: var(--color2);
}

.skill img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.skill span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color3);
}


/* =========================
   ESPECIALIDADES
========================= */

.specialties {
  width: calc(100% - 40px);
  max-width: 850px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.specialties span {
  width: 100%;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 10px 16px;

  border: 2px solid var(--color5);
  border-radius: 999px;

  background-color: var(--color2);

  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--color3);
  text-align: center;
}


/* =========================
   TABLET - 768px
========================= */

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

  .section-skills {
    padding-bottom: 4rem;
  }

  .skills-heading {
    margin: 3.5rem 0 2.5rem;
    font-size: 1.2rem;
  }


  /* HERRAMIENTAS */

  .contenedor-skills-1 {
    width: calc(100% - 80px);
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .skill {
    min-height: 60px;
  }

  .skill img {
    width: 32px;
    height: 32px;
  }

  .skill span {
    font-size: 1.1rem;
  }


  /* ESPECIALIDADES */

  .specialties {
    width: calc(100% - 80px);
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .specialties span {
    min-height: 48px;
    font-size: var(--font-sm);
  }
}


/* =========================
   DESKTOP - 1024px
========================= */

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

  .section-skills {
    padding-bottom: 40px;
  }

  .skills-heading {
    margin: 3.5rem 0 2.5rem;
    font-size: 1.3rem;
  }


  /* HERRAMIENTAS */

  .contenedor-skills-1 {
    width: 750px;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 48px;
  }

  .skill {
    min-height: 58px;
  }

  .skill span {
    font-size: 1.1rem;
  }


  /* ESPECIALIDADES */

  .specialties {
    width: 850px;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .specialties span {
    min-height: 48px;
  }
}