/* Styles for news boxes */

.homepage .content .news {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.homepage .content .news .new-item {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 calc(33.333% - 20px);
  flex: 0 1 calc(33.333% - 20px);
  margin-right: 20px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #1b1b1b;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition: box-shadow 0.3s;
  transition: box-shadow 0.3s;
}

.homepage .content .news .new-item img {
  max-width: 100%;
  display: block;
}

.homepage .content .news .new-item .content {
  padding: 16px;
}

.homepage .content .news .new-item .title {
  margin-top: 0;
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
}

.homepage .content .news .new-item .description {
  margin: 0;
  color: #aaa;
  font-size: 16px;
}


.loader {
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

::-moz-selection {
  background-color: #9bc12a;
  color: #fff;
}

::selection {
  background-color: #9bc12a;
  color: #fff;
}

::-moz-selection {
  background-color: #9bc12a;
  color: #fff;
}

::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-thumb {
  background-color: #9bc12a;
} body {
  font-family: "Arial", sans-serif;
  background-color: #161616;
  color: #fff;
  margin: 0;
  padding: 0;
}
 
h1 {
  font-size: 2rem;
  color: #ffcc00; /* Jaune Dofus */
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

thead {
  background-color: #303030;
  color: #ffcc00; /* Jaune Dofus */
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #555;
}

tr:nth-child(even) {
  background-color: #292929;
}

tr:nth-child(odd) {
  background-color: #303030;
}

th {
  font-weight: bold;
}

td {
  text-transform: capitalize;
  color: #fff;
}

/* Styles spécifiques pour la capacité de 30 places */
tbody tr:nth-child(n+31) {
  display: none;
}

/* Styles pour le bouton "Afficher plus" */
.show-more-button {
  background-color: #ffcc00; /* Jaune Dofus */
  color: #161616;
  border: none;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}

.show-more-button:hover {
  background-color: #fbb903; /* Jaune Dofus plus clair */
}
