@import url('https://fonts.cdnfonts.com/css/samsung-sharp-sans');
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Samsung Sharp Sans', sans-serif;
    font-size: 16px;
    background-color: #2d2f30;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styles du premier Header */
.header {
    background-color: #383b3e;
    width: 97%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.title h1 {
    color: white;
    font-size: 35px;
    margin: 0;
}

.body {
    display: flex;
    gap: 10px;
}

.menu-item {
    color: #292525;
    font-size: 20px;
    font-weight: bold;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6200ff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s, transform 0.3s;
}

.menu-item:hover {
    color: white;
    transform: scale(1.1);
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.menu-item:hover::after {
    width: 100%;
}

/* Styles du deuxième Header (duplication) */
.header-two {
    background-color: #2f00ff1e;
    width: 97%;
    height: 50px; /* Augmenter la hauteur pour une meilleure visibilité */
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    padding: 0 20px;
    box-sizing: border-box;
    margin: 20px auto;
}
#fr {
    list-style-type: none; /* Supprime le point de la liste par défaut */
    background-image: url('france.png'); /* L'image du chapeau */
    background-size: 60px 50px; /* Ajuste la taille de l'image, vous pouvez jouer avec ces valeurs */
    background-repeat: no-repeat; /* Évite la répétition de l'image */
    background-position: 0 50%; /* Positionne l'image au centre verticalement */
    padding-left: 70px; /* Laisse un espace pour l'image */
    font-size: 30px;
}

#fr {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    list-style: none; /* Remove list bullets */
}
.bjr {
    background-color: #1f1f1f;
    color: white;
    width: 95%;
    padding: 180px 20px;
    position: relative; /* Positionnement relatif pour l'image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bjr p {
    margin: 10px 0;
    line-height: 1.6;
    text-align: left;
}

#hello {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}

#name {
    font-size: 20px;
}

#this {
    font-size: 18px;
    color: gray;
    max-width: 30%;
}

.pp {
    width: 35%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.about-box {
    background-color: #6200ff;
    color: white;
    width: 95%;
    padding: 70px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer les éléments horizontalement */
    justify-content: center; /* Centrer les éléments verticalement */
}

.about-title {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    position: absolute;
    top: 20px;
    left: 20px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes */
    gap: 10px; /* Espacement entre les icônes */
    margin-top: 50px; /* Espacement par rapport au titre */
}

.icon-item {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: scale(1.1);
}

.icon-logo {
    width: 100px; /* Taille de l'image */
    height: 100px; /* Taille de l'image */
    margin-bottom: 10px;
}

.icon-text {
    font-size: 1.3rem;
    color: white;
}
.software-box {
    background-color: #ffffff;
    color: #6200ff;
    width: 95%;
    padding: 70px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.software-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
}

.software-title {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    position: absolute;
    top: 20px;
    left: 20px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 10px; /* Spacing between icons */
    margin-top: 50px; /* Space from title */
}

.tool-item {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: scale(1.1);
}

.tool-logo {
    width: 100px; /* Image size */
    height: 100px; /* Image size */
    margin-bottom: 10px;
}

.tool-description {
    font-size: 1.3rem;
    color: #6200ff;
}

#bac1
{
    margin-top: 40px;
    color: #ceafff;
    font-weight: bold;
}
/* Centrage du paragraphe */
#abt {
    text-align: center;
    text-align: justify;
    font-size: 1.5rem;
    max-width: 1800px; /* Ajoutez une largeur maximale si nécessaire */
    margin-top: 10px;}
    #bac {
        text-align: center;
        text-align: justify;
        font-weight: bold;
        font-size: 1.5rem;
        max-width: 1800px; /* Ajoutez une largeur maximale si nécessaire */
        margin-top: 10px;
    }
    #bac {
        list-style-type: none; /* Supprime le point de la liste par défaut */
        background-image: url('chapeau-de-remise-de-diplome.png'); /* L'image du chapeau */
        background-size: 40px 40px; /* Ajuste la taille de l'image, vous pouvez jouer avec ces valeurs */
        background-repeat: no-repeat; /* Évite la répétition de l'image */
        background-position: 0 50%; /* Positionne l'image au centre verticalement */
        padding-left: 50px; /* Laisse un espace pour l'image */
        line-height: 30px; /* Ajuste la hauteur de la ligne pour mieux centrer l'image */
        margin-top: 10px;
    }


.about-box-second {
    background-color: #ffffff; /* Arrière-plan blanc */
    color: #6200ff; /* Texte violet */
    width: 95%;
    padding: 100px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre plus légère */
    position: relative;
}

.about-content-second {
    display: flex;
    flex-direction: column; /* Mise en page verticale pour mobile-friendly */
    align-items: flex-start;
}

.about-text-second {
    flex: 1;
    text-align: left;
    margin-right: auto;
}

.about-title-second {
    font-size: 25px; /* Taille légèrement réduite */
    margin-bottom: 10px;
}

.about-description-second {
    font-size: 16px; /* Taille de texte légèrement réduite */
    line-height: 1.6;
    text-align: justify;
    max-width: 300%;
    max-width: 100%;
}

.image-gallery {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Adaptable pour les écrans plus petits */
    justify-content: center; /* Centre les images */
}

