/*SECTION TITLE INTERNA*/
.sect_title_interna{
    padding: 50px 0;
    position: relative;
    background-position: center;
    background-size: cover;
}
.sect_title_interna:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .5;
}
.row_height{
    height: 115px;
    align-items: flex-end;
}
.sect_title_interna h1{
    color: #fff;
    font-weight: 700;
    text-align: center;
}
@media(max-width: 991px){
    .sect_title_interna h1 {
        font-size: 30px;
    }
    .row_height {
        height: 140px;
    }
}
@media(max-width: 767px){
    .sect_title_interna h1 {
        font-size: 25px;
    }
    .row_height {
        height: 130px;
    }
    .sect_title_interna {
        padding: 20px 0;
    }
}
@media(max-width: 500px){
    .sect_title_interna h1 {
        font-size: 18px;
    }
}
/*END SECTION TITLE INTERNA*/   

/*SECTION GALERÍA*/
.sect_galeria{
    padding: 50px 0;
    overflow: hidden;
}

.sect_galeria .item a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: all ease 500ms;
}
.sect_galeria .item a:hover:before {
    opacity: .5;
    transition: all ease 500ms;
}
.caption_galeria {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    color: #fff;
    transform: scale(0);
    transition: all ease 500ms;
}
.sect_galeria .item a:hover .caption_galeria {
    transform: scale(1);
    transition: all ease 500ms;
}
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}
/**/

.box_portafolio
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 40px;
    grid-auto-rows: 1fr;
    
}

.grid-section
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 40px;
    grid-auto-rows: 1fr;
}

.proyecto img
{
    height: 400px;
}

.title-proyecto h4
{
    padding: 12px 0;
    color: #000;
    text-align: center;
}

.title-section h4
{
    text-align: center;
    color: #000;
    padding: 50px 0;
}

@media(max-width: 992px)
{
    .box_portafolio, .grid-section
    {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .proyecto img
    {
        height: 350px;
    }
}

@media(max-width: 540px)
{
    .proyecto img
    {
        height: 290px;
    }
}