* {
    box-sizing: border-box
}

html {
    width: 100%;
    font-family: 'Syne', sans-serif
}

::-webkit-scrollbar {
    display: none
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%
}

nav ul {
    margin: 0;
    padding: 0;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
    margin-bottom: 50px;
    width: 100%
}

nav li {
    padding-right: 60px
}

nav a {
    color: rgba(255, 255, 255, 0.7)
}

nav a:hover {
    color: #fff
}

a {
    color: #fff;
    text-decoration: none;
    font-size: 25px
}

p,
h1,
h2,
h3 {
    color: #fff
}

h1,
h2 {
    text-align: center
}

h1 {
    font-size: 100px;
    letter-spacing: 15px;
    font-family: 'Press Start 2P', cursive
}

#propos {
    display: flex;
    margin-bottom: 50px
}

#presentation {
    display: flex;
    flex-direction: column;
    justify-content: center
}

#presentation,
#profil {
    width: 50%
}

#presentation p {
    text-align: center;
    text-align: justify;
    padding: 0 100px 0 20px;
    font-size: 20px
}

#profil {
    text-align: center
}

#profil img {
    width: 400px;
    height: 400px;
    border-radius: 50%
}

h2 {
    font-size: 45px;
    margin-bottom: 20px
}

#projets h2 {
    padding-top: 30px
}

#click {
    display: flex;
    align-items: center;
    justify-content: center
}

.button-36 {
    background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFF;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
    height: 4rem;
    padding: 0 1.6rem;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
    transition: all .5s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation
}

.button-36:hover {
    box-shadow: rgba(255, 255, 255, 0.5) 0 2px 50px;
    transition-duration: .1s
}

@media (min-width: 992px) {
    .button-36 {
        padding: 0 2.6rem
    }
}

#carrousel {
    max-width: 1000px;
    position: relative;
    margin: auto
}

.slide {
    display: none;
    animation-name: fade;
    animation-duration: 1.5s
}

.slide.active {
    display: block
}

.slide img {
    width: 1000px;
    height: 700px
}

#prev,
#next {
    cursor: pointer;
    position: absolute;
    border: none;
    background: none;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    transition: .6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none
}

#next {
    right: 0;
    border-radius: 3px 0 0 3px
}

#prev:hover,
#next:hover {
    background-color: rgba(0, 0, 0, 0.8)
}

#carrousel h2 {
    color: #f2f2f2;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center
}

#dots {
    display: flex;
    position: absolute;
    bottom: -40px;
    width: 100%;
    justify-content: center;
    list-style: none;
    column-gap: 8px;
    padding: 0
}

.dot {
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    opacity: .4;
    transition: opacity 1.5s
}

.dot.active {
    opacity: .8
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

#photos h2 {
    padding-top: 50px
}

#photos img {
    width: 400px;
    height: 300px;
    object-fit: cover
}

#photos {
    display: flex;
    flex-direction: column;
}

.gallery {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    padding: 0
}

/* En-tête de la section */
#competence h2 {
    padding-top: 40px;
}

/* Conteneur de la section */
#competence {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Conteneur de chaque ligne de compétences */
.comp {
    display: flex;
    justify-content: center;  /* Centre les images sur la ligne */
    align-items: center;
    gap: 80px;                /* Espace entre les images */
    padding-top: 50px;
}

/* Style pour toutes les images de compétences */
.comp img {
    width: 100px;   /* Réduit la taille des images (ajustez selon vos besoins) */
    height: auto;  /* Conserve les proportions */
}

#contact {
    display: flex;
    flex-direction: column;
    padding-top: 30px
}

#mail li {
    display: flex;
    flex-direction: row;
    padding-bottom: 30px;
    font-size: 20px
}

#mail li img {
   height: 50px;
    width: 50px;
}
#mail {
    display: flex;
    align-items: center;
    justify-content: center
}

.decal {
    padding-left: 30px
}

.footer {
    background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%)
}

.footer .row {
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center
}

