.seccion-portafolio{
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 50px 50px 50px 50px;
    margin-top: -110px
    }
    .fondo-portafolio{
        max-width: 1100px;
        padding: 50px 50px 0px 50px;
    }
    .bloque1-portafolio{
        display: flex;
        text-align: center;
        justify-content: center;
    }
    .nuestro-portafolio{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .nuestro-portafolio h3{
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0;
    }
    .ovalo-portafolio{
        display: flex;
        align-items: center;
        width: 42%;
        background: #ffffff;
        padding: 6px;
        border-radius: 20px;
        justify-content: center;
        box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
    }
    .nuestro-portafolio img{
        width: 14px;
        height: 14px;
        object-fit: cover;
    }
    .nuestro-portafolio span{
        width: 14px;
        height: 14px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .bloque2-portafolio{
        display: flex;
        flex-direction: column;
    }
    .seccion-portafolio{
        color: #000000;
    }
    .card_area{
        margin-top: 50px;
        grid-gap: 30px;
        display: flex;
        justify-content: center;
        align-content: center;
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 16px;
    }
    .card{
        border-radius: 10px;
        position: relative;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        width: 350px;
        height: 350px;
        background-color: lightblue;
        border: 1px solid blue;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s;
    }
    .overlay {
        height: 0;
        width: 100%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: hidden;
        left: 0;
        bottom: 0;
        border-radius: 10px;
        background: linear-gradient(transparent, #580e5f 60%);
        padding: 0 50px;
        text-align: center;
        font-size: 14px;
        transition: height 0.5s;
        z-index: 1;
    }
    .overlay h3{
        margin-top: 55%;
        margin-bottom: 5px;
        font-size: 30px;
        font-weight: 500;
        letter-spacing: 2px;
        color: #fff;
    }
    .overlay p{
        color: #fff;
    }
    .overlay a{
        margin-top: 10px;
        font-size: 14px;
        text-decoration: none;
        font-weight: 500;
        color: #ffffff;
        background: #ffa805;
        border-radius: 50px;
        text-align: center;
        padding: 5px 15px;
    }
    .card:hover img{
        transform: scale(1.2);
    }
    .card:hover .overlay{
        height: 100%;
    }
    @media (max-width: 1100px) {
        .card_area{
            grid-template-columns: repeat(auto, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 16px;
        }
        .contenedor{
            width:100% ;
        }
        .wrapper{
            width:100% ;
            justify-content: center;
            align-items: center;
            display: flex;
        }
    }
    @media (max-width: 768px) {
        .card_area{
            grid-template-columns: repeat(1, 1fr);
            grid-template-rows:  repeat(6, 1fr);
            gap: 16px;
            width: auto;
        }
        .contenedor {
            max-width: 100%;
        }
        .fondo-portafolio{
            max-width: none;
        }
        .wrapper{
            width:100% ;
            justify-content: center;
            align-items: center;
            display: flex;
        }
    }
    @media (max-width: 468px) {
        .seccion-portafolio {
            padding: 20px 5px 20px 5px;
            margin-top: 0;
        }
        .fondo-portafolio {
            padding: 20px 5px 0 5px;
        }
        .bloque1-portafolio,
        .nuestro-portafolio {
            flex-direction: column;
            align-items: center;
        }
        .ovalo-portafolio {
            width: 90%;
            padding: 4px;
            font-size: 12px;
        }
        .card_area {
            grid-template-columns: 1fr;
            grid-template-rows: repeat(6, 1fr);
            gap: 12px;
            margin-top: 20px;
        }
        .card {
            width: 100%;
            min-width: 0;
            max-width: 100%;
            height: 220px;
        }
        .card img {
            width: 100%;
            height: 100%;
            max-height: 220px;
            object-fit: cover;
        }
        .overlay {
            padding: 0 10px;
            font-size: 12px;
        }
        .overlay h3 {
            font-size: 18px;
            margin-top: 0%;
        }
    }
