.portfolio_main{
    margin-top: 12rem;
}

.portfolio_article{
    display: flex;
    flex-direction: column;
}

.portfolio_article:last-child{
    margin-bottom: 0;
}

.portfolio_img{
    width: 100%;
}

.content{
    display: flex;
    flex-direction: column;
}

.content h2,
.content h3,
.content p{
    margin: 0.5rem 2rem;
}

.content p{
    text-align: justify;
}

.content button{
    margin: 1rem 0;
    padding: 0.5rem 0;
    justify-content: center;
    border: none;
    background: linear-gradient(#9BC2D9, #686663);
} 

.content button:last-child{
    margin-bottom: 0;
}

.content a{
    text-decoration: none;
    color: #fff;
    padding: 0 45%;
}

.content a:hover{
    color: #101519;
}

@media (min-width: 600px) and (max-width: 1024px){
    .portfolio_article{
        flex-direction: row;
        margin-bottom: 0.5rem;
    }

    .portfolio_image{
        width: 50%;
    }

    .portfolio_img{
        width: 100%;
        height: 100%;
    }

    .content{
        position: relative;
        width: 50%;
    }

    .content button{
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px){
    .portfolio_article{
        flex-direction: row;
        margin-bottom: 0.5rem;
    }

    .portfolio_image{
        width: 50%;
    }

    .portfolio_img{
        width: 100%;
        height: 100%;
    }

    .content{
        position: relative;
        width: 50%;
    }

    .content button{
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        margin-bottom: 0;
    }
}