:root {
    --bg-color: #FFFFFF;
    --text-color: #333333;
    --accent-color: #F5F5F5;
    --timeline-color: #E0E0E0;
    --tag-bg: #EEEEEE;
}
.segment {
    text-align: center;
    padding: 0.5rem 0;
}

.segment div {
    margin: 0.5rem 0;
}

.header-title {
    font-size: 1.2rem;
    font-weight: 500;
}

.header-subtitle {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 0.5rem;
}
#pfp {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 12px;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

div.segment.fade-in {
    height: 200px;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bounce {
    animation: bounce 1.5s ease-in-out infinite;
    margin-top: 1rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background-color: var(--accent-color);
    transition: all 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    opacity: 1;
    background-color: #eaeaea;
}

.social-links svg,
.social-links img {
    width: 0.69rem;
    height: 0.69rem;
    fill: currentColor;
}

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

body {
    background-color: #FFFFFF;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    padding-top: 80px;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.profile {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    background-color: var(--accent-color);
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.scroll-indicator {
    text-align: center;
    margin: 0.5rem 0;
    animation: bounce 2s infinite;
}

.timeline {
    position: relative;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.project-card {
    margin-bottom: 3rem;
    width: 100%;
}

.project-content {
    background-color: #F5F5F5;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.external-link-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 1.2rem;
    height: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.external-link-icon:hover {
    opacity: 1;
}

.project-header {
    padding-right: 3rem;
}

.icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: var(--text-color);
}

.project-period {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--tag-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
}

.active .project-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
        padding-top: 60px;
    }
    
    .timeline {
        padding-left: 0;
        padding-right: 0;
    }
    
    .project-card {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .project-images {
        padding: 0.5rem;
    }
    
    .project-images img {
        width: 100%;
        height: auto;
        margin: 0 0 1rem 0;
        transform: none;
    }
    
    .project-images img:nth-child(2n) {
        transform: none;
    }
    
    .project-images img:hover {
        transform: none;
    }
    
    .media-coverage {
        justify-content: center;
        gap: 1rem;
    }
    
    .media-coverage img {
        height: 30px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-icon {
        top: 1rem;
        right: 1rem;
    }
    
    .project-header {
        padding-right: 2.5rem;
    }
}
.project-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 1.5rem 0;
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.project-images img {
    width: 300px;
    height: 225px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: rotate(-2deg) translateZ(0);
    margin: -0.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    perspective: 1000;
    will-change: transform;
}

.project-images img:nth-child(2n) {
    transform: rotate(3deg);
    z-index: 1;
}

.project-images img:hover {
    transform: rotate(0) scale(1.05);
    z-index: 2;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.media-coverage {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--timeline-color);
}

.media-coverage img {
    height: 35px;
    width: auto;
    max-width: 100%;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.media-coverage img:hover {
    opacity: 1;
}

.project-description {
    margin-top: 1.5rem;
    line-height: 1.6;
    color: #4A4A4A;
}
.progress-container {
    margin: 1.5rem 0;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: #2196F3;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.timeline-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.toggle-container {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 30px;
    padding: 4px;
    display: inline-flex;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-option {
    color: #666;
    padding: 8px 24px;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.toggle-option.selected {
    color: #333;
}

.toggle-background {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #F5F5F5;
    border-radius: 25px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    transition: transform 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.show-adventure .toggle-background {
    transform: translateX(100%);
}

.project-card[data-category="tech"] {
    display: block;
}

.project-card[data-category="adventure"] {
    display: none;
}

.show-adventure .project-card[data-category="tech"] {
    display: none;
}

.show-adventure .project-card[data-category="adventure"] {
    display: block;
}