/* ---------------- Index.css Styles (with priority) ---------------- */
body {
  background-color: #0a0a0a;
  color: black;
  font-family: 'Console', sans-serif;
  margin: 0;
  padding: 0;
  /*background: url('Images/6489091.jpg') no-repeat center center fixed;*/

}
body.merci-page {
  background: url('Images/6489091.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

@font-face {
  font-family: 'zelda';
  src: url('hylia-serif/Hylia\ Serif\ Beta\ v0-009/HyliaSerifBeta-Regular.otf') format('opentype');
}

header {
    padding: 20px;
    text-align: center;
}

nav {
    padding: 10px;
    z-index: 1000;
    position: relative;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
  display: inline-flex;
  margin-right: 20px;
  background: black;
  border-radius: 10px;
  width: 125px;
  height: 50px;
  flex-direction: column-reverse;
  justify-content: center;
}

nav ul li:hover {
  background: transparent;
  transition: background 0.3s ease, color 0.2s linear;
}


nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

nav a:hover {
    color: #ffffff;
}

nav ul li a img {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

section {
    padding: 20px;
}

footer {
    height: 20px;
    background-color: #2a0148;
    color: #ffffff;
    text-align: center;
    padding: 5px;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 10px;
    z-index: 100;
}

video {
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-sizing: border-box;
}

.block {
  background-color: whitesmoke;
  color: black;
  border: 2px solid #4b0082;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.block img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 400px;
  border-radius: 10px;
}
.block-content {
  display: flex;
  align-items: center; /* Pour centrer verticalement */
  gap: 20px; /* Espace entre le texte et l'image */
}

.block-text {
  flex: 1; /* Le texte prend l’espace restant */
}

.block-starter {
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
@keyframes wobble {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-5deg); }
  30% { transform: rotate(5deg); }
  45% { transform: rotate(-5deg); }
  60% { transform: rotate(5deg); }
  75% { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
.block-starter:hover {
  animation: wobble 0.6s ease-in-out;
}
.passion-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap; /* Pour s'adapter aux petits écrans */
  justify-content: center; /* Centrage horizontal */
  margin-top: 20px;
}


/* Style spécifique pour le h2 à l'intérieur de .block */
.block h2 {
  color: #4b0082;        /* Couleur spécifique du texte */
  font-size: 40px;       /* Taille du texte */
  font-weight: bold;     /* Texte en gras */
}
.block h3 {
  color: #4b0082;        /* Couleur spécifique du texte */
  font-size: 35px;       /* Taille du texte */
  font-weight: bold;     /* Texte en gras */
}
.block h4 {
  color: #4b0082;        /* Couleur spécifique du texte */
  font-size: 30px;       /* Taille du texte */
  font-weight: bold;     /* Texte en gras */
}

.block-img {
  max-width: 400px;
  text-align: center;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  cursor: pointer;
}


.description-img {
  display: flex;
  align-items: center; /* Aligne verticalement l'image et le texte */
  margin-bottom: 10px;
  overflow-x: auto; /* Ajoute un défilement horizontal */
  white-space: nowrap; /* Empêche le retour à la ligne pour les images */
  gap: 20px;
}

.description-img img {
  height: 400px; /* Maintient les proportions */
  border-radius: 20px;
}

.description {
  text-align: center;
  border: 1px solid black;
  border-radius: 10px;
  padding: 10px;
  margin: 0;
}



.project {
  color: white;
    display: flex;
    flex-direction: row; /* Aligne le texte et l'image horizontalement */
    justify-content: space-between; /* Place l'image à droite et le texte à gauche */
    align-items: center; /* Aligne les éléments verticalement */
    border: 2px solid #336699;
    padding: 20px;
    transition: border-color 0.3s;
}

.project-image-small {
    margin-left: 20px; /* Ajoute un espace entre le texte et l'image */
    width: 100px;
    height: auto;
}


.project:hover {
    border-color: #4b0082;
}


/* ---------------- Contact.css Styles ---------------- */
.contact-form {
    margin-top: 20px;
    margin-bottom: 50px;
    overflow: visible; /* Ensure the form doesn't hide the button */
}

.contact-form h2 {
    color: #fbfbfb;
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-form form {
    display: grid;
    grid-gap: 10px;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background-color: #4b0082;
    color: #ffffff;
    border: 2px solid black;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.contact-form textarea {
    height: 100px;
}


/* From Uiverse.io by marcelodolza */ 
.button {
  --primary: #4b0082; /* Indigo tone from your site's theme */
  --neutral-1: #1e0535; /* Dark purple tone */
  --neutral-2: #682f90; /* Another shade of purple */
  --radius: 14px;
  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff; /* White for text contrast */
  background-color: var(--primary); /* Indigo background */
}

.button:hover {
  transform: scale(1.01);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}

.button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}

.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)) border-box;
  z-index: 0;
  transition: all 0.4s ease;
}

.button:hover::after {
  transform: scale(1.03, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}

.button::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}

.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon svg {
  overflow: visible;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 60%,
    #682f90 80%, /* Dark purple color */
    transparent 100%
  );
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button:hover .outline {
  opacity: 1;
}
.button:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.button:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}
.button:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}
.button:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}
.button:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}
@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.button:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}
.state--default span:nth-child(4) {
  margin-right: 5px;
}
.state--sent {
  display: none;
}
.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}
.button:focus .state--default {
  position: absolute;
}
.button:focus .state--sent {
  display: flex;
}
.button:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.button:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* ---------------- CV.css Styles ---------------- */
#cv {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    margin-bottom: 10px;
}

