#portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: var(--portofolio-height);
    padding: var(--padding);
    box-sizing: border-box;
}

#portfolio-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
}

#see-more-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    margin-top: 30px;
}

/********. ************/


.play-card {
    width: 460px;
    height: 600px;
    perspective: 1000px;

    .card_inner {
        width: 100%;
        height: 100%;
        position: relative;
        transition: rotate .75s ease-in-out;
        transform-style: preserve-3d;
        display: flex;
        align-items: center;
        justify-content: center;

        .card_face {
            position: absolute;
            backface-visibility: hidden;
        }

        .card_back {
            width: 400px;
            height: 550px;

            img {
                width: 100%;
            }
        }

        .card_front {
            rotate: y 180deg;
        }

    }
}

.play-card:hover .card_inner {
    rotate: y 180deg;
}


.card-box {
    position: relative;
    width: 400px;
    height: 550px;

    .frame {
        position: absolute;

        img {
            width: 100%;
        }
    }

    .main-picture img {
        width: 400px;
        height: 250px;
        object-fit: cover;
        border-top-left-radius: 42px;
    }

    .button-container {
        width: 100%;
        height: 100%;

        .button-box {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 238px;
            position: absolute;
            bottom: 96px;
            left: 32px;
            transition: 0.5s;

            img,
            p {
                position: absolute;
            }

            .button-normal {
                opacity: 1;
                transition: 0.5s;
            }

            .button-hover {
                opacity: 0;
                transition: 0.5s;
            }

            .button-border {
                width: 226px;
                opacity: 0.6;
                transition: 0.5s;
            }

            p {
                text-align: center;
                width: 100%;
                color: var(--diamond1);
                font-size: 1.2rem;
                font-weight: 800;
                text-shadow: 3px 2px black;
                letter-spacing: 3px;
            }
        }

        .button-box:hover {
            .button-normal {
                opacity: 0;
                transition: 0.5s;
            }

            .button-hover {
                opacity: 1;
                transition: 0.5s;
            }

            .button-border {
                opacity: 0.9;
                transition: 0.5s;
            }
        }
    }

    .border-shadow {
        top: 4px;
        right: 1px;
        pointer-events: none;
    }

    .border-card {
        pointer-events: none;
    }

    .content-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        top: 204px;
        padding: 0px 20px;
        height: 346px;
        width: 100%;
        pointer-events: none;

        h2 {
            font-size: 1.8rem;
            pointer-events: auto;
        }

        .description {
            margin-top: 10px;
            pointer-events: auto;
        }

        .text-iron {
            color: var(--iron4);
        }

        .text-copper {
            color: var(--copper4);
        }

        .text-silver {
            color: var(--silver4);
        }

        .text-gold {
            color: var(--gold4);
        }

        .text-diamond {
            color: var(--diamond4);
        }

        .tag {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            width: 100%;
            gap: 4px;
            margin-top: 8px;

            p {
                text-align: center;
                width: 104px;
                border-radius: 8px;
                font-size: 0.8rem;
                padding: 3px 0;
                pointer-events: auto;
            }
        }

        .tag-iron {
            p {
                background: var(--iron1);
                border: 2px solid var(--iron4);
                color: var(--iron4);
            }
        }

        .tag-copper {
            p {
                background: var(--copper1);
                border: 2px solid var(--copper4);
                color: var(--copper4);
            }
        }

        .tag-silver {
            p {
                background: var(--silver1);
                border: 2px solid var(--silver4);
                color: var(--silver4);
            }
        }

        .tag-gold {
            p {
                background: var(--gold1);
                border: 2px solid var(--gold4);
                color: var(--gold4);
            }
        }

        .tag-diamond {
            p {
                background: var(--diamond1);
                border: 2px solid var(--diamond4);
                color: var(--diamond4);
            }
        }

        .other-tags-box {
            position: relative;
            width: 100%;
            height: 136px;
            pointer-events: none;

            .type {
                position: absolute;
                left: 38px;
                top: 88px;
                font-style: italic;
                font-size: 0.9rem;
                /* color: var(--font1); */
            }

            .type-iron {
                p{
                    color: var(--iron1);
                }
            }

            .type-copper {
                p{
                    color: var(--copper1);
                }
            }

            .type-silver {
                p{
                    color: var(--silver1);
                }
            }

            .type-gold {
                p{
                    color: var(--gold1);
                }
            }

            .type-diamond {
                p{
                    color: var(--diamond1);
                }
            }

            /* .logo {
                display: flex;
                align-items: center;
                justify-content: center;
                position: absolute;
                right: -2px;
                top: 49px;
                border-radius: 50%;
                width: 70px;
                height: 70px;

                img {
                    width: 64%;
                }
            } */
        }
    }
}


/* 📱 Mobile large (481px et plus) */
@media (min-width: 481px) {}

/* 📲 Tablettes (768px et plus) */
@media (min-width: 768px) {}

/* 💻 Ordinateurs portables (1025px et plus) */
@media (min-width: 1025px) {
    /* #portfolio-cards-container {
    flex-direction: row; */

}

/* 🖥 Grands écrans (1367px et plus) */
@media (min-width: 1367px) {
    #portfolio-cards-container {
        flex-direction: row;
    }
}

/* 🖥📺 Ultra-large (1920px et plus) — optionnel */
@media (min-width: 1920px) {}