* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: white;
  display: flex;
  flex-direction: column;
}
/* HEADER */
header {
  background-color: rgb(58, 46, 3);
  width: 100%;
}

.contenu-header ul {
  list-style: none;
  margin: 0;
  padding: 8px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.contenu-header .HomeButton {
  margin-right: auto;
}

.contenu-header ul li a:hover {
  background-color: rgba(190, 146, 3, 0.4);

}

.contenu-header ul li a {
  display: block;
  padding: 10px 10px;
  background-color: rgba(58, 46, 3, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  text-transform: uppercase;
  transition: background-color 0.3s;
  font-size: 0.95rem;
}

main {
  position: relative;
  display: flex;
  text-align: center;
  flex: 1;
  min-height: 0;
  overflow: visible;
  align-items: center;
}

.contenu-main {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 49%;
  margin: auto;
  padding-bottom: 30px;

}
 

/* TABLES */

.tables {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

table th {
  min-width: 150px;
  max-width: 200px;
}

table,
td,
th {
  border: 1px solid rgb(0, 0, 0);
  border-collapse: collapse;
  background-color: rgba(172, 81, 7, 0.6);
  min-height: 250px;
}

/* BACKGROUND */

.background {
  position: absolute;
  inset: 0;
  background-image: url(../img/BG-GOLD.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.1);
  filter: blur(8px);
  z-index: 0;
}

/* FOOTER */

footer {
  flex-shrink: 0;
  border-top: 1px dashed #000;
  width: 100%;
  background-color: rgb(23, 78, 78);
}

.footer-service h3 {
  font-size: 20px;
  text-align: center;
  margin: 0 0 15px 0;
}

.footer-service ul.Bonus {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.footer-service ul.Bonus a {
  color: white;
  text-decoration: none;
}

.footer-service ul.Bonus a:hover {
  text-decoration: underline;
}

/* TABLETTE */

@media screen and (max-width: 900px) {

  .contenu-main {
    max-width: 90%;
  }

  .tables {
    flex-direction: column;
    align-items: center;
  }

  table th {
    min-width: 140px;
    max-width: 180px;
  }

}

/* TELEPHONE */

@media screen and (max-width: 600px) {
  header {
    min-height: auto;
}

.contenu-header ul {
    justify-content: center;
    padding: 8px;
    gap: 6px;
}

.contenu-header .HomeButton {
    margin-right: 0;
}

.contenu-header ul li a {
    padding: 6px 8px;
    font-size: 0.65rem;
}
  .contenu-main {
    max-width: 95%;
  }
  main {
    padding: 40px 15px;
}

  .tables {
    flex-direction: column;
    align-items: center;
    font-size:11px ;
  }

  table th {
    min-width: 90px;
    max-width: 150px;
  }

  table td,
  table th {
    font-size: 13px;
    padding: 6px;
  }

}