/* (A) SPEECH BOX */
.speech {
  /* (A1) FONT */
  font-family: arial, sans-serif;
  font-size: 1.1em;
  color: #fff;
  /* (A2) DIMENSIONS + BACKGROUND */
  position: fixed;
  background: #00bb44;
  padding: 20px;
  border-radius: 10px;
  max-width: 320px;
}

/* (B) ADD SPEECH "CALLOUT TAIL" */
/* (B1) ATTACH TRANSPARENT BORDERS AFTER */
.speech::after {
  position: absolute;
  content: '';
  border: 20px solid transparent;
}

/* (B2) CREATE + POSITION CALLOUT "TAIL" */
.bottom.speech::after {
  /* DOWN TRIANGLE */
  border-top-color: #00bb44;
  border-bottom: 0;
  /* POSITION TAIL AT BOTTOM OF BOX */
  bottom: -20px;
  left: 50%;
  margin-left: -20px;
}

/* (C) DIFFERENT TAIL POSITIONS */
/* (C1) TOP */
.top.speech::after {
  /* UP TRIANGLE */
  border-bottom-color: #00bb44;
  border-top: 0;
  /* POSITION TAIL AT BOTTOM OF BOX */
  top: -20px;
  left: 50%;
  margin-left: -20px;
}

/* (C2) LEFT */
.left.speech::after {
  /* LEFT TRIANGLE */
  border-right-color: #00bb44;
  border-left: 0;
  /* POSITION TAIL AT LEFT OF BOX */
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

/* (C3) RIGHT */
.right.speech::after {
  /* RIGHT TRIANGLE */
  border-left-color: #00bb44;
  border-right: 0;
  /* POSITION TAIL AT RIGHT OF BOX */
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

/* (D) HALF TRIANGLE TAIL */
.half.speech::after {
  border-right-color: #00bb44;
  bottom: -20px;
  left: 80%;
}

/* (E) CIRCULAR SPEECH BUBBLE */
/* (E1) COMMON COLOR + MAKE ROUND */
.circular, .circular::before, .circular::after {
  background: #00bb44;
  border-radius: 50%;
}

/* (E2) "MAIN BUBBLE" */
.circular {
  /* FONT */
  font-family: arial, sans-serif;
  font-size: 1.1em;
  color: #fff;
  text-align: center;
  /* DIMENSIONS + BACKGROUND */
  padding: 30px 30px;
  max-width: 300px;
  position: relative;
}

/* (E3) POSITION "CALLOUT" BUBBLES */
.circular::before, .circular::after {
  content: '';
  position: absolute; 
}
.circular::before {
  width: 20px;
  padding: 20px;
  right: 10px;
  bottom: -30px;
}
.circular::after {
  width: 10px;
  padding: 10px;
  right: 0;
  bottom: -50px;
}


.speechRED {
  /* (A1) FONT */
  font-family: arial, sans-serif;
  font-size: 1.1em;
  color: #fff;
  /* (A2) DIMENSIONS + BACKGROUND */
  position: fixed;
  background: #cc4400;
  padding: 20px;
  border-radius: 10px;
  max-width: 320px;
}

.speechRED::after {
  position: absolute;
  content: '';
  border: 20px solid transparent;
}

.half.speechRED::after {
  border-right-color: #cc4400;
  bottom: -20px;
  left: 80%;
}

/* (X) DOES NOT MATTER - SPACERS */
.speech, .circular { margin: 50px 0 0 50px; }


