.banner_page {
    background-image: url("../images/image-exposants.png");
}
.nav {
    background-color: white;
}
.nav ul {
    background-color: white;
}
a {
    color: black;
}
.main {
    margin-top: 2rem;
}
.main .intro {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.hotel-container {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}

.card {
    --bg: #f7f7f8;
    --hover-bg: #004aad;
    --hover-text: #60c338;
    flex: 1 1 calc(33.333% - 2rem); /* Ajuste la taille pour 3 colonnes */
    max-width: calc(
        33.333% - 2rem
    ); /* Empêche les cartes de devenir trop grandes */
    text-align: center;
    /* background: var(--bg); */
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.6, 0.4, 0, 1), transform 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    box-shadow: rgba(149, 157, 165, 0.3) 0px 12px 48px 0px;
    padding: 1rem;
}

.icon{
    height: 100px;
}

/* Icône/logo */
.card .icon img{
    height: 90px;
    width: 150px;
}

.card__body {
    line-height: 1.5em;
    font-size: 1em;
}

.card > :not(span) {
    transition: 0.3s cubic-bezier(0.6, 0.4, 0, 1);
}

.card span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--hover-text);
    border-radius: 5px;
    font-weight: bold;
    top: 100%;
    transition: all 0.3s cubic-bezier(0.6, 0.4, 0, 1);
}

.card:hover span {
    top: 0;
    font-size: 1.2em;
}

.card:hover {
    background: var(--hover-bg);
}

.card:hover > div,
.card:hover > strong {
    opacity: 0;
}
.lien {
    color: white;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 1rem); /* Deux colonnes sur tablettes */
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .card {
        flex: 1 1 100%; /* Une colonne sur les petits écrans */
        max-width: 100%;
    }
}