#cv_postvideo {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 20px;
    margin-bottom: 100px;
}

.cv-photo {
  transition: transform 0.3s ease;
}

.cv-photo:hover {
  transform: scale(1.5); /* Double la taille de l'élément */
}

.cv-content {
    flex-grow: 1;
}


/* ---------------- projet.css Styles ---------------- */
/* Styles pour les cartes (card) */
.card-container {
    width: 400px; /* Largeur de la carte */
    height: 400px; /* Hauteur de la carte */
    position: relative;
    border-radius: 10px;
}

.card-container::before {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #1e0535 0%, #682f90 100%); /* Couleurs violettes */
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
}

.card {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .img-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #682f90 0%, #1e0535 100%); /* Couleurs violettes */
    transition: scale 0.6s, rotate 0.6s, filter 1s;
}

.card .img-content svg {
    width: 50px;
    height: 50px;
    fill: #e8e8e8;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*gap: 10px;*/
    color: #e8e8e8;
    /*padding: 20px;*/
    line-height: 1.5;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}
.card .content .heading {
  font-size: 32px;
  font-weight: 700;
  text-align: center; /* Centrage horizontal */
  width: 100%; /* Pour s'assurer qu'il occupe toute la largeur */
  display: flex;
  justify-content: center; /* Pour le centrage avec flexbox */
  align-items: center; /* Si besoin de centrer aussi verticalement */
}

.card .content p {
    font-size: 14px; /* Réduction de la taille de la police */
    margin: 0;
}

.card:hover .content {
    opacity: 1;
    transform: translateY(0);
}

.card:hover .img-content {
    scale: 2.5;
    rotate: 30deg;
    filter: blur(7px);
}

.card:hover .img-content svg {
    fill: transparent;
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les cartes */
    justify-content: center;
}

.card-container {
    flex: 1 1 calc(33.333% - 20px); /* Trois cartes par ligne, avec un espace de 20px entre chaque */
    box-sizing: border-box;
    max-width: calc(33.333% - 20px);
}

