.portfolio-item__image,
.portfolio-item__image img {
    border-radius: 50px;
}

.portfolio-item__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item__hover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    background: #003E59;
    border-radius: 50px;
}

.portfolio-item__image:hover .portfolio-item__hover {
    opacity: 1;
    visibility: visible;
}

.portfolio-item__hover-title {
    color: var(--blue);
    font-size: 84px;
    font-style: normal;
    font-weight: 700;
    line-height: 85px;
}

.wrapper .portfolio-item__hover-desc {
    margin: 0;
    max-width: 250px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px;
}

.portfolio__info {
    margin-top: 30px;
    /*text-align: center;*/
}

.portfolio__name {
    color: var(--text-black);
    font-size: 27px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.wrapper .portfolio__type {
    margin-top: 15px;
    margin-bottom: 0;
    color: #111;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 1367px) {
    .wrapper .portfolio-item__hover-desc {
        font-size: 15px;
    }

    .portfolio__info {
        margin-top: 25px;
    }

    .portfolio__name {
        font-size: 25px;
    }

    .wrapper .portfolio__type {
        margin-top: 10px;
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .portfolio-item__hover {
        display: none;
    }

    .portfolio__info {
        margin-top: 15px;
    }

    .portfolio__name {
        font-size: 18px;
    }

    .wrapper .portfolio__type {
        font-size: 14px;
    }
}