/* Style pour la page "Grenier/Hub" */

@import url(../../css/main.css); /* Importe la base commune */

body {
    background-color: white;
    color: black;
    font-family: 'Georgia', serif;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header header header"
        "sidebar-left main-content sidebar-right";
    min-height: 100vh;
    gap: 20px;
    padding: 20px;
}

.header {
    grid-area: header;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #444;
}

.header h1 {
    font-size: 2.5rem;
    color: black;
}

.sidebar-left {
    grid-area: sidebar-left;
    border-right: 1px solid #444;
    padding-right: 20px;
}

.sidebar-right {
    grid-area: sidebar-right;
    border-left: 1px solid #444;
    padding-left: 20px;
}

.main-content {
    grid-area: main-content;
}

h2 {
    color: black;
    border-bottom: 1px dashed #666;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

a {
    color: blue;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

a:hover {
    color: blue;
    text-decoration: underline;
}

.liste-bouton {
    display: block;    
    background: url('../images/liste-bouton.png') no-repeat;
    background-size: contain;
    background-color: #fff; /* Couleur de secours */
    height: 30px; /* Ajustez selon la hauteur désirée */
    line-height: 25px; /* Pour centrer le texte verticalement */
    padding-left: 5px; /* Espace pour l'icône */
}

.liste-bouton a {
    display:block;
    color:#fff;
    font-weight: bolder;
    text-decoration: none;

}

.liste-bouton:hover {
    display: block;    
    background: url('../images/liste-bouton-hover.png') no-repeat;
    background-size: contain;   
    color:#f5f5f5;
    line-height: 25px;
    padding-left:5px;
}