@media (max-width: 768px) {
    .card-container {
        flex: 1 1 calc(50% - 20px); /* Deux cartes par ligne sur les écrans plus petits */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card-container {
        flex: 1 1 100%; /* Une carte par ligne sur les très petits écrans */
        max-width: 100%;
    }
}

/* ---------------- Code Editor Styles ---------------- */
.code-editor {
    max-width: 1050px;
    background-color: #1d1e22;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 2px;
    margin-bottom: 10px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
}

.title {
    font-family: Lato, sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1.57px;
    color: rgb(212, 212, 212);
}

.icon {
    width: 20px;
    transition: 0.2s ease;
}

.icon:hover {
    cursor: pointer;
    border-radius: 50px;
}

.editor-content {
    margin: 0 10px 10px;
    color: white;
}

.property {
    margin-left: 30px;
}

.property:hover {
    cursor: text;
}

.editor-content .color-0 {
    color: rgb(86, 156, 214);
}

.editor-content .color-1 {
    color: rgb(182, 206, 168);
}

.editor-content .color-2 {
    color: rgb(156, 220, 254);
}

.editor-content .color-3 {
    color: rgb(207, 146, 120);
}

.color-preview-1,
.color-preview-2 {
    height: 8px;
    width: 8px;
    border: 1px solid #fff;
    display: inline-block;
    margin-right: 3px;
}

.color-preview-1 {
    background-color: #1d1e22;
}

.color-preview-2 {
    background-color: rgba(0, 0, 0, 0.5);
}

/* ---------------- Bookmark Button Styles ---------------- */
.bookmarkBtn {
    width: 100px;
    height: 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.349);
    background-color: rgb(12, 12, 12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
}

.IconContainer {
    width: 30px;
    height: 30px;
    background: linear-gradient(to bottom, rgb(255, 136, 255), rgb(172, 70, 255));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: 0.3s;
}

.text {
    height: 100%;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    transition-duration: 0.3s;
    font-size: 1.04em;
}

.bookmarkBtn:hover .IconContainer {
    width: 90px;
    transition-duration: 0.3s;
}

.bookmarkBtn:hover .text {
    transform: translate(10px);
    width: 0;
    font-size: 0;
    transition-duration: 0.3s;
}

.bookmarkBtn:active {
    transform: scale(0.95);
    transition-duration: 0.3s;
}

/* ---------------- Terminal Styles ---------------- */
.container-terminal {
    width: 750px;
    height: auto;
}

.terminal_toolbar {
    display: flex;
    height: 30px;
    align-items: center;
    padding: 0 8px;
    box-sizing: border-box;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: linear-gradient(#504b45 0%, #3c3b37 100%);
}

.butt {
    display: flex;
    align-items: center;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-right: 5px;
    font-size: 8px;
    height: 12px;
    width: 12px;
    box-sizing: border-box;
    border: none;
    border-radius: 100%;
    background: linear-gradient(#7d7871 0%, #595953 100%);
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 1px 0px #41403a, 0px 1px 1px 0px #474642;
}

.btn-color {
    background: #ee411a;
}

.btn:hover {
    cursor: pointer;
}

.btn:focus {
    outline: none;
}

.butt--exit {
    background: linear-gradient(#f37458 0%, #de4c12 100%);
}

.user {
    color: #d5d0ce;
    margin-left: 6px;
    font-size: 14px;
    line-height: 15px;
}

.terminal_body {
    color: white;
    background: rgba(56, 4, 40, 0.9);
    height: calc(100% - 30px);
    padding-top: 2px;
    margin-top: -1px;
    font-size: 12px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.terminal_promt {
    display: flex;
}

.terminal_promt span {
    margin-left: 4px;
}

.terminal_user {
    color: #7eda28;
}

.terminal_location {
    color: #4878c0;
}

.terminal_bling {
    color: #dddddd;
}

.terminal_cursor {
    display: block;
    height: 14px;
    width: 5px;
    margin-left: 10px;
    animation: curbl 1200ms linear infinite;
}

@keyframes curbl {
    0% {
        background: #ffffff;
    }
    49% {
        background: #ffffff;
    }
    60% {
        background: transparent;
    }
    99% {
        background: transparent;
    }
    100% {
        background: #ffffff;
    }
}

/* Affichage des réseaux */
/* From Uiverse.io by wilsondesouza */ 
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: black;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

.example-2 .icon-content a:hover {
  color: black;
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #646569;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
      45deg,
      #405de6,
      #5b51db,
      #b33ab4,
      #c135b4,
      #e1306c,
      #fd1f1f
    );

}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}
.example-2 .icon-content a[data-social="gmail"] .filled,
.example-2 .icon-content a[data-social="gmail"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #d93025, /* Rouge Gmail */
    #ea4335, /* Rouge clair Gmail */
    #fbbc04, /* Jaune Gmail */
    #34a853  /* Vert Gmail */
  );
}

.copier {
  background: #1e0535;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.copier:hover {
  background: #0274b3;
  transform: scale(1.25); /* Double la taille de l'élément */
}

/* From Uiverse.io by vikas7754 */ 
.fond {
  width: 100%;
  height: 100%;
  /* Add your background pattern here */
  --sz: 15px;
  --c0: #000;
  --c1: #4b0082;
  --ts: 50% / calc(var(--sz) * 8) calc(var(--sz) * 16);
  margin: 0;
  padding: 0;
  overflow: hidden;
  --dot: var(--c1) 0 calc(var(--sz) * 0.78),
    #fff0 calc(calc(var(--sz) * 0.78) + 1px) 100%;
  --dot2: radial-gradient(circle at 90% 0%, var(--dot)) var(--ts),
    radial-gradient(circle at 65% 0%, var(--dot)) var(--ts),
    radial-gradient(circle at 40% 0%, var(--dot)) var(--ts),
    radial-gradient(circle at 15% 0%, var(--dot)) var(--ts);
  --cg1: conic-gradient(from -90deg at 5% 51%, var(--c0) 0 90deg, #fff0 0 100%)
    var(--ts);
  --cg2: conic-gradient(from -90deg at 25% 50%, var(--c1) 0 90deg, #fff0 0 100%)
    var(--ts);
  --cg3: conic-gradient(
      from -90deg at 30% 38.5%,
      var(--c0) 0 90deg,
      #fff0 0 100%
    )
    var(--ts);
  --cg4: conic-gradient(
      from -90deg at 50% 37.5%,
      var(--c1) 0 90deg,
      #fff0 0 100%
    )
    var(--ts);
  --cg5: conic-gradient(from -90deg at 55% 26%, var(--c0) 0 90deg, #fff0 0 100%)
    var(--ts);
  --cg6: conic-gradient(from -90deg at 75% 25%, var(--c1) 0 90deg, #fff0 0 100%)
    var(--ts);
  --cg7: conic-gradient(
      from -90deg at 80% 13.5%,
      var(--c0) 0 90deg,
      #fff0 0 100%
    )
    var(--ts);
  --cg8: conic-gradient(
      from -90deg at 100% 12.5%,
      var(--c1) 0 90deg,
      #fff0 0 100%
    )
    var(--ts);

  background: var(--dot2), var(--dot2),
    radial-gradient(circle at 90% 100%, var(--dot)) var(--ts),
    radial-gradient(circle at 65% 100%, var(--dot)) var(--ts),
    radial-gradient(circle at 40% 100%, var(--dot)) var(--ts),
    radial-gradient(circle at 15% 100%, var(--dot)) var(--ts),
    radial-gradient(circle at 90% 12.5%, var(--dot)) var(--ts),
    radial-gradient(circle at 65% 25%, var(--dot)) var(--ts),
    radial-gradient(circle at 40% 37.5%, var(--dot)) var(--ts),
    radial-gradient(circle at 15% 50%, var(--dot)) var(--ts), var(--cg1),
    var(--cg1), var(--cg2), var(--cg2), var(--cg3), var(--cg3), var(--cg4),
    var(--cg4), var(--cg5), var(--cg5), var(--cg6), var(--cg6), var(--cg7),
    var(--cg7), var(--cg8), var(--cg8),
    linear-gradient(-45deg, #fff0 0 32.25%, #0002 50%, #000 77.5%) var(--ts),
    linear-gradient(-45deg, #fff0 0 32.25%, #000 60%) var(--ts),
    repeating-linear-gradient(90deg, var(--c0) 0 5%, var(--c1) 0 25%) var(--ts);
}


.basket {
  padding: 20px;
  width: 330px; /* Taille adaptée */
  min-height: 370px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0px 0px 8px #f09433, 
              0px 0px 12px #e6683c, 
              0px 0px 16px #dc2743;
  transition: 0.4s;
  margin-bottom: 25px;
  scroll-snap-align: center;
  position: relative;
  z-index: 2;
}

.basket:hover {
  translate: 0 -5px;
  box-shadow: 0px 0px 10px #f09433, 
              0px 0px 15px #e6683c, 
              0px 0px 20px #dc2743;
}

.basket-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.basket-image {
  min-height: 170px;
  background: #1e3a8a;
  border-radius: 15px;
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.4),
              inset -3px -3px 6px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.basket-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

.basket-body {
  margin: 13px 0 0 10px;
  color: #d1d5db;
  font-size: 15px;
}


.footer {
  margin: 28px 0 0 18px;
  font-size: 13px;
  color: #b3b3b3;
}

.by-name {
  font-weight: 700;
}

/* Styles de la barre de défilement pour les navigateurs basés sur Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  color: #000000;
  width: 12px; /* Largeur de la barre de défilement verticale */
  height: 12px; /* Hauteur de la barre de défilement horizontale */
}

/* Couleur de l'arrière-plan de la barre de défilement */
::-webkit-scrollbar-track {
  background: #000000;
}

/* Couleur et style du curseur de défilement */
::-webkit-scrollbar-thumb {
  background-color: #b388ff; /* Couleur du curseur */
  border-radius: 10px; /* Arrondi des coins du curseur */
  border: 3px solid #212121; /* Espace entre le curseur et la bordure */
}

/* Couleur du curseur au survol */
::-webkit-scrollbar-thumb:hover {
  background-color: #66a6ff;
}

/* Compétences */
/* From Uiverse.io by G4b413l */ 
.competence-container {
  display: flex;
}

.competence-card {
  background-color: #fff;
  width: 100px;
  flex: 1;
  border-radius: 16px;
  border: 2px solid black;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* Nécessaire pour la popup */
}

.competence-card img {
  height: 100px;
  width: auto;
  margin-bottom: 0;
  cursor: pointer;
}

.competence-card:hover {
  flex: 2;
  background-color: #b8b8b8;
}

/* Style de la popup */
.popup {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #2a0148; /* Couleur adaptée */
  color: white;
  padding: 8px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  border: 2px solid #4b0082; /* Ajoute une bordure pour bien la démarquer */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Léger effet d'ombre */
}

/* Flèche de la popup */
.popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #2a0148 transparent transparent transparent;
}

/* Effet d'apparition au survol */
.competence-card:hover .popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


/* From Uiverse.io by ahmed150up2 */ 
.main {
  background-color: white;
  padding: 1em;
  padding-bottom: 1.1em;
  border-radius: 15px;
  margin: 1em;
}
.main img{
  text-align: left;
}
.loader {
  display: flex;
  flex-direction: row;
  height: 4em;
  padding-left: 1em;
  padding-right: 1em;
  transform: rotate(180deg);
  justify-content: right;
  border-radius: 10px;
  transition: .4s ease-in-out;
}

.loader:hover {
  cursor: pointer;
  background-color: lightgray;
}

.currentplaying {
  display: flex;
  margin: 1em;
}

.soundcloud {
  width: 50px;
  height: 50px;
  margin-right: 0.6em;
}

.heading-deezer {
  color: black;
  font-size: 1.1em;
  font-weight: bold;
  align-self: center;
  margin-left: 10px;
}

.loading {
  display: flex;
  margin-top: 1em;
  margin-left: 0.3em;
}

.load {
  width: 2px;
  height: 33px;
  background-color: #4b0082;
  animation: 1s move6 infinite;
  border-radius: 5px;
  margin: 0.1em;
}

.load:nth-child(1) {
  animation-delay: 0.2s;
}

.load:nth-child(2) {
  animation-delay: 0.4s;
}

.load:nth-child(3) {
  animation-delay: 0.6s;
}

.play {
  position: relative;
  left: 0.35em;
  height: 1.6em;
  width: 1.6em;
  clip-path: polygon(50% 50%, 100% 50%, 75% 6.6%);
  background-color: black;
  transform: rotate(-90deg);
  align-self: center;
  margin-top: 0.7em;
  justify-self: center;
}

.albumcover {
  position: relative;
  margin-right: 1em;
  height: 40px;
  width: 40px;
  background-color: rgb(233, 232, 232);
  align-self: center;
  border-radius: 5px;
}

.albumcover img{
  position: relative;
  margin-right: 1em;
  height: 40px;
  width: 40px;
  background-color: rgb(233, 232, 232);
  align-self: center;
  border-radius: 5px;
  transform: rotate(180deg);
  text-align: center;
}

.song {
  position: relative;
  transform: rotate(180deg);
  margin-right: 1em;
  color: black;
  align-self: center;
}

.artist {
  font-size: 0.6em;
}

@keyframes move6 {
  0% {
    height: 0.2em;
  }

  25% {
    height: 0.7em;
  }

  50% {
    height: 1.5em;
  }

  100% {
    height: 0.2em;
  }
}


/* Animé Card*/
/* From Uiverse.io by eduardo-amaro-maciel */ 
.scroll-1::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.scroll-1::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: #888;
}



.card .card__image img {
  flex: 1;
  height: 140px;
  margin-bottom: 0px;
}
/*
.card:nth-child(1) .card__image {
  background-image: linear-gradient(
      to right top,
      #051937, 
      #004d7a, 
      #008793, 
      #00bf72, 
      #a8eb12
  );
}

.card:nth-child(2) .card__image {
  background-image: linear-gradient(
    to right top, 
    #dc09a5, 
    #ce00b4, 
    #ba00c5, 
    #9c00d8, 
    #6f12eb
  );
}

.card:nth-child(3) .card__image {
  background-image: linear-gradient(
    to right top, 
    #dc1009, 
    #e55f00, 
    #e49200, 
    #dac000, 
    #c7eb12
  );
}
*/
.card .card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.card .card__content .card__title {
  font-size: 32px;
  color: #fff;
  text-transform: capitalize;
}

.card .card__content .card__describe {
  color: #fff;
  font-size: 16px;
}

.anime-basket-container {
  /*display: flex;
  gap: 50px;*/
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  position: relative;
}

.parent-container {
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
}

.anime-section, .basket-section {
  flex: 1; /* Permet aux deux sections de prendre la même largeur */
  max-width: 400px; /* Largeur maximale de chaque section */
}

.card-games {
  font-family: 'zelda', sans-serif;
  width: 550px;
  height: 250px;
  background: #2F2F2F;
  border-radius: 10px;
}

.GameIcon {
  transform: translate(-80px,-50px);
  position: absolute;
  width: 200px;
  height: 200px;
  transition: 0.3s;
}

.GameImg {
  width: 100%;
  height: 100%;
  background-image: url("Images/TOTK.png");
  background-size: cover; /* L'image couvre toute la zone */
  background-position: center; /* Centrer l'image */
  background-repeat: no-repeat; /* Éviter que l'image se répète */
  border-radius: 10px;
}

.GameImg img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  opacity: 0%;
}

.Gfooter {
  font-family: 'zelda', sans-serif;
  width: 100%;
  height: 0%;
  background-color: #228B22;
  border-radius: 10px;
  transition: all 0.3s;
}

.Name {
  font-family: 'zelda', sans-serif;
  transform: translate(10px,200px);
  position: absolute;
  background-color: transparent;
  font-weight: bold;
  font-size: 22px;
  transition: 0.3s;
  color: black;
}

.SmallIcon {
  width: 0px;
  height: 0px;
  transform: translate(10px,10px);
  border-radius: 10px;
  transition: 0.2s;
}

.Descripion {
  padding: 10px;
  position: absolute;
  transform: translate(0px,20px);
  opacity: 0%;
  color: black;
  font-weight: bold;
  font-size: 20px;
}

.StarIcon {
  transform: translate(-0px,25px);
  width: 20px;
  fill: #ebd300;
}

.Stars {
  position: absolute;
  color: black;
  font-size: 15px;
  font-weight: bold;
  transform: translate(80px,-70px);
}

.GameImg:hover .Descripion{
  opacity: 100%;
}

.GameImg:hover img{
  opacity: 100%;
}
.GameImg:hover .Gfooter {
  width: 100%;
  height: 100%;
}

.GameImg:hover .SmallIcon{
  width: 60px;
  height: 60px;
}

.GameImg:hover .Name {
  transform: translate(75px,-235px);
}

.GameImg:hover .GameIcon {
  transform: translate(100px,-160px);
}

.galaxy-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #3a0ca3, #7209b7);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  cursor: pointer;
}

.galaxy-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 50%);
  transform: rotate(0deg);
  transition: 0.5s;
}

.galaxy-button:hover::before {
  transform: rotate(360deg);
}

.galaxy-button:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  background: linear-gradient(45deg, #560bad, #b5179e);
}
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Prend toute la hauteur de l'écran */
  text-align: center;
}

