/* Base */
html {
  font-size: 100%;
}

body {
  font: 400 1em/1.5 Helvetica, Arial, sans-serif;
  background: #2e342a;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

blockquote,
body,
dd,
dt,
h1,
h2,
h3,
h4,
h5,
h6,
html,
li,
ul {
  margin: 0;
  padding: 0;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/* Layout principal */
#container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  border: 1px solid #222;
  border-width: 0 1px;
  margin: 0 auto;
  box-shadow: 0 0 10px #000;
}

#header {
  position: relative;
  background-color: #171c1a;
}

#header .banner-title {
  position: absolute;
  top: 10%;
  left: 20%;
  transform: translateX(-50%);
  font-size: 30px;
  color: #F9C498;
  text-shadow: 1px 1px 1px black;
  z-index: 10;
  font-weight: bold;
}

#header .logo {
  position: relative;
  display: block;
  height: auto;
  box-shadow: 0 5px 10px #000; /* Ombre sous le banner conservée */
}

#header img {
  display: block;
  max-width: 100%;
  height: auto;
}

#main {
  background: #E4BD58;
  overflow: hidden;
}

#inner-content {
  overflow: hidden;
  padding: 1em 2em 2em;
}

#content {
  overflow: hidden;
}

/* Texte et effets */
.ombreGold {
  text-shadow: 1px 1px 1px black;
  color: #ffffff;
}

.verset {
  font-family: Jasmin;
  font-size: 23px;
  color: #000000;
}

p {
  color: #000000;
  font-size: 22px;
  padding: 0 !important;
  font-family: "georgia", sans-serif;
  border: 0px solid #dedede;
}

.cadre {
  color: #555;
  width: 97%;
  border-width: 3px;
  border-style: solid;
  border-color: #F2F2F2;
  box-shadow: 3px 3px 3px black inset;
  padding: 19px;
  font-size: 22px;
  font-family: "georgia", sans-serif;
}

/* Boutons */
.button {
  display: inline-block;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 8px 0 silver, 0 15px 20px rgba(0, 0, 0, .35);
  transition: box-shadow .1s ease-in-out;
  font-size: 40px;
  color: #000000;
}

.button span {
  display: inline-block;
  padding: 20px 20px;
  background-color: #FFF2B7;
  border-radius: 8px;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, .15);
  font-family: 'Pacifico', Arial, sans-serif;
  line-height: 1;
  text-shadow: 0 -1px 1px rgba(175, 49, 95, .7);
  transition: background-color .2s ease-in-out, transform .1s ease-in-out;
}

.button:hover span {
  background-color: #F5EF9A;
  text-shadow: 0 -1px 1px rgba(175, 49, 95, .9), 0 0 5px rgba(255, 255, 255, .8);
}

/* Focus & active pour accessibilité */
.button:focus span {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

.button:active,
.button:focus {
  box-shadow: 0 8px 0 #000000, 0 12px 10px rgba(0, 0, 0, .3);
}

.button:active span {
  transform: translate(0, 4px);
}

/* Liens dans tableau */
table a:hover {
  color: red;
  text-decoration: none;
}

table a:focus {
  outline: 2px solid red;
  outline-offset: 2px;
}

table ul li {
  margin-left: 15px;
}

h1 {
  font-size: 1.4rem;      /* plus petit que le h1 par défaut (~2rem) */
  font-weight: bold;
  color: #333333;         /* moins dur que le noir pur */
  margin: 0 0 0.75em;     /* petit espace en dessous */
  font-family: "georgia", sans-serif; /* même style que le texte si tu veux */
  margin-top: 50px;     /* petit espace en dessous */
  margin-bottom: 20px;     /* petit espace en dessous */
}

/* Responsive */
@media screen and (max-width: 640px) {
  #container {
    border-width: 0;
    margin-top: 0;
  }

  #header {
    float: none;
    width: 100%;
  }

  #header .banner-title {
    position: absolute;
    top: 12%;
    left: 45%;
    transform: translateX(-50%);
    font-size: 25px;
    color: #F9C498;
    text-shadow: 1px 1px 1px black;
    z-index: 10;
    font-weight: bold;
  }

  h1 {
    font-size: 1.4rem;      /* plus petit que le h1 par défaut (~2rem) */
    font-weight: bold;
    color: #333333;         /* moins dur que le noir pur */
    font-family: "georgia", sans-serif; /* même style que le texte si tu veux */
    margin-top: 50px;     /* petit espace en dessous */
    margin-bottom: 20px;     /* petit espace en dessous */
  }

  h2 {
    font-size: inherit;
    font-weight: inherit;
  }

  .button {
    font-size: 32x;
    margin: 10px;
  }

  .button span {
    font-size: 32px;
    padding: 18px 18px;
  }

  #footer {
    font-size: 20px;
  }

  .cadre {
    font-size: 18px;
  }

  .verset {
    font-size: 18px;
  }

  p {
    font-size: 18px;
  }

  li {
    font-size: 18px;
  }
}

.main-nav,
.secondary-nav {
  display: flex;
  flex-wrap: wrap;           /* les boutons passent à la ligne si besoin */
  justify-content: center;   /* centrage horizontal dans le container */
  align-items: flex-start;
  gap: 10px;                 /* espace régulier entre les boutons */
}

/* Comme on gère l’espace avec gap, tu peux réduire la marge des boutons si tu veux */
.main-nav .button,
.secondary-nav .button {
  margin: 6px;
}


/* Pied de page */
#footer {
  background: #171c1a;
  padding: 1em 2%;
  border-top: 1px solid #222221;
  color: #e7e5e4;
  text-decoration: none;
  font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
  font-size: 30px;
}

#footer a {
  text-decoration: none;
  color: #e7e5e4;
}

.footer-inner {
  text-align: center;
}

.footer-links {
  margin-bottom: 0.5em;
}

.footer-links a {
  font-size: 0.6em;        /* adapté à ton #footer qui est en 30px */
  text-decoration: none;
}

.footer-sep {
  margin: 0 0.7em;
}

.footer-social {
  margin: 0.5em 0;
}

.footer-copy {
  margin: 0.5em 0 0;
  color: #E7E5E4;
}
