.portfolio {
    position: relative;
    padding: 3rem;
    background-color: var(--background);
    color: var(--text-color);
    font-family: var(--font-biasa);
}

.portfolio-title {
    width: 100%;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.portfolio-sub {
    width: 100%;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;    
}

.pf-grid {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 2rem;
    gap: 1rem;
}

.pf-theme {
    flex: 1;
    border-radius: 1rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    padding: 1rem 1rem 2rem 1rem;
    text-align: center;
}

.pf-theme img {
    width: 100%;
    max-width: 200px;
    height: 300px;
}

.pf-theme h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pf-theme a {
    text-decoration: none;
    color: var(--text-color-dark);
    background: var(--background-dark);
    box-shadow: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

.pf-theme a:hover {
    color: var(--text-color);
    background: var(--background);
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

.pf-theme i {
    margin-right: 5px;
}

.pf-cta {
    text-align: center;
}

.pf-cta p {
    margin-bottom: 1rem;
}

.pf-cta a {
    text-decoration: none;
    color: var(--text-color-dark);
    background: var(--background-dark);
    box-shadow: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

.pf-cta a:hover {
    color: var(--text-color);
    background: var(--background);
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    .portfolio-title {
        font-size: 2rem;
    }

    .pf-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}