@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
  font-family: 'made-gentle';
  src: url("/assets/made-gentle-bbdc40a9.woff2") format('woff2'), /* Modern browsers */
       url("/assets/made-gentle-7afbe758.woff") format('woff');   /* Older browsers */
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-primary: #9F3F87;
  --color-primary-dark: #782b65;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #FBF7EB;
  color: #252850;
}

table td {
  vertical-align: middle;
}

label,
.label,
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
  font-weight: 700;
  font-family: 'made-gentle', sans-serif;
  letter-spacing: 0.75px;
}

.overscroll-none {
  overscroll-behavior: none;
  touch-action: none;
  overflow: hidden;
  user-select: none; /* Prevents text selection */
  -webkit-user-select: none; /* For Safari */
  -ms-user-select: none; /* For IE/Edge */
  -moz-user-select: none; /* For Firefox */
}

.text-fonted {
  font-weight: 400;
  font-family: 'made-gentle', sans-serif;
  letter-spacing: 0.75px;
}

.text-off-white {
  color: #F9EFD7;
}

.text-purple {
  color: rgb(114,40,112);
}

.text-primary {
  color: var(--color-primary)!important;
}

.text-jumbo {
  font-size: 4rem;
}

.text-xl {
  font-size: 3.5rem;
  letter-spacing: 2px;
  font-weight: 400;
}

.bg-tan {
  background-color: #FBF8EB;
}

.footer-logo::after {
  content: " ";
  display: block;
  width: 100%;
  height: 20px;
  background-color: #FBF8EB;
  margin-top: -20px;
}

.btn {
  border-radius: 500px;
  border-width: 2px;
  font-weight: 400;
}

.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-primary:hover {
  color: #fff;
  background: rgb(114,40,112);
  background: linear-gradient(90deg, rgba(114,40,112,1) 0%, rgba(60,56,133,1) 100%);
  border-color: var(--color-primary);
}

