.portfolio_hover {
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    border: 1px solid rgba(5, 0, 5, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.portfolio_hover .left-part {
    width: calc(40% - 10px);
    margin-left: 10px;
}

.portfolio_hover .right-part {
    width: 60%;
}

.picture {
    position: relative;
    width: 100%;
    max-height: 400px;
    min-height: 400px;
}

img {
    object-fit: fill;
}

.picture>img {
    height: 100%;

    object-fit: cover;
}

a:hover .portfolio_hover {
    transition: all ease 0.5s;
    opacity: 0.9;
}

a:hover .portfolio_link {
    max-height: 0;
}

.portfolio-link {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px 10px 40px 10px;
    box-shadow: 0px 0px 25px -10px #303b41;

}

.portfolio_btm {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    background-color: white;
}


.portfolio_btm>.left {
    width: calc(40% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    min-height: 125px;
    display: flex;
    vertical-align: middle;
    align-items: center;
}

.left>img {
    height: 60px;
    width: auto;
    margin: auto;
}

.portfolio_btm>.right {
    width: 60%;
    margin-right: 10px;
    margin-left: 10px;
    display: flex;
}

.right>p {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

@media print,
screen and (max-width:1024px) {
    .portfolio_btm {
        flex-wrap: wrap;
        min-height: 150px;
    }


    .portfolio_btm>.left {
        width: 100%;
        min-height: 75px;
    }

    .portfolio_btm>.right {
        text-align: center;
        width: 100%;
    }
}

@media print,
screen and (max-width: 767px) {
    .portfolio_hover {
        flex-wrap: wrap;
    }

    .portfolio_hover .left-part,
    .portfolio_hover .right-part {
        width: 100%;
    }

    .picture {
        position: relative;
        width: 100%;
        max-height: 450px;
        min-height: 450px;
    }
}