.gallery-image {
    max-width: 400px; /* Limite la taille des images */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



.contact-form-container {
    background-color: #1f1f1f;
    color: white;
    width: 95%;
    padding: 40px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.contact-title {
    font-size: 24px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-family: 'Samsung Sharp Sans', sans-serif; /* Applique la police */
    font-size: 16px;
    margin-bottom: 5px;
}

input, textarea {
    font-family: 'Samsung Sharp Sans', sans-serif; /* Applique la police */
    background-color: #2d2f30;
    color: white;
    border: 1px solid #6200ff;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    border-color: #ffffff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    outline: none;
}

textarea {
    resize: none;
}

.btn-submit {
    font-family: 'Samsung Sharp Sans', sans-serif; /* Applique la police */
    background-color: #6200ff;
    color: white;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-submit:hover {
    background-color: #ffffff;
    color: #6200ff;
}
.portfolio-box {
    background: linear-gradient(  #834eff, #6200ff); /* Gradient from dark purple to lighter purple */
    color: white;
    width: 95%;
    padding: 70px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-title {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    position: absolute;
    top: 20px;
    left: 20px;
}

#intro {
    margin-top: 5%;
}

#about-projects {
    margin-top: 3%;
    color: #d7c6ff;
    font-weight: bold;
}

.portfolio-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding: 10px;
}

.portfolio-item {
    text-align: center;
}

.portfolio-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-comment {
    margin-top: 10px;
    font-size: 1rem;
}
.skills-box {
    background-color:#ffffff; 
    color: #6200ff;
    width: 95%;
    padding: 70px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.skills-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skills-title {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    position: absolute;
    top: 20px;
    left: 20px;
}

#skills-intro {
    margin-top: 5%;
}

.skills-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding: 10px;
}

.skills-item {
    text-align: center;
}

.skills-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-comment {
    margin-top: 10px;
    font-size: 1rem;
}
.video-box {
    background: linear-gradient(#834eff, #6200ff); /* Dégradé de violet */
    color: white;
    width: 95%; /* Largeur de la boîte */
    padding: 50px 20px; /* Espacement interne */
    margin: 20px auto; /* Centré avec des marges */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Ombre pour l'esthétique */
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column; /* Aligner les éléments verticalement */
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    min-height: 500px; /* Hauteur minimale pour une présentation élégante */
}

.video-title {
    font-size: 4rem; /* Taille du titre */
    font-weight: bold;
    margin-bottom: 20px;
}

#video-intro {
    font-size: 1.2rem; /* Taille du texte d'intro */
    margin-bottom: 30px;
}

.video-gallery {
    display: flex;
    flex-direction: row; /* Aligner horizontalement les vidéos */
    flex-wrap: wrap; /* Retour à la ligne si nécessaire */
    justify-content: center; /* Centrer les vidéos */
    gap: 30px; /* Espacement entre les vidéos */
    width: 100%; /* Prendre toute la largeur disponible */
}

.video-item {
    text-align: center;
    width: 40%; /* Largeur des conteneurs individuels */
    position: relative;
}

.video-item .video-element,
.video-item .iframe-element {
    width: 100%; /* Vidéos et iframes prennent toute la largeur de leur conteneur */
    aspect-ratio: 16 / 9; /* Maintient un format paysage 16:9 */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre pour esthétique */
    object-fit: cover; /* Ajuste le contenu sans déformer */
}

.video-comment {
    margin-top: 10px; /* Espacement au-dessus des commentaires */
    font-size: 1rem; /* Taille de police pour les descriptions */
    color: #e0e0e0; /* Couleur légèrement grisée */
    text-align: center;
}

.experience-box {
    background-color: #ffffff;
    color: #6200ff;
    width: 95%;
    padding: 50px 20px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.experience-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #6200ff;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item {
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}
.footer {
    background-color: #383b3e;
    color: white;
    width: 97%;
    padding: 20px;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Espace entre les sections pour une distribution uniforme */
    align-items: flex-start; /* Alignement en haut des sections */
    box-sizing: border-box;
    font-size: 14px;
    border-top: 3px solid #6200ff;
}

.footer-section {
    margin: 10px 20px;
    flex: 1;
    min-width: 200px; /* Largeur minimale pour chaque section */
    max-width: 300px; /* Largeur maximale pour limiter l'expansion */
    display: flex;
    flex-direction: column; /* Aligne le contenu de chaque section verticalement */
    align-items: flex-start; /* Alignement à gauche */
}

.footer h4 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0; /* Empêche le titre de rétrécir */
}

.footer p, .footer a {
    margin: 5px 0;
    color: #c4c4c4;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 30px; /* Taille de l'icône */
    height: 30px;
    border-radius: 50%; /* Pour un effet rond si nécessaire */
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Effet ombre */
}

.social-icon:hover {
    transform: scale(1.1); /* Légère mise en valeur au survol */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Accentuation de l'ombre */
}

.footer-btn {
    display: inline-block;
    background-color: #6200ff;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px; /* Coins arrondis pour le bouton */
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre pour le bouton */
    margin-top: 10px; /* Espacement entre le titre et le bouton */
}

.footer-btn:hover {
    background-color: #9757ff; /* Inversion des couleurs au survol */
    color: #6200ff;
    transform: scale(1.1); /* Zoom léger */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Accentuation de l'ombre */
}