#oeuvres_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-row-gap: 5rem;
}

#filters_menu_wrap {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 5rem;
}

#search_bar img {
    width: 25px;
    height: 25px;
    filter: var(--main-color-filter-2);
    margin-left: 1rem;
}


#filters_menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 70%;
}



#filters_menu select {
    border: 1.5px var(--main-color) solid;
    border-radius: 8px;
}

#search_bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

#search_bar span {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#search_bar input {
    border: 1.5px var(--main-color) solid;
    border-radius: 8px;
    width: 40vw;
}

#search_rep {
    border: 1px black solid;
    background-color: white;
    width: 40vw;
    display: flex;
    flex-direction: column;
}

.search_rep_btn {
    text-decoration: none;
    border-bottom: 1px black solid;
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 4rem;
    color: black;
    /*justify-content: space-around;*/
    column-gap: 2rem;
}

.search_rep_btn:hover {
    background-color: rgb(255, 229, 172);
}

.my_select_wrap,
.my_input_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my_select_wrap select {
    /*position: absolute;
    transform: translateY(42px);*/
    width: 10vw;
    height: 150px;
}



.my_select {
    border: 1.5px var(--main-color) solid;
    border-radius: 8px;
    width: 7rem;
    height: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 10vw;
    cursor: pointer;
}

.arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-right: 0.5rem;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

#pages_nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 8rem;
}


#pagination_container {
    display: flex;
    flex-direction: row;
    column-gap: 0.5rem;
    justify-content: center;
    align-items: baseline;
}

#pages_nav {
    border: 1px solid var(--main-color);
    border-radius: 25px;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#pagination_container a {
    text-decoration: none;
    color: var(--main-color);
}

.selected_page {
    background-color: var(--main-color);
    color: white;
}



@media only screen and (max-width: 1272px) {
    #oeuvres_grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-row-gap: 5rem;
    }
}

@media only screen and (max-width: 688px) {
    #oeuvres_grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 5rem;
    }

    #search_rep,
    #search_bar input {
        width: 60vw;
    }
}


@media only screen and (max-width: 564px) {

    #search_rep,
    #search_bar input {
        width: 72vw;
    }
}


@media only screen and (max-width: 467px) {
    #oeuvres_grid {
        display: grid;
        grid-template-columns: auto;
        grid-row-gap: 5rem;
    }

    #search_rep,
    #search_bar input {
        width: 85vw;
    }
}

@media only screen and (max-width: 400px) {

    #search_rep,
    #search_bar input {
        width: 90vw;
    }
}