@font-face {
  font-family: "Zolina";
  src: url("../fonts/688b2915d7a872750feffed8_Zolina-Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/gyByhwUxId8gMEwcGFU.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Geist", sans-serif;
  font-style: normal;
  font-weight: 400;
  max-width: 100%;
  color: #4a4c56;
}

.more-arrow-btn-left {
  transition: opacity 0.5s ease-in-out;
}

.more-arrow-btn-right {
  transition:
    transform 0.5s ease-in-out,
    opacity 0.5s ease-in-out;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg)
    rotateZ(0deg) skew(0deg, 0deg);
  opacity: 1;
}

.more-arrow-btn-text {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 1.8);
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg)
    rotateZ(0deg) skew(0deg, 0deg);
}

.more-arrow-btn-wrap:hover .more-arrow-btn-right {
  transform: translate3d(-80px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg)
    rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  opacity: 0;
}

.more-arrow-btn-wrap:hover .more-arrow-btn-text {
  transform: translate3d(28px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg)
    rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 999;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
  opacity: 0;
  visibility: hidden;
  animation: showBtn linear forwards;
  animation-timeline: scroll(root);
  animation-range: 200px 500px;
}

@keyframes showBtn {
  to {
    opacity: 1;
    visibility: visible;
  }
}

@media screen and (max-width: 768px) {
  .back-to-top {
    animation-range: 50px 100px;
  }
}
