* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

header {
    background-color: #1e1e1e;
    padding: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

a:hover {
    color: #f0a500;
}

main {
    padding: 40px 20px;
}

.intro h1 {
    text-align: center;
    font-size: 36px;
    color: #f0a500;
}

.intro p {
    text-align: center;
    font-size: 18px;
    margin: 20px 0;
}

.game-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.category a {
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.category a:hover {
    background-color: #f0a500;
}

footer {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
}

.minecraft-page {
    text-align: center;
}

.banner-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 20px;
}

.offers {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.offer:hover {
    transform: scale(1.05);
  }

.offer {
    background-color: #333;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
}

.offer h2 {
    font-size: 24px;
    color: #f0a500;
}

.offer p {
    font-size: 20px;
}

.offer p img {
    width: 20px;
    margin-right: 5px;
    
}

.discord-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px;
    background-color: #f0a500;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}

.discord-link:hover {
    background-color: #ff8a00;
}
/* Autres styles restent inchangés */

/* Animation pour les liens de navigation et les boutons */
a {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.infos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info {
    background-color: #333;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
}

.info h2 {
    font-size: 24px;
    color: #f0a500;
}

a:hover {
    transform: scale(1.1);  /* Agrandissement du bouton */
    background-color: #f0a500; /* Changement de couleur au survol */
    color: #1e1e1e; /* Texte sombre au survol */
}

/* Animation pour les boutons de la page d'accueil et des pages de jeux */
.category a,
.discord-link {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.category a:hover,
.discord-link:hover {
    transform: scale(1.1);  /* Agrandissement au survol */
    background-color: #f0a500; /* Changement de couleur */
    box-shadow: 0 0 10px rgba(240, 165, 0, 0.5);  /* Ombre portée pour effet 3D */
    color: #1e1e1e;  /* Texte sombre pour plus de contraste */
}

/* Effet de transition pour les sections de la page */
section {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

section.visible {
    opacity: 1;
}
/* Réinitialisation basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de la page */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* Style pour l'en-tête et la navigation */
header {
    background-color: #1e1e1e;
    padding: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f0a500;
}

/* Section principale */
main {
    padding: 40px 20px;
}

.intro h1 {
    text-align: center;
    font-size: 36px;
    color: #f0a500;
    transition: transform 0.3s ease;
}

.intro p {
    text-align: center;
    font-size: 18px;
    margin: 20px 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Categorie de jeux avec animation */
.game-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.category a {
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.category a:hover {
    transform: scale(1.1);  /* Agrandissement du bouton */
    background-color: #f0a500;
    box-shadow: 0 0 10px rgba(240, 165, 0, 0.5); /* Ombre portée */
    color: #1e1e1e;
}

/* Style du pied de page */
footer {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
}

/* Animation pour les sections */
section {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

section.visible {
    opacity: 1;
}
