/* GRID 2 COL */

.gridd {
    position: relative;
    left: 13rem;
    max-width: 80vw;
    height: auto;
    margin: 30px 0;
    /* border: 1px solid black; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    grid-gap: 3rem;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.griddd {
    position: relative;
    left: 10rem;
    max-width: 80vw;
    height: auto;
    margin: 30px 0;
    /* border: 1px solid black; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    grid-gap: 1rem;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.gridd .item,
.griddd .item {
    position: relative;
    width: 100%;
    /* height: 300px; */
    /* background: rgb(0, 0, 0); */
    color: rgb(0, 0, 0);
}

.gridd img,
.griddd img {
    /* width: 400px; */
    transition: all .8s ease-in-out;
    height: 10rem;
}

.gridd legend {
    /* padding: 1rem; */
    font-size: 1.4rem;
    transition: all .5s ease;
}

.gridd a:hover legend {
    background: #cecece;
}

.gridd a:hover img {
    transform: scale(1.03);
    object-fit: cover;
}

#btn_alb {
    background: black;
    color: whitesmoke;
    text-align: center;
    font-size: 3rem;
    border: 1px solid whitesmoke;
    padding: 1.2rem;
    margin-top: 4rem;
    transition: all .5s ease-in-out;
}

#btn_alb_deco {
    /* color: whitesmoke; */
    text-align: center;
    font-size: 3rem;
    border: 1px solid whitesmoke;
    padding: 1.2rem;
    margin-top: 4rem;
    transition: all .5s ease-in-out;
    background: #0c0c0c14;

}



#btn_alb:hover {
    border-radius: 1rem;
    background: white;
    border: 1px solid black;
    color: black;
}

#btn_alb_deco:hover {
    border-radius: 1rem;
    background: black;
    border: 1px solid black;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}


.container_portfolio {
    /* margin-top: 4rem; */
}


.container_portfolio .row {
    display: flex;
    justify-content: space-evenly;
    /* background: whitesmoke; */
    align-items: center;
}


.container_portfolio .carte_album {
    background: var(--color-bg-3);
    padding-top: 0rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
}

/* GRAND ECRAN {
    height: 30rem;
    width: 23rem;
} */

.container_portfolio .carte_album img {
    margin: 15px 0px;
    height: 23rem;
    display: inline;
    width: 20rem;
    /* filter: saturate(0); */
    transition: all .3s ease-in-out;
}

.mb-3 .form-label {
    font-family: Garet;
}

.container h1.mb-4 {
    margin-left: 0;
}


.container .btn {
    border-radius: 0;
}

.container .btn-primary {
    background: black;
    font-size: 1.2rem;
    color: white;
    border: 1px solid white;
    transition: all .5s;
}

.container button.btn.btn-primary:hover {
    background: white;
    color: black;
    border: 1px solid black;
    border-radius: .5rem;
}

.container .btn-secondary {
    border: 1px solid black;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.238);
    color: #000000;
    transition: all .5s;

}

.container .btn-secondary:hover {
    background: white;
    color: black;

    border: 1px solid black;
    border-radius: .5rem;
}



@media screen and (min-width: 1000px) and (max-width: 5000px) {

    #portfolio img {
        height: 30rem;
        width: 20rem;
    }

}

@media screen and (min-width: 450px) and (max-width: 1000px) {

    .row {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .container_portfolio .carte_album img {
        margin: 15px 0px;
        height: 20rem;
        display: inline;
        width: 35rem;
    }

}