.footer .row a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: .5s
}

.footer .row a:hover {
    color: #fff
}

.footer .row ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 20px
}

.footer .row ul li {
    list-style: none;
    padding-right: 30px
}

.footer .row a i {
    font-size: 16px
}

.footer .row p {
    margin: 14px 0 0
}

#reseaux {
    display: flex;
    flex-direction: row;
    justify-content: center
}

#reseaux a {
    padding-right: 30px
}

#back-to-top {
    text-decoration: none;
    position: fixed;
    bottom: 16px;
    right: 16px
}

#burger-menu {
    display: none
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg)
    }
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    overflow: hidden;
    z-index: -1
}

.background span {
    width: 2vmin;
    height: 2vmin;
    border-radius: 2vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 24;
    animation-timing-function: linear;
    animation-iteration-count: infinite
}

.background span:nth-child(0) {
    color: #104dda;
    top: 82%;
    left: 85%;
    animation-duration: 237s;
    animation-delay: -22s;
    transform-origin: -12vw 3vh;
    box-shadow: 4vmin 0 1.3374015216669237vmin currentColor
}

.background span:nth-child(1) {
    color: #1161ac;
    top: 51%;
    left: 36%;
    animation-duration: 114s;
    animation-delay: -11s;
    transform-origin: -21vw 14vh;
    box-shadow: 4vmin 0 0.7235510273583539vmin currentColor
}

.background span:nth-child(2) {
    color: #051357;
    top: 16%;
    left: 99%;
    animation-duration: 264s;
    animation-delay: -81s;
    transform-origin: -7vw -6vh;
    box-shadow: -4vmin 0 1.3953269583943169vmin currentColor
}

.background span:nth-child(3) {
    color: #051357;
    top: 38%;
    left: 92%;
    animation-duration: 40s;
    animation-delay: -158s;
    transform-origin: 15vw -9vh;
    box-shadow: -4vmin 0 0.5844066831805521vmin currentColor
}

.background span:nth-child(4) {
    color: #104dda;
    top: 30%;
    left: 30%;
    animation-duration: 264s;
    animation-delay: -5s;
    transform-origin: -7vw -21vh;
    box-shadow: 4vmin 0 1.4141134836924807vmin currentColor
}

.background span:nth-child(5) {
    color: #104dda;
    top: 66%;
    left: 2%;
    animation-duration: 68s;
    animation-delay: -244s;
    transform-origin: -11vw 10vh;
    box-shadow: 4vmin 0 1.1355483902473864vmin currentColor
}

.background span:nth-child(6) {
    color: #051357;
    top: 58%;
    left: 95%;
    animation-duration: 88s;
    animation-delay: -251s;
    transform-origin: -7vw -13vh;
    box-shadow: 4vmin 0 1.3789672329361953vmin currentColor
}

.background span:nth-child(7) {
    color: #1161ac;
    top: 30%;
    left: 99%;
    animation-duration: 25s;
    animation-delay: -6s;
    transform-origin: 6vw -5vh;
    box-shadow: -4vmin 0 0.6580924792103926vmin currentColor
}

.background span:nth-child(8) {
    color: #051357;
    top: 98%;
    left: 50%;
    animation-duration: 123s;
    animation-delay: -197s;
    transform-origin: 5vw 0;
    box-shadow: 4vmin 0 1.3293097306249744vmin currentColor
}

.background span:nth-child(9) {
    color: #104dda;
    top: 88%;
    left: 70%;
    animation-duration: 81s;
    animation-delay: -177s;
    transform-origin: -8vw 2vh;
    box-shadow: 4vmin 0 1.313249352360908vmin currentColor
}

.background span:nth-child(10) {
    color: #104dda;
    top: 21%;
    left: 84%;
    animation-duration: 95s;
    animation-delay: -95s;
    transform-origin: 24vw 24vh;
    box-shadow: 4vmin 0 0.7636934817967793vmin currentColor
}

