.portfolio {
    max-width: 1500px;
    margin: 0px auto;
    background-image: url("/img/moodboard.png");
    background-color: #e9e8e8e8;
    background-blend-mode: soft-light;
    background-size: cover;
    background-position: center;
    background-repeat: repeat-y;
    box-sizing: border-box;
    padding-top: 190px;
  
  }
  
  .portfolio-title {
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: var(--primary-color);
  }

  
    
    .portfolio{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    .portfolio figure{
       position: relative;
        height: 250px;
        cursor: pointer;
        width: 450px;
        overflow: hidden;
        border-radius: 6px;
        box-shadow: 0px 15px 25px rgba(0,0,0,0.50);
        margin: 20px;
    }
    .portfolio figure img{
        width: 100%;
        height: 100%;
        transition: all 400ms ease-out;
        will-change: transform;
    }
    .portfolio figure .capa{
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(161, 22, 22, 0.7);
        transition: all 400ms ease-out;
        opacity: 0;
        visibility: hidden;
       text-align: center;
    }
    .portfolio figure:hover > .capa {
        opacity: 1;
        visibility: visible;
    }
    .portfolio figure:hover > .capa h3{
        margin-top: 50px;
        margin-bottom: 15px;
        font-weight: 700;
    }
    .portfolio figure:hover > img{
        transform: scale(1.3);
    }
    .portfolio figure .capa h3{
        color: #fff;
        font-weight: 400;
        margin-bottom: 120px;
        transition: all 400ms ease-out;
         margin-top: 10px;
    }

    .portfolio figure .capa h4{
        color: #fff;
        font-weight: 500;
        margin-bottom: 20px;
        transition: all 400ms ease-out;
         margin-top: 10px;
}
    
    .portfolio figure .capa p{
        color: #fff;
        font-size: 15px;
        line-height: 1.5;
        width: 100%;
        max-width: 220px;
        margin: auto;
        font-weight: 200;
    }

