@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  --primary: #F5F5F5;
  --black: #333;
  --white:#fff;
  --whiteLight: #FDFDFD;
  --red: #D45046;
  --gray: #CBCBCB;
  --lightgray: #ECECEC;
  --darkgray: #E6E6E6;
  --yellow: #F1CA53;
  --bgDark: #1A1A1A;
  --lightDark:#333333;
  --borderGray: #ccc;
}

.modCursor {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--black);
  height: auto;
  aspect-ratio: 1/1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  cursor: none;
  mix-blend-mode: difference;
  font-size: 30px;
  font-size: 3rem;
  line-height: 1;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  -webkit-transform-origin: center;
          transform-origin: center;
  top: 0px;
  left: 0;
  width: 0;
  -webkit-transition: width 0.3s cubic-bezier(0.4, 0.1, 0.4, 1);
  transition: width 0.3s cubic-bezier(0.4, 0.1, 0.4, 1);
}
@media screen and (max-width: 768px) {
  .modCursor {
    display: none;
  }
}
.modCursor img {
  display: none;
  -webkit-filter: invert(1);
          filter: invert(1);
}
.modCursor img.url {
  overflow: hidden;
  aspect-ratio: 1/1;
}
.modCursor img.url > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@supports not (aspect-ratio: 1/1) {
  .modCursor img.url {
    position: relative;
  }
  .modCursor img.url::before {
    float: left;
    content: "";
    padding-top: 100%;
  }
  .modCursor img.url::after {
    display: block;
    content: "";
    clear: both;
  }
  .modCursor img.url > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
.modCursor img.scroll {
  overflow: hidden;
  aspect-ratio: 25/12;
  width: 25px;
}
.modCursor img.scroll > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@supports not (aspect-ratio: 25/12) {
  .modCursor img.scroll {
    position: relative;
  }
  .modCursor img.scroll::before {
    float: left;
    content: "";
    padding-top: 48%;
  }
  .modCursor img.scroll::after {
    display: block;
    content: "";
    clear: both;
  }
  .modCursor img.scroll > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
.modCursor__text {
  font-size: clamp(20px, 1.6666666667vw, 24px);
  color: var(--bgDark);
}
.modCursor:has(.url) {
  width: clamp(100px, 8.3333333333vw, 120px);
}
.modCursor--rect {
  border-radius: unset;
  aspect-ratio: 2/1;
  font-size: 15px;
  font-size: 1.5rem;
  width: 100px;
}
.modCursorWrapper.active .modCursor {
  -webkit-animation: scaleIn 1s cubic-bezier(0.4, 0.4, 0, 1) forwards;
          animation: scaleIn 1s cubic-bezier(0.4, 0.4, 0, 1) forwards;
}