/* Styles communs pour toutes les pages */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-image: url('img/background.jpg'); /* Image de fond */
    background-color: #0e153a; /* Couleur de fond de secours au cas où l'image ne se charge pas */
    background-size: cover; /* Ajuster l'image pour couvrir l'arrière-plan */
    color: #fff; /* Texte blanc */
    margin: 0;
    padding: 0;
}

header {
    padding: 20px;
    background-color: #2980b9; /* Bleu électrique */
}

h1 {
    margin: 0;
}

.container {
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
    color: #000; /* Texte noir */
}

.container2 {
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
    color: #000; /* Texte noir */
    overflow-x: auto; /* Activer la barre de défilement horizontale si nécessaire */
    white-space: pre-wrap; /* Pour préserver les sauts de ligne */
}
footer {
    margin-top: 50px;
    padding: 10px;
    background-color: #3380b9; /* Bleu électrique */
}

 
img {
            display: block;
            margin: 0 auto;
            width: 500px; /* Taille de l'image */
        }
.img1 {
    width: 100px; 
    height: 100px; 
    display: block;
    margin-left: 10px;
    background-color: #ffffff;
    border-radius: 5%; /* Forme ronde */
    padding: 10px; /* Espacement autour de l'icône */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre autour de l'icône */
    transition: transform 0.3s ease; /* Animation de transition */
        }
        
.img22 {
    width: 100px; 
    height: 100px; 
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border-radius: 5%; /* Forme ronde */
    padding: 10px; /* Espacement autour de l'icône */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre autour de l'icône */
    transition: transform 0.3s ease; /* Animation de transition */
        }
        
.img3 {
    width: 100px; 
    height: 100px; 
    display: block-line;
    margin-left: 10px;
    background-color: #ffffff;
    border-radius: 5%; /* Forme ronde */
    padding: 10px; /* Espacement autour de l'icône */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre autour de l'icône */
    transition: transform 0.3s ease; /* Animation de transition */
        }
.img4 {
    width: 100px; 
    height: 20px; 
    display: block;
    margin-left: 10px;
    background-color: #2980b9;
    border-radius: 5%; /* Forme ronde */
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre autour de l'icône */
    transition: transform 0.3s ease; /* Animation de transition */
        }
/* Style du bouton */
my-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    background-color: #3498db; /* Bleu électrique */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 0px;
    transition: background-color 0.3s ease; /* Animation de transition */
}

/* Style du bouton au survol */
my-button:hover {
    background-color: #2980b9; /* Bleu électrique plus sombre au survol */
}

/* Style du bouton retour*/

.my-custom-button {
    background-color: #2ecc71; /* vert */
    color: #fff;
    margin-top: 10px;
}
.my-custom-button:hover {
    background-color: #27ae60; /* vert plus sombre au survol */
}

/* Style du bouton */
my-button1 {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    width: 500px;
    text-align: center;
    text-decoration: none;
    background-color: #F0431E; /* orange */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease; /* Animation de transition */
}

/* Style du bouton au survol */
my-button1:hover {
    background-color: #F0A01E; /* jaune plus sombre au survol */
}
.icon {
    width: 48px; 
    height: 48px; 
    display: inline-block;
    margin-left: 10px;
    background-color: #ffffff;
    border-radius: 50%; /* Forme ronde */
    padding: 10px; /* Espacement autour de l'icône */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre autour de l'icône */
    transition: transform 0.3s ease; /* Animation de transition */
}

.icon:hover {
    transform: scale(1.2); /* Agrandir l'icône au survol */
}

