.portf{
    padding: 4rem 0 5.53rem;
}

.portf .title,
.portf .options,
.portf .obras{
    width: clamp(10px,100%,642px);
}

.portf .title{
    color:var(--main);
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
}

.portf .options{
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    grid-gap: 5px;
    margin-bottom: 1rem;
}

.portf .options>*{
    text-align: center;
    color: #A7A7A7;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    border: 1px solid var(--line);
    border-radius: 80px;
    padding: 10px 1rem;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.portf .options>*:hover,
.portf .options>*.active{
    color: var(--white);
    font-weight: 700;
    background-color: var(--main);
    border-color: var(--main);
}

.portf .obras{
    border: 1px solid var(--line);
    border-radius: 5px;
    background-color: #F6F6F6;
    padding: 10px;
}

.portf .obras .tit{
    color: #082614;
    font-size: 18px;
    font-weight: 500;
    line-height: 21px;
    margin-bottom: 8px;
}

.portf .row{
    grid-gap: 24px 0;
    margin-top: 3.73rem;
}

.portf .row>*{
    padding: 0 10px;
}

.portf .box{
    position: relative;
    display: flex;
    display: -webkit-flex;
    align-items: flex-end;
    min-height: 342px;
    border-radius: 10px;
    background-size: cover !important;
}

.portf .box::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: var(--main);
    opacity: 0;
    -webkit-opacity: 0;
    mix-blend-mode: multiply;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.portf .box:hover::before{
    opacity: 50%;
    -webkit-opacity: 50%;
}

.portf .box .loc{
    position: absolute;
    inset: 8px auto auto 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    border: 1px solid var(--white);
    border-radius: 80px;
    background-color: var(--main);
    padding: 5px 1rem;
}

.portf .box .bottom{
    position: relative;
    width: 100%;
    border-radius: 10px;
    background-color: var(--main);
    padding: 7px 2rem 23px;
    overflow: hidden;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.portf .box .bottom::before{
    content: url(../../assets/img/check.svg);
    display: block;
    display: -webkit-block;
    width: 41px;
    margin: 0 auto 2px;
}

.portf .box .bottom .text{
    text-align: center;
    color: var(--white);
    font-size: 14px;
    line-height: 16px;
}

@media(max-width:992px){
    .portf{
        padding: 2rem 0;
    }
    .portf .title,
    .portf .options,
    .portf .obras{
        width: 100%;
    }
    .portf .row{
        margin-top: 2rem;
    }
}

@media(max-width:768px){
    .portf .options>*{
        flex: 1 1 calc((100%/3) - 5px);
    }
}

@media(max-width:575px){
    .portf .options>*{
        flex: 1 1 100%;
    }
}