@charset "UTF-8";
@font-face {
  font-family: "Beyno";
  src: url("../Assets/Police/BEYNO.ttf") format("truetype");
}
@font-face {
  font-family: "Panthera";
  src: url("../Assets/Police/PANTHERA.ttf") format("truetype");
}
@font-face {
  font-family: "Wakanda";
  src: url("../Assets/Police/WAKANDAFOREVER.ttf") format("truetype");
}
@font-face {
  font-family: "Cantarell";
  src: url("../Assets/Police/Cantarell-Regular.ttf") format("truetype");
}
/* Global resets for responsiveness */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  background: radial-gradient(126.67% 350.28% at -17.35% 0%, #0c1b37 10%, #080808 39.1%, rgba(2, 20, 55, 0.838) 94.57%, rgba(2, 23, 64, 0) 100%);
  background-attachment: fixed;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "cantarell", "sans-serif";
  font-size: 0.9em;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  height: 100%;
}

.section1 .theme1 h1 {
  font-family: "Panthera", "sans relief";
  font-size: 3.125em;
  color: #9e91b7;
}

#origine .wrapper .origine h2,
#origine .wrapper .story h2, #panther .description h1, #Dora-Milaje .defi h1, .section3 h2, .section2 .character h2, .section1 .theme1 h2 {
  font-family: "Beyno", "sans relief";
  font-size: 1.375em;
  color: #9e91b7;
}

#panther .description h2, #enigme h2 {
  font-family: "Wakanda", "sans relief";
  font-size: 1.875em;
  color: #9e91b7;
}

