
/* Réinitialisation de base */
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #366796;
    color: #333;
    line-height: 1.6;
}

/* Bandeau onglets services.html */
.tab-buttons											/* Permet de centrer les boutons sur la page */
{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2vh;
    flex-wrap: wrap;
}

.tab-buttons button										/* Change la couleur et la forme des boutons */
{
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 20px;
    background-color: #84C1FF;							/* Couleur de fond des boutons */
    color: #050D3F;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-buttons button:hover, .tab-buttons .active 		/* Modifie la couleur des boutons lors d'un survol avec la souris */
{
    background-color: #529fe9;							/* Couleur de fond des boutons lors d'un survol avec la souris */
	color: white;
}

/* Bouton retour */
.retour
{
	text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 20px;
    background-color: #84C1FF;							/* Couleur de fond du bouton retour */
    color: #050D3F;
    cursor: pointer;
    transition: background-color 0.3s;

}

.retour:hover
{
    background-color: #529fe9;							/* Couleur de fond du bouton retour lors d'un survol avec la souris */
	color: white;
}


.diagram-tab {
    display: none;
}

.diagram-tab.active {
    display: block;
}
/* Conteneur de chaque diagramme 
.diagramme {
    display: none;
    position: relative;
    width: 90%;
    margin: 3vh auto;
    min-height: 600px;
    background-color: #fff;
    border: 2px solid #bbb;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 2vh;
}

.diagramme.active {
    display: block;
}
*/
/* Zone centrale */
.ellipse-centrale
{
    position: absolute;
    width: 20%;
    height: 10%;
    top: 40%;
    left: 40%;
    background-color: #050D3F;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 1.2;
    padding: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blocs enfants autour */
.box-top, .box-bottom, .box-left, .box-right, .box-top-left, .box-top-right, .box-bottom-left, .box-bottom-right, .box-bottom-center
{
    position: absolute;
    width: 20%;
    background-color: #A0C4FF;
    color: black;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.box-top { top: 5%; left: 40%; }
.box-bottom { bottom: 5%; left: 40%; }
.box-left { top: 45%; left: 10%; }
.box-right { top: 45%; left: 70%; }
.box-top-left { top: 10%; left: 10%; }
.box-top-right { top: 10%; left: 70%; }
.box-bottom-left { bottom: 10%; left: 10%; }
.box-bottom-right { bottom: 10%; left: 70%; }
.box-bottom-center{ bottom: 10%; left: 40%; }

/* ==================== FLÈCHES ==================== */

.diagram-arrows
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1; 
}
