.portfolio__box {
    display: flex;

    align-items: center;
    flex-direction: column;
    gap: 3rem;

    position: absolute;
    top: 50%;
    left: 50%;
    
    background-color: rgba(0, 0, 0, 0.3);
    min-width: 30rem;
    padding: 1rem;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
   
    .portfolio__box {
        min-width: 50rem;
    }
}
