/* html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
 */
body {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

html, body {
    background-image: url("../img/background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* static/css/index.css */
.group:hover .group-hover\:block {
    display: block;
}

/* Animation pour le menu déroulant */
.relative .hidden {
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
    display: none;
}

.relative .hidden.block {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

/* static/css/index.css */
.group:hover .group-hover\:block {
    display: block;
}

/* Animation pour le menu déroulant */
.relative .hidden {
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
    display: none;
}

.relative .hidden.block {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

/* Styles pour le header */
.bg-\[\#0EA7A7\] {
    background-color: #0EA7A7;
}

.hover\:bg-\[\#0c8f8f\]:hover {
    background-color: #0c8f8f;
}

/* Dialogue de présentation MrKarfour (accueil) */
.mk-dialogue {
  backdrop-filter: blur(8px);
}

.mk-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  animation: mk-bubble-in 0.35s ease-out;
}

.mk-msg-mrk {
  justify-content: flex-start;
}

.mk-msg-user {
  justify-content: flex-end;
}

.mk-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.mk-avatar-user {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #0c6f6f;
  background: #FACC15;
}

.mk-bubble {
  max-width: 82%;
  padding: 0.7rem 0.9rem;
  border-radius: 1.05rem;
  font-size: 0.925rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.mk-bubble-mrk {
  background: #0EA7A7;
  color: #fff;
  border-bottom-left-radius: 0.3rem;
}

.mk-bubble-user {
  background: #fff7d6;
  color: #1f2937;
  border: 1px solid rgba(250, 204, 21, 0.55);
  border-bottom-right-radius: 0.3rem;
}

.mk-dialogue-link {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: #fff;
  color: #0c8f8f;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
}

.mk-dialogue-link:hover {
  background: #FACC15;
  color: #1f2937;
}

.mk-dots {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  height: 1rem;
}

.mk-dots span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  animation: mk-dot 1s ease-in-out infinite;
}

.mk-dots span:nth-child(2) { animation-delay: 0.15s; }
.mk-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes mk-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes mk-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mk-msg { animation: none; }
  .mk-dots span { animation: none; }
}


