@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0px;
    color: #2b1b12;
    background-color: #f4efe6;
}

h1, h2 {
    color: #3d2b1f;
    font-weight: 700;
}

.charlore-navbar { 
  background-color: #3d2b1f; 
} 
  
.charlore-navbar .navbar-brand { 
  font-weight: 700; 
  font-size: 1.25rem; 
} 
  
.charlore-navbar .nav-link { 
  font-weight: 600; 
} 
  
.charlore-navbar .nav-link:hover { 
  color: #e0a458 !important; 
} 

.hidden {
    color: transparent;
}

/* Container must be relative so the button aligns to it */
.image-container {
  position: relative;
  display: block;          /* Changed from inline-block to block */
  margin: 0px auto;       /* Adds space on top/bottom and centers it sideways */
  max-width: fit-content;  /* Ensures the container hugs the image size tightly */
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Button hidden and centered by default */
.glowingButton {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Prevents button from blocking the image click initially */
  
  /* Button Styling */
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #111;
  border: 2px solid #fe0000;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
}

/* Button hidden and centered by default */
.glowingButtonTwo {
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Prevents button from blocking the image click initially */
  
  /* Button Styling */
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #111;
  border: 2px solid #00fe00;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
}

/* Class added by JavaScript on click */
.image-container.active .glowingButton {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  animation: pulseGlow 1.5s infinite alternate;
}

/* Class added by JavaScript on click */
.image-container.active .glowingButtonTwo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  animation: pulseGlowTwo 1.5s infinite alternate;
}

/* Keyframes for the intense neon glow effect */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px #fe0000, 0 0 20px #fe0000, inset 0 0 5px #fe0000;
  }
  100% {
    box-shadow: 0 0 20px #fe4f4f, 0 0 40px #fe4f4f, inset 0 0 10px #fe4f4f;
    text-shadow: 0 0 5px #fff;
  }
}

/* Keyframes for the intense neon glow effect */
@keyframes pulseGlowTwo {
  0% {
    box-shadow: 0 0 10px #00fe00, 0 0 20px #00fe00, inset 0 0 5px #00fe00;
  }
  100% {
    box-shadow: 0 0 20px #5efe4f, 0 0 40px #5efe4f, inset 0 0 10px #5efe4f;
    text-shadow: 0 0 5px #fff;
  }
}

.messageBoardCard{
    border:#0e0d0d 1px solid;
    width: 400px;
}

.buttonStyle {
    background-color: #ffd209;
    border: 1px solid #000000;
    border-radius: 8px;
    color: #000000;
}

.buttonStyleOther {
    background-color: #ff0000;
    border: 1px solid #000000;
    border-radius: 8px;
    color: #000000;
}

.messageBoardCard p {
    color:#442d1e;
}

.centered {
  text-align: center;
}