#origine .wrapper .origine .lien p a,
#origine .wrapper .story .lien p a, #origine .wrapper .origine p,
#origine .wrapper .story p, #panther .description p, #enigme .culture-generale p, #enigme .alphabet-wakandais p, #Dora-Milaje .defi p, .section3 p, .section2 .character p, .section1 .theme1 p {
  font-family: "cantarell", "sans-serif";
  font-size: 0.875em;
  color: #FFFFFF;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  width: 100%;
  /* --- MENU BURGER --- */
}
.navbar_brand {
  display: flex;
  align-items: center;
  margin-top: 0.6rem;
}
.navbar_menu {
  display: flex;
}
.navbar_link {
  text-decoration: none;
  color: #FFFFFF;
  margin: 0 2rem;
  font-family: "beyno", "sans relief";
  font-size: 0, 9em;
  transition: color 0.1s ease;
}
.navbar_link:hover {
  -webkit-text-decoration: underline 2px;
          text-decoration: underline 2px;
  color: #9e91b7;
}
.navbar_toggle {
  display: none;
}
.navbar_icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.56rem;
  height: 1.125rem;
  cursor: pointer;
  z-index: 1001;
}
.navbar_icon span {
  display: block;
  height: 3px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media all and (max-width: 555px) {
  .navbar {
    position: relative;
    flex-direction: row;
    /* ✅ Checkbox cochée → le menu slide depuis la droite */
    /* ✅ Quand la checkbox est cochée → on affiche le menu */
    /* ✅ Animation du burger en croix */
  }
  .navbar_icon {
    display: flex;
    cursor: pointer;
  }
  .navbar_menu {
    display: none;
    position: absolute;
    top: 3.75rem; /* 60px → 60 / 16 = 3.75rem */
    right: 0;
    background: transparent;
    flex-direction: column;
    width: 80%; /* 180px → environ 80% d’un écran mobile, plus flexible */
    max-width: 11.25rem; /* 180px → 11.25rem pour limiter la largeur */
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem #021740;
    transform: translateX(100%); /* Caché à droite */
    transition: transform 0.4s ease-in-out;
    z-index: 15;
  }
  .navbar_link {
    margin: 0.625rem 0;
    display: block;
    color: #9e91b7;
  }
  .navbar #nav-toggle:checked ~ .navbar_menu {
    transform: translateX(0);
  }
  .navbar_toggle:checked ~ .navbar_menu {
    display: flex;
    animation: menuFade 0.3s ease forwards;
  }
  .navbar_toggle:checked + .navbar_icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar_toggle:checked + .navbar_icon span:nth-child(2) {
    opacity: 0;
  }
  .navbar_toggle:checked + .navbar_icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
/* Main container - Use Flexbox for flexible layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Theme section */
.section1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  background-color: transparent;
  position: relative;
}
.section1 .theme1 {
  flex: 1 1 50%;
  margin-top: -4rem;
  margin-left: 3rem;
  position: relative;
  z-index: 1;
}
.section1 .theme1 h1 {
  font-size: 3.4em;
  margin-right: -5rem;
}
.section1 .theme1 h2 {
  padding: 0.9375rem 0;
  margin-bottom: 1rem;
}
.section1 .theme1 p {
  word-spacing: -0.1em;
  font-size: 0.775em;
  margin-top: 0.1rem;
  margin-right: 0.1rem;
}
.section1 .theme1 a {
  display: inline-block;
  margin-top: 0.9375rem;
  font-size: 0.6875rem;
  color: #FFFFFF;
}
.section1 .theme2 {
  margin-top: -1rem;
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.section1 .theme2 img {
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain; /* garde proportions */
}

.section2 .character {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 20px;
  background-color: #021740;
  font-size: 0.875em;
  text-align: justify;
  height: auto;
  width: 115%;
  margin: 0% 0% 3% 0%;
}
.section2 .character .img1sec2 {
  display: block;
  width: 18.15%;
  max-width: 386px;
  margin: 0% 0% 0% 5%;
}
.section2 .character .img2sec2 {
  display: block;
  width: 18.15%;
  max-width: 296px;
}
.section2 .character .img3sec2 {
  display: block;
  width: 13.3%;
  max-width: 217px;
}
.section2 .character h2 {
  margin-bottom: 0.7rem;
}
.section2 .character p {
  text-align: justify;
  margin-bottom: 0.2rem;
}
.section2 .character a {
  color: #FFFFFF;
}

/* stories cards - Flexbox for grid-like layout */
.section3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}
.section3 .story {
  flex: 1 1 300px; /* S’agrandit ou se rétrécit, minimum 300px */
  background: transparent;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative; /* Pour tout élément interne en position absolute */
}
.section3 h2 {
  margin-bottom: 1rem;
}
.section3 p {
  font-size: 0.78em;
  margin-bottom: 1rem;
  text-align: justify;
}
.section3 .div1aside {
  display: flex;
  align-items: center;
  flex-flow: column;
}
.section3 .div1aside .div2aside {
  font-size: 0.875em;
  position: relative;
  background-color: #FFFFFF;
  color: #021740;
  width: 50%;
  height: auto;
  box-sizing: content-box;
  padding: 0% 8.8% 23.5%;
  margin: 20% 0% 23.5% 20%;
  border-radius: 10px;
}
.section3 .div1aside .div2aside .div3aside {
  margin-bottom: 5%;
}
.section3 .div1aside .div2aside .div3aside img {
  margin-top: -30%;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.section3 .div1aside .div2aside aside h2 {
  font-family: "cantarell", "sans-serif";
  text-align: center;
  color: #000000;
}
.section3 .div1aside .div2aside aside .buttonaside {
  display: flex;
  gap: 0.625rem; /* 8px */
}
.section3 .div1aside .div2aside aside .buttonaside button {
  background-color: #3D2DA6;
  color: #FFFFFF;
  font-family: "cantarell", "sans-serif";
  font-size: 0.7rem;
  padding: 0.35rem;
  border-radius: 0.25rem;
}
.section3 .div1aside .div2aside aside .infoaside dl {
  display: flex;
  flex-flow: column;
  margin: 1.5rem 0 0;
}
.section3 .div1aside .div2aside aside .infoaside dl dt, .section3 .div1aside .div2aside aside .infoaside dl dd {
  display: inline;
}

/* Media Queries for different resolutions */
@media screen and (max-width: 1210px) {
  .section2 .character {
    min-width: 1120px;
  }
}
@media screen and (max-width: 1295px) {
  .section2 .character {
    margin: 0% 0% 3% 3%;
  }
}
/* Scrollbar styling for overflow in section2 */
@media screen and (max-width: 1210px) {
  .section2 {
    overflow-x: scroll;
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: #9E91B7 #021740;
    /* For Chrome, Safari, Edge */
  }
  .section2::-webkit-scrollbar {
    height: 8px;
    background: #021740;
  }
  .section2::-webkit-scrollbar-thumb {
    background: #9E91B7;
    border-radius: 4px;
  }
}
/* La section concernant les deux positions colonnes */
@media (max-width: 1000px) {
  .section3 {
    flex-direction: column;
    gap: 1rem;
  }
  .section3 .story {
    width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
    margin-bottom: 20%;
  }
  .section3 h2 {
    text-align: center;
    font-size: 1.2rem;
  }
  .section3 .div1aside {
    width: 100%;
  }
  .section3 .div1aside .div2aside {
    width: 90%;
    padding: 10% 5% 20%;
    margin: 1rem auto;
    font-size: 0.8rem;
  }
  .section3 .div1aside .div2aside .buttonaside {
    flex-wrap: wrap;
    justify-content: center;
  }
  .section3 .div1aside .div2aside .buttonaside button {
    font-size: 0.6rem;
    padding: 0.3rem 0.5rem;
  }
  .section3 .div1aside .div2aside aside .infoaside dl {
    font-size: 0.75rem;
  }
  .section3 .div1aside .div4aside img {
    width: 90%;
    height: auto;
  }
}
@media all and (max-width: 768px) {
  .container {
    padding: 0.5rem;
    gap: 1rem;
  }
  .character {
    flex: 1 1 100%; /* Stack vertically on tablet/mobile */
    padding: 1rem;
  }
  .character h3 {
    font-size: 1.3rem;
  }
}
@media all and (max-width: 850px) {
  .section1 {
    padding: 1rem;
    flex-direction: column; /* empile les éléments verticalement */
    align-items: center; /* centre horizontalement */
  }
  .section1 .theme1 {
    order: 2; /* texte en premier */
    margin: 0 auto; /* centre horizontalement */
    text-align: center; /* centre le texte */
  }
  .section1 .theme1 h1 {
    margin: 2rem auto; /* annule le margin-right négatif */
    font-size: 1.8rem; /* taille adaptée */
    margin-bottom: 0.3rem; /* espace en dessous */
  }
  .section1 .theme1 h2, .section1 .theme1 p, .section1 .theme1 a {
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* centre aussi les autres textes */
  }
  .section1 .theme2 {
    order: 1; /* image en second */
    margin: 1rem auto; /* centre horizontalement */
  }
  .section1 .theme2 img {
    width: 80%; /* pour qu’elle soit bien proportionnée */
  }
  .characters {
    gap: 1rem;
  }
  /* Prevent any remaining overlaps by ensuring relative positioning */
  .character {
    position: static; /* Override any absolute if present */
  }
}
#Dora-Milaje {
  height: calc(100vh - 100px);
  background-image: url(../Assets/Enigme/Pantherenigme1.png);
  background-repeat: no-repeat;
  background-size: 90%;
  width: 65%;
  background-position: center right;
  margin-top: -70px;
  margin-bottom: 170px;
  display: flex;
  position: relative;
  color: #FFFFFF;
  z-index: -1;
}
#Dora-Milaje .defi {
  position: relative;
  margin-top: 230px;
  margin-left: 780px;
  margin-right: -437px;
}
#Dora-Milaje .defi h1 {
  font-size: 48px;
  margin-bottom: 150px;
  margin-right: 160px;
  letter-spacing: 4px;
  text-align: justify;
}
#Dora-Milaje .defi p {
  max-width: 67%;
  font-size: 11px;
  margin-left: 60px;
  margin-right: 160px;
  text-align: justify;
  position: relative;
  z-index: 1;
}
#Dora-Milaje .defi p::before, #Dora-Milaje .defi p::after {
  content: "";
  position: absolute;
  top: -70px;
  left: -60px;
  width: 138%;
  height: 200px;
  border-radius: 80%;
  transform: rotate(-13deg);
  z-index: -1;
  background: linear-gradient(90deg, #df99f2, #07338c);
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
#Dora-Milaje .defi p::after {
  top: -50px;
  left: -70px;
  width: 138%;
  height: 200px;
  transform: rotate(1deg);
  background: linear-gradient(to bottom, #df99f2, #07338c);
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
#Dora-Milaje .barre-gauche {
  position: absolute;
  bottom: -30px;
  left: 800px;
  width: 720px;
  height: 2px;
  background: linear-gradient(to right, #3D2DA6, #021740);
  border-radius: 2px;
}

#enigme {
  margin-left: 220px;
  margin-right: 450px;
}
#enigme h2 {
  font-size: 25px;
  margin-bottom: 30px;
  letter-spacing: 10px;
  word-spacing: 2px;
  padding-bottom: 50px;
}
#enigme h2 span {
  display: block;
}
#enigme h2 span:not(:last-child) {
  margin-bottom: 15px;
}
#enigme .alphabet-wakandais {
  margin-bottom: 20px;
}
#enigme .alphabet-wakandais p {
  font-size: 12px;
  text-align: justify;
  margin-right: 300px;
  margin-bottom: 15px;
}
#enigme .alphabet-wakandais .wakanda-map {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 11px;
  margin-right: 375px;
  color: #FFFFFF;
}
#enigme .alphabet-wakandais .wakanda-map .latin {
  font-weight: bold;
}
#enigme .alphabet-wakandais .wakanda-map .wakanda {
  font-family: "Wakanda", "sans relief";
  font-size: 15px;
  color: #FFFFFF;
}
#enigme .culture-generale p {
  max-width: 67%;
  font-size: 11px;
  margin-left: 620px;
  margin-right: -170px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}
