*{
    box-sizing:border-box;
}

/*Image Home*/
.image-home-container {
    width: 100%;
    overflow: hidden;
}

.image-home-container img {
    width: 100%;
    height: auto;
    display: block;
}

/*fin image home*/


/*Pop up settings*/
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 101;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/*Fin pop up settings*/

/*Début de navigation*/

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding:1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 36, 46, 0.8);
    backdrop-filter: blur(50px);
    z-index: -1;
}

.header::after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo {
    font-size: 2rem;
    color: var(--light);
    animation: changeColor 15s infinite;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-out, scale 0.3s ease-out;
}

.logo:hover {

    text-decoration: none;
    font-weight: 600;
    scale: 1.1;
}

@keyframes changeColor {
    0% {
        color: var(--neutral-primary);
    }
    14.2857% {
        color: var(--fruit-primary);
    }
    28.5714% {
        color: var(--lightblue-primary);
    }
    42.8571% {
        color: var(--green-primary);
    }
    57.1428% {
        color: var(--lavender-primary);
    }
    71.4285% {
        color: var(--pink-primary);
    }
    85.7142% {
        color: var(--sun-primary);
    }
    95% {
        color: var(--orange-primary);
    }
    100% {
        color: var(--neutral-primary);
    }
}


.navbar a{
    font-size: 1.15rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    margin-left:2.5rem ;
    z-index: 104;
    /*transition: color 0.3s ease;*/
}

.navbar .dropdown{
    margin-left:2.5rem ;
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: var(--dark-hover);
    cursor: pointer;
    display: none;
    z-index: 101;
}

.burger{
    color: var(--light);
    z-index: 101;
}

.cross{
    color: var(--light);
    z-index: 101;
}

a{
    text-decoration: none;
}

/* Style du dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem;
}

/* Style du bouton du dropdown */
.dropbtn {
    background-color: transparent;
    color: var(--light);
    font-size: 18px;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease-out;
}

#menu-chevron-down{
    rotate: 270deg;
    font-size: 22px;
    transition: transform 0.3s ease-out;
}

/*#menu-chevron-up{*/
/*    rotate: 90deg;*/
/*    display: none;*/
/*}*/

/* Style du contenu du dropdown (caché par défaut) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--dark);
    min-width: 220px;
    z-index: 1;
}

/*Les couleurs pour chaque domaines*/

.dropdown-element{
    background-color: var(--dark);
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

.animation-drowpdown-element:hover{
    background-color: var(--fruit-primary);
}

.communication-drowpdown-element:hover{
    background-color: var(--lightblue-primary);
}

.developpement-drowpdown-element:hover{
    background-color: var(--green-primary);
}

.gamedesign-drowpdown-element:hover{
    background-color: var(--lavender-primary);
}

.webdesign-drowpdown-element:hover{
    background-color: var(--pink-primary);
}

.graphicdesign-drowpdown-element:hover{
    background-color: var(--sun-primary);
}

.audiovisuel-drowpdown-element:hover{
    background-color: var(--orange-primary);
}
/*Fin des couleurs pour chaque domaines*/



/* Style des liens à l'intérieur du dropdown */
.dropdown-content a {
    color: var(--light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-left: 0;
}

.dropdown-content a:hover {
    color: var(--dark);
}




/* Affichage du contenu du dropdown lorsqu'il est survolé */

/*.dropdown:hover .dropdown-content {*/
/*    display: block;*/
/*    !*width: 100%; !* Ajoutez ceci pour occuper toute la largeur *!*!*/
/*}*/








/*Fin de navigation*/



.title-container{
    display: flex;
    justify-content: center;
}

.section-title {
    position: relative;
    display: inline-block;
    color: var(--dark-hover);
}

.section-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%; /* Ajustez la largeur de la bande */
    height: 4px; /* Ajustez l'épaisseur de la bande */
    /*z-index: -1;*/
    background: var(--fruit-gradient);
}


.achievements-container{
    background-color: var(--light); /*background-color: #212121;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top:40px;
    padding-bottom: 60px;
    transition: background-color 0.3s ease-out;
}

.p-2{
    display: none;
    opacity: 0; /* Opacité initiale à 0 */
    transition: opacity 5s ease-out; /* Ajouter une transition pour l'effet de fondu */
}

.more-quote{
    transform: rotate(-45deg);
    transition: transform 0.3s ease-out;
}

.about-section{
    background:var(--dark-gradientBottom);
    z-index: -1;
}








.one-achievement{
    display: flex;
    flex-direction: column;
    color: var(--dark-hover);
    box-sizing: border-box;
    /*background-color: #434a54;*/ background-color: var(--light-hover);
    transition: background-color 0.3s ease-out, border-radius 0.3s ease-out, color 0.3s ease-out, box-shadow 0.3s ease-out;
    box-shadow: none;
}

.one-achievement:hover, .achievements-image:hover{
    background-color: var(--dark-hover);
    color: var(--light);
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16); /* Ajout de box-shadow au survol */
}

