html,
body {
    width: 100%;
    margin: 0%;
    box-sizing: border-box;
    padding-top: 48px;
    background-color: var(--primary-color);
    font-family: "Ubuntu", sans-serif;
}

:root{
    --base-color: white;
    --base-variant: #e8e9ed;
    --text-color: #070b1d;
    --secondary-text: #fff;
    --secondary-color: #B3CEE2;
    --primary-color: #fff;
    --footer-color: #d9d9d9;
    --accent-color: transparent;
}

.darkmode{
    --base-color: #182233;
    --base-variant: #3a435d;
    --text-color: #ffffff;
    --secondary-text: #ffffff;
    --secondary-color:#3a435d;
    --footer-color:#2a2f44;
    --primary-color: #040031;
    --accent-color: #3a435d;
}

/* ---------------------------------------- Titre ------------------------------------------------------------ */

#tarteaucitronAlertSmall #tarteaucitronManager {
    display: none !important;
}


p{
    font-size: 24px;
    line-height: 28px;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: black;
}

ol, ul {
    box-sizing: border-box;
    display: flex;
    gap: 9%;
}

h1{
    font-size: 32px;
    line-height: 36px;
    font-weight: bold;
}

h2 {
    font-size: 25px;
    margin: 0%;
}

h1.title-section {
    width: 100%;
    margin: 0%;
    color: var(--text-color);
    font-size: 32px;
    line-height: 36px;
    font-weight: bold;
}

h1.title-section.center.projet {
    padding-top: 3%;
}

h1.title-projet {
    font-size: 3vh;
    color: var(--text-color);
}

/* ---------------------------------------- Annimation ------------------------------------------------------------ */

.texte {
    font-size: 2em;
    /* Curseur */
    padding-right: 5px;
    width: 99%;
    color: var(--text-color);
    justify-content: center;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.curseur {
    border-right: 2px solid var(--secondary-text);
    /* Curseur clignotant */
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--text-color);
    }
}

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.discover {
    color: #fff;
    padding: 0.7em 1.7em;
    font-size: 22px;
    border-radius: 50px;
    background: #1a73e8;
    cursor: pointer;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

button:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}
/* ---------------------------------------- Header ------------------------------------------------------------ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    background-color: #182233;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

a.link-home {
    justify-content: center;
    display: flex;
}

.nav {
    display: flex;
    margin: 30px 1%;
    width: 100%;
}

.nav-section {
    width: 100%;
    display: flex;
}


.nav-menu {
    display: flex;
    margin-left: auto;
    width: 600px;
    align-items: center;
    color: #2c2524;
}

a.sub-nav {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    position: relative; /* Nécessaire pour le pseudo-élément */
}

a.sub-nav::after {
    content: "";
    position: absolute;
    left: 0;
    color: #A0A0A0;
    bottom: -3px; /* Position de la ligne */
    width: 100%;
    height: 3px; /* Épaisseur du soulignement */
    background: #A0A0A0; /* Dégradé linéaire */
    transform: scaleX(0); /* Caché au départ */
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}
a.sub-nav:hover{
    color: #A0A0A0;
}

a.sub-nav:hover::after {
    transform: scaleX(1); /* Apparition progressive de gauche à droite */
}



