
body {
	margin: 0;
	height: 100vh;
	display: flex;
	justify-content: center;
	background-color: #cfe9f6; /* bleu clair */
	font-family: Arial, Helvetica, sans-serif;
}

nav {
    background-color: #9cd3ff;
    width: 450px;
    font-family: Arial, sans-serif;
    color: white;
    padding: 10px;
}

/* Réglages généraux */
ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

li {
    padding: 8px 12px;
    border-bottom: 1px solid #fff;
}

ul.submenu-links {
    background-color: #006fc9;
    margin-top: 5px;
    padding-left: 15px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

ul.submenu-links li {
    border: none;
    padding: 6px 12px;
    font-size: 0.9em;
}

a {
    color: #aad4ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.category-title {
    font-weight: bold;
    font-size: 1.1em;
    cursor: default;
}

.toggle {
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

.toggle:hover {
    text-decoration: underline;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Quand le menu est ouvert, on fait pivoter la flèche vers le bas */
.toggle.open .arrow {
    transform: rotate(90deg); /* Flèche vers la droite devient flèche vers le bas */
}

.submenu-links {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.toggle.open .submenu-links {
    max-height: 500px; /* assez grand pour afficher tous les liens */
}


/* === Responsive Mobile Styles === */
@media (max-width: 600px) {
    nav {
        width: 90%;
        padding: 20px;
        font-size: 1.2em;
    }

    li {
        padding: 14px;
    }

    .toggle,
    .category-title {
        font-size: 1.3em;
    }

    ul.submenu-links li {
        font-size: 1.1em;
        padding: 10px 16px;
    }

    a {
        font-size: 1.1em;
    }
}


.cadre {
	background-color: #0b3c5d;
	color: #FAFAF9; /* couleur du texte normal */
	padding: 30px 40px;
	border-radius: 12px;
	text-align: center;
	max-width: 90%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.cadre a {
	color: #21BCFF; /* liens en blanc */
	text-decoration: none;
}

.cadre a:hover {
	color: #e6f2ff;
	text-decoration: underline;
}

.cadre h1 {
	margin: 0;
	font-size: 1.5rem;
}