.background span:nth-child(11) {
    color: #104dda;
    top: 98%;
    left: 16%;
    animation-duration: 89s;
    animation-delay: -257s;
    transform-origin: 0 -24vh;
    box-shadow: 4vmin 0 0.8869671940232005vmin currentColor
}

.background span:nth-child(12) {
    color: #104dda;
    top: 60%;
    left: 81%;
    animation-duration: 245s;
    animation-delay: -258s;
    transform-origin: -8vw 7vh;
    box-shadow: 4vmin 0 1.3533972719912462vmin currentColor
}

.background span:nth-child(13) {
    color: #1161ac;
    top: 51%;
    left: 33%;
    animation-duration: 11s;
    animation-delay: -176s;
    transform-origin: -15vw -12vh;
    box-shadow: -4vmin 0 0.6895289588490918vmin currentColor
}

.background span:nth-child(14) {
    color: #051357;
    top: 36%;
    left: 16%;
    animation-duration: 233s;
    animation-delay: -245s;
    transform-origin: -24vw -6vh;
    box-shadow: 4vmin 0 0.6559515574996471vmin currentColor
}

.background span:nth-child(15) {
    color: #1161ac;
    top: 78%;
    left: 24%;
    animation-duration: 252s;
    animation-delay: -147s;
    transform-origin: 0 3vh;
    box-shadow: -4vmin 0 1.4355685839922427vmin currentColor
}

.background span:nth-child(16) {
    color: #1161ac;
    top: 16%;
    left: 99%;
    animation-duration: 57s;
    animation-delay: -258s;
    transform-origin: 19vw 19vh;
    box-shadow: 4vmin 0 0.993728458793127vmin currentColor
}

.background span:nth-child(17) {
    color: #1161ac;
    top: 30%;
    left: 9%;
    animation-duration: 143s;
    animation-delay: -244s;
    transform-origin: 15vw -7vh;
    box-shadow: 4vmin 0 0.780309062577415vmin currentColor
}

.background span:nth-child(18) {
    color: #1161ac;
    top: 24%;
    left: 82%;
    animation-duration: 244s;
    animation-delay: -239s;
    transform-origin: -24vw -10vh;
    box-shadow: 4vmin 0 1.1039459482709164vmin currentColor
}

.background span:nth-child(19) {
    color: #1161ac;
    top: 88%;
    left: 98%;
    animation-duration: 29s;
    animation-delay: -88s;
    transform-origin: -5vw 12vh;
    box-shadow: -4vmin 0 0.8083630314213575vmin currentColor
}

.background span:nth-child(20) {
    color: #1161ac;
    top: 59%;
    left: 35%;
    animation-duration: 193s;
    animation-delay: -164s;
    transform-origin: 19vw -12vh;
    box-shadow: -4vmin 0 0.8762599830625579vmin currentColor
}

.background span:nth-child(21) {
    color: #104dda;
    top: 20%;
    left: 81%;
    animation-duration: 59s;
    animation-delay: -38s;
    transform-origin: 14vw 14vh;
    box-shadow: -4vmin 0 0.6943611165688746vmin currentColor
}

.background span:nth-child(22) {
    color: #1161ac;
    top: 71%;
    left: 48%;
    animation-duration: 207s;
    animation-delay: -220s;
    transform-origin: 18vw 13vh;
    box-shadow: -4vmin 0 0.7569754297838269vmin currentColor
}

.background span:nth-child(23) {
    color: #104dda;
    top: 48%;
    left: 16%;
    animation-duration: 225s;
    animation-delay: -66s;
    transform-origin: 8vw 1vh;
    box-shadow: -4vmin 0 1.269696104354003vmin currentColor
}

.background span:nth-child(24) {
    color: #051357;
    top: 84%;
    left: 63%;
    animation-duration: 83s;
    animation-delay: -139s;
    transform-origin: -5vw 17vh;
    box-shadow: -4vmin 0 1.2867538300269472vmin currentColor
}

