body {
    margin: 0;
    padding: 0;
    background-image: url('lady-fortune-teller/lady-fortune-teller1.jpg');
    background-size: cover; /* Cover the entire screen */
    background-position: top center; /* Align top of the image with the top of the screen */
    background-repeat: no-repeat; /* Prevent image from repeating */
    height: 100vh; /* Make body take full viewport height */
    transition: background-image 0.5s ease-in-out; /* Longer transition for smoothness */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; 
  -webkit-font-smoothing: antialiased; /* for Chrome and Safari */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 1rem;
  background-color: black;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the items horizontally */
  justify-content: center; /* Center the container vertically on the page */
  height: 100vh; /* Take full height of the viewport */
  gap: 20px; /* Space between the container and response_container */
}

.response_container {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 10px;
  margin-bottom: 50px;
  width: 550px;
}

input[type="text"] {
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 1.1em;
  font-weight: 400;
  padding: 0.25em 0.5em 0.3125em;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.1s;
  height: 50px;
  width: 90%; 
font-family: Lora, serif;
padding: 0 20px;
}

input[type="text"]:focus, input[type="text"].keyup {
  outline: none;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 0 0.125em white;
  box-shadow: 0 0 0.25em white, inset 0 0 0.25em white;
}

#ask {
  --button-background: oklch(20% 0.0666 var(--hue));
  --text-base: oklch(45% 0.175 var(--hue));
  --text-hover: oklch(95% 0.145 calc(var(--hue) + 30));
  color: #fff;
  font-weight: 400;
  font-family: Lora, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.85em;
  max-width: 100%;
  width: 12em; /* Adjust the width as needed */
  background-color: var(--button-background);
  border: 5px solid var(--text-base);
  border-radius: 2em;
  cursor: pointer;
  position: relative;
  transition: 0.25s ease-out;
}

#ask:hover, #ask:focus {
  color: #FFD700;
  border-color: transparent;
  box-shadow: inset 0 1.4em 0 oklch(var(--shadow-inner) / 0.1), inset 0 0 1.4em oklch(var(--shadow-inner) / 0.32), 0 1px 1px oklch(var(--shadow-inner) / 0.32);
}

/* Container Styles */
.donate_reset_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5em;
}

/* Reset button (copied from your #ask button styles) */
#reset {
  --button-background: oklch(20% 0.0666 var(--hue));
  --text-base: oklch(45% 0.175 var(--hue));
  --text-hover: oklch(95% 0.145 calc(var(--hue) + 30));
  color: #fff;
  font-weight: 400;
  font-family: Lora, serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.85em;
  max-width: 100%;
  width: 12em;
  background-color: var(--button-background);
  border: 5px solid var(--text-base);
  border-radius: 2em;
  cursor: pointer;
  transition: 0.25s ease-out;
}

#reset:hover {
  background-color: var(--text-base);
  border-color: var(--text-hover);
  transform: scale(1.05);
}

/* Whimsical Donate button */
#donate {
  background: linear-gradient(135deg, #ff8fd8, #50c9c3);
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  border: none;
  border-radius: 3em;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#donate::before {
  content: "✨";
  position: absolute;
  top: 50%;
  left: -1.5em;
  transform: translateY(-50%);
  font-size: 1.5em;
  opacity: 0;
  transition: all 0.4s ease;
}

#donate:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

#donate:hover::before {
  left: 1em;
  opacity: 1;
}

/* Optional whimsical button animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

#donate:hover {
  animation: bounce 0.7s infinite ease-in-out;
}



button {
  --button-background: oklch(20% 0.0666 var(--hue));
  --text-base: oklch(45% 0.175 var(--hue));
  --text-hover: oklch(95% 0.145 calc(var(--hue) + 30));
  color: var(--text-base);
  font: 700 1.125rem/1.2 Raleway, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.85em;
  max-width: 100%;
  width: 12em;
  background-color: var(--button-background);
  border: 5px solid var(--text-base);
  border-radius: 2em;
  cursor: pointer;
  position: relative;
  transition: 0.25s ease-out;
}

button:hover, button:focus {
  color: var(--text-hover);
  border-color: transparent;
  box-shadow: inset 0 1.4em 0 oklch(var(--shadow-inner) / 0.1), inset 0 0 1.4em oklch(var(--shadow-inner) / 0.32), 0 1px 1px oklch(var(--shadow-inner) / 0.32);
}
span:focus,
input:focus {
  outline: none;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.75);
}
span.keyup,
input.keyup {
  color: white;
  border-color: white;
  text-shadow: 0 0 0.125em white;
  box-shadow: 0 0 0.25em white, inset 0 0 0.25em white;
}

canvas {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
}


::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 0.125em transparent;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

input:focus::-webkit-input-placeholder {
  opacity: 0.5;
}

::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 0.125em transparent;
  -moz-transition: all 0.25s;
  transition: all 0.25s;
}

input:focus::-moz-placeholder {
  opacity: 0.5;
}

:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 0.125em transparent;
  -ms-transition: all 0.25s;
  transition: all 0.25s;
}

input:focus:-ms-input-placeholder {
  opacity: 0.5;
}

.fadeout {
  color: #ffffff !important;
  font-size: large;
  font-family: Lora, serif;
  text-align: center;
  margin: 20px 25px;
  opacity: 0;
    -webkit-animation: fadeout 5s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadeout 5s; /* Firefox < 16 */
        -ms-animation: fadeout 5s; /* Internet Explorer */
         -o-animation: fadeout 5s; /* Opera < 12.1 */
            animation: fadeout 5s;
}

@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

p {
    margin: 0em 5em 4em 5em;
    text-align: center;
    font-size: 20px;
    padding-top: 50px;
  }
  
  h1, p {
    text-align: left;
    line-height: 1.5;
    font-family: Lora, serif;
  }
  
  .container {
    display: flex;
    align-items: center; 
    justify-content: center; 
    height: 80%; 
  }
  
  .glowIn {
    color: white;
    max-width: 450px;
    margin-left: 20px;
    margin-right: 20px;
    width: 100%; /* Take full width but respect max-width */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.0);
    padding: 30px;
    border-radius: 20px;
    margin-top: 0;
    margin-bottom: 10px;
  }
  .glowIn span {
    animation: glow-in 0.8s both;
  }
  
  @keyframes glow-in {
    from {
      opacity: 0;
    }
    65% {
      opacity: 1;
      text-shadow: 0 0 25px white;
    }
    75% {
      opacity: 1;
    }
    to {
      opacity: 0.7;
    }
  }

  @media only screen and (max-width: 550px) {
    .response_container {
      width: 320px;
    }

  @media only screen and (max-width: 400px) {
    .response_container {
      width: 280px;
    }
  }
