/* @link https://utopia.fyi/type/calculator?c=320,18,1.2,1240,20,2,4,0,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

body {
  overflow-x: hidden;
}

.preloader {
  pointer-events: none;
}

.gallery__content {
  width: fit-content;
  display: flex;
  flex-wrap: nowrap;
}

.preloader__progressbar {
  white-space: nowrap;
}

.preloader__progressbar::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  height: 5px;
  background: #5739fb;
  z-index: 200;
  animation: preloader 2s;
}

@keyframes preloader {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.menu__item.is--active::before {
  content: "";
  width: 4px;
  height: 4px;
  background: rgb(9, 255, 0);
  border-radius: 50%;
  position: absolute;
  inset: auto 0 6px 0;
  margin: 0 auto;
  transition: 0.4s ease all;
}

.deco-wrapper {
  pointer-events: none;
}

/* .marquee */

.marquee__svg {
  transition: transform 0.4s ease;
}
.marquee__svg:hover {
  transform: rotate(-45deg);
}

/* .button */

.button__icon,
.button__text {
  position: relative;
  z-index: 5;
}

.button::before {
  content: "";
  width: 0%;
  transition: 0.5s ease all;
  position: absolute;
  z-index: -1;
  inset: 0 0 -100% 0;
  border-radius: 50%;
  background: #5739fb;
}

.button:hover::before {
  width: 100%;
  inset: 0 0 0 0;
  scale: 2;
}

/* .gallery__feature-link */

.gallery__feature-link {
  position: relative;
  overflow: hidden;
}

.gallery__feature-link > * {
  z-index: 5;
}

.gallery__feature-link::before {
  content: "";
  width: 100%;
  height: 0%;
  transition: 0.85s ease all;
  position: absolute;
  z-index: -1;
  inset: 100% 0 0 0;
  border-radius: 50%;
  background: #5739fb;
}

.gallery__feature-link:hover::before {
  height: 100%;
  inset: 0 0 0 0;
  scale: 2;
}

.gallery__feature-label {
  transition: 0.85s ease transform;
}

.gallery__feature-item.is--link:hover .gallery__feature-label {
  transform: rotate(45deg);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1f1f1f;
}
::-webkit-scrollbar-thumb:hover {
  background: #5739fb;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --step-0: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --step-1: clamp(1.35rem, 0.95rem + 2vw, 2.5rem);
  --step-2: clamp(1.62rem, 0.4443rem + 5.8783vw, 5rem);
  --step-3: clamp(1.9438rem, -0.8584rem + 14.0109vw, 10rem);
  --step-4: clamp(2.3325rem, -3.8127rem + 30.7261vw, 20rem);
}

.hero__title {
  font-size: var(--step-4);
}
