@font-face {
  font-family: "Bergen Text";
  src: url("/static/fonts/BergenText-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bergen Text";
  src: url("/static/fonts/BergenText-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Bergen Text";
  src: url("/static/fonts/BergenText-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Bergen Text";
  src: url("/static/fonts/BergenText-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Bergen Text";
  src: url("/static/fonts/BergenText-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Bergen Text";
  src: url("/static/fonts/BergenText-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Medium-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Book.woff") format("woff");
  font-weight: book;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Book-Italic.woff") format("woff");
  font-weight: book;
  font-style: italic;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Bold-Italic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Light.woff") format("woff");
  font-weight: light;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("/static/fonts/Futura-Light-Italic.woff") format("woff");
  font-weight: light;
  font-style: italic;
}

@font-face {
  font-family: "Bergen Mono";
  src: url("/static/fonts/BergenMono-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bergen Mono";
  src: url("/static/fonts/BergenMono-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Bergen Mono";
  src: url("/static/fonts/BergenMono-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Bergen Mono";
  src: url("/static/fonts/BergenMono-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Bergen Mono";
  src: url("/static/fonts/BergenMono-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Bergen Mono";
  src: url("/static/fonts/BergenMono-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Space Mono";
  src: url("/static/fonts/SpaceMono-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cutive Mono";
  src: url("/static/fonts/CutiveMono-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Courier Prime";
  src: url("/static/fonts/CourierPrime-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Main CSS: */
:root {
  --background-colour: #ffead6; /* Define a root variable for the background color */
  --fixed-colour: #925d8c; /* Define a root variable for primary color */
  --editable-colour: #61a451; /* Define a root variable for secondary color */
  --fixed-highlight-colour: #7d4f77; /* Define a root variable for primary highlight color */
  --editable-highlight-colour: #5b8950; /* Define a root variable for secondary highlight color */
  --nav-colour: #e1c5a9; /* Define a root variable for the navigation color */
  --nav-dark-colour: #ffead6; /* previously c0a386 */
  --nav-highlight-colour: #aa8a6d; /* Define a root variable for the navigation highlight color */
  --nav-button-colour: #ad80a8; /* Define a root variable for the navigation button color */
  --nav-button-highlight-colour: #925d8c; /* Define a root variable for the navigation button highlight color */
  --fableBitHeight: 200px; /* Define a root variable for the height of fable bits */
  --fableBitWidth: 70%; /* Define a root variable for the width of fable bits */
  --frameBorder: 10px; /* Define a root variable for the width of the frame border */
  --navButtonSize: 40px; /* Define a root variable for the size of the navigation buttons */
  --fableBorderSize: 2px; /* Define a root variable for the border size of fable bits */
  --likeButtonSize: 40px; /* Define a root variable for the size of the like button */
  --fableContainerWidth: 750px; /* Define a root variable for the width of the fable container */
}

@media (min-width: 1600px) {
  :root {
    --fableContainerWidth: 1000px; /* Define a root variable for the width of the fable container */
    --fableBitHeight: 200px; /* Define a root variable for the height of fable bits */
  }

  #createBitContainer {
    max-width: 1200px;
    max-height: 800px;
  }

  .fableBit {
    font: 15pt "Bergen Mono";
  }

  .fableBitText {
    padding: 0px 10px;
    box-sizing: border-box;
  }

  .pHome {
    font-size: 25pt;
  }
  #panel {
    margin-right: 10% !important;
    margin-top: 10% !important;
  }
  .whiteButton {
    font-size: 20pt !important;
  }
}

@media (max-width: 768px) {
  :root {
    --fableBitHeight: 130px; /* Define a root variable for the height of fable bits */
  }

  #createBitContainer {
    max-width: 600px;
  }

  .fableBit {
    font: 10pt "Bergen Mono";
  }

  .pHome {
    font-size: 17pt;
  }
}

body,
html {
  height: 100%;
  margin: 0;
}

/* Header styling: */
header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* padding: 10px 20px; */
  width: 100%;
  z-index: 1000;
  height: 100px;
  background: var(--background-colour);
}

#container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--background-colour);
}

#content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.navButton {
  font-family: "Futura";
  font-weight: 600;
  background-color: var(--nav-button-colour);
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 15px 30px;
  cursor: pointer;
  border-radius: 35px;
  margin: 20px 5px;
}

.navButton:hover {
  background-color: var(--nav-button-highlight-colour);
}

#logo {
  width: 350px;
}

.logoAbout {
  width: 20%;
  margin: 50px;
}

#leftGradient {
  position: absolute; /* Fix the header at the top */
  top: 0; /* Position it at the top */
  left: 0; /* Align it to the left */
  height: 100%; /* Make it span the full width of the screen */
  width: 10%;
  max-width: 50px;
  z-index: 900; /* Ensure it stays on top of other elements */
  background: linear-gradient(
    90deg,
    var(--background-colour) 1%,
    rgba(255, 224, 193, 0) 95%
  );
}

#rightGradient {
  position: absolute; /* Fix the header at the top */
  top: 0; /* Position it at the top */
  right: 0; /* Align it to the left */
  height: 100%; /* Make it span the full width of the screen */
  width: 10%;
  max-width: 50px;
  z-index: 900; /* Ensure it stays on top of other elements */
  background: linear-gradient(
    270deg,
    var(--background-colour) 1%,
    rgba(255, 224, 193, 0) 95%
  );
}

/* index page: */

.h1home {
  display: flex;
  color: black;
  font-family: Futura;
  font-size: 4vw;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 50px;
  line-break: strict;
  text-align: center;
  justify-content: center;
}

#homeContainer {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  text-align: center;
  width: 75%;
}

.enterButton {
  font-family: Futura;
  font-weight: 600;
  background-color: var(--fixed-colour);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 25px 50px;
  cursor: pointer;
  border-radius: 35px;
  /* margin: 5% 5%; */
  margin-top: 3%;
  margin-left: 5%;
  margin-right: 5%;
}

.pHome {
  font-size: 20pt;
  margin: 2%;
}

#homeMain {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow-y: scroll;
}

#homeAdmin {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow-y: auto;
}

#panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 250px;
  max-width: 400px;
  height: 100%;
  margin: 20px;
  box-sizing: border-box;
}

#panelTabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
}

.panelTab {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 14pt;
  font-family: "Futura";
  font-weight: 600;
  background-color: var(--nav-button-colour);
  color: rgb(233, 233, 233);
  cursor: pointer;
}

.panelTab:hover {
  background-color: var(--nav-button-highlight-colour);
}

#panelTabIns {
  border-radius: 8px 0px 0px 8px;
}

