*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    --font-color:#fff;
    --transition:0.5s all;
    --hover-color:#fff;
    --b-color:#008;
    --text-color:#333;
    --font-weight-h1:800;
    --font-size-p:14px;
    --font-weight-h2:800;
    --font-size-h1:3.5rem;
    --font-size-h2:2rem;
    --font-size-h3:18px;
}
.portfolio{
    padding: 5rem 4%;
}

.box-portfolio{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.box{
    text-align: center;
    border-radius:0.5rem;
    -webkit-border-radius:0.5rem;
    -moz-border-radius:0.5rem;
    -ms-border-radius:0.5rem;
    -o-border-radius:0.5rem;
     transition: 0.33s ease;
    -webkit-transition: 0.33s ease;
    -moz-transition: 0.33s ease;
    -ms-transition: 0.33s ease;
    -o-transition: 0.33s ease;
     display: flex;
     flex-direction: column;
     padding: 1rem;
     width: 300px;
    }
    .box::after{
        content: '';
        clear: both;
    }
    .container .title h1{
        text-align: center;
        margin-top: 20px;
        text-align: center;
    color: var(--b-color) !important;
    font-size: var(--font-size-h1);
    margin-bottom: 2rem;
    font-weight: var(--font-weight-h1);
    text-transform: uppercase;
    }
    .box .box-text{
        margin-top: 20px;
        color: black;
        text-decoration: none !important;
    }
    .box img{
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    
}
