p {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

h1 {
    font-family: "Geist", sans-serif;
}

h2 {
    font-family: "Geist", sans-serif;
    font-weight: 600 !important;
}

h3 {
    font-family: "Roboto Mono", monospace;
    color: #17E9D1;
}

.geist-300 {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.blinking-underline {
    position: relative;
}

.blinking-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    animation: blink 1s step-start infinite;
}

.learnmore-button {
    border: none;
    background-size: 300% 100%;
    transition: 0.3s;
    background-image: linear-gradient(-60deg, #09b6a2, rgb(107, 248, 231), rgb(9, 182, 162));
    background-position: 100% 0px;
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 14ch;
    }

    /* Add 1ch to ensure the last character shows */
}

@keyframes blinkCaret {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: #1AE4C7;
    }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #1AE4C7;
    width: 0;
    animation:
        typewriter 2.5s steps(19, end) forwards,
        blinkCaret 0.75s step-end infinite;
}

html {
    scroll-behavior: smooth;

}

::selection {
    background-color: #1AE4C7;
    /* Example: yellow-400 */
    color: #000000;
    /* Optional: change selected text color */
}

.energy-trace {
    position: absolute;
    background: #17E9D1;
    z-index: 10;
    opacity: 0.9;
    box-shadow:
        0 0 4px #17E9D1,
        0 0 8px #17E9D1,
        0 0 20px rgba(23, 233, 209, 0.5),
        0 0 40px rgba(23, 233, 209, 0.3),
        0 0 80px rgba(23, 233, 209, 0.2);

    filter: blur(1px);
    animation: energy-trace-animation 4s linear infinite;
}

/* Keyframes: move + stretch the glowing trace along edges */
@keyframes energy-trace-animation {
    0% {
        top: 0;
        left: 0;
        width: 0;
        height: 2px;
    }

    25% {
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
    }

    26% {
        top: 0;
        left: 100%;
        width: 2px;
        height: 0;
    }

    50% {
        top: 0;
        left: 100%;
        width: 2px;
        height: 100%;
    }

    51% {
        top: 100%;
        left: 100%;
        width: 0;
        height: 2px;
    }

    75% {
        top: 100%;
        left: 0;
        width: 100%;
        height: 2px;
    }

    76% {
        top: 100%;
        left: 0;
        width: 2px;
        height: 0;
    }

    100% {
        top: 0;
        left: 0;
        width: 2px;
        height: 100%;
    }
}

/* CSS */
.button-59 {
    align-items: center;
    background-color: #fff;
    border: 2px solid #000;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    fill: #000;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    justify-content: center;
    letter-spacing: -.8px;
    line-height: 24px;
    min-width: 140px;
    outline: 0;
    padding: 0 17px;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-59:focus {
    color: #171e29;
}

.button-59:hover {
    border-color: #09b6a2;
    color: #09b6a2;
    fill: #09b6a2;
}

.button-59:active {
    border-color: #09b6a2;
    color: #09b6a2;
    fill: #09b6a2;
}

@media (min-width: 768px) {
    .button-59 {
        min-width: 170px;
    }
}