@font-face {
    font-family: 'SignPainter HouseScript';
    src: url('../fonts/SignPainter\ HouseScript\ Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

/* Styles pour rendre l'image responsive */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 80px;
    font-weight: 100;
    font-family: 'SignPainter HouseScript', cursive;
    text-align: center;
}

h2 {
    font-size: 80px;
    font-weight: 100;
    font-family: 'SignPainter HouseScript', cursive;
}

.banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-large, .video-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Masquer la bannière vidéo large sur les écrans plus petits */
@media (max-width: 1132px) {
    .video-large {
        display: none;
    }
}

/* Masquer la bannière vidéo alternative sur les écrans larges */
@media (min-width: 1133px) {
    .video-small {
        display: none;
    }
}


.volume-icon {
    width: 20px;
    height: 20px;
    background-image: url("../img/unmute.png");
    background-size: cover;
    cursor: pointer;
}

/* Masquer la bannière vidéo large sur les écrans plus petits */
@media (max-width: 1132px) {
    .volume-icon {
        display: none;
    }
}

/* Style du contrôleur de volume */
.volume-control-container {
    position: absolute;
    bottom: 50%;
    left: 10px;
    transform: translateY(50%);
}

.arrow-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Style du haut de la page */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    padding: 10px 0;
    z-index: 999;
    transition: background-color 0.3s ease-in-out;
    text-decoration: none;
}

header.scrolled {
    background-color: #f2f2f2;
    padding: 10px 0;
    /* Ajouter ce style pour garder le padding lorsqu'il y a un background blanc */
}

header.scrolled .menu a {
    color: #333;
    /* Changer la couleur du texte */
    font: bold;
}

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

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.menu li {
    margin-right: 20px;
    position: relative;
}

.menu a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 22px;
    font-family: 'SignPainter HouseScript';
    font-weight: 700;
}

/* Styles pour le sous-menu lorsque le menu est en position fixée */
.scrolled .submenu {
    background-color: #f2f2f2;
    color: #333;
    border: #333 solid;
}

/* Styles pour le sous-menu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background-color: #000;
    border: #fff solid;
    padding: 20px;
    width: 50px;
}

.menu li:hover .submenu {
    display: block;
    list-style: none;
}

.submenu-item {
    margin-bottom: 15px;
}

.submenu-item:last-child {
    margin-bottom: 0;
}

.submenu-item a {
    display: block;
    padding: 10px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.submenu-item a:hover {
    background-color: #f2f2f2;
}


/* Styles pour le menu hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: #A8824C;
  }

/* Style pour le menu en plein écran */
.menu.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }  
  
  .hamburger-menu {
    display: none;
  }
  
  .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }
  
  .menu li {
    margin-right: 20px;
    position: relative;
  }
  
  .menu a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 22px;
    font-family: 'SignPainter HouseScript';
    font-weight: 700;
  }
  
  /* Styles pour le sous-menu lorsque le menu est en position fixée */
  .scrolled .submenu {
    background-color: #f2f2f2;
    color: #333;
    border: #333 solid;
  }
  
  /* Styles pour le sous-menu */
  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background-color: #000;
    border: #fff solid;
    padding: 20px;
    width: 50px;
  }
  
  .menu li:hover .submenu {
    display: block;
    list-style: none;
  }
  
  .submenu-item {
    margin-bottom: 15px;
  }
  
  .submenu-item:last-child {
    margin-bottom: 0;
  }
  
  .submenu-item a {
    display: block;
    padding: 10px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
  }
  
  .submenu-item a:hover {
    background-color: #f2f2f2;
  }
  
