@font-face {
    font-family: 'Montserrat';
    src: url("../../../fonts/Montserrat/Montserrat-Medium.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat_light';
    src: url('../../../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Montserrat, sans-serif;
    color: #1B4353; /* Dark blue for primary text */
    background-color: #FEFDFF; /* Light cream background */
    padding-top: 80px;
    margin: 0;
    padding: 0;
    margin-top: 100px;
}

.content-container {
    margin: 40px; /* Ajoutez une marge autour du contenu */
}

section {
    padding: 10px;
    margin: 10px 0;
}

#headerTitle {
    white-space: nowrap; /* Empêche le texte de passer à la ligne suivante */
    font-size: 35px; /* Taille de la police */
    color: #FEFDFF; /* Couleur du texte */
    font-family: Arial, sans-serif; /* Police de caractères */
    margin-left: 10px;
    font-weight: bold;
}


.language-selector {
    position: relative;
    display: inline-block;
}

.language-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.language-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.language-menu a:hover {
    background-color: #f1f1f1;
}

.show { 
    display: block;
    animation: slideIn 0.5s;
}

@keyframes slideIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeOut {
    from {opacity: 1; transform: translateY(0);}
    to {opacity: 0; transform: translateY(-20px);}
}

.hide {
    animation: fadeOut 0.5s forwards;
}
/* Apply the animation to button elements */
button {
    transition: color 0.3s ease; /* Smooth transition for text color change */
    border: none;
    position: relative; /* Relative positioning for the ::after pseudo-element */
}

#skillsList {
    list-style: none; /* Enlève les puces de liste */
    display: flex; /* Utilise Flexbox pour aligner les éléments horizontalement */
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    padding: 0; /* Enlève le padding par défaut */
    justify-content: space-around; /* Répartit les éléments uniformément */
}

#skillsList li {
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 10px;
    border: 2px solid #FEFDFF; /* Bordure grise */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Ombre légère */
    background-color: #FEFDFF; /* Couleur de fond légère */
    font-size: 16px;
    border-radius: 5px;
}

#skillsList img {
    width: 40px; /* Taille du logo */
    height: 40px; /* Taille du logo */
    margin-right: 10px; /* Espace entre le logo et le texte */
}

#downloadCv {
    padding: 10px 20px; /* Adjust padding as needed */
    background-color: #2892D7; /* Button background color */
    color: #FEFDFF; /* Button text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Adjust font size as needed */
    margin: 20px 0; /* Add margin for spacing */
    text-decoration: none;
    margin-left: 30px;
}

#downloadCv:hover {
    background-color: #173753; /* Button background color on hover */
}

#siteLogo {
    width: 50px; /* Adjust the width of the logo as needed */
    height: auto; /* Maintain aspect ratio */
    margin-right: 20px; /* Add margin to create space between the logo and other header content */
}

.image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    width: 70%;
    flex-direction: column;
}

.image figure {
    display: block;
    margin: 0 auto 20px auto;
}

.image figure img {
    width: 50%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/************************************/
h1 {
    margin-top: 200px;
    font-family: Montserrat_light, sans-serif;
    text-align: center;
    font-size: 40px;
}

h2 {
    font-family: Montserrat_light, sans-serif;
    text-align: center;
    font-size: 30px;
}

h3 {
    margin-left: 20px;
    text-align: center;
    font-size: 25px;
}

h4 {
    margin-left: 40px;
    font-size: 25px;
    font-family: Montserrat_light, sans-serif;
}

h5 {
    margin-left: 80px;
    font-size: 20px;
    font-family: Montserrat_light, sans-serif;
}

h6 {
    font-size: 15px;
    color: #2187e1;
    font-family: Montserrat, sans-serif;
    text-align: justify;
    line-height: 1.5;
}

.legend {
    font-size: 15px;
    color: #1B4353;
    font-family: Montserrat, sans-serif;
    text-align: justify;
    line-height: 1.5;
}

p {
    font-size: 15px;
    font-family: Montserrat, sans-serif;
    text-align: justify;
    line-height: 1.5;
}

.listeTimeline {
    line-height: 2;
}

.image {
    flex: 1;
    text-align: center;
}

.image img {
    width: 70%;
    height: auto;
    display: inline-block;
    max-width: 100%; /* Assure que l'image est responsive */
}

.espace-titre {
    margin-top: 100px; /* Ajustez cette valeur pour augmenter ou diminuer l'espace */
}

.presentation {
    margin: 180px auto;
    padding: 10vh;
}

@media (max-width: 1060px) {
    .presentation {
        margin: 20px auto;
        padding: 5vh;
    }
    .image {
        width: 100%;
    }
}

.dl_list {
    line-height: 60px;
}

ul.liste li {
    font-family: Montserrat, sans-serif;
    margin-bottom: 20px;
}