/* Style normal */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #801020;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  color: white;
  padding: 10px 20px;
  height: 20px;
}

.nav-left, .nav-right {
  flex: 1;
}

.nav-center {
  flex: 1;
  text-align: center;
  font-size: 22px;
  font-weight: normal;
}

.nav-button {
  background-color: #222;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.nav-button:hover {
  background-color: #666;
}

.nav-left {
  text-align: left;
}

.nav-right {
  text-align: right;
}

.menu-container {
    display: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    max-width: 200px;
    margin: 5px auto;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.articles-container {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.article {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1px;
}

.article-date {
  font-size: 12px;
  color: #777;
}

.article-title {
  margin-top: 0;
  font-size: 18px;
  color: #222;
}

.article-category {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.04);
}

.article-content {
  font-size: 14px;
  color: #333;
}

.twitch-button {
  display: inline-block;
  background-color: #9146FF;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.twitch-button:hover {
  background-color: #772CE8;
}

.imround {
  height: 150px;
  width: auto;
  border-radius: 15px;
  display: block;
  margin: 10px auto;
  }

.imround:hover {
  transform: scale(1.05);
}

.impres {
  height: 250px;
  width: auto;
  border-radius: 15px;
  display: block;
  margin: 10px auto;
  }

.troph {
  max-height: 50px;
  width: auto;
  display: block;
  }

.selectab {
  border-collapse: collapse;
}

.selectab td {
  border: none;          
  padding: 0;            
  text-align: center;    
  vertical-align: middle;
  height: 25px;
}

.prestext {
  align: left;
  text-align: left;
  margin-left: 15px;

}

@media (max-width: 768px) {
body {
  margin: 0;
  font-family: Arial, sans-serif;
	background-color: #801020;
}
    .toggle-btn {
        text-align: left;
        padding: 10px 15px;
        font-size: 1em;
        position: relative;
    }

    .toggle-btn::after {
        content: '▼';
        position: absolute;
        right: 15px;
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }

    .toggle-btn.active::after {
        transform: rotate(180deg);
    }

    .container {
        transition: max-height 0.4s ease;
        overflow: hidden;
        max-height: 0;
    }

    .container.show {
        max-height: 500px; /* suffisamment grand pour le contenu moyen */
    }

  .imround {
  max-height: 120px;
  width: auto;
  border-radius: 15px;
  display: block;
  margin: 10px auto;
  }

  .troph {
  max-height: 50px;
  width: auto;
  display: block;
  }

  .imround:hover {
  transform: scale(1.05);
}
  .selectab {
  border-collapse: collapse; /* Fusionne les bordures des cellules */
  width: 100%; /* Optionnel: ajuste la largeur du tableau */
}

.selectab td {
  border: none;          
  padding: 0;            
  text-align: center;    
  vertical-align: middle;
  height: 25px;          /* Optionnel: définit une hauteur pour mieux voir l'alignement vertical */
}

.impres {
  height: auto;
  width: 100px;
  border-radius: 15px;
  display: block;
  margin: 10px auto;
  }
}