.film-fade-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
}

.film-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  text-align: center;
}

.film-slide.active {
  opacity: 1;
  z-index: 1;
}

.film-slide img {
  max-height: 350px;
  height: 350px;
  width: auto;
  border-radius: 10px;
}

.film-slide p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
  color: #4b0082;
}

/* ============================================
   CV WEB STYLISÉ
   ============================================ */

.cv-web-container {
  max-width: 1200px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* En-tête du CV */
.cv-header {
  background: linear-gradient(135deg, #4b0082 0%, #2a0148 100%);
  color: white;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.cv-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.cv-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 30px;
}

.cv-name {
  font-size: 48px;
  font-weight: bold;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cv-title {
  font-size: 24px;
  margin: 0 0 10px;
  color: #dda0ff;
  font-weight: 600;
}

.cv-tagline {
  font-size: 16px;
  margin: 0;
  color: #e8d4ff;
  font-style: italic;
}

.cv-contact-info {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cv-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.cv-contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cv-icon {
  font-size: 20px;
}

/* Contenu principal */
.cv-main-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  padding: 40px;
  background: white;
}

/* Sections */
.cv-section {
  margin-bottom: 35px;
}

.cv-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  color: #4b0082;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #4b0082;
}

.cv-icon-title {
  font-size: 32px;
}

/* Timeline */
.cv-timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 20px;
}

.cv-timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #4b0082;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #4b0082;
}