.background span:nth-child(25) {
    color: #104dda;
    top: 74%;
    left: 90%;
    animation-duration: 53s;
    animation-delay: -130s;
    transform-origin: 4vw -20vh;
    box-shadow: -4vmin 0 1.2805163136201891vmin currentColor
}

.background span:nth-child(26) {
    color: #051357;
    top: 74%;
    left: 1%;
    animation-duration: 219s;
    animation-delay: -181s;
    transform-origin: -22vw 18vh;
    box-shadow: -4vmin 0 1.3709926616007266vmin currentColor
}

.background span:nth-child(27) {
    color: #1161ac;
    top: 89%;
    left: 45%;
    animation-duration: 229s;
    animation-delay: -5s;
    transform-origin: -21vw -10vh;
    box-shadow: 4vmin 0 1.1741260223768413vmin currentColor
}

.background span:nth-child(28) {
    color: #051357;
    top: 77%;
    left: 15%;
    animation-duration: 75s;
    animation-delay: -200s;
    transform-origin: 11vw -17vh;
    box-shadow: 4vmin 0 1.1209566662819328vmin currentColor
}

.background span:nth-child(29) {
    color: #104dda;
    top: 96%;
    left: 13%;
    animation-duration: 251s;
    animation-delay: -21s;
    transform-origin: -8vw -23vh;
    box-shadow: -4vmin 0 0.8746640694709193vmin currentColor
}

.background span:nth-child(30) {
    color: #051357;
    top: 86%;
    left: 98%;
    animation-duration: 209s;
    animation-delay: -175s;
    transform-origin: 24vw 11vh;
    box-shadow: 4vmin 0 0.9356806442872381vmin currentColor
}

.background span:nth-child(31) {
    color: #1161ac;
    top: 64%;
    left: 36%;
    animation-duration: 127s;
    animation-delay: -12s;
    transform-origin: -12vw 23vh;
    box-shadow: 4vmin 0 1.4223690469131134vmin currentColor
}

.background span:nth-child(32) {
    color: #104dda;
    top: 91%;
    left: 55%;
    animation-duration: 237s;
    animation-delay: -48s;
    transform-origin: 21vw 15vh;
    box-shadow: -4vmin 0 1.140893103365111vmin currentColor
}

.background span:nth-child(33) {
    color: #1161ac;
    top: 47%;
    left: 72%;
    animation-duration: 106s;
    animation-delay: -75s;
    transform-origin: 13vw 2vh;
    box-shadow: 4vmin 0 1.4524887448729171vmin currentColor
}

.background span:nth-child(34) {
    color: #051357;
    top: 52%;
    left: 44%;
    animation-duration: 196s;
    animation-delay: -232s;
    transform-origin: 15vw 20vh;
    box-shadow: -4vmin 0 1.2978701451170844vmin currentColor
}

.background span:nth-child(35) {
    color: #051357;
    top: 84%;
    left: 49%;
    animation-duration: 185s;
    animation-delay: -89s;
    transform-origin: 3vw 12vh;
    box-shadow: 4vmin 0 1.010177697578325vmin currentColor
}

.background span:nth-child(36) {
    color: #1161ac;
    top: 48%;
    left: 7%;
    animation-duration: 141s;
    animation-delay: -244s;
    transform-origin: -2vw 21vh;
    box-shadow: 4vmin 0 1.0908664474440168vmin currentColor
}

.background span:nth-child(37) {
    color: #104dda;
    top: 55%;
    left: 28%;
    animation-duration: 33s;
    animation-delay: -120s;
    transform-origin: -21vw 3vh;
    box-shadow: -4vmin 0 0.5867708373257736vmin currentColor
}

.background span:nth-child(38) {
    color: #1161ac;
    top: 100%;
    left: 69%;
    animation-duration: 177s;
    animation-delay: -74s;
    transform-origin: 8vw 15vh;
    box-shadow: 4vmin 0 1.146154259442062vmin currentColor
}

