body {
    font-family: Apercu, "Source Sans Pro", system, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

.container {
    padding-top: 10vh;
    padding-bottom: 15vh;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.intro-section,
.background-section,
.skills-section,
.experience-section,
.projects-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.intro-section.visible,
.background-section.visible,
.skills-section.visible,
.experience-section.visible,
.projects-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-section {
    padding-top: 10vh;
}

.intro {
    text-align: left;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.wave {
    transform-origin: 70% 70%;
    display: inline-block;
}

.wave:hover {
    animation: wave-animation 2s infinite;
}

@keyframes wave-animation {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.intro h2 {
    font-size: 2rem;
    font-weight: normal;
}

.intro .name {
    font-weight: bold;
}

.intro .emoji {
    display: inline-block;
}

.intro p {
    margin-top: 1rem;
    font-size: 1rem;
}

.intro a {
    text-decoration: none;
    color: #007acc;
    font-weight: bold;
}

.intro a:hover {
    text-decoration: underline;
}

.background-section {
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    width: 100%;
    padding-top: 10vh;
}

.section-title {
    flex-shrink: 0;
    width: 200px;
    margin-right: 1.5rem;
    text-transform: uppercase;
    color: #007acc;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: right;
}

.background-content {
    flex: 1;
    text-align: left;
}

.background-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.background-content a {
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-weight: 700;
    color: inherit;
}

.background-content a:hover {
    text-decoration: underline;
}

.skills-section {
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    width: 100%;
    padding-top: 10vh;
}

.skills-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.skills-category {
    flex: 1;
    min-width: 150px;
    margin-right: 2rem;
}

.skills-category h4 {
    text-transform: uppercase;
    color: black;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.skills-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-category li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.experience-section {
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    width: 100%;
    padding-top: 10vh;
}

.experience-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    margin-top: 1.1rem;
}

.experience-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.experience-left {
    flex: 1;
}

.experience-right {
    text-align: right;
    white-space: nowrap;
    font-family: 'Inconsolata', monospace;
    font-size: 0.8rem;
}

.experience-item strong {
    display: block;
    font-size: 1rem;
}

.experience-item p {
    margin: 0.2rem 0;
    font-size: 1rem;
    font-weight: 400;
}

.resume-link {
    text-align: left;
    margin-top: 2rem;
}

.resume-link a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.resume-link .arrow {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.2s ease-in-out;
    font-size: x-large;
    color: #007acc;
}

.resume-link a:hover .arrow {
    transform: translateX(5px);
}

.projects-section {
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    width: 100%;
    padding-top: 10vh;
    padding-bottom: 5vh;
}

.projects-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 1.5rem;
    margin-top: 1.1rem;
}

.project-item {
    margin-bottom: 2rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: black;
    text-decoration: none;
}

.project-title:hover {
    text-decoration: underline;
}

.project-tags span {
    display: inline-block;
    background-color: #e0f7fa;
    color: #007acc;
    padding: 0.3rem 0.5rem;
    margin-right: 0.3rem;
    border-radius: 0.3rem;
    font-size: 0.7rem;
    font-family: Inconsolata, monospace;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left {
    display: flex;
    flex-direction: column;
}

.left p {
    margin: 0;
}

.left span {
    font-weight: bold;
}

.right a {
    text-decoration: none;
    color: #007acc;
    margin-left: 1rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.right a:first-child {
    margin-left: 0;
}

.right a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .background-section,
    .skills-section,
    .experience-section,
    .projects-section {
        flex-direction: column;
    }

    .section-title {
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
    }

    .skills-content {
        flex-direction: column;
    }

    .skills-category {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .right a {
        display: inline-block;
        margin: 0.5rem;
    }
}