.titre {
    text-align: center;
    border : solid white 1px;
    padding-top : 1em;
    padding-bottom : 1em;
    font-size : 30px;
}

body {
    background-color: #556B2F;

  /*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: auto;
    list-style: none;
    padding: 10px;
    margin: 40px;
    display: flex;
    justify-content: center;
}

.menu > li {
    position: relative;
    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: #293245;
}

.menu .sousmenu {
    list-style-type: none;
    display: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #293245;
}

.menu .sousmenu li {
    position: relative;
    width: 200px;
    margin: 0;
    padding: 0;
}

.menu .sousmenu li a:link, .menu .sousmenu li a:visited {
    display: block;
    color: #FFF;
    text-decoration: none;
    background-color: #293245;
}

.menu .sousmenu li a:hover {
    background-color: #199BD2;
}

/* Sous-menu de niveau 2 */
.sousmenu .sousmenu.niveau2 {
    top: 0;
    left: 100%;
}

/* Affiche le sous-menu au survol */
.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%;
    margin-top: 70px;
	line-height : 200%;
}


.q {
    color : red;
}

.term {
    color: rgb(0, 2, 128);
}
.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;
    hyphens: auto;
    word-break: break-word;
    margin: 0;
    padding: 10px;
  }

  .texte_complet {
    text-align: left !important;  /* Supprime la justification sur mobile */
    font-size: 16px;
    padding: 2em;
    margin-left: 5%;
    margin-right: 5%;
    line-height: 1.6;
    margin-top: 20%;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    padding: 0;
    height: auto;
    
  }

  .menu li {
    width: 100%;
    margin-bottom: 5px;
  }

  .menu li a {
    font-size: 16px;
    padding: 10px;
    
  }

  .titre {
    font-size: 22px;
    padding: 0.5em;
  }

  p {
    text-indent: 1em;
  }
}