.background span:nth-child(39) {
    color: #104dda;
    top: 33%;
    left: 59%;
    animation-duration: 162s;
    animation-delay: -51s;
    transform-origin: 22vw -4vh;
    box-shadow: -4vmin 0 1.203257585659339vmin currentColor
}

.background span:nth-child(40) {
    color: #104dda;
    top: 27%;
    left: 99%;
    animation-duration: 103s;
    animation-delay: -196s;
    transform-origin: 15vw -16vh;
    box-shadow: -4vmin 0 1.2706283511497205vmin currentColor
}

.background span:nth-child(41) {
    color: #104dda;
    top: 9%;
    left: 62%;
    animation-duration: 9s;
    animation-delay: -67s;
    transform-origin: -1vw 5vh;
    box-shadow: -4vmin 0 1.2963295170372828vmin currentColor
}

.background span:nth-child(42) {
    color: #1161ac;
    top: 43%;
    left: 92%;
    animation-duration: 181s;
    animation-delay: -5s;
    transform-origin: 16vw 8vh;
    box-shadow: 4vmin 0 1.3266690652399789vmin currentColor
}

.background span:nth-child(43) {
    color: #104dda;
    top: 16%;
    left: 39%;
    animation-duration: 203s;
    animation-delay: -166s;
    transform-origin: 10vw 8vh;
    box-shadow: 4vmin 0 1.2636337019711645vmin currentColor
}

.background span:nth-child(44) {
    color: #104dda;
    top: 75%;
    left: 16%;
    animation-duration: 47s;
    animation-delay: -38s;
    transform-origin: -12vw 13vh;
    box-shadow: 4vmin 0 0.9255580810497188vmin currentColor
}

.background span:nth-child(45) {
    color: #051357;
    top: 97%;
    left: 79%;
    animation-duration: 100s;
    animation-delay: -143s;
    transform-origin: -17vw -5vh;
    box-shadow: 4vmin 0 0.839763177569588vmin currentColor
}

.background span:nth-child(46) {
    color: #104dda;
    top: 45%;
    left: 9%;
    animation-duration: 184s;
    animation-delay: -93s;
    transform-origin: 16vw -22vh;
    box-shadow: 4vmin 0 0.7131969863796206vmin currentColor
}

.background span:nth-child(47) {
    color: #1161ac;
    top: 13%;
    left: 62%;
    animation-duration: 237s;
    animation-delay: -56s;
    transform-origin: 24vw 12vh;
    box-shadow: -4vmin 0 1.2512345959061753vmin currentColor
}

.background span:nth-child(48) {
    color: #1161ac;
    top: 76%;
    left: 92%;
    animation-duration: 117s;
    animation-delay: -120s;
    transform-origin: -19vw 25vh;
    box-shadow: 4vmin 0 1.0059242711751797vmin currentColor
}

.background span:nth-child(49) {
    color: #1161ac;
    top: 70%;
    left: 93%;
    animation-duration: 189s;
    animation-delay: -187s;
    transform-origin: -22vw -7vh;
    box-shadow: -4vmin 0 1.2535278307827005vmin currentColor
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg:hover {
    opacity: .7
}

#myImg1 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg1:hover {
    opacity: .7
}

#myImg2 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg2:hover {
    opacity: .7
}

#myImg3 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg3:hover {
    opacity: .7
}

#myImg4 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg4:hover {
    opacity: .7
}

#myImg5 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg5:hover {
    opacity: .7
}

#myImg6 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg6:hover {
    opacity: .7
}

#myImg7 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg7:hover {
    opacity: .7
}

#myImg8 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg8:hover {
    opacity: .7
}

#myImg9 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg9:hover {
    opacity: .7
}

#myImg10 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg10:hover {
    opacity: .7
}

#myImg11 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg11:hover {
    opacity: .7
}

#myImg12 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg12:hover {
    opacity: .7
}

#myImg13 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg13:hover {
    opacity: .7
}

#myImg14 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg14:hover {
    opacity: .7
}

#myImg15 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg15:hover {
    opacity: .7
}