#panelTabMap {
  border-radius: 0px 8px 8px 0px;
}

#panelTabIns.selected,
#panelTabMap.selected {
  background-color: var(--nav-button-highlight-colour);
  color: white;
}

#instructionsContainer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  /* height: 100%; */
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  /* background-color: rgba(255, 255, 255, 0.467); */
}

.instruction {
  display: flex;
  justify-content: center;
  color: white;
  background-color: var(--nav-button-colour);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.h4White {
  display: flex;
  color: #fff;
  font-family: Futura;
  font-size: 14pt;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  line-break: strict;
  text-align: left;
  margin-block-end: 0;
  margin-top: 0px;
  margin-bottom: 5px;
  width: 100%;
}

.pInstruction {
  display: flex;
  color: #fff;
  font-family: "Bergen Text";
  font-size: 12pt;
  text-align: left;
  margin: 0px;
  width: 100%;
}

#fableContainer {
  display: flex;
  flex-direction: column;
  max-width: var(--fableContainerWidth);
  width: 100%;
  height: 100%;
  position: relative;
  /* padding-top: 240px; */
  /* padding-top: 1100px; */
}

#fableContent {
  display: flex;
  position: relative;
  top: 0;
  left: 0%;
  max-width: var(--fableContainerWidth);
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  overflow-y: auto; /* Enable vertical scrolling */
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
  box-sizing: content-box;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  /* padding-top: 240px; */
  /* padding-top: 1100px; */
}

