* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Section principale du profil */
.profil {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Bloc bleu pour l'utilisateur */
.profile-card {
    display: flex;
    align-items: center;
    background-color: #e8f0fe; /* Couleur bleu clair */
    padding: 40px 70px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 20px auto;
    position: relative;
    right: 400px;
}

.profile-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    margin-right: 50px;
}



.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: #000;
    margin-bottom: 10px ;
}

.profile-button {
    background-color: #95C6F1;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.profile-button:hover {
    background-color: #5c5a63;
}

/* Conteneur principal pour aligner l'image et le formulaire */
.profil__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

/* Formulaire */
.profil__text {
    width: 100%;
    max-width: 450px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    left: 700px;
    bottom: 220px;
}

/* Groupes de champs dans le formulaire */
.profil__text-form .form-group {
    margin-bottom: 15px;
}

/* Labels */
.profil__text-form label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Champs de saisie */
.profil__text-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out;
}

.profil__text-form input:focus {
    border-color: #5e8bff;
    outline: none;
}

/* Bouton */
.profil__container-button {
    text-align: center;
    margin-top: 15px;
}

.profil__container-button button {
    background-color: #5e8bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.profil__container-button button:hover {
    background-color: #4971d4;
}




/* Responsive styles */
@media (min-width: 768px) {
    .profil {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    .profil__pics {
        margin-right: 30px;
    }

    .profil__text {
        flex: 1;
        max-width: 600px;
    }

    .img-profil {
        left: 0; /* S'assure que l'image reste alignée à gauche */
        margin-right: 40px; /* Ajoute un espace supplémentaire sur grand écran */
    }
}
/* Bloc bleu */
.profil__header {
    width: 100%;
    background-color: #6e6b70;;
    padding: 20px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.profil__header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

#change-photo {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background-color: #6e6b70;
    color: white;
    cursor: pointer;
}



/* Image décorative */
.img-profil img {
    width: 600px;
    position: relative;
    bottom: 500px;
    z-index: -1; /* Place l'image derrière les autres */

}

/* Media query pour les écrans mobiles */
@media (max-width: 768px) {
    /* Alignement des sections principales en colonne */
    .profil__container {
        flex-direction: column;
        align-items: center;
    }

    .profile-card {
        position: static;
        margin-bottom: 20px;
        right: 0;
    }

    .profil__text {
        position: static;
        max-width: 90%;
        left: 0;
        bottom: 0;
    }

    .img-profil {
        position: relative;
        max-width: 90%;
        right: 100px;
       top: 500px;
    }
}

/* footer */

footer {
    background-color: #eef0fc;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cccccc;
  }

  .footer-content {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    text-decoration: none;
    color: black;
  }