* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
    color: white;
    fill: white;
}

body {
    padding: 0 50px;
    background-image: url(images/background.jpg);
    background-position: center;
}

nav {
    width: auto;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 2.5px solid #FFFF;
    position: fixed;
    top: 20px;
    left: 50px;
    right: 50px;
  /*  animation: navigation 2.4s  ease-in-out; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
/*
@keyframes navigation {
    0% {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
*/




p#nav {
    margin-left: 10px;
}

#accueil {
    height: 30px;
    width: auto;
    margin-right: 20px;
    fill: white;
}
#profil {
    height: 30px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

box-icon {
    width: auto;
    height: 100%;
}
/*
@keyframes rainbow {
    0% { border-color: #ff0000; }
    16.67% { border-color: #ffff00; }
    33.33% { border-color: #00ff00; }
    50% { border-color: #0000ff; }
    66.67% { border-color: #ff00ff; }
    83.33% { border-color: #00ffff; }
    100% { border-color: #ff0000; }
}

@keyframes main {
    0% {
        transform: translateX(110%);
    }
    to {
        transform: translateX(0);
    }
}
*/
main {
    width: 100%;
    height: 80vh;
    border: 2.5px solid #FFFF;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
    position: relative;
/*  animation: main 2.4s ease-in-out 3s;
    animation-fill-mode: both; */
}

.logos {
    width: 100px;
    margin-bottom: 5px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#photoprofil {
    margin: 30px 30px 0 0;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 2.5px solid #ffff;
}

.presentation {
    padding: 10px;
    border: 2.5px solid #ffff;
    border-radius: 10px;
    text-align: center;
    margin: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.flex {
    display: flex;
    align-items: center;
}

.icon {
    margin-right: 5px;
}

.moncv {
    background-color: orange;
    margin-top: 10px;
    width: 70%;
    padding: 5px;
}

.competences {
    width: 640px;
    padding: 10px 5px;
    margin: 30px 20px;
    border: 2.5px solid #FFFF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.competences > h2, .certifications > h2 {
    margin-bottom: 5px;
}

#competences {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.certifications {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#top {
    display: flex;
    margin-bottom: 40px;
}

hr {
    width: 200px;
    border: 1px solid white;
    margin: 10px 0;
}

#bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    bottom: 0;
}

#bottom > img {
    width: 80%;
}

.imgcertif {
    width: 150px;
    border-radius: 10px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.olea-medical {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
}

#logoOlea {
    width: 400px;
    border-radius: 10px;
}


.presentation-olea-medical {
    display: flex;
    align-items: center; /* Aligne l'image et le texte verticalement */
    justify-content: center; /* Centre le contenu horizontalement */
    margin: 0 auto; /* Centre le conteneur dans la page */
    gap: 20px; /* Espacement entre l'image et le texte */
    font-size: 20px;
}

.xt-vision {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
}

#logoXtVision {
    width: 400px;
    border-radius: 10px;
}


.presentation-xt-vision {
    display: flex;
    align-items: center; /* Aligne l'image et le texte verticalement */
    justify-content: center; /* Centre le contenu horizontalement */
    margin: 0 auto; /* Centre le conteneur dans la page */
    gap: 20px; /* Espacement entre l'image et le texte */
    font-size: 20px;
}

.contact {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#div1, #div2 {
    display: flex;
    gap: 20px; /* Ajout d'un espacement entre les inputs */
}

.relative {
    position: relative;
    width: 300px; /* Fixe une largeur pour uniformiser les champs */
}

input {
    border: none;
    background-color: transparent;
    border-bottom: 2px solid white;
    width: 100%;
    height: 40px;
    padding: 5px;
    font-size: 16px;
    color: white;
    outline: none; /* Supprime l'effet de focus par défaut */
}

input:focus {
    border-bottom-color: lightgray; /* Changement de couleur au focus */
}

label {
    position: absolute;
    bottom: 10px;
    left: 5px;
    pointer-events: none;
    color: #b2b2b2;
    font-size: 16px;
    transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

/* Animation du label quand l'input est focus ou contient du texte */
input:focus + label,
input:not(:placeholder-shown) + label {
    transform: translateY(-30px);
    font-size: 12px;
    color: white;
}

/* Ajout d'un style spécifique pour les champs email */
input[type="email"] {
    text-transform: lowercase;
}

textarea {
    width: 100%;
    height: 250px;
    background-color: transparent;
    border: 2px solid white;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 20px;
}

textarea::placeholder {
    color: #b2b2b2;
}

input[type="submit"] {
    border: 2px solid white;
    border-radius: 10px;
    cursor: pointer;
}

.message {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 50px;
    text-align: center;
    position: absolute;
    top: 20px;
    border-radius: 10px;
    font-size: 20px;
}

.messageValide {
    background-color: lightgreen;
}

.messageErreur {
    background-color: lightsalmon;
}

.projets {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.unprojet {
    width: 300px;
    height: 150px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-right: 20px;
}

.img {
    width: 300px;
    height: 150px;
    border-radius: 10px;
}

.descriptionprojet {
    position: absolute;
    top: 100%;
}

.unprojet:hover .descriptionprojet {
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
}

#noir {
    background-color: black;
}

.lienprojet {
    width: 300px;
    height: 150px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.imgroulette, .imgtodolist, .imgselenium {
    margin-bottom: 30px;
    width: 500px;
}

.roulette, .todolist, .selenium, .gsb, .cgb{
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: scroll;
    align-items: center;
}

.nolark {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.imgnolark {
    margin-bottom: 30px;
    width: 500px;
}

.impair {
    margin-right: 30px;
}

.imggsb {
    width: 700px;
    margin-bottom: 30px;
}

#marginnolark {
    margin-right: 30px;
}

p {
    font-size: 20px;
}