#fableContent::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.fableImageLevel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: calc((50%) - (var(--fableBitHeight) / 2));
  width: 100%;
}

.fableImageContainer {
  height: 100%;
  width: var(--fableBitWidth);
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: white; */
  padding: 10px;
  box-sizing: border-box;
  border: var(--fableBorderSize) solid var(--nav-dark-colour);
}

.fableImage {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.fablePrompt {
  width: 100%;
  text-align: center;
  margin: 10px 0px 0px 0px;
  font-size: 14pt;
  font-family: "futura";
  font-weight: 600;
}

.level {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  flex-shrink: 0;
  scroll-snap-align: center;
  flex-wrap: none;
  overflow: hidden;
  height: var(--fableBitHeight);
  width: 100%;
  scroll-snap-type: x mandatory;
  z-index: 1;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

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

.level.focused {
  overflow-x: scroll;
}

.fableBit {
  /* flex: 1; */
  flex-shrink: 0;
  font: 12pt "Bergen Mono";
  width: var(--fableBitWidth);
  height: var(--fableBitHeight);
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  border: var(--fableBorderSize) solid var(--nav-dark-colour);
  padding: 15px;
  margin: 0px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  box-sizing: border-box;
  background-color: white;
  pointer-events: all;
  /* cursor: pointer; */
}

.fableBitText {
  width: 100%;
}

#fableBitFrame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--fableBitWidth);
  max-width: var(--fableContainerWidth);
  height: var(--fableBitHeight);
  pointer-events: none; /* Ensure it doesn't interfere with scrolling */
  border: var(--frameBorder) solid var(--fixed-colour); /* Optional: for visibility */
  z-index: 100; /* Ensure it is above other elements */
  box-sizing: border-box;
}

.addButton {
  display: flex;
  background-color: var(--editable-colour);
  border: none;
  color: transparent;
  font-family: "Bergen Text";
  /* font-weight: 600; */
  font-size: 11pt;
  padding: 0px;
  margin: 0px;
  cursor: pointer;
  position: absolute;
  top: 100%;
  right: calc(0px - var(--frameBorder));
  transform: translateY(calc((var(--frameBorder) / 2) - 50%));
  z-index: 2;
  border-radius: 0 0 10px;
  height: 30px;
  width: 0;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  transition: width 0.5s ease, color 0.2s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.addButtonText {
  width: auto;
  flex-shrink: 0;
  text-align: center;
}

.addButton.show {
  width: calc(var(--frameBorder) + 50% + 2px); /* Full size width */
  color: white;
}

.addButton:hover {
  background-color: var(--editable-highlight-colour);
  cursor: pointer;
}

#createBitBackButton {
  /* margin-bottom: 50px; */
  background-color: var(--fixed-colour);
  color: white;
}

.invisible {
  opacity: 0;
}

#fableBitInfo {
  font: 11pt "Futura";
  display: flex;
  background-color: var(--fixed-colour);
  border: none;
  color: white;
  font-size: 10pt;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: calc(0px - var(--frameBorder));
  transform: translateY(calc((var(--frameBorder) / 2) - 50%));
  z-index: 2;
  border-radius: 0 0 0 10px;
  height: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: calc(var(--frameBorder) + 50%);
}

.spacerVertical {
  flex-shrink: 0;
  height: 2000px;
  width: var(--fableContainerWidth);
  background-color: transparent;
}

.spacerHorizontal {
  flex-shrink: 0;
  height: var(--fableBitHeight);
  width: 2000px;
  background-color: transparent;
}

#stepContainer {
  height: 130px;
  width: 100%;
}

.carouselContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 35%;
  scroll-snap-align: center;
  transition: transform 0.5s ease-in-out;
  /* overflow: hidden; */
  /* margin: 20px 0; */
  margin-top: 70px;
  margin-bottom: 30px;
}

.fablebitContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* justify-content: center; */
  width: 300%; /* Ensure the container is wide enough to hold all items */
}

#rootContainer {
  justify-content: center; /* Center content for rootContainer */
}

.prevButton,
.nextButton {
  background-color: var(--fixed-colour);
  border: none;
  color: transparent;
  font-size: 16pt;
  padding: 0px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 0;
  height: var(--navButtonSize);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  box-sizing: border-box;
  overflow: hidden;
  transition: width 0.3s ease, color 0.1s ease;
}

.prevButton:hover,
.nextButton:hover {
  background-color: var(--fixed-highlight-colour);
}

.prevButton {
  right: 100%;
  border-radius: 6px 0px 0px 6px;
}

.prevButton.show {
  width: calc(var(--navButtonSize) * 0.8);
  color: white;
}

.nextButton {
  left: 100%;
  border-radius: 0px 6px 6px 0px;
}

.nextButton.show {
  width: calc(var(--navButtonSize) * 0.8);
  color: white;
}

.arrowImage {
  position: absolute;
  top: -85px;
  /* left: 50%; */
}

.bitPromptContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: calc(0px - var(--frameBorder));
  top: 0%;
  transform: translateY(calc((var(--frameBorder) / -2) - 50px));
  height: 100px;
  width: 80%;
  overflow: hidden;
}

#bitPrompt {
  display: flex;
  background-color: var(--fixed-colour);
  align-items: center;
  justify-content: flex-start;
  color: white;
  font-family: Futura;
  font-size: 10pt;
  padding: 5px 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px 10px 10px 0px;
}

.rootPromptsAvailable {
  display: flex;
  color: black;
  background-color: white;
  padding: 10px 30px;
  border-radius: 35px;
}

.promptsAvailable {
  display: flex;
  color: white;
  background-color: var(--border-color);
  padding: 10px 30px;
  border-radius: 35px;
}

.promptsAvailable:hover {
  background-color: var(--border-color);
}

#line {
  position: flex;
  top: 50%;
  left: 50%;
  width: 300px;
  margin: 40px;
}

.downButton {
  display: flex;
  position: relative;
  /* margin: 10px auto; */
  padding: 10px;
  /* font-size: 24px; */
  cursor: pointer;
  background-color: var(--fixed-colour);
  border: none;
  color: white;
  font-size: 16pt;
  cursor: pointer;
  top: calc(20px + 100%);
  left: 50%;
  transform: translateY(50%);
  z-index: 2;
  border-radius: 50%;
  rotate: 90deg;
  width: var(--navButtonSize);
  height: var(--navButtonSize);
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  pointer-events: all;
}

.downButton:hover {
  background-color: var(--fixed-highlight-colour);
}

.fablebitBackground {
  --border-color: #ff4b4b; /* Define a CSS variable for the border color */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  /* max-width: 40%; */
  min-width: 100%;
  max-width: 400px;
  /* min-width: 90%; */
  /* min-height: 50%; */
  flex-shrink: 1;
  background: white;
  border-radius: 35px;
  border: 10px solid var(--border-color);
  align-items: center;
  /* margin: 0 50px; */
  /* margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 8%; */
  margin-right: 20%;
}

.fablebitBackground.clicked {
  --border-color: #ba3939; /* Change the CSS variable to black when clicked */
}

.fablebitBackground:hover:not(.clicked) {
  --border-color: #e43c3c; /* Change the CSS variable on hover */
  cursor: pointer;
}

.paleBackground {
  background-color: var(--nav-colour) !important;
}

.paleBackgroundHeader {
  background-color: var(--nav-colour) !important;
}

.noHover {
  pointer-events: none;
}

.paleBorder {
  border-color: var(--nav-colour) !important;
}