.btn-lg {
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.btn-primary {
  background: rgb(114,40,112);
  background: linear-gradient(90deg, rgba(114,40,112,1) 0%, rgba(60,56,133,1) 100%);
  border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.w-lg {
  max-width: 600px;
  overflow: hidden;
}

.w-md {
  max-width: 400px;
}

.scroll-text {
  max-width: 325px; /* Limits the text width */
  margin: 0 auto;   /* Centers the element horizontally */
  text-align: center; /* Ensures the text itself is centered */
  word-wrap: break-word; /* Ensures long words break properly */
  font-size: 2.5rem;
  letter-spacing: 1px;
  font-weight: 400;
  padding-right: 40px;
  font-family: 'made-gentle', sans-serif;
}

.field {
  margin-bottom: 1rem;
}

.min-h-100vh {
  min-height: 100vh;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 45%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.vertical-center-md {
  margin: 0;
  position: absolute;
  top: 25%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.vertical-center-sm {
  margin: 0;
  position: absolute;
  top: 20%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.vertical-center-sm-12 {
  margin: 0;
  position: absolute;
  top: 12%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.vertical-center-xs {
  margin: 0;
  position: absolute;
  top: 8%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

label,
.label {
  font-size: 24px;
}

textarea.form-control {
  padding: 23px;
  border-radius: 22px;
}

.form-control {
  font-size: 22px;
  padding: 12px;
  border-color: var(--color-primary);
  border-width: 2px;
  background-color: transparent;
  font-weight: inherit;
}

.input-group-underline .form-control {
  border: none;
  padding: 5px;
  padding-left: 10px!important;
  font-size: 16px;
}

.input-group-underline {
  border-bottom: 1px solid #666;
}

.input-group-underline .input-group-text {
  border: none;
  background-color: transparent;
  color: #666;
}

.form-control:disabled {
  background-color: transparent;
  color: #666;
}

.form-control-underline {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding: 10px;
  display: block;
  width: 100%;
  background-color: transparent;
}

.input-group .form-control {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  padding-left: 23px;
}

.line {
  stroke: #675E83;
  stroke-width: 2;
}

.line-orange {
  stroke: #ED7E6B;
  stroke-width: 2;
}

.circle {
  stroke: #675E83;
  stroke-width: 2;
}

.no-fill {
  fill: none;
}

svg text {
  user-select: none;
  pointer-events: none;
}

.svg {
  position: absolute;
  top: 15%;
  height: 400px;
  width: 400px;
  left: 50%;
  transform: translateX(-50%);
}

.static-body {
  height: 400px;
  width: 400px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping to new rows */
  gap: 0.25rem; /* Reduce the spacing between buttons */
  justify-content: flex-start; /* Align items to the left */
}

.flex-item {
  display: inline-block; /* Ensure each item respects its content width */
}

.draggable {
  padding: 0.15rem 0.3rem; /* Reduce padding */
  font-size: 0.875rem; /* Reduce font size */
  line-height: 1.25; /* Adjust line height for better vertical alignment */
  border-width: 1px; /* Optionally reduce the border width */
}

.btn-xs {
  padding: 0.25rem 0.5rem; /* Reduce padding */
  font-size: 0.875rem; /* Reduce font size */
  line-height: 1.25; /* Adjust line height for better vertical alignment */
  border-width: 1px; /* Optionally reduce the border width */
}

.fade-in {
  opacity: 0;
  animation: fadeInAnimation 2s ease-in forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-out {
  opacity: 0;
  animation: fadeOutAnimation 2s ease-in forwards;
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fade-text {
  opacity: 1; /* Default state */
}

.relationshapes-gif-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0); /* Optional semi-transparent background */
  z-index: 1000;
  display: flex; /* Flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  overflow: hidden; /* Prevent scrollbars if GIF overflows */
}

.relationshapes-gif {
  width: auto; /* Ensure the GIF retains its aspect ratio */
  height: auto; /* Ensure the GIF retains its aspect ratio */
  max-width: none; /* Remove restrictions on width */
  max-height: none; /* Remove restrictions on height */
  transform: scale(2); /* Scale to 200% of original size */
  transition: transform 0.3s ease-in-out; /* Smooth scaling effect */
}

.hidden {
  display: none; /* Keep hidden when not active */
}

.invisible {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.visible {
  display: flex;
  opacity: 1; /* Fully visible */
}

#swipe-block {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 500px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
}

#swipe-handle {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 66px;
    background: linear-gradient(135deg, #4527a0, #673ab7, #1a237e);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

#swipe-handle svg .line,
#swipe-handle svg .circle {
  stroke: white !important;
  stroke-width: 1 !important;
  width: 60px;
}

#swipe-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: black;
    line-height: 0.7;
    padding-top: 150px;
    font-family: "Afacad Flux", sans-serif;
    user-select: none;
}

#swipe-text span {
    display: block;
    user-select: none; /* Prevent text selection */
}

#hexagon-with-triangle {
    pointer-events: none; /* Prevent interaction */
}

#triangle-below {
    pointer-events: none; /* Prevent interaction */
}

.no-scroll-y {
  overflow-y: hidden;
}

.no-space {
  display: flex;
  flex-direction: column;
  gap: 0; /* Ensures no space between elements */
}


.center-container {
  margin: 0;
  position: absolute;
  top: 35%;
  left: 80%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center; /* Ensures horizontal centering */
}

.bottom-container {
  margin: 0;
  position: absolute;
  top: 25%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center; /* Ensures horizontal centering */
}

.top-container {
  margin: 0;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center; /* Ensures horizontal centering */
}

#play-button {
  height: 128px;
  width: 128px;
  cursor: pointer; /* Make it clear it's clickable */
}

.higher-offcanvas {
  height: 40vh !important; /* Make the drawer take 75% of the viewport height */
  max-height: 40vh !important; /* Ensure it doesn’t go higher than 75% */
}

.offcanvas-title {
  font-family: 'made-gentle';
  font-size: 1.25rem;
  text-align: center;
}

.form-check-label {
  font-size: 0.9rem; /* Smaller text */
}

.offcanvas-body {
  padding: 1rem 1.5rem;
  background: #FBF7EB;
}

.initial-form {
  margin-top: 20vh;
}

.mb-6 {
  margin-bottom: 6rem; /* Adjust this value as needed */
}

.mt-9 {
  margin-top: 8rem; /* Adjust this value as needed */
}

.mt-12 {
  margin-top: 12rem; /* Adjust this value as needed */
}

.mb-10 {
  margin-bottom: 10rem; /* Adjust this value as needed */
}

.mb-12 {
  margin-bottom: 12rem; /* Adjust this value as needed */
}

/* Free-floating, full-page centered overlay */
#svg-overlay {
  position: fixed; /* Removes any parent constraints */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(3.25); /* Scale down proportionally */
  pointer-events: none;
  z-index: -1; /* Ensures it stays behind other content */
  transform-origin: center; /* Keeps scaling centered */
  width: 100vw;
  height: 100vh;
  display: flex; /* Flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

/* Each SVG layer */
.svg-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.65);
}

