
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display&display=swap');

:root { font-size: 1rem; }
@media (min-width: 600px) { :root { font-size: 1.25rem; } }
@media (min-width: 900px) { :root { font-size: 1.25rem; } }
@media (min-width: 1200px) { :root { font-size: 1.25rem; } }
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100vw;
  min-height: 100vh;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;  
  background-image: url("../images/back.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.messages {
  overflow: auto;
  width: 100vw;
  max-height: 100vh;
  padding: 1rem .9rem;
}
.bubble {
  color:#ffffff;
  overflow: hidden;
  display: inline-block;
  margin: 0 0 1.25rem 0;
  padding: 1rem 1.25rem;
  line-height: 1.25rem;
  border-radius: 1.25rem;
  transform-origin: 0 100%;
  vertical-align: middle;
  transition: border-radius .25s ease-out .075s;
}
.bubble.left.cornered {
  border-bottom-left-radius: 0;
}
.bubble.left {
  background: rgba(100, 92, 92, 0.8);
}
.bubble:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -.5rem;
  width: .5rem;
  height: .5rem;
  background-image: url(../fonts/img-corner.svg);
  background-size: .5rem .5rem;
  background-position: .5rem 0;
  background-repeat: no-repeat;
  transition: background-position .15s ease-in;
}
.bubble.cornered:after {
  background-position: 0 0;
}
.bubble span {
  display: block;
}
.bubble span.message {
  opacity: 0;
}
.bubble a {
  color: rgb(197, 184, 0);
}
.bubble .loading {
  position: absolute;
  width: 2.25rem;
  font-size: 2rem;
  line-height: 1rem;
}
.bubble .loading b {
  display: inline-block;
  font-size: 1.5rem; /* Adjust the font size to decrease the size */
  color: rgba(253, 252, 252, 0.5);
  position: relative;
  top: 75%;
  transform: translateY(75%);
}
