body {
    background-color: #202122;
    overflow-y: hidden;
}

* {
    font-family: Caladea, Merriweather, serif;
    color: white;
}

.global_page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 5.2rem;
}

.content_column_left {
    display: flex;
    flex-direction: column;
    width: 18.7rem;
    z-index: 1;
}

.content_column_right {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.box_categories {
    position: fixed;
    padding-top: .4rem;
    width: 18.7rem;
    height: 100%;
    background-color: #1d1e20;
    border-right: .2rem solid;
    border-color: #343438;
    max-height: calc(100vh - 5.4rem);
    overflow-y: auto;
}

.ul_list {
    margin-top: .2rem;
    margin-left: -1.4rem;
}

.li_list_style_category {
    margin-left: -.4rem;
    list-style: none;
}

.li_list_type_category {
    margin-top: .4rem;
    margin-bottom: .4rem;
    margin-left: -.4rem;
    list-style: none;
}

.li_list_first_category {
    margin-top: .2rem;
    margin-bottom: .2rem;
    margin-left: -.4rem;
    list-style: none;
}

.li_list_second_category {
    list-style: disc;
    color: white;
}

.category {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    transition: all .2s ease-in-out;
}

.category:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.selected_category {
    text-decoration: none;
    color: #4299e5;
    font-weight: bold;
    font-size: 1.4rem;
}

.type_category {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.24rem;
}

.type_category:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.selected_type_category {
    text-decoration: none;
    color: #4299e5;
    font-weight: bold;
    font-size: 1.24rem;
}

.first_category {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.first_category:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.selected_first_category {
    text-decoration: none;
    color: #4299e5;
    font-weight: bold;
    font-size: 1.1rem;
}

.second_category {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.second_category:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.selected_second_category {
    text-decoration: none;
    color: #4299e5;
    font-weight: bold;
    font-size: 1.1rem;
}

.title_list {
    margin-left: -1.4rem;
    font-size: 1.7rem;
    color: white;
}

.link_list {
    text-decoration: none;
    color: white;
    font-size: 1.14rem;
    font-weight: bold;
    transition: all .4s ease-in-out;
}

.link_list:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.global_gallery {
    position: fixed;
    top: 5.2rem;
    left: 18.7rem;
    right: 0;
    bottom: 2.5rem;
    padding: .28rem;
    margin-bottom: 1.2rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: .4rem;
    column-gap: .4rem;
    width: 100%;
    padding-right: .2rem;
    margin-top: -.17rem;
    overflow: visible;
}

.product {
    display: block;
    width: 100%;
    background-color: #242527;
    transition: all .1s ease-in-out;
    text-decoration: none;
}

.box_product_name {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin-top: -.8rem;
    height: 5.2rem;
    width: 100%;
}

.product_name {
    padding-left: .8rem;
    padding-right: .8rem;
    text-align: center;
    word-break: break-word;
    font-size: .88rem;
    color: white;
}

.preview_product {
    width: 100%;
    margin: 0;
}

.box_product_infos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .7rem;
    padding-right: .7rem;
}

.product_new_discount {
    font-size: .88rem;
    color: #4299e5;
}

.product_free {
    font-size: .88rem;
    color: #74ff58;
}

.box_no_result {
    width: 100%;
}

.text_no_result {
    text-align: center;
    margin-right: 24rem;
    font-size: 1.4rem;
    color: white;
}

.global_pagination {
    position: fixed;
    bottom: 0rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    width: 100%;
    height: 2.5rem;
    background-color: #1d1e20;
    border-top: .2rem solid;
    border-color: #343438;
}

.pagination {
    font-weight: bold;
    text-align: center;
    margin-top: -.12rem;
    padding-top: .5rem;
    padding-bottom: 2rem;
    padding-right: 1.4rem;
    padding-left: 1.4rem;
    background-color: #1D1D1D;
    text-decoration: none;
    user-select: none;
}

.container_pages {
    display: inline;
}

.previous_page_active {
    margin-right: .5rem;
    text-decoration: none;
    color: white;
    transition: all .2s ease-in-out;
}

.previous_page_active:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.previous_page_inactive {
    margin-right: .5rem;
    text-decoration: none;
    color: #ffffff80;
}

.next_page_active {
    margin-left: .5rem;
    text-decoration: none;
    color: white;
    transition: all .2s ease-in-out;
}

.next_page_active:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

.next_page_inactive {
    margin-left: .5rem;
    text-decoration: none;
    color: #ffffff80;
}

.pages {
    margin-right: .2rem;
    margin-left: .2rem;
    text-decoration: none;
    color: white;
    transition: all .2s ease-in-out;
}

.pages:hover {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

#page_active {
    color: #4299e5;
    transition: all .2s ease-in-out;
}

#page_active {
    border: solid .14rem;
    border-color: white;
    border-radius: .4rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
    padding-left: .7rem;
    padding-right: .7rem;
    color: #4299e5;
    transition: all .2s ease-in-out;
}


/*Desktop*/
@media only screen and (max-width: 1900px) {
    .gallery {
        grid-template-columns: repeat(5, 1fr);
    }
}


/*Desktop*/
@media only screen and (max-width: 1600px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}


/*Desktop*/
@media only screen and (max-width: 1400px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*Desktop*/
@media only screen and (max-width: 1000px) {
    .content_column_left {
        display: none;
    }

    .global_gallery {
        left: 0;
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .text_no_result {
        margin-right: 0;
    }

}


/*Mobile*/
@media only screen and (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*Mobile*/
@media only screen and (max-width: 700px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/*Mobile*/
@media only screen and (max-width: 500px) {
    .product_name {
        font-size: .8rem;
    }
    
    .product_free {
        font-size: .8rem;
    }

    .product_new_discount {
        font-size: .8rem;
    }
}


/*Mobile*/
@media only screen and (max-width: 400px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }

    .pagination {
        padding-right: .8rem;
        padding-left: .8rem;
    }
}