@font-face {
  font-family: "Suratha";
  src: url("./fonts/Suratha.ttf") format("truetype");
  font-display: swap;
}

.calligraphy-title {
  font-family: "Suratha", serif;
  font-size: 3.5rem;
  font-weight: bold;
  position: relative;
  color: #7a2a2a;
  display: inline-block;
  overflow: hidden;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4), 0 0 6px rgba(255, 204, 0, 0.2);
}

/* Sheen effect */
.calligraphy-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: sheen 3s infinite;
}

@keyframes sheen {
  0% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}
