@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css");
@font-face {
  font-family: "MedievalSharp";
  src: url("../assets/fonts/MedievalSharp/MedievalSharp-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("../assets/fonts/OpenDyslexic/OpenDyslexic-Regular.woff2") format("woff2"), url("../assets/fonts/OpenDyslexic/OpenDyslexic-Regular.woff") format("woff"), url("../assets/fonts/OpenDyslexic/OpenDyslexic-Regular.otf") format("opentype"), url("../assets/fonts/OpenDyslexic/OpenDyslexic-Regular.eot");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus_Jakarta_Sans";
  src: url("../assets/fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "VujahdayScript-Regular.ttf";
  src: url("../assets/fonts/Vujahday_Script/VujahdayScript-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-primary: #ffffff;
  --color-border: #ffffff;
  --a11y-font-scale: 1;
}

html {
  scrollbar-gutter: stable;
  background: var(--color-bg);
  color: var(--color-text) !important;
  overflow-x: hidden;
  font-size: calc(16px * var(--a11y-font-scale));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body, button, input, select, textarea {
  font: inherit;
}

html.theme-light {
  --color-bg: #ffffff;
  --color-text: var(--color-text);
  --color-primary: #4f46e5;
  --color-border: rgba(0, 0, 0, 0.2);
}

html.theme-dark {
  --color-bg: #160029;
  --color-text: var(--color-text);
  --color-primary: #A155E3;
  --color-border: #1600294C;
}

html.a11y-underline-links a,
html.a11y-underline-links a:visited {
  text-decoration: underline !important;
}

html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font * {
  font-family: "OpenDyslexic", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
}

html.a11y-grayscale #mainContent {
  filter: grayscale(1);
}

html.a11y-contrast-high #mainContent {
  filter: contrast(1.5) saturate(1.2);
}

html.a11y-contrast-negative #mainContent {
  filter: invert(1) hue-rotate(180deg);
}

#textAreaSection {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 60%, rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(5px);
}
#textAreaSection.hidden {
  display: none;
}
#textAreaSection .textAreaContent {
  max-width: 1200px;
  width: 100%;
  padding: 56px;
  background: rgba(26, 26, 32, 0.95);
  backdrop-filter: blur(20px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: textAreaFadeIn 0.4s ease-out;
}
@keyframes textAreaFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#textAreaSection #textAreaTitle {
  margin: 0;
  font-family: "MedievalSharp", sans-serif;
  font-size: 3rem;
  color: #CFB16E;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
  letter-spacing: 1px;
}
#textAreaSection .textAreaPrompt {
  margin: 0 auto;
  opacity: 1;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  max-width: 95%;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
#textAreaSection .textAreaWrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#textAreaSection .userTextArea {
  width: 100%;
  min-height: 520px;
  padding: 34px;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s ease;
}
#textAreaSection .userTextArea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
#textAreaSection .userTextArea:focus {
  outline: none;
  border-color: #CFB16E;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 15px rgba(207, 177, 110, 0.2);
}
#textAreaSection .charCount {
  font-size: 0.95rem;
  opacity: 0.6;
  text-align: right;
  font-style: italic;
  margin-right: 4px;
}
#textAreaSection .textAreaActions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}
#textAreaSection .textAreaActions button {
  flex: 0 1 260px;
  min-width: 160px;
  justify-content: center;
  align-items: center;
  height: 60px;
  font-size: 1.2rem;
}
#textAreaSection .textAreaActions #textAreaSubmitBtn {
  display: flex;
  padding: 16px 32px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  border: 1px solid hsla(33, 59%, 22%, 0.4);
  background: radial-gradient(50% 50% at 50% 50%, #E3D092 0%, #CFB16E 100%);
  color: #1f1409;
  border-radius: 10px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
  font-family: "MedievalSharp", sans-serif;
}
#textAreaSection .textAreaActions #textAreaSubmitBtn:hover {
  border-color: hsla(33, 59%, 22%, 0.6);
  filter: brightness(1.08);
}
#textAreaSection .textAreaActions #textAreaSubmitBtn:active {
  transform: translateY(1px);
}
#textAreaSection .textAreaActions #textAreaSubmitBtn:disabled, #textAreaSection .textAreaActions #textAreaSubmitBtn[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
}
#textAreaSection .textAreaActions #textAreaClearBtn {
  display: flex;
  padding: 16px 32px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  border: 1px solid hsla(33, 59%, 22%, 0.4);
  background: radial-gradient(50% 50% at 50% 50%, #E3D092 0%, #CFB16E 100%);
  color: #1f1409;
  border-radius: 10px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
  font-family: "MedievalSharp", sans-serif;
}
#textAreaSection .textAreaActions #textAreaClearBtn:hover {
  border-color: hsla(33, 59%, 22%, 0.6);
  filter: brightness(1.08);
}
#textAreaSection .textAreaActions #textAreaClearBtn:active {
  transform: translateY(1px);
}
#textAreaSection .textAreaActions #textAreaClearBtn:disabled, #textAreaSection .textAreaActions #textAreaClearBtn[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
}
#textAreaSection .textAreaActions #textAreaClearBtn {
  filter: sepia(0.5) brightness(0.8) contrast(1.2);
}
#textAreaSection .textAreaActions #textAreaClearBtn:hover {
  filter: sepia(0) brightness(1);
}
#textAreaSection .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*# sourceMappingURL=textAreaSection.css.map */