.navburger {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 25%;
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

a.sub-nav-burger {
    width: 100%;
    padding: 20px;
    font-size: 30px;
}

.contact-btn button {
    background-color: #FE6B59;
    color: var(--base-color);
    padding: 20px 35px;
    border-radius: 20px;
    border: none;
    font-size: 22px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.contact-btn button:hover {
    transform: scale(1.3);
}

.menu-burger {
    display: none;
}

img.logo {
    max-width: 134px;
    cursor: pointer;
}

img.menu-bg {
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
  width: 40px;
}

.menu {
  display: none;
  position: absolute;
  top: 128px;
  left: 0;
  right: 0;
  z-index: 999;
  height: 1000px;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.menu ul {
  list-style: none;
  text-align: center;
  display: grid;
  gap: 30%;
  padding: 0;
  margin-top: 10%;
}

.menu li {
  display: grid;
  justify-content: center;
}

.menu li a {
  display: block;
  padding: 15px 15px;
  text-decoration: none;
  color: white;
  font-size: 20px;
}

.submenu {
  display: none;
}

.menu li.active .submenu {
  display: block;
}

.nav-menu .current-menu-item > a.sub-nav,
.nav-menu .current_page_item > a.sub-nav {
  color: #1a73e8;
}

.nav-menu .current-menu-item > a.sub-nav::after,
.nav-menu .current_page_item > a.sub-nav::after {
  transform: scaleX(1);
  background: #1a73e8;
}

@media screen and (max-width: 768px) {

  .menu-burger {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .menu-responsive-icon {
    cursor: pointer;
    display: block;
    position: absolute;
    right: 5%;
    top: 45%;
    z-index: 100;
    width: 40px;
    height: 40px;
  }

  .icon_line_menu {
    display: block;
    position: relative;
    width: 40px;
    height: 5px;
    border-radius: 50px;
    background-color: var(--secondary-text);
    transition: transform 0.6s, background-color 0.3s;
  }

  .icon_line_menu::before,
  .icon_line_menu::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 5px;
    border-radius: 50px;
    background-color: var(--secondary-text);
    transition: transform 0.6s, top 0.3s, background-color 0.3s;
  }

  .icon_line_menu::before {
    top: -10px;
  }

  .icon_line_menu::after {
    top: 10px;
  }

  /* État ouvert (croix) */
  .menu-responsive-icon.open .icon_line_menu {
    background-color: transparent;
  }

  .menu-responsive-icon.open .icon_line_menu::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-responsive-icon.open .icon_line_menu::after {
    top: 0;
    transform: rotate(-45deg);
  }
}


/* ---------------------------------------- section 1 ------------------------------------------------------------ */
.section {
    background-color: var(--secondary-color);
    width: 100%;
    padding: 5% 0%;
}

.bulle {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    height: 300px;
    position: absolute;
    left: -15%;
    top: -2%;
    width: 30%;
    border-radius: 50%;
}

a.redirect.btn {
    width: fit-content;
}

@media screen and (max-width: 768px) {

    .bulle{
        width: 75%;
        left: -53%;
    }
}

.section-block {
    display: flex;
    padding: 5%;
}

.section-left {
    width: 40%;
}

.section-right {
    width: 60%;
    padding: 2%;
    border-left: 5px solid var(--text-color);
}

.rounded-bloc{
    background-color: var(--secondary-color);
    display: flex;
    width: 150%;
    margin-top: -38%;
    margin-left: -26%;
    position: relative;
    z-index: 0;
    bottom: 0;
    overflow: hidden;
    height: 841px;
    border-radius: 0% 0% 50% 50%;
}

.style-section{
    width: 100%;
    overflow: hidden;
}

.img-section {
    display: flex;
    justify-content: center;
}

img.photo-profil {
    width: 60%;
    border-radius: 50%;
}

p.section-description {
    width: 80%;
    margin: 5% 0%;
    display: flex;
}

@media screen and (max-width: 1100px) {
    .rounded-bloc{
        margin-top: -67%;
    }
}

@media screen and (max-width: 1100px) {
    .section-block {
        display: block;
    }

    .section-left {
        width: 90%;
        margin: 0% auto;
    }

    .img-section {
        width: 100%;
    }

    .section-right {
        width: 90%;
        margin: 2% auto;
    }

    p.section-description {
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    .rounded-bloc {
        margin-top: -94%;
    }

    .texte{
        width: 98%;
    }
    
}

@media screen and (max-width: 600px) {
    .rounded-bloc {
        margin-top: -120%;
    }
}

a.redirect{
    display: flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
}

a.redirect:hover{
    color: white;
}
/* ---------------------------------------- Container ------------------------------------------------------------ */


.container-summary {
    padding: 3%;
}

.bloc-container {
    display: flex;
    padding-bottom: 5%;
}

.bloc-container-txt {
    width: 50%;
}


.bloc-container-img {
    display: flex;
    position: relative;
    width: 50%;
    border-radius: 50px;
    margin-right: 3%;
    align-items: center;
}

.carousel-container {
    border-radius: 50px;
    margin-right: 3%;
    position: relative;
    width: 100%;
}

.wp-block-image img{
    border: 2px solid #80808052;
    border-radius: 50px;

}
.carousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    width: 100%;
    flex: 0 0 100%;
}

.carousel-item img {
    width: 100%;
    border: 2px solid #80808052;
    border-radius: 50px;
}

.carousel-controls {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    width: 10px;
    height: 10px;
    background: gray;
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
}

.dot.active {
    background: var(--text-color);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--base-color);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.section-description.container {
    justify-content: left;
}

img.img-summary-image {
    border: 2px solid #80808052;
    width: 100%;
    border-radius: 50px;
    margin: 0% auto;
}

.btn {
    padding: 17px 40px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 0;
    background-color: var(--base-color);
    box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 15px;
    transition: all 0.5s ease;
    color: var(--text-color);
}


.btn:hover {
    letter-spacing: 3px;
    background-color: hsl(240, 100%, 29%);
    color: white;
    box-shadow: rgb(93 24 220) 0px 7px 29px 0px;
}

.btn:active {
    letter-spacing: 3px;
    background-color: hsl(240, 100%, 29%);
    color: white;
    box-shadow: rgb(93 24 220) 0px 0px 0px 0px;
    transform: translateY(10px);
    transition: 100ms;
}

@media screen and (max-width: 1100px) {

    .bloc-container {
        display: block;
    }

    h1.title-section {
        text-align: center;
    }

    .section-description.container {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .bloc-container-img {
        width: 100%;
    }

    .bloc-container-txt {
        width: 100%;
    }

    .btn{
        margin-bottom: 5%;
    }

    .bloc-container.right {
        display: flex;
        flex-direction: column-reverse;
    }

}


/* ---------------------------------------- Footer ------------------------------------------------------------ */

.footer{
    padding: 2%;
    background-color: var(--footer-color);
}

.list-menu-footer {
    display: flex;
    justify-content: center;
}

a.link-footer {
    padding: 0% 2%;
}

p.list-footer {
    position: relative;
    overflow: hidden; /* Pour que la bordure reste à l'intérieur de l'élément */
}

p.list-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: left 0.3s linear; /* Animation de la transition de droite à gauche */
}

p.list-footer:hover::after {
    left: 0; /* La bordure va de droite à gauche */
}

@media screen and (max-width: 630px) {
    
    .list-menu-footer{
        display: block;
    }
}

.wrapper {
    display: inline-flex;
    list-style: none;

    height: 120px;
    width: 100%;
    padding-left: 0%;
    padding-top: 40px;
    font-family: "Poppins", sans-serif;
    justify-content: center;
}

.wrapper .icon {
    position: relative;
    background: #fff;
    z-index: 0;
    border-radius: 50%;
    margin: 10px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon::after {
    content: "";
    position: absolute;
    display: inline-block;
    height: 100%;
    width: 100%;
    background-color: transparent;
    z-index: -1;
    border-radius: 50%;
    top: 100%;
}

.wrapper .icon:hover:after {
    animation: bg-pos 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1 both;
    animation-timing-function: ease-in-out;
}

.wrapper .icon:hover {
    color: #fff;
    overflow: unset;
    transition: color 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: overflow-toggle 0.7s;
}



.wrapper .linkedln::after {
    background-color: #1877f2;
}

.wrapper .cover::after {
    background-color: #D9DDE7;
}

.wrapper .github::after {
    background-color: #D9DDE7;
}

.wrapper .email::after {
    background-color: #1877f2;
}

@keyframes bg-pos {
    0% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

@keyframes overflow-toggle {
    0% {
        overflow: hidden;
    }

    100% {
        overflow: visible;
    }
}


/* ---------------------------------------- Copyrigh ------------------------------------------------------------ */

.txt-section-copyright {
    background-color: #182233;
    padding: 1% 0%;
}

p.txt-copyright {
    color: white;
    display: flex;
    justify-content: center;
}


/* ---------------------------------------- Page 2 Réalisation  ------------------------------------------------------------ */

.section.real{
    height: 540px;
}

.title-section.center{
    text-align: center;
}


.container-real {
    width: 100%;
    display: grid;
    position: relative;
    z-index: 1;
    background-color: var(--accent-color);
    gap: 35px;
    padding: 3% 0%;
    grid-template-columns: 1fr 1fr;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.container-projet {
    animation: fadeIn 2s ease-out forwards;
    width: 70%;
    grid-template-columns: 1fr 1fr;
    background-color: var(--base-color);
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.15) 11px 11px 2.6px;
    border-radius: 50px;
    padding: 3%;
    animation: fadeIn 2s ease-out forwards;
    height: auto;
    border: 2px solid #D0CCCC;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



img.img-projet {
    width: 100%;
    border: 2px solid #80808052;
    border-radius: 50px;
}

p.detail-projet {
    display: flex;
    width: 100%;
    border-bottom: 2px solid transparent;
    justify-content: flex-end;
}

p.more-real{
    border-bottom: 2px solid transparent;
    cursor: pointer;
    width: fit-content;
    margin-right: 10%;
    position: absolute;
    right: 0;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid var(--text-color); /* Couleur personnalisable */
}
  

p.more-real:hover{
    border-bottom: 2px solid var(--text-color);
    transition: 1s linear ;
}


@media screen and (max-width: 1000px) {
    
    .container-real {
        grid-template-columns: 1fr;
    }

    .container-projet{
        width: 80%;
    }
}
/* ---------------------------------------- Page Compétences ------------------------------------------------------------ */

.timeline-language{
    display: flex;
    flex-direction: column;
    width: 60%;
    margin:20px auto;
    gap:2rem;
    border-left: 5px solid var(--text-color);
}

.timeline-language.back{
    display: none;
}

/* Timeline Container */
.container-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    max-width: 90%;
    padding: 2rem;
    margin: 1rem auto 1rem 60px;
    background-color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #007bff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container-timeline:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Text Box */
.container-txt-box {
    word-wrap: break-word;
    color: #333333;
}

.container-txt-box h2 {
    font-size: 22px;
    margin-bottom: 0.5rem;
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
}

p.sub-title-container-box {
    margin: 0;
    color: #6c757d;
    font-size: 18px;
    font-weight: bold;
}

p.description-container-box {
    color: #333333;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Timeline Indicator */
.container-timeline::before {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background-color: #007bff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.tab-button {
    border: none;
    display: block;
    position: relative;
    background: transparent;
    cursor: pointer;
    width: 292px;
    font-size: 30px;
    padding: 20px;
    user-select: none;
    box-shadow: 0 0 5px #80808052;
    overflow: hidden;
    background-color: var(--base-color);
    color: royalblue;
    z-index: 1;
    font-family: inherit;
    font-weight: 500;
}

.tab-button span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    border: 4px solid royalblue;
}

.tab-button span::before {
    content: "";
    display: block;
    position: absolute;
    width: 8%;
    height: 500%;
    background: var(--lightgray);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-60deg);
    transition: all 0.3s;
}

.tab-button:hover span::before {
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100%;
    background: royalblue;
}

.tab-button:hover {
    color: var(--base-color);
}

.tab-button:active span::before {
    background: #2751cd;
}

.tabs {
    display: flex;
    padding: 3% 0%;
    justify-content: center;
    gap: 30px;
}

.tab-content {
    padding: 10px;
}

.container-certification.swiper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-list .card-item{
    list-style: none;
}

.swiper-wrapper {
    padding: 0%;
    gap: 0%;
}

.card-wrapper{
    margin: 0 30px 35px;
    padding: 20px 10px;
    overflow: hidden;
}

.card-list .card-item .card-link{
    user-select: none;
    width: 295px;
    display: block;
    background-color: white;
    padding: 18px;
    border-radius: 20px;
    text-decoration: none;
    border: 2px solid #80808052;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.card-list .card-item .card-link:hover{
    border-color: #5372F0;
}

.card-list .card-link .card-image {
    width: 100%;
    aspect-ratio: 16 / 0;
    object-fit: cover;
    border-radius: 10px;
}

.card-list .card-link .badge{
    color:#1877f2;
    background-color: var(--primary-color);
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 16px 0 18px;
    width: fit-content;
    border-radius: 50px;

}

.card-list .card-link .badge.complete{
    background: #D6F8D6;
    color: #205C20 ;
}

.card-list .card-link .badge.progress{
    background: #fff3cd;
    color: #856404;
}

.card-item.swiper-slide{
    width: 400px;
    margin: 0%;
}

.card-list .card-link .card-title {
    font-size: 1.19rem;
    color: #000;
    font-weight: 600;
}

a.card-link {
    margin: 0% auto;
}

span.card-button{
    height: 35px;
    width: 35px;
    color: #1877f2;
    padding: 0%;
    border-radius: 50%;
    align-items: center;
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    border: 2px solid #1877f2;
    transform: rotate(-45deg);
    transition: 0.5s ease;
}

span.card-button.material-symbols-outlined {
    display: flex;
    justify-content: center;
}

.card-list .card-link:hover .card-button{
    color: #fff;
    background-color: #1877f2;
}

.card-wrapper .swiper-pagination-bullet{
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #1877f2;
}

.card-wrapper .swiper-pagination-bullet-active{
    opacity: 1;
}

.card-wrapper .swiper-slide-button{
    color: #1877f2;
    margin-top:-35px;
}

@media  screen and (max-width: 768px ) {
    .card-wrapper{
        margin:0 15px 25px;
    }

    .card-wrapper .swiper-slide-button{
        display: none;
    }    
}

/* ---------------------------------------- Page Contact ------------------------------------------------------------ */

.frm_forms.frm_style_formidable-style.with_frm_style {
    max-width: 90%;
    margin: 0 auto;
    background-color: var(--base-color);
    border-radius: 20px;
    padding: 20px;
    direction: ltr;
}

div#frm_field_22_container {
    display: none;
}


.title {
    font-size: 28px;
    color: #0071ff;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.shape-yellow-contact {
    position: absolute;
    margin-left: 20%;
    animation: rotation 3s linear infinite;
    margin-top: -3%;
}

img.shape-green-contact {
    position: absolute;
    margin-top: -3%;
    animation: rotation 3s linear infinite;
    margin-left: 70%;
}

.message{
    color: rgba(88, 87, 87, 0.822);
    font-size: 14px;
}

.flex {
    display: grid;
    grid-template-columns: 2fr 2fr;
    width: 100%;
    gap: 6px;
}

.stars-required{
    color: red;
}

.form label {
    position: relative;
}

.form label .input {
    width: 90%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 10px;
}

.form label .input+span {
    position: absolute;
    left: 10px;
    top: 90px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

.form label .input:placeholder-shown+span {
    top: 90px;
    font-size: 0.9em;
}

.form-error {
    color: red;
    font-size: 0.9em;
}

.form label .input:valid {
    border: 1px solid green
}

.submit {
    border: none;
    outline: none;
    border: 2px solid #80808052;
    width: 49%;
    background-color: #5372F0;
    padding: 10px;
    margin: 2% 0% 1%;
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.submit.delete{
    background-color: transparent;
    color: #eb5757;
    border: 2px solid #80808052;
}

.button-contact{
    gap:20px;
}

.textarea-container {
    position: relative;
    display: inline-block;
}

#counter {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    color: gray;
    pointer-events: none; /* Empêche toute interaction avec le compteur */
}

.fields{
    color: #EB5757;
    font-size: 20px;
}

@media  screen and (max-width: 1200px ) {
    
    .submit{
        width: 70%;
        margin: auto;
    }

    .button-contact {
        display: grid;
    }

}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg)
    }
}


@media screen and (max-width: 1000px) {

    p.message-txt {
        text-align: center;
    }

    .form{
        max-width: 80%;
    }

    .flex{
        grid-template-columns: 1fr;
    }

    img.shape-green-contact {
        margin-left:76%;
        transform: rotate(-24deg);
        width: 20%;
    }

    img.shape-yellow-contact{
        margin-left: 4%;
    }
} 

@media screen and (max-width: 870px) {

    img.shape-yellow-contact {
        animation: none;
    }
    
    img.shape-green-contact {
        animation: none;
    }
}

/* ---------------------------------------- Projet ------------------------------------------------------------ */

.container-projet-details {
    width: 100%;
    display: flex;
}

.img-section.projet {
    width: 50%;
    margin-right: 2%;
}

p.projet-description{
    width: 100%;
    line-height: 37px;
    font-size: 35px;
}

p.projet-description.sub{
    padding: 0% 2%;
    width: 95%;
}

.section-projet {
    display: flex;
    padding: 2%;
}

p.stack{
    font-size: 35px;
}

.main-image{
    width: 100%;
}

.projet-details {
    width: 50%;
}

.discover-botton {
    width: 100%;
    display: flex
}

.discover.fichier{
    margin: 30px auto;
}



@media screen and (max-width: 1200px) {

    .section-projet {
        display: block;
    }

    .projet-details {
        width: 100%;
    }

    .img-section.projet {
        width: 100%;
    }
    
}




/* ---------------------------------------- Page 404 ------------------------------------------------------------ */

.header.error{
    padding: 2%;
}

h1.title-section.error {
    text-align: center;
}


/* ---------------------------------------- Page ajout ------------------------------------------------------------ */

.send {
    display: flex;
    flex-direction: column; /* Organiser le contenu en colonne */
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    text-align: center; /* Centrer le texte */
}

.title-section.center.send{
    font-size: 60px;
    line-height: 50px;
}

.section.send{
    top:0%;
    padding: 0%;
    height: 100vh;
    font-size: 60px;
    line-height: 50px;    
    position: absolute;
}

.section-description.send{
    width: 100%;
    line-height: 35px;
    font-size: 40px;
}


/* ---------------------------------------- Cookie ------------------------------------------------------------ */

.cookie-banner {
    position: fixed;
    z-index: 99;
    bottom: 0;
    left: 0;
    width: 99%;
    background: rgba(0, 0, 0, 0.8);
    color: var(--base-color);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

p.cookie-txt{
    color: var(--secondary-text);
    font-size: 25px;
}

.cookie-banner button {
    background: #27AE60;
    color: var(--secondary-text);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 0 10px 10px;
}

.cookie-banner .refuser {
    background: #eb5757;
}

button {
    border: none;
    padding: .8em 2em;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font: inherit;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

.cta-button {
    background-color: var(--accent-color);
}

.theme-switch {
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--base-variant);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

.collapse.navbar-collapse {
  display: flex;
  width: 94%;
  gap: 5%;
  align-items: center;
  justify-content: space-between; 
}

.nav-ul {
  display: flex;
  gap: 3%;
  margin: 0;
  padding: 0;
  list-style: none;
}


.theme-switch img {
    fill: var(--primary-color);
}

.theme-switch img:last-child {
    display: none;
}

.darkmode .theme-switch img:first-child {
    display: none;
}

.darkmode .theme-switch img:last-child {
    display: block;
}

.contact-block {
  display: block;
  max-width: 700px;
  margin: 60px auto;
  padding: 40px;
  background-color: var(--secondary-color);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-content p {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

#goTopBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 50px;
    padding: 0;
    border-radius: 15px;
    background-color: #182233;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Active le bouton quand on scroll */
#goTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

/* Cacher sur desktop */
@media (min-width: 769px) {
  #goTopBtn {
    display: none !important;
  }
}

/* Style pour les sous-titres des catégories */
.subtitle-project {
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center; /* ou left selon ton design */
    text-transform: uppercase;
    color: #333; /* Change selon ta charte */
}

/* Une petite ligne de séparation optionnelle */
.separator-line {
    width: 50px;
    height: 3px;
    background-color: #000; /* Ta couleur principale */
    margin: 0 auto 40px auto;
}