.one-achievement:hover .achievements-image{
    border-radius: 25px;
}

.achievements-image{
    width: 100%;
    height: 100%;
    padding: 0px;
    border-radius: 0px;
    transition:  border-radius 0.3s ease-out;
}


.achievements-text{
    text-align: justify;
}

.achievements-info{
    margin-bottom: 20px;
}

.achievements-category {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.double-button{
    display: flex;
    gap: 10px;
}

.more-achievements{
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
    padding-top: 30px;
    /*background-color: var(--light); !*background-color: #212121;*!*/
}

.category{
    padding: 5px 8px 5px 8px;
    border-radius: 8px;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

.chevron {
    position: absolute;
    top: 50%;
    font-size: 24px;
    color: var(--dark-hover);
    cursor: pointer;
    z-index: 2;
}

.chevron-left {
    left: 0;
}

.chevron-right {
    right: 0;
}


#card-container {
    position: relative;
    background-color: var(--light);
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start; /* Ajustez la justification selon vos besoins */
    align-items: center;
    gap: 16px;
    padding-top: 40px;
    padding-bottom: 100px;
    padding-left: 5%;
    padding-right: 5%;
    overflow-x: auto; /* Active le défilement horizontal */
    scroll-snap-type: x mandatory; /* Alignement obligatoire sur l'axe horizontal */
}


.card {
    border-radius: 20px;
    font-family: 'Kanit', sans-serif;
    overflow: hidden;
    transition: transform 0.3s ease-out;
}


.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Commencez en dehors de la carte */
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to right, #fcee21, #f7f74f); !* Couleur à afficher *!*/
    transition: left 0.3s ease-out;
}



.card:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

h3{
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}

/*La partie sur les couleurs des cartes de compétences et domaines d'activités*/

.animation {
    background: var(--fruit-gradient);
}

.communication {
    background: var(--lightblue-gradient);
}

.dev-web {
    background: var(--green-gradient);
}

.game-design {
    background: var(--lavender-gradient);
}

.web-design {
    background: var(--pink-gradient);
}

/*Jaune*/
.graphic-design {
    background: var(--sun-gradient);
}

/*Rouge*/
.audiovisuel {
    background: var(--orange-gradient);
}

/*Vert Canard*/
.neutral {
    background: var(--neutral-gradient);
}
/*Fin de la partie sur les couleurs des cartes de compétences et domaines d'activités*/




/* Partie contact */
/*.contact-container {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    gap: 20px; !* Espacement entre les conteneurs *!*/
/*    padding-top: 40px;*/
/*    padding-bottom: 60px;*/
/*}*/

/*.info-container {*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    padding: 20px;*/
/*    background-color: var(--light-hover);*/
/*    border-radius: 15px;*/
/*    flex: 1; !* Prend 25% de l'espace *!*/
/*}*/

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center; !* Centre verticalement *!*/
    margin: auto;
    height: 100vh;
    /*background: url('votre-image.jpg') center/cover no-repeat fixed; !* Remplacez 'votre-image.jpg' par le chemin de votre image *!*/
}

h5{
    margin: 0;

}

h3 .icon-title{
    margin: 0px;
}



/* Fin partie contact */

/* Le formulaire */

#contactForm {
    color: var(--dark);
    width: 60%;
    padding-top: 40px;
    padding-bottom: 100px;
    border-radius: 25px;
    /*background: rgba(38, 36, 46, 0.8);*/

}

.form-block {
    width: 48%;
}

.mail-block{
    background-color: #967adc;
}

.form-block img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.form-input {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
}

.name-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    box-sizing: border-box; /* Assurez-vous que la largeur inclut les marges et les bordures */
}



.checkbox-group {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;

}

.checkbox-group label {
    flex: 0 0 calc(33.33% - 10px); /* Calculez la largeur pour que 3 éléments tiennent dans une ligne avec un espacement de 10px */
    margin-right: 10px; /* Ajustez l'espacement entre les éléments */
    margin-bottom: 10px;
    color: var(--light);
    box-sizing: border-box; /* Inclut les bordures et les rembourrages dans le calcul de la largeur */
}

.hidden-input {
    display: none;
}