/* Style du bouton animation */
my-button2 {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    width: 500px;
    text-align: center;
    text-decoration: none;
    background-color: #8e44ad; /* violet, distinct du orange doc/ppt */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

/* Style du bouton au survol */
my-button2:hover {
    background-color: #6c3483; /* violet plus sombre au survol */
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Animation de pulsation pour l'image */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 3s infinite; /* Animation infinie */
}

/* Redimensionne la vidéo pour remplir la largeur du conteneur */
video {
    width: 50%; 
    height: auto; /* Laisse la hauteur se redimensionner proportionnellement */
    display: block;
    margin: 0 auto;
}
.logout-btn {
            background-color: #e74c3c;
            color: #fff;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
        }

.logout-btn:hover {
            background-color: #c0392b;
        }

.image-container {
    display: flex; /* Utilise Flexbox pour la disposition des éléments */
    justify-content: space-between; /* Espacement égal entre les éléments */
    max-width: 800px; /* Largeur maximale du conteneur pour éviter les débordements */
    margin: 100px; /* Centre le contenu horizontalement */
    margin-top: 25px;
    position: relative;
}

.image-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* Crée 4 colonnes égales par ligne */
            grid-gap: 10px; /* Espace entre les images */
        }
        
/* Style du texte superposé */
.image-text {
    position: relative; /* Permet de positionner le texte par rapport à l'image */
    display: flex; /* Utilise Flexbox pour la disposition des éléments */
    justify-content: center; /* Espacement égal entre les éléments */
    max-width: 800px;
    top: -125px; /* Place le texte à 50% de la hauteur du wrapper (au milieu) */
    left: 0; /* Place le texte au coin supérieur gauche de l'image */
    transform: translateY(-100%); /* Déplace le texte vers le haut de 50% de sa propre hauteur pour le centrer verticalement */
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent noir */
    color: #fff; /* Texte blanc */
    padding: 5px; /* Espacement interne du texte */
    border-radius: 5px; /* Coins arrondis pour le conteneur du texte */
    font-size: 20px;
    font-family: "Arial", sans-serif; /* Changer la police du texte */
    font-weight: bold; /* Mettre le texte en gras */
    text-decoration: none;
    
}


.center-table {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.center-table table {
    width: 60%; /* Ajustez la largeur du tableau selon vos préférences */
    margin: 0 auto; /* Centre le tableau horizontalement */
}

.center-table th, .center-table td {
    padding: 10px; /* Augmente l'espacement interne des cellules */
    text-align: center; /* Centre le contenu dans les cellules */
}

.question {
            margin-bottom: 20px;
            font-size: 1.5em;
            font-weight: bold;
            text-align: left;
}
.answers {
            margin-left: 0;
            text-align: left;
}
.answers label {
            font-size: 1em;
            font-weight: normal;
}
.result {
            margin-top: 20px;
            padding: 10px;
            background-color: #87CEFA;
            border: 1px solid #ddd;
            text-align: left;
}

.submit-button {
    display: inline-block;
    padding: 15px 30px; /* Taille augmentée */
    font-size: 1.5em; /* Texte grand */
    text-align: center;
    text-decoration: none;
    background-color: #87CEFA; /* Couleur orange */
    color: #fff;
    border: none;
    border-radius: 10px; /* Coins arrondis */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Animation au survol */
}

.submit-button:hover {
    background-color: #e67e22; /* Orange plus sombre au survol */
}

/* Couleur de fond Orange */
.theme-orange {
  background-color: #fff7ed;
  border-left: 5px solid #ea580c;
  padding: 10px;
  margin-bottom: 8px;
}

/* Couleur de fond Bleu */
.theme-bleu {
  background-color: #eef6ff;
  border-left: 5px solid #2563eb;
  padding: 10px;
  margin-bottom: 8px;
}

/* Couleur de fond Vert */
.theme-vert {
  background-color: #f0fdf4;
  border-left: 5px solid #16a34a;
  padding: 10px;
  margin-bottom: 8px;
}

/* Couleur de fond Violet */
.theme-violet {
  background-color: #faf5ff;
  border-left: 5px solid #9333ea;
  padding: 10px;
  margin-bottom: 8px;
}

/* Couleur de fond Jaune */
.theme-jaune {
  background-color: #fefce8;
  border-left: 5px solid #ca8a04;
  padding: 10px;
  margin-bottom: 8px;
}
