body {
  font-family: 'Poppins', sans-serif;
}

.font-marcellus {
  font-family: 'Marcellus SC', serif;
}

.text-stroke {
  -webkit-text-stroke: 1px white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .text-stroke {
      -webkit-text-stroke: 0.5px white;
  }
  
  .h-screen {
      height: 90vh; 
  }
}


html {
  scroll-behavior: smooth;
}


.w-50 {
  width: 12.5rem;
}

.w-65 {
  width: 16.25rem;
}

.w-70 {
  width: 17.5rem;
}


.scale-101 {
  transform: scale(1.01);
}

.bg-white.rounded-lg {
  transition: all 0.2s ease-in-out;
}

.bg-blue-800 {
  background-color: #2A4E92;
}
.contact-button:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Typing indicator styles */
.typing-indicator {
    display: none;
    align-items: center;
    background-color: #f0f2f5;
    border-radius: 18px;
    padding: 6px 12px;
    margin: 8px 0;
    width: fit-content;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.typing-indicator.visible {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #93a7c1;
    margin: 0 2px;
    animation: typing-wave 1.3s ease-in-out infinite;
    will-change: transform;
}

.typing-indicator-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-indicator-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing-wave {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

/* Apply different styles for admin and student typing indicators */
.admin-chat.typing-indicator {
    margin-right: auto;
    margin-left: 16px; /* Indent from left edge */
    background-color: #e3effd;
    border-left: 3px solid #4a86e8;
}

.student-chat.typing-indicator {
    margin-left: auto;
    margin-right: 16px; /* Indent from right edge */
    background-color: #ebf5eb;
    border-right: 3px solid #34a853;
}

/* Add a name label to the typing indicator */
.typing-indicator span {
    font-size: 0.75rem;
    color: #555;
    margin-right: 6px;
    font-style: italic;
}