.portfolio{
    margin-top: 20px;
}

.portfolio h1{
    position: relative;
    color: var(--title-color);
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    margin-bottom: 30px;
}

.portfolio h1::after{
    content: '';
    width: 40px;
    height: 5px;
    background: linear-gradient(to right, #FFCC33, #F2A03D);
    border-radius: 3px;
    position: absolute;
    left: 0;
    bottom: -15px;
}

.portfolio .projects{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio .projects .project-item{
    width: 270px;
}

.project-item .project-img {
    width: 100%;
    height: 150px;
    border-radius: 20px;
    transition: filter 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden; 
}

.project-item:nth-child(1) .project-img{
    background: url("../images/logo-mtcookies.png");
    background-position: center;
    background-size: 100%;
}

.project-item:nth-child(2) .project-img{
    background: url("../images/logo-delagrainealesprit.png");
    background-position: center;
    background-size: 100%;
}

.project-item:nth-child(3) .project-img{
    background: url("../images/logo-proscore.png");
    background-position: center;
    background-size: 100%;
}

.project-item:nth-child(4) .project-img{
    background: url("../images/logo-vpdanses.png");
    background-position: center;
    background-size: 100%;
}

.project-item:nth-child(5) .project-img{
    background: url("../images/logo-musikadom.png");
    background-position: center;
    background-size: 100%;
}

.project-item .project-img:hover {
    filter: brightness(85%);
}

.project-item .project-img::after {
    content: '👁️'; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; 
    font-size: 25px; 
    opacity: 0; 
    transition: opacity 0.2s ease-in-out; 
    background-color: #1e1e1f;
    width: 60px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.project-item .project-img:hover::after {
    opacity: 1;
}

.project-item h3{
    color: var(--title-color);
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}
.project-item p{
    color: var(--text-color);
    font-weight: var(--text-weight);
    font-size: 16px;
}

@media (max-width: 1250px) {


    .portfolio .projects .project-item{
        width: 100%;
    }

    .project-item .project-img {
        height: 190px;
    }

}