.cv-timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  width: 2px;
  height: calc(100% + 5px);
  background: linear-gradient(to bottom, #4b0082, #dda0ff);
}

.cv-timeline-date {
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #4b0082, #7209b7);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  height: fit-content;
  box-shadow: 0 3px 10px rgba(75, 0, 130, 0.3);
}

.cv-timeline-content h3 {
  margin: 0 0 5px;
  font-size: 20px;
  color: #2a0148;
}

.cv-subtitle {
  margin: 5px 0;
  color: #4b0082;
  font-weight: 600;
}

.cv-location {
  margin: 5px 0;
  color: #666;
  font-style: italic;
}

.cv-list {
  margin: 10px 0;
  padding-left: 20px;
}

.cv-list li {
  margin-bottom: 5px;
  color: #444;
  line-height: 1.6;
}

/* Compétences */
.cv-skills-grid {
  display: grid;
  gap: 15px;
}

.cv-skill-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-radius: 10px;
  border-left: 4px solid #4b0082;
  transition: all 0.3s ease;
}

.cv-skill-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(75, 0, 130, 0.2);
}

.cv-skill-icon {
  font-size: 32px;
  min-width: 40px;
}

.cv-skill-text strong {
  display: block;
  color: #4b0082;
  margin-bottom: 5px;
  font-size: 16px;
}

