* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    margin-left: 75px;
}

html,
body {
    height: 100%;
    /*height: 1%;*/
}


/* Présentation */
/* Présentation */
/* Présentation */
/* Présentation */

.HRnormal {
    color: black;
    margin: 0%;
    padding: 0%;
    border: 1px solid rgb(0, 0, 0);
    background-color: black;
}


.Presentation {
    padding-top: 5%;
    padding-bottom: 7%;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    /*height: inherit;*/
    background: /*linear-gradient(to bottom right,*/
           /* #f16868 0%, #ffbf5e 40%, #a9ff62 100% */
           /* #C292DE 0%, #67B3E4 40%, #95A3E0 100% */
            linear-gradient(to top, #30cfd0 0%, #744ca4 120%);
             /*)*/
}

@media (max-height: 800px) {
    .Presentation {
        padding-bottom: 5%;
    }
}

.Presentation2 {
    padding-top: 1%;
    padding-bottom: 7%;
    padding-right: 7%;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    /*height: inherit;*/
    background: linear-gradient(to bottom,
            /*#ffbf5e -20%, #a9ff62 100%*/
            #30cfd0 0%, #e6e6e6 100%
        )
}

.DescriptionPersonnel {
    background: linear-gradient(to right,
            #67B3E4 -30%, #95A3E0 100%
            /*#C292DE 0%, #67B3E4 40%, #95A3E0 100%*/
        )
}

.Description {
    padding-left: 1%;
}

@media (max-width: 1400px) {
    .Description {
        padding-left: 0%;
    }
}

.TitrePresentation {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-content: center;
    text-align: left;
    flex-direction: row;
    justify-content: center;
    font-size: x-large;
    padding-top: 2%;
}

.TitrePresentation h1 {
    line-height: 150%;
    font-weight: bold;
    font-size: xx-large;
    text-align: center;
    padding: 0%;
    padding-top: 4%;
}

/*.TitrePresentation hr {
    border: 1px solid black;
    background-color: black;
    width: 1000px;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    margin: 0%;
    padding-top: 0%;
}*/

.TitrePresentation p {
    padding-top: 2%;
    line-height: 170%;
}


/* Présentation */
/* Présentation */
/* Présentation */
/* Présentation */



/*Compétences*/

.compétences {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #e6e6e6;
}

.articles {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.card {
    margin: 10px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 600px;
    height: 400px;
    margin-bottom: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.card:hover{
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Réduit l’ombre pour renforcer l’effet d’enfoncement */
    background-color: #fff;
    /*animation: shake 0.5s ease;*/
}

/*@keyframes shake {
    0% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    50% { transform: translateX(5px) rotate(2deg); }
    75% { transform: translateX(-5px) rotate(-2deg);  }
    100% {  transform: translateX(0) rotate(0deg); }
}*/

.titre_card {
    padding-bottom: 10px;
    padding-right: 10px;
}

.card-header img {
    width: 100%;
    height: 150px;
    margin-top: 3%;
    object-fit: contain;
}

/*.card:hover .card-header img {
    animation: shake-image 0.5s ease; /* Applique l'animation de tremblement à l'image 
}

@keyframes shake-image {
    0% { transform: translateX(0) rotate(0deg);}
    25% { transform: translateX(-3px) rotate(3deg); }
    50% {  transform: translateX(3px) rotate(-3deg); }
    75% {  transform: translateX(-3px) rotate(3deg);  }
    100% {transform: translateX(0) rotate(0deg); }
}*/

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
}

/*.card-body ul {
    overflow-y: auto;
    height: 170px;
}*/
.card-body p {
    font-size: 16px;
    margin: 0 0 20px;
}

.columns_titre {
    display: grid;
    grid-template-columns: 40% 2fr; 
    gap: 0px; /* Espace entre les colonnes */
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de même largeur */
    gap: 20px; /* Espace entre les colonnes */
    width: 100%;
}

.columns ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    word-wrap: break-word; /* Pour que les mots trop longs reviennent à la ligne dans la colonne */
    /*overflow-y: auto;*/
}

.texte-survol {
    color: black;
    text-decoration: none; /* Texte non souligné par défaut */
    transition: text-decoration 0.2s ease-in-out; /* Transition pour un effet fluide */
}

/* Souligner le texte lors du survol */
.texte-survol:hover {
    text-decoration: underline;
}

/*TEST*/
/*TEST*/

.special-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.special-list li img {
    width: 25px;
    height: 25px;
    margin-left: 10px;
    vertical-align: middle;
}

/* projets */
/* projets */
/* projets */
/* projets */

#liens {
    color: #000000;
    text-decoration: none;
}

