body {
    background: #111;
    color: white;
    font-family: 'Helvetica', sans-serif;
    font-size: 1.5rem;
    background-image: url("bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
}
h1, h2 {
    text-align: center;
}
#comment-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
}

.comment-card {
    margin: 0 20px;
}

/* Shared styles for all bubbles */
.comment-card-bubble {
  --bg-left: #eee;
  --bg-right: #4b3384;
  width: 80%;
  position: relative;
  padding: 15px 20px;
  
  max-width: 70%;
  color: white;
  border-radius: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  font-family: sans-serif;
}

/* Base tail style */
.comment-card-bubble::after {
  content: "";
  position: absolute;
  bottom: -15px;
  width: 20px;
  height: 20px;
}

/* ODD BUBBLES: Left Side */
.comment-card:nth-child(odd) .comment-card-bubble {
  /* float: left; */
  background: var(--bg-left);
  color: black;
}

.comment-card:nth-child(odd) .comment-card-bubble::after {
  left: 20px;
  background: var(--bg-left);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  
}

/* EVEN BUBBLES: Right Side */
.comment-card:nth-child(even) .comment-card-bubble {
  background: var(--bg-right);
  margin-left: auto;
}
.comment-card:nth-child(even) .comment-card-bubble::after {
  right: 20px;
  background: var(--bg-right);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.comment-card:nth-child(odd) .comment-meta {
    margin-left: 10px;
    margin-bottom: 5px;
}
.comment-card:nth-child(even) .comment-meta {
    text-align: right;
    margin-right: 10px;
    margin-bottom: 5px;
}

/* .comment-card:before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: #eee;
  border-bottom-right-radius: 10px;

}
.comment-card:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: red;
  border-bottom-right-radius: 10px;
} */
.comment-card strong {
    font-size: 1.2rem;
    font-weight: normal;
    font-style: italic;
    color: #717171;
}
.comment-card:nth-child(even) strong {
    color: white;
    opacity: .8;
}
p {
    line-height: 1.4;
    margin-bottom: 0;
    margin-top: .5rem;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    } to {
        opacity: 1;
    }
}