html {
    height: 100%;
}

body{
    height: 100%;
}

body.admin-mode {
  background: #222;
  color: #0f0;
}

#admin-auth-form {
  margin-top: 1em;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: linear-gradient(to left, #6e8efb,#a3dafb);
    background-image: url("amélioration\ entreprise/angel.jpg");
    font-family: sans-serif;
    transition: background-color0.3s;
    color: 0.3s;
}


.search {
    display: flex;
    align-items: center;
    font-family: "Karla", sans-serif;
}

.search .input {
    background: linear-gradient(to left, #6e8efb, #a3dafb);
    border: 0;
    font-size: 16px;
    color: #ffffff;
    padding: 15px;
    height: 40px;
    width: 40px;
    transition: width 0.8s ease;
    border-radius: 25px;
}

.search .input:focus {
    width: 200px; /* Largeur étendue lorsque le champ est en focus */
    outline: none;
    box-shadow: 0 0 8px rgba(110, 142, 251, 0.6);


}

.search .btn {
    background: none;
    border: none;
    color: rgb(44, 107, 136);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.search .btn ion-icon {
    font-size: 20px;
}


body.dark{
    background-color: #212121;
}
.heading {
    margin-top: 120px;
}
.switch{
    position: relative;
    width: 3.5rem;
    font-family: "Karla", sans-serif;
    height: 2rem;
    margin-top: 20px;
}
.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}
.slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(215, 215, 228);
    transition: 0.4s;
    border-radius: 30px;
}
.slider::before {
    position: absolute;
    content: "";
    height: 1.4rem;
    width: 1.4rem;
    border-radius: 20px;
    left: 15px;
    top: 12%;
    transform: translate(-50%);
    background: linear-gradient(40deg, #ff0080,#ff8c00 70%);
    transition: 0.4s;
}
input:checked + .slider {
    background-color: #37393f;
}
input:checked + .slider::before{
    left: calc(100% - 1.1rem);
    background: #37393f;
    box-shadow: 
    inset - 3px -2px 5px -2px #8983f3,
    inset -10px -4px 0 0 #a3dafb
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to left, #6e8efb,#a3dafb);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #665c5c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4061ce;
}

#accueil {
    background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    font-family: "Karla", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    background-color: rgba(190, 186, 186, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    text-align: center;
    color: #333;
    max-width: 800px;
    font-family: "Karla", sans-serif;
    padding: 2rem;
    background-color: rgba(129, 126, 126, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.home-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 6px 6px 0px  rgba(129, 126, 126, 0.8);
}

.profile-image {
    margin: 1rem auto;
}

.profile-image img {
    border-radius: 50%;
    border: 3px solid #6e8efb;
}

.home-content h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #a3dafb;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #5a7de0;
}

section {
    padding: 3rem 2rem;
    border-bottom: 1px solid #e1e1e1;
    font-family: "Karla", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #6e8efb;
    margin-bottom: 1rem;
    text-align: center;
}

.section-content, .diapo, .rapport {
    background-color: #fff;
    margin: 1rem 0;
    padding: 1.5rem;
    font-family: "Karla", sans-serif;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-content:hover, .diapo:hover, .rapport:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content ul li {
    background-color: #f0f0f0;
    margin: 0.5rem 0;
    padding: 0.75rem;
    border-radius: 4px;
}

.rapport a, .section-content a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.rapport a, .section-content a, .card-font {
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative; /* Ajouté pour positionner correctement le pseudo-élément */
}

.rapport a::before, .section-content a::before, .card-font::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    z-index: 0;
}


.rapport a:hover, .section-content a:hover {
    background-color: #5a7de0;
}

.competences-container {
    display: flex;
    justify-content: space-between;
    font-family: "Karla", sans-serif;
    margin-top: 2rem; 
    
}

.competence-card {
    flex: 1;
    margin: 0 1rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.competence-card h3 {
    color: #6e8efb;
    border-bottom: 2px solid #6e8efb;
    padding-bottom: 0.5rem;
}

.competence-card ul {
    list-style: none;
    padding: 0;
}

.competence-card ul li {
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 5px;
    height: 10px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.progress {
    background-color: #4CAF50;
    height: 100%;
    border-radius: 5px;
}

.interets-container {
    margin-top: 2rem;
    font-family: "Karla", sans-serif;
    text-align: center;
}

.interets-container h3 {
    color: #6e8efb;
}

.interet-card {
    display: flex;
    justify-content: center;
    font-family: "Karla", sans-serif;
    gap: 2rem;
    margin-top: 1rem;
}

.interet-card div {
    background-color: rgba(245, 239, 239, 0.8);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.interet-card img {
    width: 50px;
    height: 50px;
}

#mon-cv {
    padding: 2rem;
    max-width: 1200px;
    font-family: "Karla", sans-serif;
    margin: 0 auto;
    background-color: rgba(245, 239, 239, 0.8);
}

.cv-container {
    background-color: #dad4d4;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cv-header {
    text-align: center;
    padding: 1rem;
    background-color: #f8f4e9;
    border-bottom: 1px solid #ddd;
}

.cv-header h2 {
    margin: 0;
    color: #333;
}

.cv-content {
    display: flex;
}

.cv-sidebar {
    flex: 1;
    padding: 2rem;
    background-color: #f8f4e9;
    border-right: 1px solid #ddd;
}

.profile-image {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-image img {
    border-radius: 50%;
    border: 3px solid #6e8efb;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.skills, .languages, .software, .interests {
    margin-bottom: 1.5rem;
}

.skills h3, .languages h3, .software h3, .interests h3 {
    color: #6e8efb;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.skills ul, .languages ul, .software ul, .interests ul {
    list-style: none;
    padding: 0;
}

.skills ul li, .languages ul li, .software ul li, .interests ul li {
    margin-bottom: 0.5rem;
}

.cv-main {
    flex: 2;
    padding: 2rem;
}

.education, .experience {
    margin-bottom: 2rem;
}

.education h3, .experience h3 {
    color: #6e8efb;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.education-item, .experience-item {
    margin-bottom: 1.5rem;
}

.education-item h4, .experience-item h4 {
    margin: 0;
    color: #333;
}

.education-item p, .experience-item p {
    margin: 0.25rem 0;
}

.education-item ul, .experience-item ul {
    list-style: none;
    padding: 0;
}

.education-item ul li, .experience-item ul li {
    margin-bottom: 0.25rem;
}

.download-cv {
    text-align: center;
    margin-top: 2rem;
}

.download-cv a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-cv a:hover {
    background-color: #5a7de0;
}

#mes-motivations, #mes-objectifs {
    padding: 2rem;
    max-width: 1200px;
    font-family: "Karla", sans-serif;
    margin: 0 auto;
    background-color: rgba(245, 239, 239, 0.8);
}

#mes-motivations h2, #mes-objectifs h2 {
    text-align: center;
    color: #333;
}

.motivations-container, .objectifs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.motivation-card, .objectif-card {
    flex: 1;
    margin: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.motivation-icon, .objectif-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.motivation-icon img, .objectif-icon img {
    width: 50px;
    height: 50px;
}

.motivation-card h3, .objectif-card h3 {
    color: #6e8efb;
    text-align: center;
}

.motivation-card p, .objectif-card p {
    text-align: justify;
}

#formation-eda-rh {
    padding: 2rem;
    max-width: 1200px;
    font-family: "Karla", sans-serif;
    margin: 0 auto;
    background-color: rgba(245, 239, 239, 0.8);
}

.formation-container {
    background-color: #b6b0b0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.formation-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.formation-header h2 {
    color: #333;
    margin: 0;
}

.formation-header p {
    color: #666;
    margin: 0.5rem 0;
}

.formation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
}

.formation-description {
    margin-bottom: 2rem;
    text-align: justify;
}

.formation-objectives h3, .formation-activities h3, .formation-competences h3 {
    color: #6e8efb;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.formation-objectives ul {
    list-style: none;
    padding: 0;
}

.formation-objectives ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.formation-objectives ul li:before {
    content: "•";
    color: #6e8efb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.formation-activities, .formation-competences {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.activity-card, .competence-card {
    flex: 1;
    min-width: 250px;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activity-card h4, .competence-card h4 {
    color: #6e8efb;
    margin-top: 0;
}

.activity-card p, .competence-card p {
    margin: 0.5rem 0 0;
}

.contact-container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background-color: #fff;
    font-family: "Karla", sans-serif;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background-color: rgba(245, 239, 239, 0.8);
    border-radius: 10px 0 0 10px;
}

.contact-info h2 {
    margin-top: 0;
    color: #333;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info ul li .icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-form {
    flex: 1;
    padding: 40px;
    background-color: #fff;
    border-radius: 0 10px 10px 0;
}

.contact-form h2 {
    margin-top: 0;
    color: #333;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.contact-form button {
    padding: 10px;
    background-color: #6e8efb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #5a7de0;
}

footer {
    background-color: #333;
    color: #fff;
    font-family: "Karla", sans-serif;
    padding: 2rem 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.5rem;
}

.footer-logo p {
    margin: 0.5rem 0 0 0;
}

.footer-navigation, .footer-contact {
    flex: 1;
}

.footer-navigation h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-navigation ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-navigation ul li, .footer-contact ul li {
    margin-bottom: 0.5rem;
}

.footer-navigation ul li a, .footer-contact ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-navigation ul li a:hover, .footer-contact ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
}

