:root {
    --color-background: #313244;
    --color-background-header: #45475a;
    --color-text: #cdd6f4;
    --color-accent: #cba6f7;
    --color-link: #89dceb;
    --color-link-hover: #f5e0dc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--color-background);
    color: var(--color-text);
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    min-width: 100vw;
    min-height: 100vh;
}

.room {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 200px 0;
}

.room .person {
    flex-grow: 1;
    position: relative;
    min-width: 200px;
    text-align: center;
}

.loud .emoji {
    font-size: 100px;
}

.room .person .speech {
    display: block;
    position: absolute;
    background: var(--color-accent);
    top: -120px;
    left: 20px;
    text-align: center;
    padding: 1rem;
    font-weight: 400;
    font-style: normal;
    border-radius: 500rem;
    color: var(--color-background);
    font-family: sans-serif;
    font-size: 1rem;
}

.room .person .speech:after {
    z-index: -1;
    content: "";
    position: absolute;
    
    background: transparent;
    height: 4rem;
    width: 3rem;
    right: 1rem;
    bottom: -3rem;
    border-right: 2rem solid var(--color-accent);
    border-radius: 0 0 100rem 0;
    transform: rotate(-50deg);
  }

  footer {
    color: var(--color-text);
    font-size: 1rem;
    inset: auto 0px 0px;
    padding: 1rem 1.5rem;
    position: fixed;
    text-align: center;
    width: 100%;
    font-family: sans-serif;
}

a {
    color: var(--color-link);
}

a:hover {
    color: var(--color-link-hover);
}

.hidden .person {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: center;
}

.hidden .person .emoji {
    font-size: xx-small;
}

.hidden .person .speech {
    width: 80ch;
    display: block;
    position: absolute;
    background: var(--color-background-header);
    color: var(--color-text);
    top: -200px;
    right: 0;
    text-align: left;
    padding: 1rem;
    font-weight: 400;
    font-style: normal;
    border-radius: 1rem;
    font-family: sans-serif;
    font-size: xx-small;
}

.hidden .person .speech:after {
    z-index: -1;
    content: "";
    position: absolute;
    
    background: transparent;
    height: 4rem;
    width: 2rem;
    right: 1rem;
    bottom: -3rem;
    border-left: 2rem solid var(--color-background-header);
    border-right: 0;
    border-radius: 0 0 0 100rem;
    transform: rotate(-20deg);
  }

  .hidden p {
    padding-bottom: 0.6rem;;
  }