* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* animation: fadeInUp 1s ease-out; */
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInDown 1s ease-out 0.2s both;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #bb86fc, #03dac6);
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 0, 0, 0.8);
}

.profile-photo:hover::before {
    opacity: 1;
}

.name {
    font-size: 3rem;
    font-weight: 390;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #bb86fc, #03dac6);
    background-size: 200% 200%;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    animation: gradientShift 3s ease-in-out infinite;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(187, 134, 252, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover {
    background: rgba(187, 134, 252, 0.2);
    border-color: rgba(187, 134, 252, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(187, 134, 252, 0.3);
    color: #fff;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.quick-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.quick-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(45deg, #bb86fc, #03dac6);
    transition: width 0.3s ease;
}

.quick-links a:hover {
    color: #e2e8f0;
}

.quick-links a:hover::after {
    width: 100%;
}

.term-container {
    margin-top: -2rem;
    margin-bottom: 3rem;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* animation: fadeInUp 1s ease-out; */
}

.terminal-content {
    min-height: 250px;
    border-radius: 16px;
    padding: 2.2rem 1.5rem;
    margin-top: 1rem;
    font-family: "Fira Mono", "Consolas", monospace;
    font-size: 1.1rem;
    position: relative;
}

.prompt-line {
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.user,
.at,
.host,
.path,
.dollar {
    font-weight: 600;
}

.user {
    color: #4ecdc4;
}

.at {
    color: #94a3b8;
}

.host {
    color: #ff6b6b;
}

.path {
    color: #bb86fc;
}

.dollar {
    color: #03dac6;
}

.command {
    color: #e2e8f0;
    font-weight: 500;
    letter-spacing: 0.03em;
    flex-wrap: wrap;
    word-break: break-all;
    overflow-wrap: break-word;
}

.cursor {
    width: 0.6ch;
    background: #e2e8f0;
    animation: blink 1s steps(2, start) infinite;
    display: inline-block;
    height: 1em;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.output-hidden {
    margin-top: 1.2rem;
    min-height: 3rem;
    transition: opacity 0.6s;
    opacity: 1;
    flex: wrap;
    word-break: break-all;
    overflow-wrap: break-word;
}

.hidden {
    display: none !important;
}

.info-line {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.3rem;
    align-items: baseline;
    opacity: 0;
    transform: translateY(20px);
    /* animation: fadeInUp 0.5s forwards; */
    /* animation-delay: 0s; */
}

.output-hidden .info-line:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.label {
    font-weight: 600;
    color: #bb86fc;
    min-width: 80px;
    letter-spacing: 0.03em;
}

.bio {
    color: #e2e8f0;
    overflow-wrap: break-word;
}

.bio.highlight {
    color: #4ecdc4;
    font-weight: 600;
    word-break: break-all;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

#final-prompt {
    margin-top: 2.5rem;
}


.pointless.webring {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0 0;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pointless.webring li {
    margin: 0;
    padding: 0;
}

.pointless.webring a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pointless.webring a::before {
    /* this will allow me to click through the effects*/
    pointer-events: none;
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(187, 134, 252, 0.2),
            transparent);
    transition: left 0.4s ease;
}

.pointless.webring a:hover::before {
    left: 100%;
}

.pointless.webring a:hover {
    color: #e2e8f0;
    background: rgba(187, 134, 252, 0.1);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.3);
}

#lambda {
    color: #bb86fc;
    font-weight: 600;
    font-family: "Fira Mono", "Consolas", monospace;
    font-size: 1rem;
    margin: 0 0.3rem;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@media (max-width: 600px) {
    .pointless.webring {
        flex-wrap: wrap;
        gap: 0.3rem;
        padding: 0.6rem 0.8rem;
        margin: 0.5rem 0 0 0;
    }

    .pointless.webring a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    #lambda {
        font-size: 0.9rem;
        margin: 0 0.2rem;
    }
}

@media (max-width: 600px) {
    .name {
        font-size: 2rem;
        margin-bottom: 0rem;
        margin-bottom: 0.5rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        animation: none;
        margin-bottom: 1.6rem;
    }

    .quick-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        margin: 0.5rem 0;
    }

    .term-container {
        margin-bottom: 1rem;
    }

    .terminal-content {
        padding: 0.9rem 0.3rem;
        font-size: 0.8rem;
        min-height: 200px;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
        padding: 3px;
    }

    .profile-photo img {
        border: 1px solid rgba(0, 0, 0, 0.8);
    }

    .prompt-line {
        flex-wrap: wrap;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .nav a {
        font-size: 0.8rem;
    }
}