.section-content, .diapo, .rapport {
    background-color: rgba(245, 239, 239, 0.8);
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-content:hover, .diapo:hover, .rapport:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rapport a, .section-content a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.rapport a:hover, .section-content a:hover {
    background-color: #5a7de0;
}

#current-date-time {
    padding: 10px;
    font-family: "Karla", sans-serif;
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s;
    #current-date-time {
  color: #fff; /* ou une couleur bien visible */
  font-weight: 500;
  font-size: 1rem;
}
}

/* Style pour le mode sombre */
body.dark #current-date-time {
    color: #243447; /* Texte en blanc pour le mode sombre */
    background-color: a3dafb; /* Fond sombre pour le texte blanc */
}

/* Style pour le mode clair */
body:not(.dark) #current-date-time {
    color: #243447; /* Texte en noir pour le mode clair */
    font-family: "Karla", sans-serif;
    background-color: linear-gradient(to left, #6e8efb,#a3dafb); /* Fond clair pour le texte noir */
}

/* Style général pour la section des rapports */
#rapports {
    padding: 2rem;
    max-width: 1200px;
    font-family: "Karla", sans-serif;
    margin: 0 auto;
    background-color: rgba(245, 239, 239, 0.8);;
}

/* Style pour chaque rapport */
.rapport {
    background-color: 243447;
    margin: 1rem 0;
    padding: 1.5rem;
    font-family: "Karla", sans-serif;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style pour les titres des rapports */
.rapport h3 {
    color: #0a0a0c;
    margin-top: 0;
}

/* Style pour les paragraphes et listes */
.rapport p, .rapport ul {
    margin: 0.5rem 0;
    color: #333;
}

/* Style pour les listes */
.rapport ul {
    list-style: none;
    padding: 0;
}

/* Style pour les liens de téléchargement */
.download-links {
    margin: 1rem 0;
}

.download-links a {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    background-color: #6e8efb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.download-links a:hover {
    background-color: #5a7de0;
}

/* Style pour les images */
.rapport-image {
    border-radius: 75px;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-top: 1rem;
}

#diapos {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.diapo {
    display: none;
    padding: 1.5rem;
    background-color: #fff;
}

