@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* __________________________SPLASHSCREEN__________________________ */

.sabre {
  height: 0;
}

.sabreon {
  background: linear-gradient(90deg,rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 0, 0, 1) 100%);
  width: 35px;
  margin-bottom: -85vh;
  border-radius: 50px 50px 0 0;
  filter: drop-shadow(0px 0px 100px #ff0000);
  z-index: -1;
  height: 0;
  transition: height 1s ease;
}

.sabreoff {
  background: linear-gradient(90deg,rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 0, 0, 1) 100%);
  width: 35px;
  margin-bottom: -85vh;
  border-radius: 50px 50px 0 0;
  filter: drop-shadow(0px 0px 100px #ff0000);
  z-index: -1;
  height: 800px;
  transition: height 1s ease;
}

.manche {
  margin-bottom: -95vh;
  overflow: hidden;
}

.container-lightsaber {
  max-width: 60px;
}

.splashscreen-title {
  bottom: -40vh;
  color: black;
  transition: 0.5s;
}

.splashscreen-title-sh {
  text-shadow: 0px 0px 20px #CE0000, 0px 0px 20px rgba(206,0,0,0.27);
}


html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
}

main {
    background: linear-gradient(135deg, #1c1c1e, #2c2c2e);
}

header {
    position: fixed;
    z-index: 1000;
}

h1,h2,h3,h5 {
    font-family: "Orbitron", sans-serif;
}

p {
    font-family: "Rajdhani", sans-serif;
}

.font-family-p {
    font-family: "Rajdhani", sans-serif;
}

a {
    font-family: "Exo+2", sans-serif;
}

.parallax-item {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.background-div {
    background-image: url("medias/stars.webp");
    transition: background-position 0.1s ease-out;
    height: 100vh;
}

.parallax-container {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-image {
    max-width: 100%;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

#accueil {
    position: relative;
    overflow: hidden;
    background-color: #0c0a09;
}

.horizontal-nav-ul {
    backdrop-filter: blur(10px);
    background-color: rgba(217, 217, 217, 0.192);
    border: solid 1px rgba(255, 255, 255, 0.30);
}

.horizontal-nav-li {
    backdrop-filter: blur(10px);
    background-color: rgba(217, 217, 217, 0.15);
    border: solid 1px rgba(255, 255, 255, 0.171);
    min-width: 150px;
}

.blur {
    backdrop-filter: blur(5px);
}

.background-blur {
    backdrop-filter: blur(1px);
}

.pastille1 {
    background: linear-gradient(157deg,rgba(146, 144, 240, 1) 0%, rgba(40, 17, 138, 1) 100%);
    border-radius: 50%;
}

.icon {
    max-width: 100px;
    height: auto;
}

.big-text {
    font-size: 4rem;
    font-weight: bold;
}

.filter-white {
    filter: brightness(0) invert(1);
}

.background-card {
    max-height: 300px;
    max-width: 350px;
    border-radius: 20px;
    background: linear-gradient(180deg,rgba(217, 217, 217, 0.42) 0%, rgba(115, 115, 115, 0) 80%);
    padding-top: 3.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.badge {
    top: -37px;
}

.max-height-cards-skills {
    max-height: 150px;   
}

.pastille2 {
    background: linear-gradient(157deg,rgba(224, 136, 241, 1) 0%, rgba(167, 42, 230, 1) 100%);
    border-radius: 50%;
}

.lateral-nav-ul {
    max-width: 50px;
    min-height: 500px;
}

.object-fit-cover {
    object-fit: cover;
}

.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.padding1000 {
    margin-top: 100rem;
}

#creations .carousel-item img {
    max-height: 800px;
    object-fit: contain;
    max-width: 100%;
}

/* __________________________________________________________________________________________________________________________ */

#star-canvas {
    pointer-events: none; /* pour que ça ne gêne pas le clic */
}


.button {
    --main-color: rgb(46, 213, 115);
    --main-bg-color: rgba(46, 213, 116, 0.36);
    --pattern-color: rgba(46, 213, 116, 0.073);
    filter: hue-rotate(0deg);
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    background: radial-gradient(circle, var(--main-bg-color) 0%,rgba(0, 0, 0, 0) 95%), linear-gradient(var(--pattern-color) 1px, transparent 1px), linear-gradient(to right, var(--pattern-color) 1px, transparent 1px);
    background-size: cover, 15px 15px, 15px 15px;
    background-position: center center, center center, center center;
    border-image: radial-gradient(circle, var(--main-color) 0%,rgba(0, 0, 0, 0) 100%)1;
    border-width: 1px 0 1px 0;
    color: var(--main-color);
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.5rem;
    transition: background-size 0.2s ease-in-out;
    max-width: 300px;
}

.button:hover {
    background-size: cover, 10px 10px, 10px 10px;
}
.button:active {
    filter: hue-rotate(250deg);
}

.text-none {
    text-decoration: none;
}

.CTA {
    --green: #1BFD9C;
    font-size: 15px;
    padding: 0.7em 2.7em;
    letter-spacing: 0.06em;
    position: relative;
    font-family: inherit;
    border-radius: 0.6em;
    overflow: hidden;
    transition: all 0.3s;
    line-height: 1.4em;
    border: 2px solid var(--green);
    background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);
    color: var(--green);
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
    text-decoration: none;
}

.CTA:hover {
    color: #82ffc9;
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

.CTA:before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform .4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
}

.CTA:hover:before {
    transform: translateX(15em);
}

.skill-widgets {
    display: flex;
    justify-content: space-between;
    height: 50px;
    width: 200px;
    border: solid 1px rgba(255, 255, 255, 0.171);
    border-radius: 5px;
    background-color: transparent;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1)!important;
    border: 2px solid transparent;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: glow 2s infinite ease-in-out;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

.mockup {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 2em;
  height: 2em;
  vertical-align: middle;
  background-image: url("medias/burger-menu.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.nav-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 5px 5px;
  height: 100%;
}

.navbar-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 5px 5px;
    height: 100%; 
}

.offcanvas-blur {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-left: 1px solid rgba(255, 255, 255, 0.267); /* si offcanvas-end */
  color: white;
  border-radius: 0 10px 10px 0;
}

.premium-input {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.premium-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.premium-input:focus {
  border-color: #0d6efd;
  outline: none;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
  color: white;
}

/* checkbox */

/* From Uiverse.io by 3HugaDa3 */ 
.checkbox-wrapper {
  --checkbox-size: 25px;
  --checkbox-color: #00ff88;
  --checkbox-shadow: rgba(0, 255, 136, 0.3);
  --checkbox-border: rgba(0, 255, 136, 0.7);
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 10px;
}

.checkbox-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-wrapper .checkmark {
  position: relative;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  border: 2px solid var(--checkbox-border);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 15px var(--checkbox-shadow);
  overflow: hidden;
}

.checkbox-wrapper .checkmark::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--checkbox-color), #00ffcc);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: scale(0) rotate(-45deg);
}

