@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f4;
    color: #292524;
    overflow-x: hidden;
}

.min-h-screen {
    min-height: 100vh;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(245, 245, 244, 0.9);
    backdrop-filter: blur(4px);
}

nav ul {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

nav ul li {
    list-style-type: none;
    margin: 0 0.75rem;
}

nav ul li button {
    background: none;
    border: none;
    font-size: 1.125rem;
    text-transform: capitalize;
    cursor: pointer;
    transition: color 0.3s;
}

nav ul li button.active {
    color: #15803d;
    font-weight: 600;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.text-center {
    text-align: center;
}

h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

p {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #57534e;
}

.max-w-3xl {
    max-width: 48rem;
    margin: 0 auto;
}

.bg-white {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.timeline-line {
    width: 2px;
    height: 100%;
    background-color: #15803d;
    margin-right: 1rem;
}

.timeline-content {
    background-color: #f5f5f4;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-line {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding: 1rem;
    }

    .timeline-item {
        margin-bottom: 1rem;
    }
}

.contact-links {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-links a {
    margin: 0 1rem;
    color: #57534e;
    transition: color 0.3s, transform 0.3s;
}

.contact-links a:hover {
    color: #15803d;
    transform: scale(1.2);
}

.tree-branch {
    position: absolute;
    left: 50%;
    width: 1px;
    background-color: #15803d;
}

.leaf-decoration {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #22c55e;
    border-radius: 50%;
}

#scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #15803d;
    font-size: 2rem;
    animation: bounce 1.5s infinite;
}

.project-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #57534e;
    transition: color 0.3s, transform 0.3s;
}

.project-link:hover {
    color: #15803d;
    transform: scale(1.2);
}

.project-link svg {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .project-links {
        flex-direction: column;
    }

    .project-link {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .project-links {
        flex-direction: column;
        align-items: center;
    }

    .project-link {
        margin-bottom: 1rem;
    }
}

.error-container {
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.home-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #15803d;
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.home-link:hover {
    background-color: #166534;
}

.cv-download-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #15803d;
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s, transform 0.3s;
}

.cv-download-btn:hover {
    background-color: #166534;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 120px;
        height: 120px;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    50% {
        transform: translateY(10px) translateX(-50%);
    }
}

@media (max-width: 1024px) {
    nav ul li {
        display: none;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        justify-content: space-around;
    }

    section {
        padding: 3rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin: 0 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .contact-links {
        flex-wrap: wrap;
    }

    .contact-links a {
        margin: 0.5rem;
    }
}