@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
body {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
}

h1, h2, h3 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
}

h1, h2, h3, h4, h5, h6, p, a {
  position: relative;
}

/* Reset scrollbar styles */
::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
}

.hero-header {
    height: 100vh;
    width: 100vw;
    background-color: #1C1C1E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.running-text-container {
    width: 100%;
    overflow: hidden;
}

.running-text {
    display: flex;
    white-space: nowrap;
    animation: runText 20s linear infinite;
}

.running-text span {
    color: #fff;
    font-size: clamp(4rem, 12vw, 16rem);
    font-weight: 700;
    padding-right: 2vw;
    text-transform: uppercase;
}

@keyframes runText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: clamp(0.875rem, 1vw, 1rem);
}

.scroll-indicator svg {
    fill: currentColor;
    animation: bounce 2s infinite;
    width: clamp(16px, 1.5vw, 24px);
    height: auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Media Queries */
@media (min-width: 2000px) {
    .running-text span {
        font-size: clamp(8rem, 10vw, 20rem);
    }
}

@media (max-width: 768px) {
    .running-text span {
        font-size: clamp(3rem, 8vw, 6rem);
    }
}