/* =========================
   BULLes DE DIALOGUE
   Mobile first
   ========================= */

.story-message {
    position: relative;
    width: (88%, 32rem);
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;

    border-radius: 1.5rem;

    font-size: 1rem;
    line-height: 1.55;

    color: #2b211c;
}

/* Le nom */
.story-message strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

/* Le texte */
.story-message p {
    margin: 0;
}


/* 🧡 Elle */
.story-message.her {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    background: rgba(246, 201, 168, 0.72);
}

/* Petite queue */
.story-message.her::after {
    content: "";
    position: absolute;
    left: 1.2rem;
    bottom: -1.1rem;

    width: 1.2rem;
    height: 1.2rem;

    background: rgba(246, 201, 168, 0.72);

    clip-path: polygon(
        0 0,
        100% 0,
        0 100%
    );
}


/* 💜 Lui */
.story-message.him {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    background: rgba(216, 203, 232, 0.72);
}

/* Petite queue */
.story-message.him::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    bottom: -1.1rem;

    width: 1.2rem;
    height: 1.2rem;

    background: rgba(216, 203, 232, 0.72);

    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%
    );
}


/* =========================
   Desktop
   ========================= */

@media (min-width: 768px) {

    .story-message {
        width: 72%;
        padding: 1.1rem 1.5rem;
        margin: 1.75rem 0;

        font-size: 1.05rem;
    }

}
