.tech_section {
  width: 90%;
  margin-top: 19rem;
  visibility: visible;
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  transition: all, opacity 2s cubic-bezier(0.5, 0, 0, 1),
    transform 2s cubic-bezier(0.5, 0, 0, 1);
  scroll-margin-top: 190px;
  text-align: center;
  opacity: 1;
}

.tech_div {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 6rem auto 5.2rem auto;
  gap: 4rem;
}

.tech-header h3 {
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  background-image: linear-gradient(rgb(133, 133, 133), rgb(255, 255, 255));
  color: transparent;
  background-clip: text;
}

.language {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.language img {
  width: clamp(3rem, 8vw, 7rem);
  height: auto;
  display: block;
}

.language::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--c-white);
  color: var(--c-mate);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
  z-index: 10;
}

.language:hover::after {
  opacity: 1;
}

@media (max-width: 1020px) {
  .tech_section {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .tech_section {
    margin-top: 8rem;
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .tech_div {
    gap: 1.5rem;
  }

  .language {
    flex: 0 1 80px;
  }
}

@media (max-width: 490px) {
  .tech_div {
    gap: 1rem;
  }

  .language {
    flex: 0 1 60px;
  }
}
