.titre {
    text-align: center;
    border : solid white 1px;
    padding-top : 1em;
    padding-bottom : 1em;
    font-size : 30px;
}

p{text-indent: 5%;}

strong {
  color: black;
  font-weight: bold;
}
.Remerciements {
    text-align: center;
    border : solid white 1px;
    padding-top : 1em;
    padding-bottom : 1em;
    font-size : 30px;
}

body {
    background-color: #556B2F;


  /*
  	background-image : url(https://upload.wikimedia.org/wikipedia/commons/e/ed/Morris_Snakeshead_printed_textile_1876_v_2.jpg);
    font-family : TimesNewRoman;
	color : white;
	padding: 4em;
	text-align : justify;
	position : relative;
	border : solid white 3px;
	background-color: black;
	margin-left : 30%;
	margin-right : 5%;*/
}


.menu {
    height: 60px;
    list-style: none;
    padding: 10px;
    margin: 40px;
    display: flex;
    justify-content: center; /* Centrer horizontalement les éléments du menu */
}

.menu li {
    width: 200px;
}

.menu li a:link, .menu li a:visited {
    display: block;
    color: #FFF;
    background: #293245;
    padding: 6px 10px;
    border-right: 1px solid #FFF;
    text-align: center;
    text-decoration: none;
}

.menu li a:hover {background-color: #199BD2;}
.menu li a:active {background-color: #808080;}

.menu .sousmenu {
    list-style-type: none;
    display: none;
    padding: 0;
    margin: 0;
    position: absolute;
}

.menu .sousmenu li {
    float: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
}

.menu .sousmenu li a:link, .menu li a:visited {
    display: block;
    color: #FFF;
    text-decoration: none;
    background-color: #293245;;
}

.menu .sousmenu li a:hover {
    background-color: #199BD2;
}

.menu li:hover .sousmenu {
    display: block;
}

.texte_complet {
    font-family: Arial;
    color: white;
    padding: 4em;
    text-align: justify;
    position: relative;
    border: solid white 3px;
    background-color: #8B4513; /* SaddleBrown */
    margin-left: 15%;
    margin-right: 5%;
    line-height: 200%;
}


.q {
    color : red;
}

.term {
    color: green
}
.x{
    opacity: 0;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #556B2F; /* Optionnel : ajoute un fond au footer */
    margin-top: 20px; /* Ajoute une marge en haut du footer pour le séparer du contenu */
}

footer > div:first-child {
    margin-bottom: 20px; /* Ajoute de l'espace en dessous du premier div */
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espace entre les éléments */
}

.linkedin-fixed, .github-fixed, .contact-fixed {
    display: inline-block; /* Permet aux divs de s'afficher en ligne */
    margin-right: 15px; /* Ajoute de l'espace à droite de chaque div sauf la dernière */
}

.linkedin-fixed:last-child, .github-fixed:last-child, .contact-fixed:last-child {
    margin-right: 0; /* Supprime la marge à droite pour le dernier élément */
}

.linkedin-fixed img, .github-fixed img, .contact-fixed img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 2px black);
    transition: transform 0.2s ease;
}

.linkedin-fixed img:hover, .github-fixed img:hover, .contact-fixed img:hover {
    transform: scale(1.2);
}


@media (max-width: 767px) {
    body {
        font-size: 16px;             /* Taille adaptée aux mobiles */
        hyphens: auto;
        word-break: break-word;
    }

    .texte_complet {
        text-align: left !important; /* Supprime justification */
        font-size: 16px;
        padding: 2em;
        margin-left: 5%;
        margin-right: 5%;
        line-height: 1.6;
    }

    p {
        text-indent: 2em;  /* Plus lisible sur petits écrans */
    }

    .titre,
    .Remerciements {
        font-size: 22px;   /* Moins imposant sur petit écran */
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        margin: 20px;
    }

    .menu li {
        width: 90%;
        margin-bottom: 10px;
    }
}
