@font-face {
  font-family: Geist;
  src: url("../fonts/68cede0aeb2fb0fd09f5bf3e_Geist-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("../fonts/68cede0acf3842139fef385d_Geist-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("../fonts/68cede0a3f86adf32476ebe7_Geist-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("../fonts/68cede0a46e749fd2253c909_Geist-Bold.ttf")
    format("truetype");
  font-weight: 700;
  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, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  max-width: 100%;
  color: #333;
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 999;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: black;
  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;
  }
}
