:root{

    --dark : #26242e;
    --dark-hover:#434a54;
    --light:#f2f2f2;
    --light-hover: #e6e9ed;

    --neutral:#37bc9b;
    --neutral-hover:#48cfad;


    --dark-gradientBottom: linear-gradient(to bottom, #26242e, #434a54);
    --dark-gradientTop: linear-gradient(to top, #26242e, #434a54);


    --fruit-gradient: linear-gradient(to right, #da4453, #ed5565);
    --lightblue-gradient: linear-gradient(to right, #3bafda, #4fc1e9);
    --lavender-gradient: linear-gradient(to right, #967adc, #ac92ec);
    --pink-gradient: linear-gradient(to right, #d770ad, #ec87c0);
    --sun-gradient: linear-gradient(to right, #f6bb42, #ffce54);
    --green-gradient: linear-gradient(to right, #8cc152, #a0d468);
    --orange-gradient: linear-gradient(to right, #e9573f, #fc6e51);
    --neutral-gradient: linear-gradient(to right, #37bc9b, #48cfad);
}



@font-face {
    font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
    src: url('./font/Kanit/Kanit-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
    src: url('./font/Kanit/Kanit-BlackItalic.ttf') format('truetype');
}

    @font-face {
        font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
        src: url('./font/Kanit/Kanit-Bold.ttf') format('truetype');
    }

        @font-face {
            font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
            src: url('./font/Kanit/Kanit-BoldItalic.ttf') format('truetype');
        }

            @font-face {
                font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                src: url('./font/Kanit/Kanit-ExtraBold.ttf') format('truetype');
            }

                @font-face {
                    font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                    src: url('./font/Kanit/Kanit-ExtraBoldItalic.ttf') format('truetype');
                }

                    @font-face {
                        font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                        src: url('./font/Kanit/Kanit-ExtraLight.ttf') format('truetype');
                    }

                        @font-face {
                            font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                            src: url('./font/Kanit/Kanit-ExtraLightItalic.ttf') format('truetype');
                        }

                            @font-face {
                                font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                src: url('./font/Kanit/Kanit-Italic.ttf') format('truetype');
                            }

                                @font-face {
                                    font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                    src: url('./font/Kanit/Kanit-Light.ttf') format('truetype');
                                }

                                    @font-face {
                                        font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                        src: url('./font/Kanit/Kanit-LightItalic.ttf') format('truetype');
                                    }

                                        @font-face {
                                            font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                            src: url('./font/Kanit/Kanit-Medium.ttf') format('truetype');
                                            font-weight: 500; /* Utilisez 500 pour Medium */
                                            font-style: normal;
                                        }

                                            @font-face {
                                                font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                                src: url('./font/Kanit/Kanit-MediumItalic.ttf') format('truetype');
                                            }

                                                @font-face {
                                                    font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                                    src: url('./font/Kanit/Kanit-Regular.ttf') format('truetype');
                                                    font-weight: 400; /* Utilisez 600 pour semibold */
                                                    font-style: normal;
                                                }

                                                    @font-face {
                                                        font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                                        src: url('./font/Kanit/Kanit-SemiBold.ttf') format('truetype');
                                                        font-weight: 600; /* Utilisez 600 pour semibold */
                                                        font-style: normal;
                                                    }

                                                        @font-face {
                                                            font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                                            src: url('./font/Kanit/Kanit-SemiBoldItalic.ttf') format('truetype');
                                                        }

                                                            @font-face {
                                                                font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                                                src: url('./font/Kanit/Kanit-Thin.ttf') format('truetype');
                                                            }

                                                                @font-face {
                                                                    font-family: 'Kanit'; /* Nom que vous utiliserez pour référencer la police */
                                                                    src: url('./font/Kanit/Kanit-ThinItalic.ttf') format('truetype');
                                                                }

*{
    box-sizing:border-box;
}

/*Le toggle*/

body.dark {
    background-color: var(--dark);
}

.quote-container.dark {
    color: var(--light);
}

.navbar a.dark{
    color: var(--light);

}

.navbar a.dark:hover{
    color: var(--neutral);
}

.section-title.dark {
    color: var(--light-hover);
}

.achievements-container.dark {
    background-color: var(--dark);
}

.one-achievement.dark {
background-color: var(--dark-hover);
    color: var(--light);

}

.one-achievement.dark:hover, .achievements-image:hover{
    background-color: var(--light-hover);
    color: var(--dark-hover);
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16); /* Ajout de box-shadow au survol */
}

.more-achievements.dark{
    background-color: var(--dark); /*background-color: #212121;*/
}

#card-container.dark{
    background-color: var(--dark);
}



.toggle {
    position: relative;
    height: 43px; /* Nouvelle taille divisée par trois */
    width: 100px; /* Nouvelle taille divisée par trois */
    border-radius: 100px;
    background-color: var(--neutral);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    cursor: pointer;
}

.toggle::before {
    content: '';
    position: absolute;
    height: 36px; /* Nouvelle taille divisée par trois */
    width: 36px; /* Nouvelle taille divisée par trois */
    background: var(--light-hover);
    border-radius: 50%;
    top: 50%;
    left: 5px; /* Nouvelle position ajustée */
    transform: translateY(-50%);
    transition: all 0.3s ease-in;
}

.toggle.active::before {
    background-color: var(--dark);
    left: calc(100% - 36px - 5px); /* Nouvelle position ajustée */
}

/*Fn du toggle */



/*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*/




/* Styles par défaut pour tous les écrans */
body {
    position: relative;
    width: 100%;
    height: 4000px;
    font-family: 'Kanit', sans-serif;
    background-color: var(--light);
    transition: all 0.3s ease-in-out;
    /*background: linear-gradient(to right, #434A54, #656D78);*/
}




/*Partie About*/

.quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark);

}

.quote-container h1{
    font-size: 30px;
    font-weight: 600;
}

.quote-container p{
    font-size: 20px;
    font-weight: 400;
}


.quote {
    /*gap: 0px;*/
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 100px;
    padding-top: 100px;
}






/*Fin partie about*/

/*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);
    text-decoration: none;
    font-weight: 600;
}

.navbar a{
    font-size: 1.15rem;
    color: var(--dark-hover);
    text-decoration: none;
    font-weight: 500;
    margin-left:2.5rem ;
    z-index: 104;
    /*transition: color 0.3s ease;*/
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: var(--dark-hover);
    cursor: pointer;
    display: none;
    z-index: 101;
}

.bx-menu{
    color: var(--light);
}

.bx-x{
    color: var(--light);
}


a{
    text-decoration: none;
}

/*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;
}


.about-container{
    display: flex;
    color: var(--light-hover);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top:40px;
    padding-bottom: 60px;
    width: 100%;
    padding-right: 5%;
    padding-left: 5%;
    gap: 50px;
}


.about-info{
    flex: 1;
}

.about-info h1{
    font-size: 33px;
}

.about-info p{
    text-align: justify;
}

.about-image img{
    flex: 1;
    width: 100%;
    height: auto;
    overflow: hidden;
    transform: scaleX(-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 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 60px;

}

h5{
    margin: 0;

}

h3 .icon-title{
    margin: 0px;
}



/* Fin partie contact */

/* Le formulaire */
#contactForm{
    color: var(--light);
    width: 60%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*background: var(--dark);*/
    padding: 100px;
    border-radius: 25px;
    background: rgba(38, 36, 46, 0.8);
}

#contactForm::after{
    backdrop-filter: blur(50px);
}
/*.form-container {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    !*width: 1000px;*!*/
/*    background-color: var(--dark-hover);*/
/*    margin: auto;*/
/*}*/

.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: row;
}

#firstName{
    width: 45%;
}

#lastName{
    width: 45%;
}


.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;
}