#enigme .culture-generale p::before, #enigme .culture-generale p::after {
  content: "";
  position: absolute;
  top: -70px;
  left: -60px;
  width: 138%;
  height: 200px;
  border-radius: 80%;
  transform: rotate(-13deg);
  z-index: -1;
  background: linear-gradient(90deg, #df99f2, #07338c);
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
#enigme .culture-generale p::after {
  top: -50px;
  left: -70px;
  width: 138%;
  height: 200px;
  transform: rotate(1deg);
  background: linear-gradient(to bottom, #df99f2, #07338c);
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
#enigme .form-container {
  margin-bottom: 150px;
}
#enigme .form-container p {
  margin-bottom: 15px;
}
#enigme .form-container input {
  width: 450px;
  height: 50px;
  margin-bottom: 70px;
  border-radius: 38px;
  border: 1px solid #f2cef2;
  padding: 0 15px;
  font-size: 14px;
  background: transparent;
  color: #FFFFFF;
}
#enigme .form-container input::-moz-placeholder {
  color: #f2cef2;
  font-size: 14px;
}
#enigme .form-container input::placeholder {
  color: #f2cef2;
  font-size: 14px;
}
#enigme .form-container button {
  margin-left: 140px;
  background-color: #f2cef2;
  border: none;
  padding: 12px 25px;
  border-radius: 38px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#enigme .form-container button:hover {
  box-shadow: 0 0 10px #f2cef2;
}