.bg-hills {
  position: fixed;  /* Sticks to the bottom even on scroll */
  bottom: 0%;        /* Aligns at the very bottom */
  left: 50%;          /* Ensures it starts at the left edge */
  transform: translateX(-50%);
  height: 20%;     /* Maintains aspect ratio */
  z-index: -1;      /* Sends it behind content */
}

.bg-castle {
  position: fixed;  /* Sticks to the bottom even on scroll */
  bottom: 0;        /* Aligns at the very bottom */
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  height: 100%;     /* Maintains aspect ratio */
  max-height: 100vh;
  max-width: 100vw;
  z-index: -1;      /* Sends it behind content */
}

.bg-castle-scroll {
  position: fixed;  /* Sticks to the bottom even on scroll */
  bottom: 20%;        /* Aligns at the very bottom */
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  height: 100%;     /* Maintains aspect ratio */
  max-height: 100vh;
  max-width: 100vw;
}

#svg-top {
  position: fixed;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  max-height: 100vh;
  max-width: 100vw;
  cursor: grab;
  pointer-events: none; /* ensure dragging only applies to the top */
}

#svg-top {
  pointer-events: auto;
  z-index: 2;
}

.z-100 {
  z-index: 9000;
}

#svg-bottom {
  z-index: 1;
  clip-path: inset(0 0 65% 0); /* initially hidden */
  transition: clip-path 0.1s ease;
}


/* SVG images retain their original size */
.svg-image {
  display: block;
  max-width: none; /* Prevents unwanted scaling */
  max-height: none; /* Ensures it keeps its original dimensions */
}

