@import 'scrollable.css';
@import 'animations.css';

:root {
  --primary-color: #522546;
  --primary-color-8: #522546b5;
  --primary-color-6: #52254677;
  --primary-color-4: #52254641;
  --primary-hover: #180e1f;
  --primary-selected: #E23E57;
  --background-color: #311D3F;
  --text-color: #88304E;
  --blank-text-color: #fff;
  --border-color: #522546;
  --dark-border-color: #271221;
  --box-shadow-color: #141111;
  --disabled-color: grey;
  --default-font-size: 16px;

  --text-helper-tint: #72abab;
  --text-helper-color: #F4A261;

  /*Splits for questionnaire. Doesn't exactly add up to 100
    because the buttons are bonkers and the questionnaire div's size was reduced by a bit*/
  --header-split: 7vh;
  --footer-split: 3vh;
  --main-body-split: 94vh;
  --main-logo-split: 5vh;
  --main-helper-split: 8vh;
  /* --questionnaire-div-split: "70vh"; */
  --questionnaire-div-split: 65vh;
  --buttons-split: 10vh;
}

@font-face {
  font-family: "Edwardian Script";
  src: url("fonts/edwardianscriptitc.ttf");
}

.hide-away{
  display: none;
  pointer-events: none;
  height: 0px;
  width: 0px;
}

.main-title{
  justify-content: center;
  text-align:center;
  width: 90vw;
}

.main-logo{
  /* height:var(--main-logo-split); */
  font-family: "Edwardian Script";
  font-size: 2em;
  margin: 0px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  text-align: center;
}

.mainBody {
  height: var(--main-body-split);
  overflow-x:hidden;
  overflow-y:scroll;
}

body {
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  overflow:hidden;
  align-items: center;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  font-size: 16px;
  overflow-wrap: normal;
}

button {
  padding: 10px 35px;
  font-size: 20px;
  border: none;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-inline: 15px;
}

button:disabled{
  color: white;
  background-color: var(--disabled-color);
}

.button-shadow{
  color: var(--box-shadow-color);
  box-shadow: 0px 8px 5px -2px;
}

.button-shadow *{
  color:white;
  padding:0px;
}

.header {
  width: 90vw;
  height: var(--header-split);
  bottom: 0px; 
  left: 0px; 
  opacity: 100%;
  color:white;
  display: flex;
  flex-direction: row;
}

.header p {
  padding:2px;
  margin:0;
}

.header i {
  padding:2px;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 4px;
  height: 4px;
  animation: spin 2s linear infinite;
}

h1 {
  padding:5px;
  /* margin:0; */
}

.footer {
  padding: 10px;
  position: fixed;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 0;
  display: flex;
  justify-content: space-evenly;
}

.some-margin{
  margin-top: 20px;
  margin-bottom: 20px;
}

.no-margin{
  margin:0px;
}

.defaut-border-color {
  border-color: var(--primary-color) !important; /* Add border */
}

.smaller-buttons {
  font-size: 1em;
  padding: 12px;
  margin: 20px;
}

.some-padding-top{
  padding-top: .7em;
}

.double-padding-bottom{
  padding-bottom: 2em;
}

p {
  padding: 7px 7px;
  margin: 0px;
  white-space: pre-line;
  color: white;
}

button:hover {
  background-color: #580078;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
} 

.searchInput {
  background-color: var(--background-color); /* Black background */
  color: #fff; /* White text for high contrast */
  border: 1px solid var(--border-color);; /* Subtle border to define the input field */
  border-radius: 5px; /* Rounded corners for a modern look */
  padding: 10px; /* Inner spacing for comfortable text input */
  font-size: 18px; /* Readable font size */
  outline: none; /* Removes default outline on focus */
  caret-color: #fff; /* Ensures the cursor matches the text color */
  margin-top:5px;
}

.no-underline{
  text-decoration: none;
}

.underline-on-hover:hover{
  text-decoration: underline;
}

.initially-hidden{
  display: none;
}

.spacing{
  margin:50px;
}

.some-spacing{
  height:3vh;
}

.some-spacing-plus{
  height:6vh;
}

.scrollable-expandable-div{
  height:100%;
  overflow:scroll;
}

.spacing-underneath{
  margin-bottom:10px;
}

a {
  -webkit-appearance: none;
  text-decoration: underline; /* Ensures it looks like a link */
  color: rgb(51, 51, 255) !important; /* Forces blue links */
}

.center-items{
  display:flex;
  align-items:center;
  justify-content: center;;
}