.fablebitBackgroundHeader {
  z-index: 1;
  display: flex;
  margin-bottom: auto;
  margin-top: -10px;
  border-radius: 40px 40px 0px 0px;
  background: var(--border-color);
  width: 100.5%;
  flex-shrink: 1;
  align-items: center;
  justify-content: center;
  align-content: center;
  justify-items: center;
  position: relative;
}

.fablerootBox {
  display: flex;
  flex-direction: column;
  /* box-sizing: border-box; */
  /* max-width: 60%; */
  flex-shrink: 1;
  background: var(--fixed-colour);
  border-radius: 35px;
  border: 30px solid var(--fixed-colour);
  align-items: center;
  margin-bottom: 20px;
  margin-top: 120px;
}

.fablerootBox:hover {
  border: 30px solid var(--fixed-highlight-colour);
  background-color: var(--fixed-highlight-colour);
  cursor: pointer;
}

.fablebitTitle {
  color: #fff;
  text-align: center;
  font-family: Futura;
  font-size: 1.6vw;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 10px;
  /* margin-left: auto; */
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.fablebitText {
  display: flex;
  color: #000;
  text-align: center;
  font-family: "Bergen Text";
  font-size: 1.5vw;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 25px;
  margin-bottom: 30px;
  margin-left: 35px;
  margin-right: 35px;
  word-wrap: break-word;
  align-self: center;
}

#likeButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--likeButtonSize);
  height: var(--likeButtonSize);
  position: absolute;
  background-color: var(--fixed-colour);
  right: calc((-1 * var(--likeButtonSize) / 2) - var(--frameBorder) / 2);
  top: calc((-1 * var(--likeButtonSize) / 2) - var(--frameBorder) / 2);
  font-family: Futura;
  color: white;
  border-radius: 50%;
  pointer-events: all;
  cursor: pointer;
  border: none;
  z-index: 2;
  /* padding-top: 240px; */
  /* padding-top: 1100px; */
}

#likeButton:hover {
  background-color: var(--fixed-highlight-colour);
}

.likeImage {
  width: 20px;
  height: 20px;
}

#likeCount {
  display: flex;
  position: absolute;
  vertical-align: middle;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  min-width: 20px;
  height: 20px;
  border-radius: 8px 0px 0px 8px;
  background-color: var(--fixed-colour);
  padding-right: calc(
    5px + (var(--likeButtonSize) / 2) - var(--frameBorder) / 2
  );
  right: 0;
  top: calc(-10px - var(--frameBorder) / 2);
  font-family: Futura;
  color: white;
  font-size: 11pt;
  z-index: 0;
}

.pathwayBackground {
  border-color: var(
    --editable-colour
  ); /* Define a CSS variable for the border color */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-width: 60%;
  flex-shrink: 1;
  background: white;
  border-radius: 35px;
  border: 10px solid var(--editable-colour);
  align-items: center;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 5px;
  margin-right: 5px;
}

.pathwayText {
  display: flex;
  flex-shrink: 1;
  background: white;
  border: none;
  margin: 10px;
  color: #000;
  font-family: "Bergen Text";
  font-size: 1.5vw;
  text-align: center;
}

.pathwayBackground:hover {
  border: 10px solid var(--editable-highlight-colour);
  cursor: pointer;
}

/* #pathwayText .text {
  margin: 20px;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
} */

.selectionBox {
  display: flex;
  flex-direction: row;
}

.fablebitImage {
  display: flex;
  width: 20vw;
  height: auto;
  border-radius: 35px;
  margin: 10px;
  margin-top: 50px;
}

.promptButton {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--editable-colour);
  /* border-radius: 50%; */
  border-radius: 0px 35px 35px 0px;
  color: #fff;
  font-family: Futura;
  font-size: 4vw;
  font-style: normal;
  font-weight: 700;
  border: none;
  padding: 10px;
  cursor: pointer;
  /* margin-left: 20px; */
  width: 5vw;
  height: 5vw;
  text-align: center;
}

