
.sidebar{
    width: 20%;
}

.content{
    width: 65%;
}

@media (max-width: 600px){
    .content{
        width: 100%;
    }
    .custom-dropdown-mobile{
        width: 90%;
        margin: auto;
    }
    .showhidden{
        border-radius: .75em;
    }

    .custom-dropdown{
        margin-top: .5em;
        border-radius: .5em;
    }
}

.categories-list,
.categories-list li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.categories-list {
    padding: 0;
    margin: 0 !important;
    max-width: 100%;
}

.categories-list li.category-item {
    margin-top: 1rem;
}

.category-item {
    background: hsl(210, 33%, 25%); /* Bleu sombre */
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.category-item:hover {
    background: #3a536b; /* Couleur de hover bleuâtre */
    transform: translateY(-3px);
}

.category-item-card {
    background-color: #222;
    border-radius: 8px;
    width: 120px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.category-item-card .card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.category-item-card .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
}

.card-title {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0 0 0.2rem;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

section.content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

