.dark {
    --rosewater: #f5e0dc;
    --flamingo: #f2cdcd;
    --pink: #f5c2e7;
    --mauve: #cba6f7;
    --red: #f38ba8;
    --maroon: #eba0ac;
    --peach: #fab387;
    --yellow: #f9e2af;
    --green: #a6e3a1;
    --teal: #94e2d5;
    --sky: #89dceb;
    --sapphire: #74c7ec;
    --blue: #89b4fa;
    --lavender: #b4befe;
    --text: #cdd6f4;
    --subtext1: #bac2de;
    --subtext0: #a6adc8;
    --overlay2: #9399b2;
    --overlay1: #7f849c;
    --overlay0: #6c7086;
    --surface2: #585b70;
    --surface1: #45475a;
    --surface0: #313244;
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;
}

.light {
    --rosewater: #dc8a78;
    --flamingo: #dd7878;
    --pink: #ea76cb;
    --mauve: #8839ef;
    --red: #d20f39;
    --maroon: #e64553;
    --peach: #fe640b;
    --yellow: #df8e1d;
    --green: #40a02b;
    --teal: #179299;
    --sky: #04a5e5;
    --sapphire: #209fb5;
    --blue: #1e66f5;
    --lavender: #7287fd;
    --text: #4c4f69;
    --subtext1: #5c5f77;
    --subtext0: #6c6f85;
    --overlay2: #7c7f93;
    --overlay1: #8c8fa1;
    --overlay0: #9ca0b0;
    --surface2: #acb0be;
    --surface1: #bcc0cc;
    --surface0: #ccd0da;
    --base: #eff1f5;
    --mantle: #e6e9ef;
    --crust: #dce0e8;
}

.bg-theme-base {
    background-color: var(--base);
}

.bg-theme-surface0 {
    background-color: var(--surface0);
}

.bg-theme-surface1 {
    background-color: var(--surface1);
}

.text-theme-text {
    color: var(--text);
}

.text-theme-subtext1 {
    color: var(--subtext1);
}

.text-theme-red {
    color: var(--red);
}

.text-theme-green {
    color: var(--green);
}

.text-theme-blue {
    color: var(--blue);
}

.border-theme-surface1 {
    border-color: var(--surface1);
}

.from-theme-red {
    --tw-gradient-from: var(--red);
}

.to-theme-green {
    --tw-gradient-to: var(--green);
}


@keyframes fall {
    from {
        transform: translateY(-10vh) rotate(0deg);
    }
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}

.animate-fall {
    animation: fall linear infinite;
}

/* Terminal Styling */
.terminal-box {
    border: 1px solid var(--surface1);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--base);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: var(--surface0);
    border-bottom: 1px solid var(--surface1);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot-red {
    background-color: var(--red);
}

.dot-yellow {
    background-color: var(--yellow);
}

.dot-green {
    background-color: var(--green);
}

/* goofball terminal */
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--mauve) 0%,
        var(--red) 25%,
        var(--peach) 50%,
        var(--yellow) 75%,
        var(--green) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}