.checkbox-wrapper input:checked ~ .checkmark::before {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.checkbox-wrapper .checkmark svg {
  width: 0;
  height: 0;
  color: #1a1a1a;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.checkbox-wrapper input:checked ~ .checkmark svg {
  width: 18px;
  height: 18px;
  transform: rotate(360deg);
}

.checkbox-wrapper:hover .checkmark {
  border-color: var(--checkbox-color);
  transform: scale(1.1);
  box-shadow:
    0 0 20px var(--checkbox-shadow),
    0 0 40px var(--checkbox-shadow),
    inset 0 0 10px var(--checkbox-shadow);
}

.checkbox-wrapper input:checked ~ .checkmark {
  animation: pulse 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--checkbox-shadow);
  }
  50% {
    transform: scale(0.9);
    box-shadow:
      0 0 30px var(--checkbox-shadow),
      0 0 50px var(--checkbox-shadow);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--checkbox-shadow);
  }
}

.checkbox-wrapper .label {
  margin-left: 15px;
  font-family: "Segoe UI", sans-serif;
  color: var(--checkbox-color);
  font-size: 18px;
  text-shadow: 0 0 10px var(--checkbox-shadow);
  opacity: 0.9;
  transition: all 0.3s;
}

.checkbox-wrapper:hover .label {
  opacity: 1;
  transform: translateX(5px);
}

/* Section de fond (optionnel) */
#about {
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* Conteneur de l'accordéon */
.accordion {
    width: 100%;
    max-width: 800px;
    background: rgba(28, 28, 30, 0.65); /* fond semi-transparent foncé */
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

/* Élément de l'accordéon */
.accordion-item {
    background: transparent;
    border: none;
}

/* Bouton header */
.accordion-button {
    background: transparent;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 1.2rem 1.5rem;
    backdrop-filter: none !important;
    box-shadow: none;
}

/* Bouton actif */
.accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* Suppression de la flèche par défaut */
.accordion-button::after {
    filter: invert(1);
}

/* Texte du contenu */
.accordion-body {
    color: #ddd;
    font-size: 1rem;
    padding: 1.2rem 1.5rem;
    line-height: 1.6;
    background: transparent;
}

/* Collapse animation */
.accordion-collapse {
    transition: height 0.3s ease;
}


.glass-card {
  width: 90%;
  height: 360px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0px 0px rgba(255, 255, 255, 0);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}







