.project-page {
    margin: 0 auto;
    padding-top: 90px;
}

.nav-bar {
    height: 100px;
}

.project-header {
    height: 20vh;
    display: flex;
    margin-top: 10em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.project-header h1 .title {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 7rem;
    color: var(--accent-color);
}

h1 .subtitle {
    font-size: 3rem;
    font-weight: 200;
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
}

h2 {
    color: var(--text-color);
}

.project-technology {
    color: var(--text-color);
}

.scroll-indicator {
    animation: bounce 2s infinite;
    margin-top: 3em;
    margin-bottom: 15em;
}

.project-hero {
    width: 80%;
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 4 / 3;
    transition: all 0.3s ease;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-content {
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
}

.project-overview {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.project-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
}

.project-links .project-button {
    min-width: 100px;
    text-align: center;
    padding: 1rem 1.5rem;
    flex: 1;
    white-space: nowrap;
}

.project-description {
    color: var(--text-color);
    /* padding-left: 4em; */
}

.project-technology {
    cursor: default;
    font-family: 'Raleway', 'Raleway Fallback', sans-serif;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1);
    border: solid 1px rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

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

@media (max-width: 1280px) {
    .project-header h1 .title {
        font-size: 6rem;
    }

    h1 .subtitle {
        font-size: 2.5rem;
    }

    .project-hero {
        width: 90%;
    }

    .project-content {
        width: 90%;
        gap: 3rem;
    }

    .project-description {
        padding-left: 2em;
    }

    .scroll-indicator {
        margin-bottom: 12em;
    }

    .project-header {
        margin-top: 8em;
    }
}

@media (max-width: 1024px) {
    .project-header h1 .title {
        font-size: 5rem;
    }

    h1 .subtitle {
        font-size: 2rem;
    }
    .project-description {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .project-header h1 .title {
        font-size: 4rem;
    }

    h1 .subtitle {
        font-size: 1.5rem;
    }

    .project-hero {
        width: 90%;
    }

    .project-content {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-description {
        padding-left: 0;
    }

    .project-overview {
        position: static;
    }

    .scroll-indicator {
        margin-bottom: 8em;
    }
}

@media (max-width: 480px) {
    .project-header h1 .title {
        font-size: 2.5rem;
    }

    h1 .subtitle {
        font-size: 1rem;
    }

    .project-hero {
        width: 100%;
    }

    .project-links {
        flex-direction: column;
    }

    .project-technologies {
        gap: 0.5rem;
    }

    .scroll-indicator {
        margin-bottom: 8em;
    }

    .project-header {
        margin-top: 5em;
    }
}
