.card h2 span, .nav-link::after {
    background-color: #ef4444;
    bottom: -4px;
    height: 2px;
    position: absolute;
    left: 0
}

.card, .download-card {
    border-radius: 8px;
    width: 256px
}

.card a, .carousel-item a {
    display: block;
    position: relative
}

.card a, .card h2, .carousel, .carousel-item, .carousel-item a, .title-container {
    position: relative
}

.about-info p, body {
    font-family: Inter, sans-serif
}

.about-info p strong, .download-link {
    font-weight: 600;
    color: #ef4444
}

.about-card, .breadcrumb, .card h2 {
    text-align: center
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0
}

body {
    background-color: #0f0f0f;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

main {
    flex: 1 0 auto;
    padding-bottom: 40px;
    padding-top: 140px
}

footer {
    flex-shrink: 0
}

.card .bg-black, .download-card {
    align-items: center;
    display: flex
}

#backgroundCanvas {
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    z-index: 0
}

.title-container {
    margin-bottom: 2rem
}

.line {
    background-color: #ef4444;
    height: 4px
}

.left-line {
    margin-right: 10px
}

.right-line {
    margin-left: 10px
}

.nav-link::after {
    content: '';
    transition: width .3s ease-in-out;
    width: 0
}

.card a, .card h2 span, .card img, .nav-link:hover::after {
    width: 100%
}

.route-link {
    color: #ef4444;
    text-decoration: underline
}

.download-link:hover, .route-link:hover {
    color: #f87171
}

.card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    height: 256px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s
}

.card:hover, .download-card:hover {
    transform: translateY(-5px)
}

.card a {
    height: 100%
}

.card img {
    filter: grayscale(100%);
    height: 100%;
    object-fit: cover;
    transition: filter .3s
}

.card:hover img {
    filter: grayscale(0)
}

.card::before {
    content: '';
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1
}

.card .bg-black {
    background: rgba(0, 0, 0, .5);
    inset: 0;
    justify-content: center;
    position: absolute
}

.card h2 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 1rem
}

.download-card {
    background: rgba(255, 255, 255, .03);
    height: 100px;
    justify-content: center;
    margin: 0 auto;
    transition: transform .3s
}

.download-link {
    align-items: center;
    display: flex;
    font-size: 1.25rem;
    gap: .5rem;
    text-decoration: none;
    transition: color .3s
}

.file-icon {
    fill: currentColor;
    height: 1.5rem;
    width: 1.5rem
}

.pdf-viewer {
    border: none;
    border-radius: 8px;
    height: 500px;
    width: 100%
}

.carousel {
    -webkit-perspective: 1000px;
    height: 400px;
    overflow-y: auto;
    perspective: 1000px;
    width: 100%
}

.carousel-item a {
    padding: .5rem;
    white-space: normal;
    word-wrap: break-word;
    color: #fff;
    text-align: left;
    text-decoration: none;
    width: 100%;
    z-index: 1
}

.breadcrumb a:hover, .carousel-item a:hover, .scroll-help:hover {
    color: #ef4444
}

.carousel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transform-style: preserve-3d
}

.carousel-item, .scroll-help {
    align-items: center;
    display: flex
}

.carousel-item {
    background: rgba(255, 255, 255, .1);
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    height: auto;
    margin: 0;
    min-height: 60px;
    max-height: 60px;
    min-width: 400px;
    overflow: hidden;
    padding: 50px 30px;
    transition: background .5s
}

.carousel-item:hover {
    background: rgba(239, 68, 68, .3)
}

.carousel-item:hover::before {
    animation: 2s ease-in-out infinite lightMove;
    background: linear-gradient(120deg, transparent, rgba(239, 68, 68, .2), transparent);
    content: '';
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 200%;
    z-index: 0
}

.carousel-item::after {
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
    bottom: -10px;
    content: '';
    height: 10px;
    left: 0;
    pointer-events: none;
    position: absolute;
    width: 100%
}

.carousel::-webkit-scrollbar {
    width: 10px
}

.carousel::-webkit-scrollbar-track {
    background: #0f0f0f
}

.carousel::-webkit-scrollbar-thumb {
    background: #ef4444;
    border-radius: 5px
}

.carousel::-webkit-scrollbar-thumb:hover {
    background: #f87171
}

.scroll-help {
    color: #d1d5db;
    font-size: .875rem;
    gap: .5rem;
    justify-content: center;
    padding: .5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: color .3s;
    z-index: 10
}

.scroll-arrow {
    animation: 1.5s infinite bounce;
    height: 1rem;
    width: 1rem
}

.project-list-container {
    margin-bottom: 1rem;
    position: relative
}

.about-container {
    align-items: center;
    background: #0f0f0f;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 200px);
    overflow: hidden;
    padding: 2rem;
    position: relative
}

.about-card {
    background: rgba(255, 255, 255, .03);
    border-radius: 12px;
    max-width: 600px;
    padding: 2rem;
    transition: transform .3s
}

.about-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase
}

.about-logo {
    margin-bottom: 1.5rem;
    max-height: 180px
}

.about-info p {
    color: #fff;
    font-size: 1.1rem;
    margin: .5rem 0
}

.breadcrumb {
    padding: .5rem 1rem
}

.breadcrumb a {
    color: #d1d5db;
    text-decoration: none;
    transition: color .3s
}

.breadcrumb a:last-child {
    pointer-events: none;
    color: #fff
}

@keyframes lightMove {
    0%, 100% {
        left: -100%
    }
    50% {
        left: 0
    }
}

@keyframes bounce {
    0%, 100%, 20%, 50%, 80% {
        transform: translateY(0)
    }
    40% {
        transform: translateY(-.25rem)
    }
    60% {
        transform: translateY(-.125rem)
    }
}

@media (max-width: 640px) {
    .carousel {
        height: 400px
    }

    .carousel-item {
        font-size: 1rem;
        min-width: 100%;
        padding: 50px 30px
    }

    .about-title {
        font-size: 1.8rem
    }

    .about-card {
        padding: 1rem
    }

    .about-logo {
        max-height: 120px
    }

    .about-info p {
        font-size: .9rem
    }
}