.profile-img {
    width: 96px;
    height: 96px;
    background-color: var(--surface-0);
    margin-bottom: 1rem;
    border: 3px solid var(--surface-1);
    overflow: hidden;
}

.profile-img img,
.scroll-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.links {
    gap: 1rem;
}

.link {
    background-color: var(--base);
    text-decoration: none;
    padding: 1rem;
    font-weight: 600;
    border: 1px solid var(--surface-0);
    transition: 0.2s ease-in-out;
}

.link:hover {
    background-color: var(--surface-0);
}

#codeberg:hover {
    color: var(--accent-sapphire);
    border-color: var(--accent-sapphire);
}

#discord:hover {
    color: var(--accent-mauve);
    border-color: var(--accent-mauve);
}

#modrinth:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.main-wrapper {
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
}

.about-card {
    text-align: left;
}

.about-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--surface-0);
    padding-bottom: 0.5rem;
}

.button-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--crust);
    border-top: 2px solid var(--surface-0);
    padding-block: 10px;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.scroll-content {
    display: flex;
    gap: 15px;
    padding-right: 15px;
    animation: scroll-left 20s linear infinite;
}

.scroll-content img {
    width: 88px;
    height: 31px;
    border: 1px solid var(--surface-1);
}

.animate-flicker {
    animation: scroll-left 15s linear infinite;
}

.scroll-track:hover .scroll-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 850px) {
    .main-wrapper {
        flex-direction: column;
        margin-bottom: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-content {
        animation: none;
        transform: translateX(0);
    }
}