#myImg16 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg16:hover {
    opacity: .7
}

#myImg17 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg17:hover {
    opacity: .7
}

#myImg18 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg18:hover {
    opacity: .7
}

#myImg19 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg19:hover {
    opacity: .7
}

#myImg20 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg20:hover {
    opacity: .7
}

#myImg21:hover {
    opacity: .7
}

#myImg21 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg22:hover {
    opacity: .7
}

#myImg22 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg23:hover {
    opacity: .7
}

#myImg23 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg24:hover {
    opacity: .7
}

#myImg24 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg25:hover {
    opacity: .7
}

#myImg25 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

#myImg26:hover {
    opacity: .7
}

#myImg26 {
    border-radius: 5px;
    cursor: pointer;
    transition: .3s
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    cursor: default
}

#caption,
#caption1,
#caption2,
#caption3,
#caption4,
#caption5,
#caption6,
#caption7,
#caption8,
#caption9,
#caption10,
#caption11,
#caption12,
#caption13,
#caption14,
#caption15,
#caption16,
#caption17,
#caption18,
#caption19,
#caption20,
#caption21,
#caption22,
#caption23,
#caption24,
#caption25,
#caption26 {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: .6s;
    animation-name: zoom;
    animation-duration: .6s
}


.modal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: .6s;
    animation-name: zoom;
    animation-duration: .6s;
    cursor: default
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 700;
    transition: .3s
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer
}