.promptButton:hover {
  background: var(--editable-highlight-colour);
}

#minimapContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  /* height: 100%; */
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.467);
  border-radius: 0px 0px 35px 35px;
}

#minimap {
  z-index: 990;
  width: 100%;
  height: fit-content;
}

#mapInstructions {
  display: flex;
  color: #000;
  font-family: "Bergen Text";
  font-size: 12pt;
  text-align: left;
  padding: 10px;
  vertical-align: middle;
}

#mapButton {
  z-index: 991;
  position: fixed;
  left: 60px;
  top: 480px;
  width: 17%;
  min-height: fit-content;
  background-color: rgba(255, 255, 255, 0.467);
  border-radius: 35px;
  display: flex;
  color: white;
  font-family: "Bergen Text";
  font-style: italic;
  font-size: 22px;
  text-align: center;
  margin: 10px;
  vertical-align: middle;
  border: none;
  border-radius: 35px;
  padding: 3px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  justify-content: center;
  background-color: var(--fixed-colour);
  pointer-events: auto; /* Ensure the element is always clickable */
}

#mapButton:hover {
  background-color: var(--fixed-highlight-colour);
}

.button-disabled {
  color: grey !important;
  position: relative;
}

/* .button-disabled::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e43c3cba;
  color: white;
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  font-size: 15px;
  pointer-events: none;
  transition: opacity 0.3s;
} */

.button-disabled:hover::after {
  opacity: 1;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100%); /* Adjust width to account for padding */
  height: calc(100%); /* Adjust height to account for padding */
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 200px;
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.fullscreen img {
  max-width: 100%;
  max-height: 100%;
}

circle {
  cursor: pointer;
}

/* Page 2: prompts.html */

h1 {
  color: #fff;
  font-family: Futura;
  font-size: 21pt;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 10px;
  line-break: strict;
  text-align: center;
}

.h1White {
  color: white;
  /* font-size: 2vw; */
}

h2 {
  color: #fff;
  font-family: Futura;
  font-size: 16pt;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 10px;
  line-break: strict;
  text-align: center;
}

p {
  color: #000;
  font-family: "Bergen Text";
  font-size: 13pt;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 10px;
}

.pWhite {
  color: white;
}

#createBitContainer {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 600px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#page1 {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 600px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

/* #createBitContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40%;
  margin: 10px;
} */

.leftContainer,
.rightContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  flex-shrink: 0;
  height: 100%;
}

.leftContainer {
  max-width: 45%;
}

.rightContainer {
  max-width: 60%;
}

.leftHeader,
.rightHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  box-sizing: border-box;
}

.leftHeader {
  background: var(--fixed-colour);
  border-radius: 35px 0px 0px 0px;
}

.rightHeader {
  background: var(--editable-colour);
  border-radius: 0px 35px 35px 0px;
}

.leftMain,
.rightMain {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 100%;
  align-content: center;
  overflow-wrap: break-word;
  min-height: 539px;
  flex-grow: 1;
  box-sizing: border-box;
}

.leftMain {
  border: 10px solid var(--fixed-colour);
  border-top: 0;
  border-radius: 0px 0px 0px 35px;
  align-items: center;
  background: white;
  justify-content: center;
}

.rightMain {
  align-items: flex-start;
  background: transparent;
  justify-content: flex-start;
}

#promptUsed {
  display: flex;
  color: #000;
  font-family: "Bergen Text";
  font-size: 22px;
  text-align: center;
  margin: 0 50px;
  vertical-align: middle;
}

.leftText {
  display: flex;
  color: #000;
  font-family: "Bergen Text";
  font-size: 18px;
  text-align: center;
  margin: 25px;
  vertical-align: middle;
  padding: 20px;
}

.promptDiv, .promptDivNoHover {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--editable-colour);
  border-radius: 0px 35px 35px 0px;
  border: 10px solid var(--editable-colour);
  margin-bottom: 20px;
  margin-top: 10px;
  padding-top: 20px;
  width: 100%;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.promptDiv:hover {
  background: var(--editable-highlight-colour);
  border: 10px solid var(--editable-highlight-colour);
  cursor: pointer;
}