.logo-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-title {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-secondary-text {
  position: fixed;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Ensures text stays centered */
  display: block; /* Allows <br> and <h1> to work properly */
  width: 100%; /* Ensures full width for centering */
}

.intro-center-text {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.shape-tesxt {
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Ensures text stays centered */
  display: block; /* Allows <br> and <h1> to work properly */
  width: 100%; /* Ensures full width for centering */
}

.shape-text {
  position: absolute;
  top: 15%;
  padding-top: 400px;
  height: 400px;
  width: 500px;
  left: 50%;
  transform: translateX(-50%);
}

.intro-bottom-text {
  position: fixed;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Ensures text stays centered */
  display: block; /* Allows <br> and <h1> to work properly */
  width: 100%; /* Ensures full width for centering */
}

.relationshapes-bottom-text {
  position: fixed;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Ensures text stays centered */
  display: block; /* Allows <br> and <h1> to work properly */
  width: 100%; /* Ensures full width for centering */
}

.opacity-1 {
  opacity: 0.2;
}

.opacity-2 {
  opacity: 0.8;
  z-index: 1;
}

@keyframes pulseEffect {
  0% {
    opacity: 0.1;
    filter: blur(2px);
  }
  50% {
    opacity: 0.15;
    filter: blur(0);
  }
  100% {
    opacity: 0.1;
    filter: blur(2px);
  }
}

@keyframes pulseEffect2 {
  0% {
    opacity: 0.05;
    filter: blur(2px);
  }
  50% {
    opacity: 0.1;
    filter: blur(0);
  }
  100% {
    opacity: 0.05;
    filter: blur(2px);
  }
}

.pulse {
  animation: pulseEffect 2s infinite ease-in-out;
}

.pulse-2 {
  animation: pulseEffect2 2s infinite ease-in-out;
}

/* Apply delays to each ring */
.ring1 { animation-delay: 0s; }
.ring2 { animation-delay: 0.2s; }
.ring3 { animation-delay: 0.4s; }
.ring4 { animation-delay: 0.6s; }
.ring5 { animation-delay: 0.8s; }
.ring6 { animation-delay: 1s; }
.ring7 { animation-delay: 0.1s; }
.ring8 { animation-delay: 0.3s; }
.ring9 { animation-delay: 0.6s; }
.ring10 { animation-delay: 0.8s; }
.ring11 { animation-delay: 0.1s; }
.ring12 { animation-delay: 1.2s; }

.center-image {
  width: 400px;
}

.head-pulse {
  margin-top: -270px;
  margin-left: 25px;
}

.brain-pulse {
  height: 325px;
  width: 325px; /* Scale down proportionally */
  margin-top: -50px;
  margin-left: -15px;
}

.left-head-pulse {
  height: 200px;
  width: 200px;
  margin-left: -80px;
  margin-top: -150px;
}

.right-head-pulse {
  height: 200px;
  width: 200px;
  margin-left: 135px;
  margin-top: -70px;
}

.small-pulse {
  height: 60px;
  width: 60px;
  margin-top: -308px;
  margin-left: 1px;
}

.medium-pulse {
  height: 125px;
  width: 125px;
  margin-top: -135px;
  margin-left: 0px;
}

.chest-pulse {
  height: 100px;
  width: 100px;
  margin-top: -225px;
}

@keyframes transformSvg {
  to {
    transform: translateY(100px) translateX(-25px) scale(2);
  }
}

#moving-pulse {
  transition: transform 4s ease-in-out;
  animation: transformSvg 4s ease-in-out 5s forwards;
}

.hoverable {
  stroke-width: 12px;
  stroke: transparent;
  pointer-events: visiblePainted;
  transition: stroke 0.2s ease-in-out;
}

.hoverable:hover {
  stroke: #cae1ff;
}

.marker {
  fill: rgb(237,126,107);
  stroke: black;
  stroke-width: 2px;
}

.head-sensations {
  margin-top: -120px;
  margin-left: 10px;
}

@keyframes transformSensationSvg {
  to {
    transform: translateX(-200px) scale(0.4);
    filter: blur(10px);
  }
}

#head-sensations {
  transition: transform 2s ease-in-out;
  animation: transformSensationSvg 15s ease-in-out 1s forwards;
}

@keyframes heartPulseEffect {
  0% {
    opacity: 0.1;
    filter: blur(2px);
  }
  50% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 0.1;
    filter: blur(2px);
  }
}

.heart-pulse {
  animation: heartPulseEffect 3s infinite ease-in-out;
}

/* Apply delays to each ring */
.heart1 { animation-delay: 0.1s; }
.heart2 { animation-delay: 0.2s; }
.heart3 { animation-delay: 0.3s; }
.heart4 { animation-delay: 0.5s; }
.heart5 { animation-delay: 0.7s; }
.heart6 { animation-delay: 0.8s; }
.heart7 { animation-delay: 1s; }
.heart8 { animation-delay: 1.2s; }
.heart9 { animation-delay: 1.4s; }

.heart-array {
  height: 250px;
  width: 250px;
  margin-top: -40px;
  margin-left: 105px;
}

