.techstack {
  height: auto;
  width: 100dvw;
  background: black;
  color: var(--bg);
  margin-top: 24dvh;
  padding-top: 30dvw;
  padding-bottom: 15dvh;
  display: flex;
  align-items: left;
  justify-content: center;
  flex-direction: column;

  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  will-change: clip-path;
  transition: clip-path 0.3s ease-out;
}

.magulang.ts {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: left;
  position: relative;
  align-self: left;
}

.scroll-text.hs.ts {
  align-self: left;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: clamp(1rem, 12.2vw, 28rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--bg);
  text-align: left;
  z-index: 1;
  width: 96%;
}

.skills-parent {
  margin-left: auto;
  margin-right: auto;
  margin-top: -6dvh;
  font-family: "Inter", sans-serif;
  letter-spacing: -4%;
  font-size: clamp(0.7rem, 1.6vw, 1.5rem);
  font-weight: 500;
  width: 96dvw;
  height: fit-content;
  transition: all 0.4s ease-out;

  .skill-child {
    border-top: 0.005rem solid rgb(208, 207, 207);

    .skill {
      padding: 3.6dvh 0;
      transition: padding 0.3s ease;
    }

    .skill-icons {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      padding: 0 10dvw;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
      transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        padding 0.4s ease;

      .skill-icon {
        width: 5dvw;
        height: 5dvh;
      }
    }

    &:hover {
      .skill {
        padding: 2dvh 2.6dvw;
      }

      .skill-icons {
        max-height: 20dvh;
        opacity: 1;
        padding: 0 10dvw 6dvh 10dvw;
      }
    }
  }
}

@media (max-width: 900px) {
  .techstack {
    margin-top: 8dvh;
    padding-bottom: 2dvh;
    justify-content: flex-start;
  }
  .skills-parent {
    margin-top: -2dvh;

    &:hover {
      .skill {
        padding: 1dvh 2.6dvw;
      }

      .skill-icons {
        max-height: 20dvh;
        opacity: 1;
        padding: 0 10dvw -3dvh 10dvw;
      }
    }
  }
}
