/* 🎨 Variables de couleurs */
:root {
    --couleur-principale: #f17cac;
    --couleur-secondaire: #ebc076;
    --couleur-fond: #e6f17c;
    --couleur-texte: #333;
}

/* Reset simple */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
}

/* Barre de navigation */


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9251bd; /* Change as needed */
    padding: 15px 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    font-family: 'Bartle';
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Logo */
.navbar .logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

/* Links container */
.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 999px; /* smooth pill shape */
    transition: background 0.3s ease, color 0.3s ease;

}

/* Hover effect */
.nav-links a:hover {
    color: #ffcc00;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Responsive wrap if needed */
.nav-links {
    display: flex;
    flex-wrap: wrap;
        gap: 1rem;

}


.logo {
    color: white;
    font-weight: bold;
    font-size: 18px;
}


/* Active page indicator */
.nav-links a.active {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}


/* Contenu principal */
main {
    text-align: center;
    padding: 60px 20px;
}

/* Bouton */
button {
    background-color: var(--couleur-secondaire);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}


/* Galerie */
.gallery {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 700px;
    margin: 60px auto;
}


.gallery img {
    position: absolute;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, z-index 0.3s;
}



.gallery img:hover {
    transform: scale(1.1) rotate(3deg);
    z-index: 10;
}












.gallery img:nth-child(1)  { top: 20px;  left: 0px;  width: 180px; }
.gallery img:nth-child(2)  { top: 20px; left: 220px; width: 260px; }
.gallery img:nth-child(3)  { top: 20px;  left: 520px; width: 200px; }

.gallery img:nth-child(4)  { top: 420px; left: 80px;  width: 240px; }
.gallery img:nth-child(5)  { top: 420px; left: 360px; width: 180px; }
.gallery img:nth-child(6)  { top: 420px; left: 620px; width: 220px; }

.gallery img:nth-child(7)  { top: 880px; left: 40px;  width: 200px; }
.gallery img:nth-child(8)  { top: 880px; left: 260px; width: 260px; }
.gallery img:nth-child(9)  { top: 880px; left: 560px; width: 180px; }

.gallery img:nth-child(10) { top: 1640px; left: 120px; width: 160px; }
.gallery img:nth-child(11) { top: 1640px; left: 480px; width: 190px; }
.gallery img:nth-child(12) { top: 1640px; left: 160px; width: 220px; }

.gallery img:nth-child(13) { top: 2820px;  left: 360px; width: 170px; }
.gallery img:nth-child(14) { top: 2820px; left: 360px; width: 210px; }
.gallery img:nth-child(15) { top: 2820px; left: 600px; width: 200px; }

.gallery img:nth-child(16) { top: 3440px; left: 700px; width: 160px; }
.gallery img:nth-child(17) { top: 3440px; left: 140px; width: 180px; }
.gallery img:nth-child(18) { top: 3440px; left: 480px; width: 240px; }

.gallery img:nth-child(19) { top: 4380px;  left: 680px; width: 190px; }
.gallery img:nth-child(20) { top: 4380px; left: 20px;  width: 160px; }


#game-container {
    text-align: center;
    margin-top: 30px;
}

.choices {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
}

.choice img {
    width: 200px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.choice button {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    background-color: #3498db;
    color: white;
    font-weight: bold;
    transition: transform 0.2s;
}

.choice button:hover {
    transform: scale(1.1);
}