.promptText {
  display: flex;
  color: #fff;
  font-family: "Bergen Text";
  font-size: 22px;
  text-align: center;
  /* margin: 25px; */
  vertical-align: middle;
}

.rightBackground {
  display: none;
  flex-direction: column;
  align-items: center;
  background: var(--editable-colour);
  border-radius: 0px 35px 35px 0px;
  border: 10px solid var(--editable-colour);
  margin-top: 10px;
  padding: 0px 30px;
  width: 100%;
  justify-content: center;
  align-content: center;
  flex-grow: 1;
  height: 100%;
  box-sizing: border-box;
}

#char-count {
  position: absolute;
  font-family: "Bergen Text";
  left: 20px;
  bottom: 10px;
}

.h2White {
  display: flex;
  color: #fff;
  font-family: Futura;
  font-size: 16pt;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 20px;
  line-break: strict;
  text-align: center;
}

#fablebitInputContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.smallTextArea {
  display: flex;
  color: #000;
  font-family: "Bergen Text";
  min-width: 300px;
  width: 100%;
  font-size: 29px;
  text-align: left;
  vertical-align: middle;
  background-color: #fff;
  border-radius: 35px;
  flex-grow: 1;
  padding: 22px;
}

#fablebitConfirmEditText {
  color: #000;
  font-family: Futura;
  font-size: 25pt;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 20px 40px;
  line-break: strict;
  text-align: center;
  line-height: 1.5;
  word-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

.whiteButton {
  display: flex;
  color: #000000;
  font-family: "Bergen Text";
  font-size: 2vw;
  text-align: center;
  margin: 10px;
  vertical-align: middle;
  background-color: white;
  border: none;
  border-radius: 35px;
  padding: 10px 30px;
  /* width: 130px; */
  cursor: pointer;
  max-width: 150px;
  justify-content: center;
}

.whiteButton:disabled {
  background-color: #d7d7d7;
  color: #919191;
}

#blueContainer,
#redContainer {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 35px;
  padding: 10px 25px;
  box-sizing: border-box;
}

#blueContainer {
  background-color: var(--editable-colour);
}

#redContainer {
  background-color: var(--fixed-colour);
  width: fit-content;
}

.doubleButtonContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* margin: 10px; */
}

.h2Black {
  display: flex;
  color: #000;
  font-family: Futura;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 20px;
  line-break: strict;
  text-align: center;
}

.whiteBackground {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 35px;
  border: 10px solid white;
  margin-bottom: 20px;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  align-content: center;
  flex-grow: 1;
  box-sizing: border-box;
}

.tinyTextArea {
  display: flex;
  color: #000;
  font-family: "Bergen Text";
  min-width: 300px;
  width: 80%;
  height: 34px;
  font-size: 22px;
  text-align: left;
  margin: 10px;
  vertical-align: middle;
  background-color: #fff;
  border-radius: 35px;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#page4 {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#page5 {
  display: none;
  flex-direction: column;
  align-items: center;
  background: var(--editable-colour);
  border-radius: 0px 35px 35px 0px;
  border: 10px solid var(--editable-colour);
  margin-top: 10px;
  padding: 0px 30px;
  width: 100%;
  justify-content: center;
  align-content: center;
  flex-grow: 1;
  box-sizing: border-box;
}

#page6 {
  display: none;
  flex-direction: column;
  align-items: center;
  background: var(--editable-colour);
  border-radius: 0px 35px 35px 0px;
  border: 10px solid var(--editable-colour);
  margin-top: 10px;
  padding: 0px 30px;
  width: 100%;
  justify-content: flex-start;
  align-content: center;
  flex-grow: 1;
  height: 100%;
  box-sizing: border-box;
}

#page7 {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 362px;
}