/* cards */
/* cards */
/* cards */
/* cards */
/*
.chiffres_clés {
    padding: 5%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 50vh;
    align-items: center;
    justify-content: center;
    border: none;
    font-family: "Open Sans", sans-serif;
}

.data-card {
    display: flex;
    flex-direction: column;
    max-width: 20.75em;
    min-height: 30em;
    min-width: 20em;
    overflow: hidden;
    border-radius: 0.5em;
    text-decoration: none;
    background: white;
    margin: 1em;
    padding: 2.75em 2.5em;
    box-shadow: 0 1.5em 2.5em -0.5em rgba(0, 0, 0, 0.1);
    transition: transform 0.45s ease, 0.45s ease;
}

.data-card h3 {
    color: #2e3c40;
    font-size: 3.5em;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 0.5em;
    margin: 0 0 0.142857143em;
    border-bottom: 2px solid #0066ff;
    transition: color 0.45s ease, border 0.45s ease;
}

.data-card h4 {
    color: #627084;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    margin: 0 0 1.777777778em;
    transition: color 0.45s ease;
}

.data-card h5 {
    color: #627084;
    font-size: 1em;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.03em;
    margin: 0 0 1.5em;
    transition: color 0.45s ease;
}

.data-card p {
    opacity: 0;
    color: #000000;
    font-weight: 6000;
    line-height: 1.8;
    margin: 0 0 1.25em;
    transform: translateY(-1em);
    transition: opacity 0.45s ease, transform 0.5s ease;
}

.data-card .link-text {
    display: block;
    color: #0066ff;
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.2;
    margin: auto 0 0;
    transition: color 0.45s ease;
}

.data-card:hover {
    background-image: linear-gradient(144deg, #ff3c00, #ffffff 50%, #000000);
    transform: scale(1.02);
}

.data-card:hover h3 {
    color: #000000;
    border-bottom-color: #0066ff;
}

.data-card:hover h4 {
    color: #000000;
}

.data-card:hover h5 {
    visibility: hidden;
}

.data-card:hover p {
    opacity: 1;
    transform: none;
}
*/

/* Pop Up */
/* Pop Up */
/* Pop Up */
/* Pop Up 

#content {
    position:absolute;
    top: 200%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    text-align: center;
    background-color: #e8eae6;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 10px;
    z-index: 100;
    display: none;
    /*to hide popup initially
}
#content > h1{
    padding: 2%;
}
#content > button{
    margin: 2%;
    padding: 1%;
}

 Pop Up */
/* Pop Up */
/* Pop Up */
/* Pop Up */


/* Memory Game */
/* Memory Game */
/* Memory Game */
/* Memory Game 

.wrap {
    position: relative;
    height: 100%;
    min-height: 500px;
    padding-bottom: 20px;
}

.game {
    transform-style: preserve-3d;
    perspective: 500px;
    min-height: 100%;
    height: 100%;
}

@-webkit-keyframes matchAnim {
    0% {
        background: #bcffcc;
    }

    100% {
        background: white;
    }
}

@keyframes matchAnim {
    0% {
        background: #bcffcc;
    }

    100% {
        background: white;
    }
}

.card {
    float: left;
    width: 16.66666%;
    height: 25%;
    width: 25%;
    padding: 5px;
    text-align: center;
    display: block;
    perspective: 500px;
    position: relative;
    cursor: pointer;
    z-index: 50;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (max-width: 800px) {
    .card {
        width: 25%;
        height: 16.666%;
    }
}

.card .inside {
    width: 100%;
    height: 100%;
    display: block;
    transform-style: preserve-3d;
    transition: 0.4s ease-in-out;
    background: white;
}

.card .inside.picked,
.card .inside.matched {
    transform: rotateY(180deg);
}

.card .inside.matched {
    -webkit-animation: 1s matchAnim ease-in-out;
    animation: 1s matchAnim ease-in-out;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.card .front,
.card .back {
    border: 1px solid black;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.card .front img,
.card .back img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    max-height: 100%;
}

.card .front {
    transform: rotateY(-180deg);
}

@media (max-width: 800px) {
    .card .front {
        padding: 5px;
    }
}

.card .back {
    transform: rotateX(0);
}

@media (max-width: 800px) {
    .card .back {
        padding: 10px;
    }
}

.modal-overlay {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal {
    display: none;
    position: relative;
    width: 500px;
    height: 500px;
    max-height: 90%;
    max-width: 90%;
    min-height: 380px;
    margin: 0 auto;
    background: white;
    top: 50%;
    transform: translateY(-50%);
    padding: 30px 10px;
}

.modal .winner {
    font-size: 80px;
    text-align: center;
    font-family: "Anton", sans-serif;
    color: #4d4d4d;
    text-shadow: 0px 3px 0 black;
}

@media (max-width: 480px) {
    .modal .winner {
        font-size: 60px;
    }
}

.modal .restart {
    font-family: "Anton", sans-serif;
    margin: 30px auto;
    padding: 20px 30px;
    display: block;
    font-size: 30px;
    border: none;
    background: #4d4d4d;
    background: linear-gradient(#4d4d4d, #222);
    border: 1px solid #222;
    border-radius: 5px;
    color: white;
    text-shadow: 0px 1px 0 black;
    cursor: pointer;
}

.modal .restart:hover {
    background: linear-gradient(#222, black);
}

.modal .message {
    text-align: center;
}

.modal .message a {
    text-decoration: none;
    color: #28afe6;
    font-weight: bold;
}

.modal .message a:hover {
    color: #56c0eb;
    border-bottom: 1px dotted #56c0eb;
}

.modal .share-text {
    text-align: center;
    margin: 10px auto;
}

.modal .social {
    margin: 20px auto;
    text-align: center;
}

.modal .social li {
    display: inline-block;
    height: 50px;
    width: 50px;
    margin-right: 10px;
}

.modal .social li:last-child {
    margin-right: 0;
}

.modal .social li a {
    display: block;
    line-height: 50px;
    font-size: 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.modal .social li a.facebook {
    background: #3b5998;
}

.modal .social li a.facebook:hover {
    background: #4c70ba;
}

.modal .social li a.google {
    background: #D34836;
}

.modal .social li a.google:hover {
    background: #dc6e60;
}

.modal .social li a.twitter {
    background: #4099FF;
}

.modal .social li a.twitter:hover {
    background: #73b4ff;
}

.CodePen {
    height: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 0;
}

.CodePen .disclaimer {
    line-height: 20px;
    font-size: 12px;
    color: #727272;
    text-align: center;
}

@media (max-width: 767px) {
    .CodePen .disclaimer {
        font-size: 8px;
    }
}
    Memory Game*/
    