:root{
    --pseudo-visibility: hidden;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    background: #ffffff;
    font-family: Helvetica Neue, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
  }
  
  h1 {
    text-align: center;
  }
  
  .joke {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    padding: 1em;
    /* border: 1px solid red; */
  }
  
  button {
    background: #ffffff;
    border: 1px solid #8e8e93;
    border-radius: 50px;
    color: #8e8e93;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px auto;
    padding: 7.5px 10px;
    width: 35%;
  }
  
  button:hover,
  button:focus {
    background: #8e8e93;
    color: #ffffff;
    transition: background 0.5s ease-in-out;
  }
  
  .hidden {
    display: none;
  }
  
  .bubble {
    border-radius: 20px;
    color: #ffffff;
    display: inline-block;
    margin: 10px;
    padding: 15px;
    position: relative;
    max-width: 80%;
  }
  
  #setup {
    background: #30d158;
    text-align: left;
    margin-left: 5px;
    align-self: flex-start;
  }
  
  #setup::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: -10px;
    width: 10px;
    height: 20px;
    background: #ffffff;
    border-bottom-right-radius: 100px;
  }
  
  #setup::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: -10px;
    height: 20px;
    width: 20px;
    background: #30d158;
    border-bottom-right-radius: 10px;
  }
  
  #punchline {
    background: #0a84ff;
    text-align: right;
    margin-right: 5px;
    align-self: flex-end;
  }
  
  #punchline::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: -10px;
    width: 10px;
    height: 20px;
    background: #ffffff;
    border-bottom-left-radius: 100px;
  }
  
  #punchline::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    right: -10px;
    height: 20px;
    width: 20px;
    background: #0a84ff;
    border-bottom-left-radius: 10px;
    visibility: var(--pseudo-visibility);
  }