@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

      /* Base mobile-first */
      * {
        box-sizing: border-box;
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        color: #333;
        background-color: #fff;
        padding: 0 1rem;
      }

      header, main, footer {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 0;
      }

      header {
        border-bottom: 1px solid #ccc;
        text-align: center;
      }

      footer {
        border-top: 1px solid #ccc;
        text-align: center;
        font-weight: bold;
      }

      header .branding a {
        text-decoration: none;
        text-decoration: none;
        color: #0f161a;
        font-size: 2vw;
        font-weight: bold;
        margin: 0 0.5rem;
      }
      
      /* Switch style */
      .toggle-switch {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem 0;
      }

      .toggle-switch input {
        display: none;
      }

      .toggle-switch label {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
        margin: 0 0.5rem;
      }

      .toggle-switch label::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ccc;
        border-radius: 34px;
        transition: background-color 0.2s;
      }

      .toggle-switch label::after {
        content: "";
        position: absolute;
        top: 4px;
        left: 4px;
        width: 26px;
        height: 26px;
        background-color: white;
        border-radius: 50%;
        transition: transform 0.2s;
      }

      .toggle-switch label::before {
        background-color: #FF8C00;
      }

      .toggle-switch input:checked + label::before {
        background-color: #007BFF;
      }

      .toggle-switch input:checked + label::after {
        transform: translateX(26px);
      }

      .toggle-switch span {
        font-size: 0.9rem;
        margin-left: 0.5rem;
      }

      /* Section vidéo responsive */
      .video-container {
        /*position: relative;*/
        width: 100%;
        /*padding-bottom: 56.25%; /* 16:9 ratio */
        margin-bottom: 1rem;
      }
      .video-container iframe {
        /*position: absolute;
        top: 0;
        left: 0;*/
        width: 100%;
        height: 25vh;
        border: 0;
      }

      h1, h2, h3 {
        margin-top: 1rem;
        color: #000;
      }
      
      p {
        margin: 0.5rem 0;
      }

      a {
        color: #007BFF;
        text-decoration: none;
      }

      a:hover {
        text-decoration: underline;
      }

      .podium {
        margin-left: auto;
        margin-right: auto;
      }

      .podium tr {
        background-color: gold;
      }

      .cup {
          position: relative;
          width: 0; height: 0;
          top: -5vw;
          left: 50vw;
      }
      
      .img-cup {
          width: 10vw;
          transform: rotate(32deg);
      }

      /* Responsive grid for names */
      .name-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.5rem;
        margin: 1rem 0;
      }

      .grid-item {
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        text-align: center;
        background: #f9f9f9;
      }

      .senat, .assemblee, .other-personalities {
        padding: 2vw;
        border-radius: 18px;
      }

      .assemblee {
        background-color: #FF8C00;
        color: black;
      }

      .assemblee h2, .assemblee h3 {
        color: black;
      }

      .assemblee .grid-item {
        background-color: #FFA500;
        border: 1px solid #FFA500;
      }

      .assemblee a, .assemblee a:visited {
        color: black;
      }

      .senat {
        background-color: #282d72;
        color: white;
      }

      .senat h2, .senat h3 {
        color: white;
      }

      .senat .grid-item {
        background-color: #4656ce;
        border: 1px solid #4656ce;
      }

      .senat a, .senat a:visited {
        color: white;
      }

      .other-personalities {
        background-color: #f1f0ee;
        margin-top: 2vh;
      }

      /* Mise en page pour écrans plus larges */
      @media (min-width: 600px) {
        body {
          padding: 0 2rem;
        }
        header,
        main,
        footer {
          padding: 2rem 0;
        }
      }

      .table-container {
        overflow-x: auto;
        margin-top: 1rem;
      }

      table {
        width: 100%;
        border-collapse: collapse;
      }
      
      th, td {
        padding: 0.5rem;
        text-align: left;
      }
      
      th {
        text-align: center;
      }

      tr {
        background-color: white;
      }

      td {
        text-align: center;
      }
      
      
      
      

.donation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donation > p {
  text-align: center;
}

.btn-top {
  position: fixed;
  bottom: 20px; /* Ajustez la distance par rapport au bas de la page selon vos préférences */
  right: 20px; /* Ajustez la distance par rapport à la droite de la page selon vos préférences */
  z-index: 1000; /* Assurez-vous que le bouton flottant s'affiche au-dessus du reste du contenu si nécessaire */
}

.btn-top a {
  text-decoration: none; /* Supprime les soulignements du lien */
}

/* Style facultatif pour le bouton */
.btn-top img {
  width: 3vw; /* Ajustez la taille de l'image selon vos préférences */
  height: 3vw;
}

.donation-display {
  text-align: center;
  display: flex;
  gap: 1.5vw;
  justify-content: space-around;
  margin-bottom: 1vh;
}

.donation-box {
  width: 15vw;
  display: flex;
  flex-direction: column;
  align-items: center; /* Pour centrer verticalement */
  justify-content: center; /* Pour centrer horizontalement */
}

.donation-box a {
  text-decoration: none; /* Pour supprimer le soulignement */
  color: inherit; /* Pour conserver la couleur originale du lien */
}

.donation-box-title {
  width: 10vw;
  height: 1.5vh;
  padding: 1vw;
  background-color: rgba(10,40,119,.05);
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(43, 43, 55, 0.1);
  display: flex;
  align-items: center; /* Pour centrer verticalement */
  justify-content: center; /* Pour centrer horizontalement */
}

.donation-box-amount {
  width: 10vw;
  height: 5vh;
  padding: 1vw;
  background-color: #fff;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(43, 43, 55, 0.1);
  display: flex;
  align-items: center; /* Pour centrer verticalement */
  justify-content: center; /* Pour centrer horizontalement */
}

.barre {
  text-decoration: line-through;
}

.infobox {
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
  border: solid 1px black;
  padding: 2vw;
  margin-top: 2vh;
  border-radius: 18px;
  margin-bottom: 2vh;
}

.infos {
  padding-bottom: 1vh;
  font-size: 1.2em;
}

.iron {
  background-color: #c59361;
}

.silver {
  background-color: #C0C0C0;
}

.gold {
  background-color: #FFD700;
}

.diamond {
  background-color: #B9F2FF
}


@media (max-width: 930px) { 
  
    .wrap td{
      width: 20%;
    }
  } 
  
  
  @media (max-width: 450px) { 

    * {
        font-size: 12px;
    }
  } 