:root {
    --primary-color: blue;
    --font-color: #eee;
    --highlight-color: #b8c7ff;
    --font-size: 16px;
}
body {
    width: 100vw;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: #1a1a1a;*/
    /*gradient background, dark color on right*/
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
    background: radial-gradient(
        circle at 30% 50%,
        #0a1633 0%,
        #050b1a 60%,
        #01030a 100%
    );
    font-family: 'Space Mono', 'Roboto Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card {
    display: flex;
    width: 80%;
    height: 80vh;
    /*background: #aaaa00;*/
    border-radius: 20px;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);*/
    overflow: hidden;
}

.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--font-color);
    margin: 0 0 20px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideFadeIn 0.8s ease forwards;
}
.profile-pic {
    width: 20%;
    left: 5%;
    top: 30%;
    object-fit: cover;
    position: absolute;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateX(-50px);
    animation: slideFadeIn 0.8s ease forwards;
}

@keyframes slideFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tab-content {
    position: relative;
    max-width: 700px;
    padding-right: 10px; /* space for scrollbar */
    color: var(--font-color);
    font-size: 1.1rem;
} /* optional modern scrollbar */
.tab-content::-webkit-scrollbar {
    width: 8px;
}
.tab-content::-webkit-scrollbar-track {
    background: transparent;
}
.tab-content::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}
.tab-content::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

.tab-panel {
    opacity: 0;
    transform: translateX(20px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    position: absolute;
    z-index: -1;
}

.tab-panel.active {
    opacity: 1;
    max-height: 50vh;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(0);
    position: relative;
    z-index: 1;
}

.tabs {
    display: flex;
    gap: 10px;
}

.tabs button {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    background: #eee;
    color: #222;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.tabs button.active {
    background: #444;
    color: #fff;
}

.tabs button:hover {
    background: #bbb;
}

.right {
    flex: 1;
    background: #eaeaea;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-this {
    width: 30%;
    height: 30%;
    right: -10%;
    top: 10%;
    position: fixed;
    padding: 20px;
}

.about-this:hover {
    cursor: pointer;
}
#canvas-container {
    top: 5%;
    left: 28%;
    width: 100%;
    height: 100%;
    position: fixed;
    pointer-events: none; /* allows clicks to pass through */
    z-index: 9999; /* make sure it's on top */
}
/* Modern entry styles */
.entry {
    border-left: 4px solid var(--highlight-color); /* accent color */
    margin-bottom: 16px;
    cursor: pointer;
    padding: 14px 18px;
    /*background: #fff1;*/
    background: linear-gradient(135deg, #ffffff11 0%, #ffffff00 100%);
    transition: all 0.3s ease;
    color: var(--font-color);
}

.entry:hover {
    background: linear-gradient(135deg, #f0f0ffff 0%, #f0f0ff55 100%);
    transform: translateX(4px);
    color: #111;
}

.entry-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.entry-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
    opacity: 0;
    padding-left: 6px;
}

.entry.expanded .entry-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 6px;
}

.entry-sub {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--highlight-color);
    margin-bottom: 4px;
}

.entry p {
    font-size: 0.85rem;
    margin: 0;
}
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #111;
    font-weight: 600;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background-color 0.2s;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #f0f0f5;
}

/* Icons (using inline SVG for simplicity) */
.social-links svg {
    width: 20px;
    height: 20px;
    fill: #111;
    transition: fill 0.2s;
}

.social-links a:hover svg {
    fill: #0072b1; /* LinkedIn blue for example */
}

/* Specific color for GitHub */
.github:hover svg {
    fill: #333; /* GitHub dark */
}

/* Specific color for LinkedIn */
.linkedin:hover svg {
    fill: #0077b5; /* LinkedIn blue */
}

.about-this img {
    filter: invert(0);
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
    z-index: 10000;
    color: var(--font-color);
    transition: opacity 1.5s ease;
}
.loading p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 500;
    content: 'Loading...';
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}
