.mysterious-bg {
    background: linear-gradient(to right, rgba(0,0,0,0.5), #2d161688), url('images/mains.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sga-h-screen {
    height: calc(100.1dvh);
}

/* Hide scrollbar */
html {
    scrollbar-width: none;  /* no scrollbar but scrollable */
    scroll-behavior: auto;
    scroll-margin: 0;
}
html::-webkit-scrollbar {
    display: none;
}



.dark-bg {
    background-color: rgb(12, 1, 8)
}

.mysterious-bg * {
    --tw-ring-color: rgb(146 112 71);
}

.scrollbar-w-2::-webkit-scrollbar {
    width: 0.25rem;
    height: 0.25rem;
}

.scrollbar-track-blue-lighter::-webkit-scrollbar-track {
    --bg-opacity: 0.2;
    background-color: rgba(256, 256, 256, var(--bg-opacity));
}

.scrollbar-thumb-blue::-webkit-scrollbar-thumb {
    --bg-opacity: 1;
    background-color: rgba(256, 256, 256, var(--bg-opacity));
}

.scrollbar-thumb-rounded::-webkit-scrollbar-thumb {
    border-radius: 0.25rem;
}

.messages {
    scroll-behavior: smooth;
}

.message > div > img {
/*    height: 12vh; */
    filter: invert(0.8) drop-shadow(0 0 0.5rem white);
}

.message p:not(:last-child) {
    margin-bottom: 0.5em;
}

.intendee > img {
    filter: invert(0.8) drop-shadow(0 0 0.5rem white);
}


/* --- typing animation --- */
.typing {
    width: 5em;
    height: 2em;
    position: relative;
    padding: 0.7em;
    margin-left: 50px;
    border-radius: 20px;
    line-height: 13px;
}
  
.typing .typing__dot {
    float: left;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: #332211;
    border-radius: 50%;
    opacity: 0;
    animation: loadingFade 2s infinite;
}
  
.typing .typing__dot:nth-child(1) {
    animation-delay: 0s;
}
  
.typing .typing__dot:nth-child(2) {
    animation-delay: 0.4s;
}
  
.typing .typing__dot:nth-child(3) {
    animation-delay: 0.8s;
}
  
@keyframes loadingFade {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0.8;
    }
    100% {
      opacity: 0;
    }
}