.radio-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align checkboxes to the left */
  justify-content: center;
  width: 100%;
  /* margin: 10px; */
}

.radio-container label {
  display: flex;
  color: #ffffff;
  align-items: center;
  justify-content: flex-start;
  margin: 5px;
  font-family: "Bergen Text";
  font-size: 16px;
}

.re-use-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align checkboxes to the left */
  justify-content: center;
  margin: 10px;
  width: 100%;
}

.reuse-checkbox {
  color: #ffffff;
  margin: 10px;
  border-radius: 35px;
  height: 25px;
  width: 25px;
  flex-shrink: 0;
}

li {
  display: flex;
  color: #ffffff;
  font-family: "Bergen Text";
  font-size: 1.5vw;
  text-align: center;
  margin: 10px;
  vertical-align: middle;
  /* background-color: #fff; */
  /* border-radius: 35px; */
  /* flex-grow: 1; */
}

#faq {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* padding-top: 50px;
  padding-bottom: 100px; */
  height: 100%;
  overflow-y: scroll;
}

/* AUTH STYLES */

.signup {
  font-size: 17px;
}

#over18 {
  display: flex;
  flex-direction: row;
  text-align: left;
  align-items: center;
}

#check18 {
  width: auto;
  margin: 10px;
}

#registerButton.disabled {
  background-color: grey;
  cursor: not-allowed;
  pointer-events: none;
  color: var(--nav-colour); /* Optional: Change text color */
}

.hide {
  display: none !important;
}

.modal {
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 10px solid var(--border-color); */
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 10px solid;
  border-color: var(--editable-colour);
  border-radius: 35px;
  width: 80%;
  max-width: 600px;
  /* height: 80%; */
  max-height: 700px; /* Maximum height */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow for depth */
  box-sizing: border-box;
  font-family: "Bergen Text";
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  padding: 10px 0;
  height: 100%;
}

.auth-forms {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

#loadingPage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#loadingText {
  font-size: 24px;
  margin-top: 20px;
}

.auth-form h3 {
  margin-top: 0;
}

.auth-form label {
  display: block;
  margin-bottom: 5px;
}

.auth-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--nav-colour);
  border-radius: 5px;
  box-sizing: border-box;
}

.auth-form button {
  width: 100%;
  padding: 10px;
  background-color: var(--editable-colour);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.auth-form button:hover {
  background-color: var(--editable-highlight-colour);
}

#toggleAuthForm {
  background-color: var(--editable-colour);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

#toggleAuthForm:hover {
  background-color: var(--editable-highlight-colour);
}

.error {
  color: red;
  font-weight: bold;
  padding-bottom: 20px;
}

#logoutModal {
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logoutModal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px; /* Maximum width */
  height: 80%;
  max-height: 100px; /* Maximum height */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow for depth */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* HTML: <div class="loader"></div> */
.loader {
  height: 45px;
  --c: no-repeat linear-gradient(#514b82 0 0);
  background: var(--c) left, var(--c) center, var(--c) right;
  background-size: 16px 100%;
  animation: l33-1 1.5s infinite, l33-2 1.5s infinite;
}
@keyframes l33-1 {
  0%,
  100% {
    width: 45px;
  }
  35%,
  65% {
    width: 65px;
  }
}
@keyframes l33-2 {
  0%,
  40% {
    transform: rotate(0);
  }
  60%,
  100% {
    transform: rotate(90deg);
  }
}

/* HTML: <div class="create-loader"></div> */
.create-loader {
  width: fit-content;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 26px;
  color: #fff;
  padding: 0 5px 8px 0;
  background: repeating-linear-gradient(90deg, currentColor 0 8%, #0000 0 10%)
    200% 100%/200% 3px no-repeat;
  animation: l3 2s steps(6) infinite;
  margin: 10px;
}
.create-loader:before {
  content: "Creating Fable Bit...";
}
@keyframes l3 {
  to {
    background-position: 80% 100%;
  }
}
