body {
    background-image: url("./img/fond.jpg");
    background-size: 500px;
    padding: 0;
    margin: 0;
}

nav {
    /*border-bottom: 2px solid black;*/
    height: 50px;
}

#nav_btn {
    height: 40px;
}

.btn_size {
    height: 60px;
}

.w_nav_acc {
    width: 10vw;
}

.w_nav {
    width: 90vw;
}

.btn_nav_width {
    width: 100px;
}

.mb_5 {
    margin-bottom: 5px;
}

.mt_10 {
    margin-top: 10px;
}

.ml_5 {
    margin-left: 5px;
}

.m_5 {
    margin: 5px;
}

.mb_10 {
    margin-bottom: 10px;
}

.mt_5 {
    margin-top: 5px;
}

.btn_acc {
    border: none;
    background: none;
}

.flex_jus_center_align_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_jus_center {
    display: flex;
    justify-content: center;
}

.flexd_col {
    flex-direction: column;
}

.align_self_start {
    justify-self: flex-start;
}

.brs_1_back {
    border: 1px solid black;
}

.brs_1_grey {
    border: 1px solid #1F1D1D;
}

.background_back {
    background-color: #1f1f23;
}

.background_font_content {
    background-color: #0e0e10;
}

.shadow_box {
    box-shadow:4px 4px 5px black,
    inset 2px 2px 6px black;
}

.background_btn {
    background-color: #01a3bf;
}

.background_btn_hov:hover {
    background-color: #005383;
}

.font_bold {
    font-weight: bold;
}

.rad_10 {
    border-radius: 10px;
}

.rad_50 {
    border-radius: 50px;
}

.w_80p {
    width: 80%;
}

.w_90p {
    width: 90%;
}

.w_100p {
    width: 100%;
}

.w_70p {
    width: 70%;
}

.w_05p {
    width: 5%;
}

.w_100vw {
    width: 100vw;
}

.color_white {
    color: white;
}

.text_center {
    text-align: center;
}

#contenu {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
  gap: 5px; /* espace entre les cartes */
  padding-top: 10px;
  padding-left: 2vw;
}

::-webkit-scrollbar {
  display: none;
}

/* Pour Firefox */
#avatar {
  scrollbar-width: none;
  overflow-x: auto;
  overflow-y: hidden;
}

@font-face {
    font-family: 'BoldPixels';
    src: url('https://cdn.jsdelivr.net/gh/Dixay/Boldpixels/BoldPixels.ttf');
}

body {
    font-family: "BoldPixel", monospace;
    font-size: 16px;
    font-weight: bold;
}

.wall {
  width: 200px;
  /*transform: scale(0.8);*/
  /*opacity: 0.5;*/
  transition: transform 0.3s ease, opacity 0.3s ease;
  /*filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));*/
}

.wall.active {
  transform: scale(1.25);
  opacity: 1;
}

#avatar {
    content: "";
  z-index: 10;
  position: relative;
}

#slide {
    z-index: 1;
}

.fond_parch {
    background-image: url('./img/fond_parchemin.jpg');
}

.color_black {
    color: black;
}

/* Base commune aux deux panneaux */
.panel {
  max-width: 80%;
  margin: 40px auto;
  padding: 32px 40px;
  background: #f4e2c6;
  background-image:
    radial-gradient(circle at 0 0, rgba(0,0,0,0.18) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0,0,0,0.18) 0, transparent 55%),
    url("/css/img/fond_parchemin.jpg");
  background-size: auto, auto, cover;
  border-radius: 18px;
  border: 3px solid #b88a53;
  box-shadow:
    0 12px 25px rgba(0,0,0,0.45),
    inset 0 0 8px rgba(0,0,0,0.25);
  color: #2b2012;
  line-height: 1.5;
  position: relative;
}

/* Légère inclinaison pour le côté « panneau accroché » */
.panel::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 2px dashed rgba(0,0,0,0.12);
  pointer-events: none;
}

/* Titre principal Next Level */
.panel-main h1,
.panel-main h2 {
  font-family: "Press Start 2P", system-ui, sans-serif; /* ou ta police pixel */
  font-size: 22px;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 #000;
}

/* Titre section Enfance & Vie */
.panel-asso h2 {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 18px;
  text-align: center;
  margin-bottom: 16px;
  color: #b01919;
  text-shadow: 1px 1px 0 #000;
}

/* Texte intérieur */
.panel p {
  font-size: 15px;
  margin-bottom: 10px;
}

/* Puces / éléments importants */
.panel .icon-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .panel {
    margin: 20px 10px;
    padding: 20px 18px;
  }
  .panel-main h1,
  .panel-main h2 {
    font-size: 18px;
  }
  .panel-asso h2 {
    font-size: 16px;
  }
}

#titre_next {
    color: #63c8f3;
    text-shadow: -2px 2px 3px black;
}