.portfolio {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* espaçamento uniforme entre projetos */
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio li {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.portfolio li:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.08);
}

.portfolio li h3 {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .5rem 0;
    color: #fff;
}

.portfolio li h3.github::before {
    content: "";
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../img/icons/github.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: .5rem;
    opacity: 0.8;
}

.portfolio li a {
    color: #ffffff; /* cor de destaque pros links */
    font-weight: 600;
    word-break: break-word;
    transition: color 0.2s ease;
}

.portfolio li a:hover {
    color: #ffffff;
    text-decoration: underline;
}
