@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  color-scheme: light;
}

@font-face {
  font-family: 'BebasNeue Light';
  src: url('fonts/BebasNeueLight.ttf') format('truetype'),
    url('fonts/BebasNeue_light.OTF') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'BebasNeue Thin';
  src: url('fonts/BebasNeue_thin.OTF') format('opentype');
  font-weight: 100;
  font-style: normal;
}

/* Custom Morphing Blob Animation */
@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.animate-morph {
  animation: morph 8s ease-in-out infinite;
}

/* Dynamic underlines on custom links */
.custom-link-underline {
  position: relative;
}

.custom-link-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(1);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.custom-link-underline:hover::after {
  transform: scaleX(0);
  transform-origin: bottom left;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Webkit scrollbar stylings for premium feel */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
  background: #d8c4fa;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0a3d8b;
}