/*#popup-contact{*/
/*    display: none;*/
/*}*/

/* Fin du Formulaire */


/*Décorations*/
.ring-fruit-gradient{
    z-index: 0;
    position: absolute;
    top: 14%;
    left: 6%;
    width: 30px;
    height: 30px;
}

.ring-lightblue-gradient{
    z-index: 0;
    position: absolute;
    top: 36%;
    right: 15%;
    width: 35px;
    height: 35px;
}

.ring-green-gradient{
    z-index: 0;
    position: absolute;
    top: 5%;
    right: 10%;
    width: 50px;
    height: 50px;
}

/*Fin décorations*/



/*@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: inline-flex;
    }

    #check:checked~.icons #menu-icon{
        display: none;
        color: var(--light);
    }

    .icons #close-icon{
        display: none;
    }

    #check:checked~.icons #close-icon{
        display: block;
    }

    .navbar{
        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: 17.7rem;
    }

    .navbar a{
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 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:hover{
        text-decoration: none;
        font-family: 'Kanit', sans-serif;
        color: var(--neutral);
        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: #967adc; !* 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 *!*/
    /*}*/

    .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: 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 */
    }



}

@media (max-width: 992px) {
    .header {
        padding: 1.3rem 5%;
    }
}

/* Styles pour les écrans de taille moyenne (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    body {
        font-size: 18px;
    }

    /*Nav*/
    .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);
        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); /* 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;
    }


    .quote {
        /*gap: 0px;*/
        text-align: center;
        justify-content: center;
        align-items: center;
        padding-left: 20%;
        padding-right: 20%;
    }



    .more-quote {
            height: 40px;
            width: 40px;
    }

    .arrows, img{
        width: 80px;
        height: 80px;
    }

    .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: 60%;
        padding: 20px;

    }

    .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 */
    }
}

/* Styles pour les écrans de grande taille (min-width: 1024px) */
@media screen and (min-width: 1024px) {
    body {
        font-size: 20px;
    }

/*Nav*/

    .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);
        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); /* 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: 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 */
    }
}




@media screen and (min-width: 1024px) and (max-width: 1424px) {

    #contactForm {
        width: 65%;
        padding: 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 */
    }
}