.navbar {
    top: 0; /* La positionner en haut de la page */
    margin-top: 20px;
    width: 100%; /* Faire en sorte qu'elle occupe toute la largeur */
    z-index: 1000; /* La placer au-dessus des autres éléments */
}

/* Style des éléments de la navbar */
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
}

.navbar li {
    float: left;
}


.navbar li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    position: relative;
    border-radius: 30px;
    overflow: hidden; /* Masquer le pseudo-élément à l'extérieur du lien */
    transition: border-radius 0.3s ease;
}

/* Pseudo-élément qui contiendra le dégradé */
.navbar li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 30px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0; /* Cacher le pseudo-élément par défaut */
}

.navbar li a:hover::before {
    opacity: 1; /* Montrer le dégradé au hover */
}

.navbar li a:hover {
    border-radius: 30px;
}

/* Ajout de marge pour éviter que le contenu soit caché sous la navbar */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

a{
    text-decoration: none;
    color: black;
}

.titre{
    font-size: 50px;
    margin-left: 50px;
}


.type{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    white-space: nowrap;
    margin-left: 15px;
    margin-bottom: 10px;
}

.titre_projet{
    font-size: 32px;
    color: black;
    text-decoration: none;
    margin-bottom: 12px;
    margin-left: 15px;
}

.texte_projet{
    background-color: var(--purple);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 25px 25px 25px 25px;
    margin-bottom: 19px;
}

p{
    font-size: 20px;
    text-align: start;    
}

.techno{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 17px;
    margin-left: 9px;
    gap: 8px;
}

.techno_a{
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-size: 20px;
}
.techno_a:hover{
    color: black;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.lien_image{
    width: 40px;
    height: 40px;
    margin: 5px;
}

.container {
    display: flex;
    justify-content: flex-start; /* Aligner les éléments au début (à gauche) */
    align-items: center; /* Aligner en haut (ou utilisez center si vous voulez centrer verticalement) */
    margin-bottom: 20px; /* Ajouter un espace sous le conteneur si besoin */
}

.bloc_texte {
    margin: 100px;
    width: 70%; /* Limiter la largeur de bloc_texte */
    position: relative;
}

.image_projet {
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px; /* Ajouter un espace de 20px entre bloc_texte et image_projet */
    margin-right: 100px;
    width: 30%; /* Ajustez la largeur si nécessaire */
}

/*
.inverted_container {
    display: flex;
    justify-content: flex-start; 
    align-items: center; 
    margin-bottom: 20px; 
}

.image_projet_gauche {
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px; 
    margin-left: 100px;
    width: 30%; 
}

.bloc_texte_droite {
    background-color: red;
    margin: 100px;
    width: 70%; 
    position: relative;
}

.inverted_type{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    white-space: nowrap;
    margin-left: 15px;
    margin-bottom: 10px;
}*/



.inverted_container {
    display: flex;
    justify-content: flex-start; /* Aligner les éléments au début (à gauche) */
    align-items: center; /* Aligner en haut (ou utilisez center si vous voulez centrer verticalement) */
    margin-bottom: 20px; /* Ajouter un espace sous le conteneur si besoin */
}

.image_projet_inverted {
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px; /* Ajouter un espace de 20px entre image_gauche et texte */
    margin-left: 100px;
    width: 30%; /* Ajustez la largeur si nécessaire */
}

.bloc_texte_inverted {
    text-align: right; /* Aligner le texte à droite */
    margin: 100px;
    width: 70%; /* Limiter la largeur de texte_droite */
    position: relative;
}

.titre_projet_inverted {
    font-size: 32px;
    color: black;
    text-decoration: none;
    margin-bottom: 12px;
    margin-right: 15px; /* Espacer à droite au lieu de gauche */
}

.inverted_text_block {
    background-color: var(--purple);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 19px;
}

.inverted_type {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    white-space: nowrap;
    margin-right: 15px; /* Inverser la marge pour coller à droite */
    margin-bottom: 10px;
}

.inverted_span {
    text-align: right; /* Aligner le texte du span à droite */
    display: block; /* Assure que le span respecte le texte-align */
    width: 100%; /* S'assurer que le span occupe toute la largeur disponible */
}

.inverted_paragraph {
    font-size: 20px;
    text-align: right; /* Aligner le texte à droite */
}

.inverted_techno {
    display: flex;
    justify-content: flex-end; /* Aligner les éléments à droite */
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 17px;
    margin-right: 9px; /* Espacer à droite */
    gap: 8px;
}

.inverted_techno_link {
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-size: 20px;
}

.inverted_techno_link:hover {
    color: black;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.inverted_image_link {
    width: 40px;
    height: 40px;
    margin: 5px;
}

video{
    width: 100%;
    height: auto;
}