/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*/

/* ------- Eclairage de PAGE par défaut ----- */
.main {
    filter: brightness(100%);
}


.banniere {
    margin-bottom: 10px;
}
.top_galerie {
    margin: 10px 10px;
    padding: 10px 10px; 
    background-color: rgba(61, 60, 60, 0.055);
}
.top_galerie h1 { 
    color: white;
    padding: 10px;
    margin: 0 auto;
}


.tools {
    display: flex;
    align-items: center;
    justify-content: space-around;
    /*background-color: rgba(29, 29, 29, 0.096);*/
    background-color: rgba(165, 163, 163, 0.096);
    padding: 10px;
    margin: 10px auto;
}

.tools a {
    color: rgba(231, 228, 228, 0.911);
    text-decoration: none;
    transition: color .3s;
}
.tools a:hover {
    color: rgba(10, 4, 0, 0.76);
    background-color: white;
}

.container {
    display: block;
    color: azure;
    margin-left: 15px;
    /*margin: 10px auto;*/
    padding: 10px;
    background-color: #1b1b1b;
}

.container h1 {
    margin-left: 20px;
}

.container h2 {
    color: white;    
}

ion-icon {
    font-size: 32px;
    vertical-align: middle;
  }
.grid {
       background-color: #121212;
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       grid-auto-rows: 250px;
       gap: 5px;
       /*height: 100vh;*/
       overflow-y: scroll;
       padding-top: 10px;
       padding-right: 10px;
       padding-bottom: 20px;
       grid-auto-flow: dense;
}

.grid::-webkit-scrollbar{
    background-color: #dedede;
    width: 10px;
}

.grid::-webkit-scrollbar-thumb{
    background-color: #757575;
}

.grid-item {
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grid-img {
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    z-index: 2;
}

.grid-img:hover {
    transform: scale(1.2);
}


#cecile,
#attendant,
#evapore,
#que_je_parle,
#mdr,
#rire {
    grid-row: span 2;
}

#parterre,
#ely_tournage,
#maxime,
#jeanne_b,
#maquillage
 {
    grid-column: span 2;
}
h2 a {
    color: whitesmoke;
}
h2 a:hover {
    background-color: rgba(92, 91, 91, 0.521)
}

@media screen and (max-width:750px) {
    .tools {
        flex-direction: column;
    }
    .top_galerie {
        display: flex;
        flex-direction: column;
    }
    .menu nav {
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center; 
    }
}