:root {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
    --highlight-rgb: 100 149 237;
    --highlight-color: rgb(var(--highlight-rgb));
    --contrast-rgb: 237 181 100;
    --contrast-color: rgb(var(--contrast-rgb));
    --link-color: #fff;
    --shadow-color: #000;
    --glow-color: #fff;
    --bg-from: #102a43;
    --bg-to: #0a192f;
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: InterVariable, sans-serif;
    }
}

body {
    
    text-shadow: 1px 1px 1px var(--shadow-color);
}

body::before {
    content: "";
    position: fixed;
    inset: 0px;
    z-index: -2;
    background-image: url('./images/TronLegacy-70.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center calc(50% - 100px);
    filter: blur(4px);
    opacity: 0.22;
}

a:hover {
    color: var(--highlight-color);
}

#matrix {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.term-row {
    position: relative;
    padding-left: 1rem;
}

.term-row::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: rgb(var(--highlight-rgb));
    opacity: 0;
    transition: opacity 0.2s;
}

.term-row:hover::before {
    opacity: 1;
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@supports (background-clip: text) {
    .gradient-text h1 {
        position: relative;
        background: linear-gradient(110deg, #5b7fb5 0%, #ffffff 25%, #9db8e8 50%, #ffffff 75%, #5b7fb5 100%);
        background-size: 250% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.5));
        animation: sheen 16s linear infinite;
    }
}

@keyframes sheen {
    to {
        background-position: -250% center;
    }
}

.card {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waves {
    pointer-events: none;
    border-bottom: 40px solid #fff;
}

.parallax>use {
    animation: wave-slide 22s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 12s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 16s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 24s;
}

@keyframes wave-slide {
    0% {
        transform: translate3d(-88px, 0, 0);
    }

    100% {
        transform: translate3d(88px, 0, 0);
    }
}