#volet {
    width: 350px;
    padding: 5px;
    background: black; color: #fff;
    position: relative;
    left: -370px; top: 20px;
    -webkit-transition: all .5s ease-in;
    transition: all .5s ease-in;
}
#volet a.ouvrir {
    padding: 11px 25px;
    background:
            #666;
    color:
            #fff;
    text-decoration: none;
    position: absolute;
    right: -70px;
    top: 27px;

    /* quelques styles CSS3 */
    -ms-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);

    border-radius: 0 0 8px 8px;
}
#volet:target {
    left: 0;
}
/*Quand le volet est afficher lien fermé est caché*/
#volet a.fermer {
    display: none;
    position: absolute;
    right: -68px;
    top: 28px;
    padding: 11px 25px;
    background: #666;
    color: #fff;
    text-decoration: none;
    -ms-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);

    border-radius: 0 0 8px 8px;
}

#volet_clos:target #volet {
    left: -370px;
}
#volet:target a.ouvrir {
    display: none;
}
#volet:target a.fermer {
    display: block;
}
p{
    padding-top: 50px;
}
h1{
    margin:auto;
    text-align: center;
    width:fit-content;
    width:25vw;
    width:min(20rem,25vw);
    padding:10px;
    border: 4px solid black;
    background: linear-gradient(#7C15D6, #AC15D6, #D315D6);
    border-radius:20px;
    box-sizing: border-box;
    color: red;
    margin-top: 20px;
}
.s{

    padding: 6px;
    border: 2px solid black;
    background-color: red;
    box-sizing: border-box;
    width:120px;
    text-align: center;
}
.a{

    padding: 6px;
    border: 2px solid black;
    background-color: orange;
    box-sizing: border-box;
    width:120px;
    text-align: center;
}
.b{
    padding: 6px;
    border: 2px solid black;
    background-color: yellow;
    box-sizing: border-box;
    width:120px;
    text-align: center;
}
.c{
    padding: 6px;
    border: 2px solid black;
    background-color: green;
    box-sizing: border-box;
    width:120px;
    text-align: center;
}
.d{
    padding: 6px;
    border: 2px solid black;
    background-color: blue;
    box-sizing: border-box;
    width:120px;
    text-align: center;
}
header {
    background-color: #4E464C;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: right;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    padding: 5px 10px;
}
footer {
    background-color: #4E464C;
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- ACCUEIL PAGE ---------- */

#main_acc {
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#banniere_acc {
    padding-top: 5rem;
}

#sous_banniere_acc {
    padding: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12rem;
    background-color: white;
}

#sous_banniere_acc div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#tendance {
    padding-top: 3rem;
    padding-bottom: 5rem;
    h2 {
        margin-left: 5rem;
    }
}

#banniere_tendance {
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: space-evenly;
    button{
        display: flex;
        flex-direction: column;
        img {
            max-width: 100%;
            width: 28rem;
            height: 16rem;
        }
    }
}

/* ---------- SEARCH PAGE ---------- */

#list_tl_search {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    padding-bottom: 10rem;
    max-width: 100%;
    button{
        display: flex;
        flex-direction: column;
        justify-content: center;
        img {
            max-width: 100%;
            width: 28rem;
            height: 16rem;
        }
    }
}

@media (min-width: 720px) {
    #list_tl_search { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
    #list_tl_search { grid-template-columns: repeat(3, 1fr); }
}

#div_input_search {
    padding: 2rem;
    align-items: center;
}

#input_search {
    width: 100%;
    height: 2rem;
}
h2{
    text-align: center;
    border: solid 2px black;
    margin:auto;
    width:fit-content;
    padding:4px;
    margin-top: 30px;
    border-radius:5px;

}
#input_titre{
    width: 20vw;
    height: 20px;
    padding:6px;
    margin-bottom: 20px;
}
button{

    margin: 10px;
}
#ajout_image{
    width:20vw;
    height:15vw;
}
body{
    background-color: darkgray;
}
.container{
    margin: 50px;
    display: grid;
    grid-template-columns: 120px 400px;
    grid-template-rows: 8rem 8rem 8rem 8rem 8rem;
    justify-content: start;
}
.items{
    border: solid 2px black;
    padding: 4px;
    width: 200px;
}
.flex{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;

}
.display-tierlist {
    max-width: 1104px;
    margin: 0 auto;
    border-top: 2px solid #4E464C;
    border-left: 2px solid #4E464C;
    border-right: 2px solid #4E464C;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(128px, auto);
}

.tier {
    grid-column: 1;
    align-items: center;
    display: flex;
    justify-content: center;
    border-right: 2px solid #4E464C;
    border-bottom: 2px solid #4E464C;
}

.ranked_items{
    grid-column: 2/7;
    border-bottom: 2px solid #4E464C;
    img {
        max-width: 128px;
    }
}
button{
    font-size: 6px;
}