.heart-fractal {
  height: 340px;
  width: 340px;
  margin-top: -50px;
  margin-left: 0px;
}

.heart-fractal-smaller {
  height: 100px;
  width: 100px;
  margin-left: 0px;
  margin-top: -230px;
}

.heart-pulse-small {
  height: 160px;
  width: 160px;
  margin-left: 0px;
  margin-top: -260px;
}

.body-warmth {
  transform: scale(1.4);
  margin-left: -170px;
  margin-top: -148px;
}

.large-body {
  transform: scale(3.75); /* Scale down proportionally */
  margin-left: -250px;
}

.body-warmth.large-body-warmth {
  transform: scale(3.75); /* Scale down proportionally */
  margin-top: 220px;
  margin-left: -175px;
}

.stomache-pulse {
  height: 300px;
  width: 300px;
  margin-top: -55px;
  margin-left: -55px;
}

.xlarge-body {
  transform: scale(4.25);
  margin-left: -250px;
}

.body-warmth.xlarge-body-warmth {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(0%, 80%) scale(4);
}

.xlarge-stomache-pulse {
  height: 600px;
  width: 600px;
  margin-top: -225px;
  margin-left: -75px;
}

textarea.innerstance-form-control {
  padding: 23px;
  border-radius: 22px !important;
}

.form-control.innerstance-form-control {
  max-height: 30vh;
  height: 300px;
  background-color: rgb(249, 239, 215);
  /* font-weight: 600; */
}

.stuck-btn {
  background: #F9EFD7;
  color: rgb(114,40,112);
  max-width: 180px;
  font-size: 2em;
}

.head-btn {
  background: #F9EFD7;
  color: rgb(114,40,112);
  max-width: 180px;
  font-size: 1em;
  height: 45px;
}

.heart-btn {
  background: #F9EFD7;
  color: rgb(114,40,112);
  width: 120px;
  font-size: 1em;
  height: 45px;
}

.svg-logo {
  height: 200px;
  margin-top: 75px;
}

.svg-logo-lg {
  height: 400px;
}

.svg-icon {
  height: 50px;
}

.intro-svg {
  margin-top: -30%;
}

.participant-input {
  background-color: transparent;
  border-color: var(--color-primary);
  border-width: 2px;
  border-radius: 5px;
}

.clickable-body {
  height: 60vh;
}

.scrollable-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 325px;
  max-width: 476px;
  width: 100%;
  overflow-y: auto;
  padding: 1rem;
}

.scrollable-container.scrollable-container-lg {
  max-height: 425px;
}

.mustard {
  background: #E7D299;
  padding: 0px;
  border-radius: 0.3em;
  font-size: 1.3em;
}

.input-small {
  height: 40px;
}

.gif-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0); /* Optional semi-transparent background */
  z-index: 1000;
  display: flex; /* Flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  overflow: hidden; /* Prevent scrollbars if GIF overflows */
}

.gif {
  transform: scale(1.15); /* Scale to 200% of original size */
  transition: transform 0.3s ease-in-out; /* Smooth scaling effect */
}

.stressor-text {
  position: fixed;
  text-align: center;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  overflow-y: auto;
  padding: 1rem;
  display: none;
}

#audio-pulse {
  cursor: pointer;
  display: none;
}

#audio-pulse.pulsing {
  animation: audio-pulse-animation 2s infinite;
  transform-origin: center;
}

@keyframes audio-pulse-animation {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1);   opacity: 1; }
}

#audio-pulse i {
  color: #7e3b86;
  font-size: 36px;
}

.medium-fade {
  animation: mediumFade 3s ease-in-out 10s forwards;
}

.long-fade {
  animation: longFade 3s ease-in-out 19s forwards;
}

@keyframes mediumFade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes longFade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.custom-validation-bubble {
  position: absolute;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  white-space: nowrap;
  z-index: 10;
  margin-top: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