.input-form{
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.card-text{
    text-align: justify;
}
/*#popup-contact{*/
/*    display: none;*/
/*}*/

/* Fin du Formulaire */





/*@media screen and (max-width: 555px) {*/

/*    #contactForm{*/
/*        width: 80%;*/
/*        padding: 20px;*/

/*    }*/

/*    .checkbox-group {*/
/*        margin-bottom: 15px;*/
/*        display: flex;*/
/*        flex-wrap: wrap;*/

/*    }*/

/*    .checkbox-group label {*/
/*        flex: 0 0 calc(100% - 10px); !* Calculez la largeur pour que 3 éléments tiennent dans une ligne avec un espacement de 10px *!*/
/*        margin-right: 10px; !* Ajustez l'espacement entre les éléments *!*/
/*        margin-bottom: 10px;*/
/*        color: var(--light);*/
/*        box-sizing: border-box; !* Inclut les bordures et les rembourrages dans le calcul de la largeur *!*/
/*    }*/
/*}*/

/* Styles pour les écrans de petite taille (max-width: 767px) */
@media screen and (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .section-title{
        font-size: 30px;
    }

    .icons{
        display: flex;
    }

    #check:checked~.icons #menu-icon{
        display: flex;
        color: var(--light);
    }

    .icons #close-icon{
        display: none;
    }

    #check:checked~.icons #close-icon{
        display: block;
    }

    .navbar{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .3s ease-out;
    }

    #check:checked~.navbar{
        height: 42.7rem;
        /*z-index: 103;*/
    }

    .navbar a{
        display: flex;
        font-size: 1.1rem;
        margin: 1rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease-out;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }



    .nav-item{
        transition: color 0.2s ease-out;
    }

    .nav-item{
        transition: color 0.2s ease-out;
    }

    .nav-item:hover{
        text-decoration: none;
        font-family: 'Kanit', sans-serif;
        color: var(--neutral-primary);
        font-weight: 600;
    }

    /*Dropdown sur mobile*/
    /* Style du dropdown */
    .navbar .dropdown{
        margin: 0;
    }

    .dropdown {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    /* Style du bouton du dropdown */
    .dropbtn {
        background-color: transparent;
        color: var(--light);
        font-size: 18px;

        font-weight: 500;
        font-family: 'Kanit', sans-serif;
        border: none;
        cursor: pointer;
        transition: transform 0.3s ease-out;
    }

    #menu-chevron-down{
        rotate: 270deg;
        font-size: 22px;
        transition: transform 0.3s ease-out;
    }

    /*#menu-chevron-up{*/
    /*    rotate: 90deg;*/
    /*    display: none;*/
    /*}*/

    .dropdown-content {
        display: none;
        position: relative;
        background-color: transparent; /* Utilisation de transparent pour enlever la couleur de fond */
        /*min-width: 50px;*/
        z-index: 1;
        width: 100%;
        /*left: 50%;*/
        /*transform: translateX(-50%);*/
        /* Utilisation de flexbox */
        flex-wrap: wrap; /* Les éléments passent à la ligne suivante si l'espace est insuffisant */
        justify-content: space-evenly;
    }

    .dropdown-content a{
        flex: 0 0 calc(50% - 10px); /* La largeur de chaque élément est calculée à partir de 30% avec un espace de 10px */
        margin: 5px; /* Marge de 5px autour de chaque élément */
    }

    /*Les couleurs pour chaque domaines*/

    .dropdown-element{
        /*background-color: var(--dark);*/
        font-size: 12px;
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
    }

    .animation-drowpdown-element{
        background-color: var(--fruit-primary);
    }

    .communication-drowpdown-element{
        background-color: var(--lightblue-primary);
    }

    .developpement-drowpdown-element{
        background-color: var(--green-primary);
    }

    .gamedesign-drowpdown-element{
        background-color: var(--lavender-primary);
    }

    .webdesign-drowpdown-element{
        background-color: var(--pink-primary);
    }

    .graphicdesign-drowpdown-element{
        background-color: var(--sun-primary);
    }

    .audiovisuel-drowpdown-element{
        background-color: var(--orange-primary);
    }
    /*Fin des couleurs pour chaque domaines*/



    /* Style des liens à l'intérieur du dropdown */
    .dropdown-content a {
        color: var(--dark);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        margin-left: 0;
    }

    /*Fin du dropdown sur mobile*/




    .arrows, img{
        width: 50px;
        height: 50px;
    }

    .more-quote{
        height: 40px;
        width: 40px;
    }

    .about-container{
        display: flex;
        color: var(--light-hover);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 5%;
        padding-right: 5%;
    }

    .about-info{

        align-items: center;
    }

    .one-achievement{
        display: flex;
        flex-direction: column;flex: 0 0 calc(80% - 30px); /* Deux éléments par ligne, avec un espace entre eux */
        width: calc(80% - 30px);
        /*height: 250px; !* Ajustez la hauteur selon vos besoins *!*/
        min-width: 300px;
        padding: 20px 20px 20px 20px;
    }

    .title-achievement{
        font-size:30px;
    }


    .achievements-category{
        font-size: 8px;
    }

    .card {
        flex: 0 0 calc(90% - 20px); /* Deux éléments par ligne, avec un espace entre eux */
        width: calc(70% - 20px);
        height: auto; /* Ajustez la hauteur selon vos besoins */
        margin: 0;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 24px;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 40px;
    }

    .deco-trait {
        width: 30px;
        height: 4px; /* Ajustez l'épaisseur du trait selon vos besoins */
        background-color: #fff; /* Couleur du trait */
    }

    .card-text{
        font-size: 16px;
    }

    h3{
        margin: 10px 0;
    }

    #contactForm{
        width: 80%;
        padding-top: 40px;
        padding-bottom: 100px;

    }

    .checkbox-group {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;

    }

    .checkbox-group label {
        flex: 0 0 calc(100% - 10px); /* Calculez la largeur pour que 3 éléments tiennent dans une ligne avec un espacement de 10px */
        margin-right: 10px; /* Ajustez l'espacement entre les éléments */
        margin-bottom: 10px;
        color: var(--light);
        box-sizing: border-box; /* Inclut les bordures et les rembourrages dans le calcul de la largeur */
    }

    /*.image-home-container{*/
    /*    display: none;*/
    /*}*/

    .name-container{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box; /* Assurez-vous que la largeur inclut les marges et les bordures */
    }

    .bxs-analyse,
    .bxs-comment-detail,
    .bx-code-alt,
    .bxs-ghost,
    .bxs-devices,
    .bxs-palette,
    .bxs-video-recording {
        font-size: 55px;
    }


}

