/* Styles généraux pour le corps de la page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

/* Header styling */
header {
    background: #0056b3;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
}
.header-content {
    display: flex; /* Use flexbox to lay out the image/text group and the main header text side by side */
    align-items: center; /* Align items vertically in the center */
    padding: 10px; /* Add some padding around content */
}

.image-and-name {
    display: flex; /* Utiliser flexbox pour disposer l'image et le nom */
    flex-direction: column; /* Organiser les éléments en colonne */
    align-items: center; /* Centrer les éléments horizontalement */
    margin-right: 20px; /* Espacement à droite du groupe image/nom */
}

.prof-photo {
    width: 150px; /* Assurez-vous que cette taille convient à votre design */
    height: auto;
}

.prof-name {
    text-align: center; /* Centre le nom sous la photo */
    margin-top: 3px; /* Espacement entre la photo et le nom */
    font-size: 18px; /* Taille de police appropriée */
    color: #fff; /* Couleur du texte */
}

.header-text {
    flex-grow: 1; /* Allow text to take up any extra space */
}


/* Main section styling */
main {
    padding: 20px;
    background: #fff;
	text-align: center;
	width: 850px;
	margin: auto;
	
}

/* Titres de section */
h1 {
    color: #fff;
}
h2, h3 {
    color: #333;
}

/* Styles du formulaire */
form {
    margin-top: 20px;
	 width: 500px;
	 margin: auto;
}

/* Styles pour les labels et les input */
label {
    display: block; /* Cela garantit que chaque label commence sur une nouvelle ligne */
    margin-bottom: 10px; /* Espacement entre chaque label */
}

input[type="text"],
input[type="email"],
input[type="submit"] {
    width: 95%;
    padding: 8px;
    margin-bottom: 10px; /* Espacement après chaque input */
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Styles spécifiques pour les checkbox et leurs labels */
input[type="checkbox"] {
    margin-right: 10px; /* Espacement entre la checkbox et le label */
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 20px;
}

legend {
    font-weight: bold;
    padding: 0 10px;
}

/* Alignement des labels des checkbox à gauche */
fieldset label {
    text-align: left; /* Alignement à gauche des labels dans le fieldset */
    margin-left: 20px; /* Un peu de marge à gauche pour ne pas coller au bord */
}
.accordion h3 {
    cursor: pointer;
    padding: 10px;
    background-color: #eee;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

