/* ========================================   TECHNOLOGY SECTION======================================== */

.technology-section {
  width: 100%;
  margin-top: 1vw;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

/* ========================================   HEADING======================================== */

.technology-section h1 {
  margin-bottom: 2vw;
  color: var(--bs-primary);
  font-weight: 700;
  text-align: center;
}

.technology-section > p {
  max-width: 70ch;
  font-size: calc(.6rem + .7vw);
  line-height: 1.6;
}

/* ========================================   MARQUEE WINDOW======================================== */

.technology-marquee {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ========================================   MOVING TRACK======================================== */

.technology-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content !important;
  min-width: max-content !important;
  animation: technology-scroll 35s linear infinite;
  will-change: transform;
}

/* ========================================   EACH DUPLICATED SET======================================== */

.technology-set {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: max-content !important;
  gap: clamp(1.4rem, 2vw, 2.25rem);
  padding-right: clamp(1.4rem, 2vw, 2.25rem);
}

/* ========================================   COMPANY NAMES======================================== */

.technology-name {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--bs-warning);
  font-size: clamp(1.5rem, 1vw, 1rem);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

/* ========================================   SEPARATORS======================================== */

.technology-separator {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--bs-warning);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* ========================================   SCROLL======================================== */

@keyframes technology-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover */

.technology-marquee:hover .technology-track {
  animation-play-state: paused;
}

/* ========================================   MOBILE======================================== */

@media (max-width: 767.98px) {
  .technology-section {
    padding-top: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .technology-marquee {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }
}

@media (max-width: 767.98px) {
  .technology-name {
    font-size: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .technology-set {
    gap: 1.25rem;
    padding-right: 1.25rem;
  }
}