@media (max-width: 992px) {
    .header {
        padding: 1.3rem 5%;
    }

    /*.image-home-container{*/
    /*    display: none;*/
    /*}*/
}

/* Styles pour les écrans de taille moyenne (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    body {
        font-size: 18px;
    }

    .navbar{
        display: flex;
    }

    /*Nav*/
    .nav-item{
        text-decoration: none;
        font-family: 'Kanit', sans-serif;
        color: var(--light);
        margin: 0 15px;
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease-out;
    }

    .nav-item:hover{
        text-decoration: none;
        font-family: 'Kanit', sans-serif;
        color: var(--neutral-primary);
        font-weight: 600;
    }

    .nav-item::before,
    .nav-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 4px; /* Ajustez l'épaisseur du soulignement */
        bottom: 0;
        background-color: var(--neutral-primary); /* Couleur du soulignement */
        transition: width 0.3s ease-out;
    }

    .nav-item::before {
        right: 50%;
    }

    .nav-item::after {
        left: 50%;
    }

    .nav-item:hover::before,
    .nav-item:hover::after {
        width: 50%; /* Ajustez la longueur du soulignement au survol */
    }

    /*Fin nav*/

    .section-title{
        font-size: 35px;
    }

    .one-achievement{
        display: flex;
        flex-direction: column;flex: 0 0 calc(45% - 30px); /* Deux éléments par ligne, avec un espace entre eux */
        width: calc(45% - 30px);
        /*height: 300px; !* Ajustez la hauteur selon vos besoins *!*/
        padding: 20px 20px 20px 20px;
        /*min-width: 450px;*/
    }

    .title-achievement{
        font-size:33px;
    }

    .achievements-category{
        font-size: 9px;
    }

    .card {
        flex: 0 0 calc(50% - 20px); /* Trois éléments par ligne, avec un espace entre eux */
        width: calc(50% - 20px);
        height: auto; /* Ajustez la hauteur selon vos besoins */
        /*background: linear-gradient(to right, #FFA500, #FFD700);*/
        margin: 0;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 24px;
        position: relative;
    }
    .card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 40px;
    }

    .deco-trait {
        width: 30px;
        height: 4px; /* Ajustez l'épaisseur du trait selon vos besoins */
        background-color: #fff; /* Couleur du trait */
    }

    .card-text{
        font-size: 18px;
    }

    h3{
        margin: 10px 0;
    }

    #contactForm{
        width: 80%;
        padding-top: 40px;
        padding-bottom: 100px;

    }

    .checkbox-group {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;

    }

    .checkbox-group label {
        flex: 0 0 calc(50% - 10px); /* Calculez la largeur pour que 3 éléments tiennent dans une ligne avec un espacement de 10px */
        margin-right: 10px; /* Ajustez l'espacement entre les éléments */
        margin-bottom: 10px;
        color: var(--light);
        box-sizing: border-box; /* Inclut les bordures et les rembourrages dans le calcul de la largeur */
    }

    .name-lastName-container{
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .bxs-analyse,
    .bxs-comment-detail,
    .bx-code-alt,
    .bxs-ghost,
    .bxs-devices,
    .bxs-palette,
    .bxs-video-recording {
        font-size: 55px;
    }
}

