/* Arrière-plan flou */
body::before {
    content: "";
    background-image: url('../img/fond.png'); /* Ajoutez ici le chemin correct vers votre image de fond */
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    filter: blur(5px); /* Vous pouvez ajuster la valeur (5px dans cet exemple) pour contrôler l'intensité du flou */
}

/* Header */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: #BB8FCE;
    border-top-left-radius: 10px;
}



.material-symbols-outlined {
    font-size: 150px; /* Augmentez la taille ici selon vos besoins */
}


/* Auteur */
.author {
    font-size: 18px;
    color: rgb(0, 0, 0);
    margin-right: 10px;
}

/* Catégories de menu */
.menu-categories {
    list-style: none;
    padding: 0;
    border-top: 10px;
}



/* Conteneur des carrés et rectangles */
.container {
    display: flex;
    flex-direction: column; /* Organiser en colonnes */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    height: 100vh; /* 100% de la hauteur de la vue (viewport height) */
    margin: 0 auto; /* Ajuster les marges horizontales pour centrer */
    position: relative;
}

/* Ligne supérieure de carrés */
.top-row {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Utilise 100% de la largeur du conteneur */
    height: 25%; /* Hauteur de 25% du conteneur */
}

/* Carré */
.square {
    flex: 0 0 calc(50% - 10px); /* Réduire la taille des carrés */
    height: 100%; /* Hauteur de 100% de la ligne */
    background-color: #ffffff;
    margin: 5px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    border: 3px solid #000000;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease, z-index 0.3s;
}

/* Ligne inférieure de carrés */
.bottom-row {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Utilise 100% de la largeur du conteneur */
    height: 25%; /* Hauteur de 25% du conteneur */
}

/* Rectangle à droite */
.rectangle {
    width: 50px; /* Largeur des rectangles */
    height: 50%; /* Hauteur de 50% du conteneur */
    background-color: #f0f0f0; /* Couleur des rectangles */
    position: absolute;
    top: 0;
}

.right-rectangle {
    right: -60px; /* Ajustez la position horizontale du rectangle de droite */
}






/* Effet au survol des carrés */
.square::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    transition: transform 0.3s ease, z-index 0.3s;
    font-weight: bold;
}

.square:hover {
    transform: scale(1.1);
    z-index: 1;
}

.square:hover::before {
    z-index: -1;
}


/* Boutons */
.button-statistique{
    background-color: white;
    border: none;
    width: 60%;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    outline: none;
    border-top: 10px;
    transition: background-color 0.3s;
    border-radius: 10px;
    font-size: 15px;
    line-height: 10px;
    font-weight: bold;
    color: #BA68C8;
    margin-top: 10px;
}
.button-suggestion{
    background-color: white;
    border: none;
    width: 60%;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    outline: none;
    border-top: 10px;
    transition: background-color 0.3s;
    border-radius: 10px;
    font-size: 15px;
    line-height: 10px;
    font-weight: bold;
    color: #CC0033;
    margin-top: 10px;
}
.button-planning {
    background-color: white;
    border: none;
    width: 60%;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    outline: none;
    border-top: 10px;
    transition: background-color 0.3s;
    border-radius: 10px;
    font-size: 15px;
    line-height: 10px;
    font-weight: bold;
    color: #0066CC;
    margin-top: 10px;
}
.button-factures {
    background-color: white;
    border: none;
    width: 60%;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    outline: none;
    border-top: 10px;
    transition: background-color 0.3s;
    border-radius: 10px;
    font-size: 15px;
    line-height: 10px;
    font-weight: bold;
    color: #27ae60;
    margin-top: 10px;
}


/* Pied de page */
#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px 0;
}