:root {
  --primary: #2395f6;
  font-size: 1em;
  font-family: "josalabook";
}

@font-face {
  font-family: "josalabook";
  src:
    url("JosalaBook.woff2") format("woff2"),
    url("JosalaBook.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.speech-bubble{
    line-height: 1.8;
    position: relative;
    border-radius: 0.8em;
    padding: 8px 8px;
    margin-bottom: 10px;
}

.speech-bubble.speech-bubble-customer {
    background: #ebebeb;
    margin-left: 10px;
}

.speech-bubble-customer:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 13px solid transparent;
    border-right-color: #ebebeb;
    border-left: 0;
    border-top: 0;
    margin-top: -6.5px;
    margin-left: -13px;
}

.speech-bubble.speech-bubble-bot {
    background: #2395f6;
    color: white;
    margin-right: 10px;
    
}

.speech-bubble-bot:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 13px solid transparent;
    border-left-color: #2395f6;
    border-right: 0;
    border-top: 0;
    margin-top: -6.5px;
    margin-right: -13px;
}

.speech-bubble-bot::selection {
    background-color: #33F;
}

.logo-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 320px;
    padding: 10px;
    margin: 20px;
}

.chat-history {
    background-color: #fafafa;
    padding: 10px;
    overflow-x: scroll;
    height: 50vh;
    border-radius: 1em;
}

.button {
    background-color: #2395f6;
    color: white;
    border-color: #2395f6;
    border-radius: 2.5em;
    box-shadow: none;
}

.textbox {
    border-color: #2395f6;
    box-shadow: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-content: center;
    color: #2395f6;
}

a.footer-links {
    margin-left: 0.5em;
    margin-right: 0.5em;
    text-decoration: none;
}

a.footer-links:hover {
    color: #2395f6;
}

/* https://codepen.io/danielmorosan/pen/XmYBVx */
/*Huge thanks to @tobiasahlin at http://tobiasahlin.com/spinkit/ */
.spinner {
    text-align: center;
  }
  
  .spinner > div {
    width: 18px;
    height: 18px;
    background-color: white;
    margin-top: 10px;
  
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  }
  
  .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
  }
  
  .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
  }
  
  @-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
  }
  
  @keyframes sk-bouncedelay {
    0%, 80%, 100% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 40% { 
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
    }
  }
