/*   Admin   */

.admin-pictures-container form {
    flex-direction: column;
}

.admin-pictures-container form,
.flex-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.picture {
    display: flex;
    flex-direction: column;
    border: solid 2px #1d2327;
    margin: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 6px #000000ad;
}

.picture-inputs {
    display: flex;
    flex-direction: column;
    margin-inline: 5px;
}

.picture img {
    aspect-ratio: 1;
    object-fit: cover;
}

.admin-category-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.btn-admin {
    padding: 10px;
    font-size: 20px;
    background: #2271b1;
    color: white;
    border: none;
    box-shadow: 0 0 5px #00000096;
    border-radius: 5px;
    cursor: pointer;
    text-wrap: nowrap;
    margin: 10px;
    min-width: 200px;
}


/*      Page : Détails des categories        */
.category-card-container{
    position:relative;
    overflow: hidden;
    margin-top: 8px;
}

.appear-on-hover-container:hover .appear-on-hover{
    bottom: 0%;
}

.appear-on-hover{
    position: absolute;
    bottom: -30%;
    width: 100%;
    background: linear-gradient(0deg, #000000a0, transparent);
    color: white;
    margin: 0;
    padding: 10px 40px 10px 0;
    text-align: right;
    transition: all 0.3s ease-out;
}

.appear-on-hover i::before{
    margin-right: 5px;
}

.grow-shadow-anim{
    transition: all 0.3s ease-in-out;
}
.grow-shadow-anim:hover{
    transform: scale(1.01);
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.5);
}

.category-gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.category-gallery-column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.category-gallery-column img {
    vertical-align: middle;
    width: 100%;
    
}

/* Responsive layout - makes a two category-gallery-column-layout instead of four category-gallery-columns */
@media screen and (max-width: 800px) {
    .category-gallery-column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two category-gallery-columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .category-gallery-column {
        flex: 100%;
        max-width: 100%;
    }
}

/*      Page : Détails Photos      */



.vendorLink-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.vendorLink-container > *{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
}
.vendorLink-container h4{
    color: var(--e-global-color-primary);
    margin-bottom: 10px;
}
.vendorLink-container a{
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 5px;
    background-color: var(--e-global-color-secondary);
}

.details-picture-container img{
    width: 100%;
    object-fit: cover;
}