/* Styles pour les écrans de grande taille (min-width: 1024px) */
@media screen and (min-width: 1024px) {
    body {
        font-size: 20px;
    }

    /*Nav*/

    .navbar{
        display: flex;
    }

    .nav-item{
        text-decoration: none;
        font-family: 'Kanit', sans-serif;
        color: var(--dark-hover);
        margin: 0 15px;
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease-out;
    }

    .nav-item:hover{
        text-decoration: none;
        font-family: 'Kanit', sans-serif;
        color: var(--neutral-primary);
        font-weight: 600;
    }

    .nav-item::before,
    .nav-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 4px; /* Ajustez l'épaisseur du soulignement */
        bottom: 0;
        background-color: var(--neutral-primary); /* Couleur du soulignement */
        transition: width 0.3s ease-out;
    }

    .nav-item::before {
        right: 50%;
    }

    .nav-item::after {
        left: 50%;
    }

    .nav-item:hover::before,
    .nav-item:hover::after {
        width: 50%; /* Ajustez la longueur du soulignement au survol */
    }


    /*Fin nav*/

    .section-title{
        font-size: 40px;
    }

    .arrows, img{
        width: 100px;
        height: 100px;
    }

    .more-quote {
        width: 40px;
        height: 40px;
    }


    .one-achievement{
        display: flex;
        flex-direction: column;flex: 0 0 calc(30% - 30px); /* Deux éléments par ligne, avec un espace entre eux */
        width: calc(30% - 30px);
        /*height: 300px; !* Ajustez la hauteur selon vos besoins *!*/
        padding: 20px 20px 20px 20px;
        /*min-width: 450px;*/
    }

    .title-achievement{
        font-size:33px;
    }

    .achievements-category{
        font-size: 10px;
    }

    .card {
        flex: 0 0 calc(40% - 20px); /* Trois éléments par ligne, avec un espace entre eux */
        width: calc(25% - 20px);
        height: auto; /* Ajustez la hauteur selon vos besoins */
        /*background: linear-gradient(to right, #FFA500, #FFD700);*/
        margin: 0;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 24px;
        position: relative;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 40px;
    }

    .deco-trait {
        width: 30px;
        height: 4px; /* Ajustez l'épaisseur du trait selon vos besoins */
        background-color: #fff; /* Couleur du trait */
    }

    .card-text{
        font-size: 20px;
    }

    h3{
        margin: 10px 0;
    }

    #contactForm{
        width: 65%;
        padding-top: 40px;
        padding-bottom: 100px;

    }

    .checkbox-group {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;

    }

    .checkbox-group label {
        flex: 0 0 calc(33.3% - 10px); /* Calculez la largeur pour que 3 éléments tiennent dans une ligne avec un espacement de 10px */
        margin-right: 10px; /* Ajustez l'espacement entre les éléments */
        margin-bottom: 10px;
        color: var(--light);
        box-sizing: border-box; /* Inclut les bordures et les rembourrages dans le calcul de la largeur */
    }

    /*.image-home-container{*/
    /*    display: none;*/
    /*}*/
    .name-lastName-container{
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .bxs-analyse,
    .bxs-comment-detail,
    .bx-code-alt,
    .bxs-ghost,
    .bxs-devices,
    .bxs-palette,
    .bxs-video-recording {
        font-size: 55px;
    }

    /*.image-home-container{*/
    /*    display: none;*/
    /*}*/
}




@media screen and (min-width: 1024px) and (max-width: 1424px) {

    #contactForm {
        width: 65%;
        padding-top: 40px;
        padding-bottom: 100px;

    }

    .checkbox-group {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;

    }

    .checkbox-group label {
        flex: 0 0 calc(50% - 10px); /* Calculez la largeur pour que 3 éléments tiennent dans une ligne avec un espacement de 10px */
        margin-right: 10px; /* Ajustez l'espacement entre les éléments */
        margin-bottom: 10px;
        color: var(--light);
        box-sizing: border-box; /* Inclut les bordures et les rembourrages dans le calcul de la largeur */
    }
}