.diapo.active {
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.diapo h3 {
    color: #6e8efb;
    margin-top: 0;
}

.diapo iframe {
    width: 100%;
    height: 400px;
    border: none;
}
@media screen and (max-width: 768px) {
  .content-box, .pricing-section {
    width: 95%;
  }
}


.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #6e8efb;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  display: none;
}

#fullscreen-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 0.5em 1em;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}
#go-to-contact {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 0.5em 1em;
  background-color: #6e8efb;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}

.cv-button {
  background: linear-gradient(to right, #6e8efb, #a777e3);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cv-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(110, 142, 251, 0.4);
}

.testimonial {
  overflow: hidden;
  max-height: 100px;
  transition: max-height 0.4s ease;
  cursor: pointer;
  border-radius: 8px;
  padding: 16px;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.testimonial.expanded {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#visit-counter {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #6e8efb;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-family: "Karla", sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}
/* Styles de base (mobile first) */
body {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #111;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 1rem;
}

header, footer {
  text-align: center;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #333;
}

/* Tablette (≥ 768px) */
@media (min-width: 768px) {
  nav ul {
    flex-direction: row;
    justify-content: center;
  }

  .container {
    width: 85%;
  }
}

/* Ordinateur portable (≥ 1024px) */
@media (min-width: 1024px) {
  .container {
    width: 75%;
    max-width: 1200px;
  }

  body {
    font-size: 18px;
  }
}

/* Grand écran (≥ 1440px) */
@media (min-width: 1440px) {
  .container {
    width: 70%;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
button {
  padding: 0.75rem 1.2rem;
  margin: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #6e8efb;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #6e8efb;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > ul > li {
  position: relative;
}

.menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  background-color: #6e8efb;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

.menu a:hover {
  background-color: #6e8efb;
}

.sous-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #6e8efb;
  border-radius: 6px;
  z-index: 1000;
  min-width: 200px;
}

.deroulant:hover .sous-menu {
  display: block;
}

.sous-menu li a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  display: block;
}
.element {
  width: 80%; /* ou une valeur fixe comme 300px */
  height: auto;
}