/* ============================ */
/*    Font Styles */
/* ============================ */

/* Glacial Indifference */
@font-face {
  font-family: "Glacial";
  src: local("Glacial Indifference"),
    url("/fonts/glacial-indifference.regular.woff2") format("woff2"),
    url("/fonts/glacial-indifference.regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glacial";
  src: local("Glacial Indifference Bold"),
    url("/fonts/glacial-indifference.bold.woff2") format("woff2"),
    url("/fonts/glacial-indifference.bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================ */
/*    Global Styles */
/* ============================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background-color: #070707;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Glacial", sans-serif;
}

/* ============================ */
/*    General Animation Styles */
/* ============================ */

/* Fade In From Right Animation */
[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-animate="fade-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In From Left Animation */
[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-animate="fade-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In From Up Animation */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}
[data-animate="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In From Down Animation */
[data-animate="fade-down"] {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}
[data-animate="fade-down"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Opacity Animation */
[data-animate="opacity-fade-in"] {
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
[data-animate="opacity-fade-in"].visible {
  opacity: 1;
}

/* ============================ */
/*    Miscellaneous Element Styles */
/* ============================ */

/* Fade Background */
.fade-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(360deg, #14131b 0%, #004aad50 50%, #14131b 100%);
  z-index: 0;
}

/* Text Divider */
.text-divider {
  width: 75px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #004aad 0%, #4c98ff 100%);
}

/* Scroll Spacer for Horizontal Scrolling Containers */
.scroll-spacer {
  min-width: 2rem;
  height: 1px;
  pointer-events: none;
}
@media (max-width: 700px) {
  .scroll-spacer {
    min-width: 1rem;
  }
}

/* General left/right Controls */
.scroll-controls {
  position: relative;
  left: 0;
  bottom: 1.25rem;
  width: 100%;
  display: flex;
  justify-content: end;
  padding: 1rem 2rem 0rem 2rem;
  gap: 1rem;
  z-index: 60;
}
.scroll-btn img {
  width: 20px;
  height: 20px;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%)
    contrast(103%);
}
.scroll-controls .scroll-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #004aad;
  background: #14131b;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.scroll-controls .scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.scroll-controls .scroll-btn,
.scroll-controls .prev,
.scroll-controls .next {
  touch-action: manipulation; /* stops double-tap zoom on iOS */
  -webkit-tap-highlight-color: transparent;
}