/* Styles pour le menu hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  .hamburger-menu {
    display: none;
  }
  
  .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }
  
  .menu li {
    margin-right: 20px;
    position: relative;
  }
  
  .menu a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 22px;
    font-family: 'SignPainter HouseScript';
    font-weight: 700;
  }
  
  /* Styles pour le sous-menu lorsque le menu est en position fixée */
  .scrolled .submenu {
    background-color: #f2f2f2;
    color: #333;
    border: #333 solid;
  }
  
  /* Styles pour le sous-menu */
  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background-color: #000;
    border: #fff solid;
    padding: 20px;
    width: 50px;
  }
  
  .menu li:hover .submenu {
    display: block;
    list-style: none;
  }
  
  .submenu-item {
    margin-bottom: 15px;
  }
  
  .submenu-item:last-child {
    margin-bottom: 0;
  }
  
  .submenu-item a {
    display: block;
    padding: 10px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
  }
  
  .submenu-item a:hover {
    background-color: #f2f2f2;
  }
  
  /* Media queries pour afficher le menu complet sur PC et le menu hamburger sur mobile */
  @media screen and (max-width: 768px) {
    .menu {
      display: none;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .hamburger-menu {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
  
    .hamburger-menu.active .menu {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
  }
  

/* Section de la présentation */

#presentation {
    background-color: #f2f2f2;
    padding: 50px;
}

.presentation-content {
    display: flex;
    flex-direction: row-reverse;
}

.presentation-text {
    width: 60%;
    margin-left: 30px;
}

.presentation-image {
    width: 40%;
    text-align: center;
}

.presentation-image img {
    max-width: 100%;
    height: auto;
}

.discord-button {
    display: inline-block;
    background-color: #A8824C;
    color: #fff;
    padding: 10px 20px;
    margin: 20px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

.discord-button:hover {
    background-color: #a8824cd0;
}

/* Styles pour les écrans plus petits (ajustez les valeurs de largeur selon vos besoins) */
@media (max-width: 1020px) {
    .presentation-content {
        flex-direction: column;
    }

    .presentation-text {
        width: 100%;
        margin-left: 0;
    }

    .presentation-image {
        display: none;
    }

    .buttons {
        margin-top: 30px;
    }
}

/* Section de la connexion au serveur */

.connexion-section {
    background-color: #A8824C;
    padding: 60px 0;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.icon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.icon-item {
    flex-basis: 20%;
    padding: 20px;
    color: #fff;
    text-align: center;
    /* Centrer le contenu dans le conteneur */
}

.icon-item i {
    font-size: 36px;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 10px;
    font-family: 'SignPainter HouseScript', cursive;
}

p {
    font-size: 15px;
}

.join-button-container {
    margin-top: 20px;
}

.join-button {
    display: inline-block;
    background-color: #fff;
    color: #A8824C;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

.join-button:hover {
    background-color: #ececec;
}

/* Sur les écrans plus petits */
@media (max-width: 855px) {
    .icon-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .icon-item {
        flex: unset;
        max-width: none;
        margin: 0 auto;
    }

    .icon-item i {
        font-size: 30px;
    }
}

/* Section de la boutique */

#boutique {
    padding: 50px;
}

.boutique-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.boutique-content h2 {
    background-color: #fff;
    padding: 10px;
    font-size: 80px;
    font-weight: 100;
    width: 100%;
}

.caisse {
    position: relative;
    flex: 0 0 calc(25% - 40px);
    /* 4 caisses par ligne, avec une marge de 20px de chaque côté */
    margin: 20px;
    cursor: pointer;
}

.caisse img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.caisse:hover .overlay {
    opacity: 1;
}

.overlay-content {
    color: #fff;
}

.overlay-content p {
    font-size: 18px;
}

.overlay-content button {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/* Media queries pour adapter le nombre de caisses par ligne */

@media screen and (max-width: 1200px) {
    .caisse {
      flex: 0 0 calc(33.33% - 40px);
      /* 3 caisses par ligne */
    }
  }
  
  @media screen and (max-width: 768px) {
    .caisse {
      flex: 0 0 calc(50% - 40px);
      /* 2 caisses par ligne */
    }
  }
  
  @media screen and (max-width: 580px) {
    .caisse {
      flex: 0 0 calc(100% - 40px);
      /* 1 caisse par ligne */
    }
  }


/* Cacher la lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

/* Centrer l'image agrandie dans la lightbox */
.lightbox img {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 15px;
}

/* Styliser les images miniatures */
.lightbox-trigger img {
  cursor: pointer;
}

/* Styliser la croix pour fermer la lightbox */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 40px;
  cursor: pointer;
  color: #fff;
}

/* Styliser le bouton "Acheter mes crédits" */
.buy-button {
  display: block;
  text-align: center;
  padding: 10px 20px;
  background-color: #A8824C;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  max-width: 200px;
}

.lightbox-footer {
  position: absolute;
  display: flex;
  bottom: 30px;
  left: 0;
  right: 0;
  justify-content: space-around;
}

/* Masquer la bannière vidéo large sur les écrans plus petits */
@media (max-width: 1132px) {
  .lightbox-footer {
      bottom: 70px;
  }
}

/* Section des dons */

#dons {
    background-color: #A8824C;
    padding: 50px;
}

.dons-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dons-content h2 {
    color: #fff;
    font-size: 80px;
    font-weight: 100;
    margin-bottom: 30px;
}

/* Agrandir le bouton de don de PayPal */
#donate-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Section des top votes */

#top-serveur {
    position: relative;
    padding: 50px;
}

#top-serveur::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/district-stickers.png");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
}

.table-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

#top-serveur h2 {
    padding: 10px;
    font-size: 80px;
    font-weight: 100;
    width: 100%;
    text-align: center;
}

