.cardalign {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin: auto;
}

.card {
    width: 330px;
    height: 558px;
    vertical-align: top;
    border-radius: 20px;
    background: black;
    border: 5px solid black;
    box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.5);
    margin: 10px;
    font-weight: normal;

    a {
        color: red;

        &:hover {
            color: darkorange;
        }
    }

    p {
        text-align: justify;
        color: #8c4000;
        width: 80%;
        margin: 20px auto;
        word-wrap: break-word;
        font-size: 12px;
        overflow: visible;

        img {
            max-width: 20px;
        }

        &:last-child {
            margin-bottom: 0;
        }

        .info {
            color: orange;
        }

        .lieu {
            color: green;
            font-weight: bold;
        }

        .important {
            color: red;
            font-weight: bold;
        }

        .indice {
            color: blue;
        }

        .categorie {
            font-style: italic;
            color: darkblue;
        }

        .mdp {
            font-weight: bold;
            text-shadow: #e05c00 1px 1px;
        }
    }
}

.cardfond {
    background: url("/assets/img/fondcard.png") no-repeat;
    background-size: 100%;
    border-radius: 15px;
    padding: 0;
    width: 100%;
    height: 100%;
}

.cardimage {
    text-align: center;
    background: black;
    margin: 2px 3px;
    padding: 0;
    overflow: hidden;
    border: 2px solid black;
    border-radius: 10px;
    height: 196px;

    img {
        width: 100%;
    }
}

.cardFooter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
    margin: auto;
    color: black;
    word-wrap: break-word;
    font-size: 12px;
    overflow: visible;

    img {
        max-width: 20px;
    }

    .cardRow {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

.boutonindice {
    background: url("/assets/img/indice.png");
    border: none;
    width: 30px;
    height: 30px;
    cursor: help;
}
