.egyedi-projekt-lista {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
}



.egyedi-projekt:nth-child(odd) {
    margin-top: -65px;
}

.egyedi-projekt-sor {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.egyedi-projekt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 24px;
    opacity: 0.68;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out; /* Átmenet az opacity változáshoz */
}

.egyedi-projekt:hover {
    transform: translateY(-10px);
}

.egyedi-projekt:hover::before {
    opacity: 0.85; /* Erősebb overlay hover esetén */
}

.egyedi-projekt {
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    height: 450px;
    transition: transform 0.3s ease-in-out; /* Lágy emelkedés animáció */
    border-radius: 27px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 35px;
    opacity: 1;
}

.egyedi-projekt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 24px;
    opacity: 0.68;
    pointer-events: none;
}

.egyedi-projekt-cim {
    letter-spacing: 0px;
    z-index: 2;
    font-family: "Montserrat", Sans-serif;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 0px;
}

.egyedi-projekt-cimkek {
    display: flex;
    gap: 10px;
    z-index: 2;
    flex-wrap: wrap;
}

.egyedi-cimke {
    border: 1px solid #707070;
    border-radius: 155px;
    display: flex
;
    padding: 8px 16px;
    background-color: black;
    align-items: center;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 11px;
    font-weight: 400;
}

.egyedi-info {
    display: flex;
    z-index: 2;
    align-items: center;
    justify-content: space-between;
}

.egyedi-gomb {
    background: linear-gradient(80deg, 
        rgba(38, 83, 201, 0.8) 0%,   /* #2653c9, 100% átlátszósággal */
        rgba(95, 207, 203, 0.7) 50%, /* #5fcfcb, 100% átlátszósággal */
        rgba(115, 227, 173, 0.6) 100% /* #73e3ad, 100% átlátszósággal */
    );
    width: 67px;
    height: 67px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
    border: none; /* Ha teljesen átlátszónak akarod látni, töröld a keretet */
}

.egyedi-projekt:hover .egyedi-gomb {
    transform: rotate(44deg); /* Itt állíthatod a forgás mértékét */
}

.mobile-cimke {
    display: none;
}

@media (max-width: 1600px) {
    .egyedi-projekt {
        width: 600px;
        height: 480px;
    }
}

@media (max-width: 1200px) {
    .egyedi-projekt-sor {
        flex-direction: column;
        height: auto;
    }

    .egyedi-projekt {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .egyedi-projekt-lista {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 35px;
    }

       /* Mobilon elrejtjük az összes desktop címkét */
       .desktop-cimke {
        display: none;
    }
    
    /* És megjelenítjük a mobil címkét */
    .mobile-cimke {
        display: inline-flex;
    }

    .egyedi-projekt:nth-child(odd) {
        margin-top: 0px;
    }

    .egyedi-projekt {
        width: 100%;
        height: 350px;
        padding: 15px 15px;
    }

    .egyedi-projekt-cim {
        font-size: 25px;
    }
}


@media (min-width: 768px) and (max-width: 1100px) {
    .egyedi-projekt-lista {
        width: 100%;
        display: flex;
        gap: 45px;
        padding: 0px 45px;
        flex-direction: column;
        align-items: center;
    }

    .egyedi-projekt {
        width: 600px;
        height: 540px;
    }
    .egyedi-projekt:nth-child(odd) {
        margin-top: 0px;
    }
    .egyedi-cimke {
        margin-bottom: 20px;
        font-size: 16px;
    }
    .egyedi-projekt-cim {

        font-size: 35px;
    }
}