#panther {
  background-image: url(../Assets/Wakanda/Pantherwakanda1.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 100vh;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
#panther .description {
  position: relative;
  max-width: 500px;
  margin-top: 40px;
  margin-right: 500px;
  right: 2px;
}
#panther .description h1 {
  font-size: 46px;
}
#panther .description h2 {
  font-size: 23px;
  margin-top: 7px;
  margin-bottom: 20px;
  word-spacing: 15px;
  letter-spacing: 7px;
}
#panther .description p {
  max-width: 68%;
  font-size: 11px;
  text-align: justify;
}

#origine {
  background-image: url(../Assets/Wakanda/Pantherwakanda2.png);
  background-repeat: no-repeat;
  background-size: 90%;
  padding-left: 190px;
  margin-top: -60px;
  margin-left: 150px;
  margin-bottom: 200px;
  position: relative;
  z-index: -2;
}
#origine .wrapper {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  margin-bottom: 40px;
  top: 140px;
  right: 170px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#origine .wrapper .origine,
#origine .wrapper .story {
  flex: 1;
  max-width: 100%;
  margin: 0 60px;
}
#origine .wrapper .origine h2,
#origine .wrapper .story h2 {
  font-size: 20px;
  margin-top: 35px;
  margin-bottom: 20px;
}
#origine .wrapper .origine p,
#origine .wrapper .story p {
  max-width: 100%;
  font-size: 11px;
  text-align: justify;
  margin-bottom: 15px;
}
#origine .wrapper .origine .lien,
#origine .wrapper .story .lien {
  background-color: #3D2DA6;
  margin-top: 50px;
  padding: 35px 10px 90px 30px;
}
#origine .wrapper .origine .lien p,
#origine .wrapper .story .lien p {
  font-size: 14px;
  text-align: justify;
}
#origine .wrapper .origine .lien p a,
#origine .wrapper .story .lien p a {
  font-size: 14px;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 6px;
  display: inline-block;
  margin-top: 3px;
}/*# sourceMappingURL=styles.css.map */