@media only screen and (max-width: 1252px) {
    * {
        box-sizing: border-box
    }

    html {
        width: 100%;
        font-family: 'Syne', sans-serif
    }

    ::-webkit-scrollbar {
        display: none
    }

    body {
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%
    }

    #burger-menu {
        display: flex;
        align-items: center;
        justify-content: end;
        width: 100%;
        text-align: right;
        padding: 8px 24px;
        border: none;
        border-radius: 0;
        height: 50px;
        position: relative
    }

    nav #menu-principal {
        margin: 0;
        padding: 0;
        height: 70px;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        z-index: 9;
        height: 200px;
        list-style-type: none;
        background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
        margin-bottom: 50px
    }

    nav li {
        padding-right: 0;
        padding-bottom: 10px
    }

    nav a {
        color: rgba(255, 255, 255, 0.7)
    }

    nav a:hover {
        color: #fff
    }

    a {
        color: #fff;
        text-decoration: none;
        font-size: 25px
    }

    p,
    h1,
    h2,
    h3 {
        color: #fff
    }

    h1,
    h2 {
        text-align: center
    }

    h2 {
        font-size: 25px;
        margin-bottom: 20px
    }

    h1 {
        font-size: 30px;
        letter-spacing: 5px;
        font-family: 'Press Start 2P', cursive
    }

    #propos {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px
    }

    #presentation {
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    #presentation,
    #profil {
        width: 100%
    }

    #presentation p {
        text-align: center;
        text-align: justify;
        padding: 0 20px;
        font-size: 15px
    }

    #profil {
        text-align: center
    }

    #profil img {
        width: 200px;
        height: 200px;
        border-radius: 50%
    }

    #click {
        display: flex;
        align-items: center;
        justify-content: center
    }

    .button-36 {
        background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
        border-radius: 8px;
        border-style: none;
        box-sizing: border-box;
        color: #FFF;
        cursor: pointer;
        flex-shrink: 0;
        font-size: 16px;
        font-weight: 500;
        height: 4rem;
        padding: 0 1.6rem;
        text-align: center;
        text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
        transition: all .5s;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation
    }

    .button-36:hover {
        box-shadow: rgba(255, 255, 255, 0.5) 0 2px 50px;
        transition-duration: .1s
    }

    #projets h2 {
        padding-top: 30px
    }

    #carrousel {
        max-width: 420px;
        position: relative;
        margin: auto
    }

    .slide {
        display: none;
        animation-name: fade;
        animation-duration: 1.5s
    }

    .slide.active {
        display: block
    }

    .slide img {
        max-width: 100%;
        height: 100%
    }

    #prev,
    #next {
        cursor: pointer;
        position: absolute;
        border: none;
        background: none;
        top: 50%;
        width: auto;
        margin-top: -22px;
        padding: 16px;
        color: #fff;
        font-weight: 700;
        font-size: 18px;
        transition: .6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none
    }

    #next {
        right: 0;
        border-radius: 3px 0 0 3px
    }

    #prev:hover,
    #next:hover {
        background-color: rgba(0, 0, 0, 0.8)
    }

    #carrousel h2 {
        color: #f2f2f2;
        padding: 8px 12px;
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center
    }

    #dots {
        display: flex;
        position: absolute;
        bottom: -40px;
        width: 100%;
        justify-content: center;
        list-style: none;
        column-gap: 8px;
        padding: 0
    }

    .dot {
        width: 16px;
        height: 16px;
        background-color: #fff;
        border-radius: 20px;
        cursor: pointer;
        opacity: .4;
        transition: opacity 1.5s
    }

    .dot.active {
        opacity: .8
    }


    @keyframes fade {
        from {
            opacity: .4
        }

        to {
            opacity: 1
        }
    }

    #photos h2 {
        padding-top: 50px
    }

    #photos img {
        width: 300px;
        height: 200px;
        object-fit: cover
    }

    #photos {
        display: flex;
        flex-direction: column
    }

    .gallery {
        display: flex;
        flex-direction: column;
        list-style: none;
        justify-content: center;
        align-items: center;
        padding: 0
    }

    .gallery li {
        padding-bottom: 20px
    }

    #competence h2 {
        padding-top: 50px;
        text-align: center;
    }

    #competence {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Conteneur de chaque ligne de compétences */
    .comp {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;         /* Espace entre les images */
        padding-top: 40px;
    }

    #competence img {
        width: 50px;
        height: 50px
    }

    #contact {
        display: flex;
        flex-direction: column;
        padding-top: 30px
    }

    #mail li {
        display: flex;
        flex-direction: row;
        padding-bottom: 30px;
        font-size: 16px
    }

    #mail {
        display: flex;
        align-items: center;
        justify-content: center
    }

    #mail img {
        width: 50px;
        height: 50px
    }

    .decal {
        padding-right: 0;
        padding-left: 20px
    }

    .footer {
        background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%)
    }

    .footer .row {
        width: 100%;
        color: rgba(255, 255, 255, 0.7);
        font-size: 12px;
        text-align: center
    }

    .footer .row a {
        text-decoration: none;
        color: rgba(255, 255, 255, 0.7);
        transition: .5s
    }

    .footer .row a:hover {
        color: #fff
    }

    .footer .row ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0
    }

    .footer .row ul li {
        list-style: none;
        padding-right: 0;
        padding-bottom: 10px;
        padding-top: 10px;
        border-bottom: 2px solid #fff
    }

    .footer .row a i {
        font-size: 12px
    }

    .footer a {
        font-size: 12px
    }

    #reseaux {
        display: flex;
        flex-direction: row;
        justify-content: center
    }

    #reseaux a {
        padding-right: 30px
    }

    #back-to-top img {
        width: 40px;
        height: 40px
    }

    .modal-content {
        width: 100%
    }

    #bars {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #000;
        margin-top: 0;
        margin-left: 24px;
        transition: transform .35s ease-in
    }

    #bars:before {
        content: '';
        display: block;
        width: 24px;
        height: 2px;
        background-color: #000;
        margin-top: -8px;
        transition: opacity .1s ease-in
    }

    #bars:after {
        content: '';
        display: block;
        width: 24px;
        height: 2px;
        background-color: #000;
        margin-top: 15px;
        transition: transform .35s ease-in
    }

    #bars.open {
        transform: rotate(45deg)
    }

    #bars.open::before {
        opacity: 0
    }

    #bars.open::after {
        transform: rotate(-90deg) translateX(8px);
        margin-top: 14px
    }
}