.cv-skill-text p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Langues */
.cv-language-grid {
  display: grid;
  gap: 15px;
}

.cv-language-item {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  gap: 10px;
}

.cv-language-name {
  font-weight: bold;
  color: #2a0148;
}

.cv-language-bar {
  height: 10px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.cv-language-fill {
  height: 100%;
  background: linear-gradient(90deg, #4b0082, #7209b7);
  border-radius: 10px;
  transition: width 1s ease;
  box-shadow: 0 0 10px rgba(75, 0, 130, 0.5);
}

.cv-language-level {
  font-size: 12px;
  color: #666;
  text-align: right;
}

/* Centres d'intérêts */
.cv-interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.cv-interest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
  border-radius: 10px;
  border: 2px solid #fecaca;
  transition: all 0.3s ease;
}

.cv-interest-item:hover {
  transform: scale(1.05);
  border-color: #f87171;
  box-shadow: 0 5px 15px rgba(248, 113, 113, 0.3);
}

.cv-interest-icon {
  font-size: 28px;
}

/* Téléchargements */
.cv-downloads {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.cv-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #4b0082, #7209b7);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(75, 0, 130, 0.3);
}

.cv-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(75, 0, 130, 0.4);
  background: linear-gradient(135deg, #5a0a9a, #8d1bc9);
}

/* Responsive */
@media (max-width: 968px) {
  .cv-main-content {
    grid-template-columns: 1fr;
  }

  .cv-name {
    font-size: 36px;
  }

  .cv-title {
    font-size: 20px;
  }

  .cv-contact-info {
    flex-direction: column;
    align-items: center;
  }

  .cv-timeline-item {
    flex-direction: column;
  }

  .cv-timeline-date {
    width: fit-content;
  }

  .cv-language-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cv-language-level {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .cv-web-container {
    border-radius: 0;
  }

  .cv-header,
  .cv-main-content {
    padding: 20px;
  }

  .cv-name {
    font-size: 28px;
  }

  .cv-section-title {
    font-size: 22px;
  }

  .cv-interests-grid {
    grid-template-columns: 1fr;
  }
}