.table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #fff;
}

.table td,
.table th {
    padding: 10px;
    text-align: center;
    border: 1px solid #fff;
    color: #000;
}

.top-votehead th {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.top-votehead th:first-child {
    border-radius: 5px 0 0 5px;
}

.top-votehead th:last-child {
    border-radius: 0 5px 5px 0;
}

.vote-button {
    display: inline-block;
    background-color: #A8824C;
    color: #fff;
    padding: 10px 20px;
    margin: 20px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

.vote-button:hover {
    background-color: #a8824cd0;
}

/* Styles du footer */

footer {
    background-color: #A8824C;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    color: #e0e0e0;
}

#footer-links {
    font-size: 14px;
}

#footer-links a,
#site-product a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 5px;
}

#footer-links a:hover,
#site-product a:hover {
    text-decoration: underline;
}

/* Responsive styles for the footer */
@media screen and (max-width: 688px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    #footer-links {
        margin-bottom: 10px;
    }

    .footer-copyright {
        margin-top: 10px;
    }

    #site-product,
    #footer-links {
        margin: 5px; /* Ajouter une marge de 5px autour des éléments */
    }

    #footer-links a,
    #site-product a {
        margin: 0 5px; /* Ajouter une marge horizontale de 5px autour des liens */
    }
}

/* Styles pour la section des mentions légales */
#mentions-legales h1 {
    font-size: 80px;
    font-weight: 100;
    font-family: 'SignPainter HouseScript', cursive;
    color: #E4600F;
}

#mentions-legales h2 {
    font-size: 80px;
    font-weight: 100;
    font-family: 'SignPainter HouseScript', cursive;
    color: #E4600F;
}

#mentions-legales h3 {
    font-size: 24px;
    font-weight: 100;
    color: #E4600F;
}

/* Styles pour espace blanc */
#espace-blanc {
    height: 100px; /* Définir la hauteur de l'espace blanc en pixels */
    /* Ou utilisez une valeur en pourcentage pour définir la hauteur en fonction de l'écran, par exemple: height: 10%; */
  }
  

/* Styles pour la section des mentions légales */
#mentions-legales {
    padding: 50px;
    overflow: hidden;
  }

#mentions-legales::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/biker.png");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1; /* Opacité de l'image d'arrière-plan */
    z-index: -1;
  }

  /* Media query pour les écrans de 1400px et plus */
@media screen and (min-width: 1400px) {
    #mentions-legales::before {
      background-image: url("../img/mentions-background.png"); /* Image de fond pour les écrans à partir de 1400px */
    }
  }

  #mentions-legales .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  #mentions-legales ul {
    list-style: none;
    padding-left: 20px;
    margin: 0;
  }

  #mentions-legales li {
    margin-bottom: 10px;
  }

  #mentions-legales a:hover {
    text-decoration: underline;
  }

  #mentions-legales .mentions-content {
    padding-left: 40px;
  }

  #mentions-legales h2 {
    margin-bottom: 20px;
  }

  #mentions-legales h3 {
    margin-bottom: 10px;
  }

  #mentions-legales #subtitle {
    color: #E4600F;
  }