
body {
    background-color: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.banner {
    background: url(Images/bg.jpg)  no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

h1 {
    text-align: center;
}

.logo {
    max-width: 150px;
}
.presentation {
    text-align: center;
    padding: 20px;
}
.catalogue {
    background-color: #f8f8f8;
    padding: 20px;
}
.games-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.game {
    background-color: #ffffff;
    border: 1px solid #800000;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s; /* transition pour le hover */
}

.game:hover {
    transform: translateY(-5px); /* soulève légèrement la carte */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* ombre plus marquée */
}

.game img {
    max-width: 100%;
    height: auto;
    border-radius: 5px; /* coins légèrement arrondis pour l'image */
}

.game p {
    margin-top: 10px;
}

.game p.description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333333;
    text-align: justify;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s, color 0.3s; /* transition pour le hover */
}

.game p.price {
    font-weight: bold;
    color: #800000;
    font-size: 1.05rem;
    margin-top: 5px;
}
.game:hover p.description {
    background-color: #fff0f0; /* fond légèrement plus chaud au hover */
    color: #800000;             /* texte assorti à la bordure */
}

.game button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background-color: #800000;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.game button:hover {
    background-color: #a00000;
}

footer {
    background-color: #800000;
    color: #ffffff;
    text-align: center;
    padding: 10px;
}
@media (max-width: 768px) {
    .games-list {
        flex-direction: column;
        align-items: center;
    }
    .game {
        width: 90%;
    }

}