/* * {
  outline: 1px solid red;
} */

/* THE FONT */

:root {
  --custom-font-family: var(--custom-font-family);
  --font-size-var: 5vmin;
}

h1 {
  /* font-family: 'Open Sans', sans-serif; */
  font-weight: 700;
  color: #fff;
}

p {
  /* font-family: 'Open Sans', sans-serif; */
  /* color: #fff; */
  /* font-weight: 400; */
  padding: 0;
  margin: 0;
}

a,
a:visited,
a:hover,
a:active {
  color: #fff4d7;
  text-decoration: underline;
  text-decoration-color: #ffda79;
  text-decoration-thickness: 0.5vmin;
}

/* Font family for SWAL Alerts */
.swal2-container.swal2-center {
  font-family: 'Open Sans' !important;
}

.swal2-container.swal2-center p:not(:first-of-type) {
  margin-top: 2vmin;
}

ul,
ol {
  /* font-family: 'Open Sans', sans-serif; */
  color: #fff;
  font-weight: 400;
  margin-bottom: 0;
}

ul:first-child,
ol:first-child {
  margin-top: 0;
}

.pageTitle,
.currentSlideName {
  font-family: 'Open Sans', sans-serif;
}

.ai_termsText > * {
  font-size: 1.5vmin;
  margin-bottom: 1vmin;
}

.termsTitle {
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  margin-top: 3vmin;
}

.topTitle {
  margin-top: 0 !important;
  margin-bottom: 2vmin;
  text-transform: uppercase;
}

/* THE SLIDE */

.contentHolder {
  display: grid;
  grid-template-columns: 45vw 45vw;
  grid-template-rows: 43vh 43vh;
  grid-template-rows: 43svh 43svh;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.loadingSlide {
  display: grid;
  grid-template-columns: 90vw;
  grid-template-rows: 55vh 9vh 22vh;
  grid-template-rows: 55svh 9svh 22svh;
}

.textSlide {
  display: grid;
  grid-template-columns: 45vw 45vw;
  grid-template-rows: 16vh 70vh;
  grid-template-rows: 16svh 70svh;
}

.checklistSlide {
  display: grid;
  grid-template-columns: 45vw 45vw;
  grid-template-rows: 16vh 70vh;
  grid-template-rows: 16svh 70svh;
}

.textImageSlide {
  display: grid;
  grid-template-columns: 45vw 45vw;
  grid-template-rows: 16vh 70vh;
  grid-template-rows: 16svh 70svh;
}

.textTwoColumnsSlide {
  display: grid;
  grid-template-columns: 45vw 45vw;
  grid-template-rows: 16vh 70vh;
  grid-template-rows: 16svh 70svh;
}

.multipleChoiceSlide {
  display: grid;
  grid-template-columns: 45vw 45vw;
  grid-template-rows: 40vh 23vh 23vh;
  grid-template-rows: 40svh 23svh 23svh;
}

.multipleChoiceSlide * {
  font-family: var(--custom-font-family);
  color: #fff;
}

.textToSpeechSlide {
  display: grid;
  grid-template-columns: 90vw;
  grid-template-rows: 28vh 30vh 28vh;
  grid-template-rows: 28svh 30svh 28svh;
}

.listenAndTypeSlide {
  display: grid;
  grid-template-columns: 90vw;
  grid-template-rows: 43vh 43vh;
  grid-template-rows: 43svh 43svh;
}

.topAnswerSlide {
  display: grid;
  grid-template-columns: 5vw 80vw 5vw;
  grid-template-rows: 16vh 10vh 50vh 10vh;
  grid-template-rows: 16svh 10svh 50svh 10svh;
}

.hiddenWordSlide,
.listSlide {
  display: grid;
  grid-template-columns: 90vw;
  grid-template-rows: 86vh;
  grid-template-rows: 86svh;
}

.missingWordsSlide,
.wordRotationSlide {
  display: grid;
  grid-template-columns: 90vw;
  grid-template-rows: 72vh 4vh 10vh;
  grid-template-rows: 72svh 4svh 10svh;
}

.textScrambleSlide,
.readHideTypeSlide {
  display: grid;
  grid-template-columns: 90vw;
  grid-template-rows: 3vh 40vh 3vh 40vh;
  grid-template-rows: 3svh 40svh 3svh 40svh;
}

.listSlide {
  align-items: center;
  justify-items: center;
}

/* LOADING SLIDE */

.slide .loadingSlide_image {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: end;
  justify-self: center;
  max-width: 40vw;
  max-height: 45vh;
  max-height: 45svh;
  width: auto;
  height: auto;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
    rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
  border-radius: 18px;
}

.slide .loadingSlide_subtitle {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  width: fit-content;
  padding: 1vh 1vw 1vh 1vw;
  padding: 1svh 1vw 1svh 1vw;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: var(--font-size-var);
}

.slide .loadProgress {
  grid-row-start: 3;
  grid-row-end: 4;
  color: #ffda79;
  font-size: calc(var(--font-size-var) * 0.5);
}

/* TITLE SLIDE */

.slide .titleSlide_subtitle {
  font-family: var(--custom-font-family);
  /* font-weight: bold; */
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: calc(var(--font-size-var) * 1.5);
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  white-space: pre-wrap;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* TEXT SLIDE */

.slide .slide_title {
  font-family: var(--custom-font-family);
  font-size: calc(var(--font-size-var) * 1.5);
  color: #ffda79;
  font-weight: 400;
  width: 90vw;
  height: 100%;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  justify-content: center;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 2px -1px inset;
  background-color: rgba(0, 0, 0, 0.075);

  /* Why does slide_title add line breaks to HTML tags but textSlide_text does not? */

  /* <p> TAGS!!! */

  /* padding: 0;
  margin: 0;
  white-space: pre-wrap; Stops words running together where HTML tags used */
}

.slide .textSlide_text {
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  color: #fff;
  font-weight: 400;
  width: 75vw;
  height: 100%;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-self: center;
  justify-content: center;
}

.slide .title_bigger {
  font-family: var(--custom-font-family);
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  padding: 0;
  margin: 0;
  text-align: center;
  color: #ffda79;
  font-size: calc(var(--font-size-var) * 2.5);
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.075);
  box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 2px -1px inset;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-wrap; /* Stops words running together where HTML tags used */
}

.title_bigger p,
.slide_title p,
.titleSlide_subtitle p {
  width: 80vw;
}

/* WORD ROTATION SLIDE */

.rotating-text {
  font-family: var(--custom-font-family);
  /* font-weight: 600; */
  font-size: calc(var(--font-size-var) * 1.5);
  color: white;
  /* transform: translateX(-80px); */
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  align-self: center;
  justify-self: start;
  margin-left: 5vw;
  margin-right: 5vw;
}

.rotatingWord {
  color: #ffda79;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0 2vmin 1.25vmin 2vmin;
  border-radius: 1vmin;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: rgba(0, 0, 0, 0.2) 0px -0.3vmin 0px inset;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}

.rotating-text p {
  display: inline;
  margin: 0;
  vertical-align: top;
}

/* CHECKLIST SLIDE */

.checkListSlide_text {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 75vw;
  color: #fff;
  font-size: var(--font-size-var);
  height: 100%;
  width: 90% !important;
  display: flex;
  flex-direction: column;
  white-space: pre-wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.checkListSlide_text p {
  position: relative;
  padding-left: 1.5em;
  cursor: pointer;
  align-items: center;
  color: #ddd;
  line-height: 2em !important;
}

.checkListSlide_text p:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1em; /* Initial width */
  height: 1em; /* Initial height */
  border: 8px solid #eee;
  border-radius: 50%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.1);
}

.checkListSlide_text p.checked {
  color: #fff;
}

.checkListSlide_text p.checked:before {
  background-color: #ffda79;
  border: 8px solid #fff;
}

/* MULTIPLE CHOICE SLIDE */

.slide_question {
  font-size: var(--font-size-var);
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  white-space: pre-wrap;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  text-align: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  box-shadow: rgba(255, 255, 255, 0.3) 0px 1px 0px inset;
}

.slide_question p {
  padding: 2vw;
}

.answerOption {
  display: grid;
  grid-template-columns: 10% 90%;
  grid-template-rows: 100%;
  background-color: #c0392b;
  border: 2px solid rgba(255, 255, 255, 0.1);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  border-radius: 16px;
  margin: 2px;
}

.answerOption:nth-child(2),
.answerOption:nth-child(3) {
  grid-row-start: 2;
  grid-row-end: 3;
}

.answerOption:nth-child(4),
.answerOption:nth-child(5) {
  grid-row-start: 3;
  grid-row-end: 4;
}

.answerOption:hover {
  z-index: 99;
  box-shadow: rgba(255, 255, 255, 0.35) 0px -50px 36px -28px inset;
}

.answerOption:nth-child(2) {
  background-color: #16a085;
}

.answerLeftPanel {
  font-size: calc(var(--font-size-var) * 0.7);
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: bold;
  border-radius: 16px 0 0 16px;
}

.answerRightPanel {
  font-size: var(--font-size-var);
  display: flex;
  align-items: center;
  padding-left: 1vw;
  padding-right: 1vw;
  border-radius: 16px;
  /* white-space: pre; */
}

/* TOP ANSWER SLIDE */

.topAnswerSlide .slide_title {
  grid-column-end: 4 !important;
}

.topAnswerSlide .topAnswer_deleteBtn {
  background-color: #b33939;
  color: #eee;
  font-weight: 400;
  font-size: 1.25vmin;
}

.topAnswerSlide .addRowBtn {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 4;
  grid-row-end: 5;
  width: fit-content;
  height: 70%;
  align-self: center;
  justify-self: center;
  font-size: 1.5vmin;
}

.table-container {
  grid-row-start: 3;
  grid-row-end: 4;
  grid-column-start: 2;
  grid-column-end: 3;
  justify-self: center;
  width: 100%;
  height: fit-content;
  max-height: 100%;
  overflow-y: auto;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.topAnswerHeader {
  align-self: end;
  justify-self: center;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  display: grid;
  width: 100%;
  height: 90%;
  grid-template-columns: 10% 10% 35% 35% 10%;
  align-items: center;
  justify-content: center;
  background-color: #36395a;
}

.topAnswerHeader p {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 2vmin;
}

.answersTable .deleteBtn {
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #fff;
  font-size: 1.25vmin;
}

.answersTable {
  align-self: start;
  justify-self: center;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  font-size: 1.75vmin;
  border-collapse: collapse;
  width: 100%;
  max-height: 90%;
  overflow: auto;
}

.answersTable [contenteditable='true']:empty::before {
  content: attr(data-placeholder);
  color: #aaa;
  display: block;
}

.answersTable tr {
  background-color: rgba(0, 0, 0, 0.3);
  height: 30%;
}

.answersTable td {
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding-top: 1%;
  padding-bottom: 1%;
}

.contentHolder table td:nth-child(1) {
  width: 10%;
}

.contentHolder table td:nth-child(2) {
  width: 10%;
}

.contentHolder table td:nth-child(3) {
  width: 35%;
}

.contentHolder table td:nth-child(4) {
  width: 35%;
}

.contentHolder table td:nth-child(5) {
  width: 10%;
}

.topAnswerSlide .reorderRowBtn {
  width: 45%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  scale: 0.8;
}

.topAnswerSlide .reorderRowBtn p {
  font-size: 1.5vmin;
}

/* For the Lesson Player */

.topAnswer_answers {
  grid-row-start: 2;
  grid-row-end: 3;
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  color: #ffda79;
  font-weight: 400;
  width: 75vw;
  height: 96%;
  display: grid;
  grid-template-columns: 10% 90%;
  align-items: center;
  justify-items: start;
  user-select: none;
  align-self: center;
  justify-self: center;
}

.topAnswer_answers .val {
  grid-column-start: 1;
  grid-column-end: 2;
  /* background-color: rgba(0, 0, 0, 0.1); */
  background-color: rgba(255, 255, 255, 0.2);
  /* color: #ffda79; */
  color: transparent;
  width: 100%;
  height: 90%;
  /* border-radius: 12px 0 0 12px; */
  border-radius: 0;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto Slab', sans-serif;
  align-self: center;
  justify-self: start;
  /* box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 0px 0px inset; */
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 0px 0px;
  /* border-top: none; */
  border-top: solid 1px rgba(255, 255, 255, 0.2);
}

.topAnswer_answers .ans {
  grid-column-start: 2;
  grid-column-end: 3;
  /* background-color: rgba(0, 0, 0, 0.1); */
  background-color: rgba(255, 255, 255, 0.2);
  /* color: #fff; */
  color: transparent;
  width: 100%;
  height: 90%;
  /* border-radius: 0 12px 12px 0; */
  border-radius: 0;
  display: flex;
  justify-content: start;
  align-items: center;
  align-self: center;
  justify-self: start;
  /* box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 0px 0px inset; */
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 0px 0px;
  /* border-top: none; */
  border-top: solid 1px rgba(255, 255, 255, 0.2);
}

.shake-vertical {
  -webkit-animation: shake-vertical 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)
    both;
  animation: shake-vertical 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}

@-webkit-keyframes shake-vertical {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  80% {
    -webkit-transform: translateY(6.4px);
    transform: translateY(6.4px);
  }
  90% {
    -webkit-transform: translateY(-6.4px);
    transform: translateY(-6.4px);
  }
}
@keyframes shake-vertical {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  80% {
    -webkit-transform: translateY(6.4px);
    transform: translateY(6.4px);
  }
  90% {
    -webkit-transform: translateY(-6.4px);
    transform: translateY(-6.4px);
  }
}

.topAnswerSlide input {
  display: grid !important;
  width: 65vw !important;
  justify-self: start !important;
  margin-left: 7.5vw;
  height: 80% !important;
  align-self: center !important;
  grid-column-start: 1;
}

.topAnswerSlide .checkButton {
  width: 9.5vw !important;
  justify-self: end !important;
  margin-right: 7.5vw;
  height: 82% !important;
  align-self: center !important;
  grid-row-start: 3;
  grid-row-end: 4;
  grid-column-start: 1;
  background-color: #ffda79;
  border-radius: 0;
}

/* LIST SLIDE */

.listSlide p:first-child {
  font-size: calc(var(--font-size-var) * 0.9);
  font-weight: bold;
  color: #fff;
  margin-bottom: 2vh;
  color: #ffda79;
}

.listSlide p {
  font-size: calc(var(--font-size-var) * 0.45);
  text-align: center;
  width: 40vw;
  line-height: 4vmin;
}

/* HIDE IMAGE CHECKBOX */

.hideImageCheckbox {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25vmin;
  color: #333;
  text-transform: uppercase;
  position: absolute;
  bottom: 1vmin;
  right: 1vmin;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 1vmin;
  border-radius: 0.5vmin;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0.1vmin 0.2vmin,
    rgba(0, 0, 0, 0.3) 0px 0.2vmin 0.4vmin -0.1vmin,
    rgba(0, 0, 0, 0.2) 0px -0.2vmin 0px inset;
}

.hideImageCheckbox:hover {
  background-color: #eee;
}

.hideImageCheckbox input {
  margin-right: 0.5vmin;
  height: 1.25vmin;
  cursor: pointer;
}

.showImageButton {
  align-self: center;
  position: absolute;
}

/* TEXT AND IMAGE SLIDE */

.slide .textImageSlide_text {
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 40vw;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-self: center;
  justify-content: center;
}

.slide .textImageSlide_image {
  align-self: center;
  max-width: 95%; /* 95% so slight zoom on rollover in Player doesn't make image bigger than slide */
  max-height: 95%;
  width: auto;
  height: auto;
  /* box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; */
  cursor: zoom-in;
  transition: 0.3s;
  border-radius: 16px;
}

.slide .textImageSlide_image:hover {
  scale: 1.03;
}

/* -------------------------------------------------------------------------- */
/*                                 JUST IMAGE                                 */
/* -------------------------------------------------------------------------- */

.imageSlide > .textImageSlide_image {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  box-shadow: none !important;
  align-self: center;
  justify-self: center;
}

.imageSlide > .textImageSlide_addImage {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  box-shadow: none !important;
  align-self: center;
  justify-self: center;
}

/* EMPTY IMAGE PANEL WHEN CREATING */

.textImageSlide_addImage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  white-space: pre-wrap;
  flex-wrap: wrap;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  width: 94%;
  height: 94%;
  /* background-color: rgba(0, 0, 0, .1);
    box-shadow: rgba(0, 0, 0, .4) 0px 4px 8px -4px inset;
    border: 1px solid rgba(255, 255, 255, .2); */
  z-index: 999;
}

.textImageSlide_addImage button {
  padding: 2vmin;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.textImageSlide_addImage button svg {
  width: 4vmin;
  height: 4vmin;
  fill: #36395a;
}

.textImageSlide_addImage button p {
  font-weight: bold;
  color: #36395a;
  margin-top: 1vh;
  font-size: calc(var(--font-size-var) * 0.35);
}

/* TRIPTICO RESOURCE */

.tripticoResource,
.video {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.tripticoResource .enterCode,
.video .enterCode {
  font-family: 'Open Sans' !important;
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}

.tripticoResource .enterCode p,
.video .enterCode p {
  text-align: center;
  font-size: calc(var(--font-size-var) * 0.35);
  width: 70%;
  margin-bottom: 3vh;
}

.tripticoResource .enterCode p:first-child,
.video .enterCode p:first-child {
  text-align: center;
  font-size: calc(var(--font-size-var) * 0.35);
  font-weight: bold;
  width: 70%;
  margin-bottom: 1vh;
  color: #ffda79;
}

.tripticoResource .enterCode input,
.video .enterCode input {
  font-family: 'Oswald', sans-serif;
  text-align: center;
  font-size: calc(var(--font-size-var) * 0.35);
  font-weight: bold;
  text-transform: none;
  width: 80%;
  height: fit-content;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  padding: 1.75vw;
}

.tripticoResource .enterCode button,
.video .enterCode button {
  background-color: #ffda79;
  margin-top: 2vh;
}

/* MODAL */

.modal {
  display: none;
  position: fixed;
  z-index: 101;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #3498db;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 96vw;
  max-height: 96vh;
  max-height: 96svh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  /* box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; */
}

/* TRIPTICO RESOURCE SLIDE */

iframe {
  border: 0;
  width: 90vw;
  height: 86vh;
  height: 86svh;
  align-self: stretch;
}

/* TEXT TO SPEECH SLIDE */

.required {
  color: #ffda79 !important;
}

.textToSpeechTextPlayer {
  align-items: center !important;
  text-align: center !important;
}

.textToSpeechSlide_textSmall {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.4);
  font-size: calc(var(--font-size-var) * 0.3);
  height: fit-content;
  justify-self: center;
  align-self: start;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  width: 75vw;
}

.textToSpeechSlide_textSmall .button {
  width: fit-content;
  font-size: calc(var(--font-size-var) * 0.3);
  height: calc(var(--font-size-var) * 0.6);
  margin-left: 1vmin;
  text-transform: capitalize;
  padding: 2vmin;
}

.textToSpeechSlide .TTS_top {
  display: flex;
  flex-direction: column;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  padding: 2vmin;
}

.textToSpeechSlide .TTS_mid {
  display: flex;
  flex-direction: column;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2vmin;
}

.textToSpeechSlide .TTS_btm {
  display: flex;
  flex-direction: column;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 3;
  grid-row-end: 4;
  padding: 2vmin;
}

.alignCenter {
  align-items: center !important;
  justify-content: center;
  padding: 0 !important;
}

.textToSpeechInstruction,
.textToSpeechFeedback {
  justify-content: center;
  padding: 0 !important;
  width: 80vw;
  justify-self: center;
}

.textToSpeechInstruction {
  color: #ffda79 !important;
}

.textToSpeechSlide .playButton,
.listenAndTypeSlide .playButton {
  display: flex;
  align-self: center;
  background-color: #2c3e50;
  padding: 3vmin;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.textToSpeechSlide .playButton:hover,
.listenAndTypeSlide .playButton:hover {
  filter: brightness(120%);
}

.textToSpeechSlide .playButton:active,
.listenAndTypeSlide .playButton:active {
  transform: scale(0.9);
}

.textToSpeechSlide svg,
.listenAndTypeSlide svg {
  width: 12vmin;
  fill: #fff;
}

.textToSpeechSlide > .revealButton,
.listenAndTypeSlide > .revealButton {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 3;
  grid-row-end: 4;
  align-self: center;
  justify-self: center;
}

.playSample {
  background-color: #c44569;
  color: #eee;
  width: fit-content;
  margin: 0;
  padding: 2vmin;
}

.playSample svg {
  width: 2vmin;
  pointer-events: none;
}

/* LISTEN AND TYPE SLIDE - SHARES SOME WITH ABOVE TOO */

.listenAndTypeSlide .TTS_mid {
  display: flex;
  flex-direction: column;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2vmin;
}

.listenAndTypeSlide .TTS_btm {
  display: flex;
  flex-direction: column;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  padding: 2vmin;
}

.listenAndTypeSlide textarea {
  display: inline-block;
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  text-align: center;
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column: 1/2;
  outline: none;
  width: 75vw;
  height: auto;
  align-self: center;
  justify-self: center;
  background-color: transparent;
  border: none;
  resize: none;
  z-index: 2;
}

/* TWO COLUMNS OF TEXT SLIDE */

.slide .textTwoColumnsSlide_text_1 {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 40vw;
  color: #fff;
  font-size: var(--font-size-var);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-self: center;
  justify-content: center;
}

.slide .textTwoColumnsSlide_text_2 {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 40vw;
  color: #fff;
  font-size: var(--font-size-var);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-self: center;
  justify-content: center;
}

.slide .textTwoColumnsSlide_divider {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: center;
  justify-self: end;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  height: 64vh;
  height: 64svh;
  margin-bottom: 1vh;
  margin-bottom: 1svh;
}

/* MISSING WORDS SLIDE */

.slide .missingWordsSlide_text,
.slide .wordRotationSlide_text {
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  color: #fff;
  font-weight: 400;
  width: 75vw;
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 1;
  grid-row-end: 2;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-self: center;
  justify-content: center;
}

.missingWordsSlide_textSmall,
.wordRotationSlide_textSmall {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: #fff;
  font-size: calc(var(--font-size-var) * 0.35);
  grid-row-start: 3;
  grid-row-end: 4;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  justify-self: center;
  align-self: center;
  text-transform: uppercase;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.wordRotationSlide_textSmall {
  display: grid !important;
  grid-template-columns: 80% 20%;
  grid-template-rows: 100%;
  text-align: center;
}

.wordRotationSlide_textSmall p {
  padding-left: 4vmin;
  padding-right: 4vmin;
  text-wrap: balance;
}

.wordRotationSlide_textSmall a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.missingWordsSlide input,
.topAnswerSlide input {
  display: none;
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  text-align: center;
  color: #333;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-row-start: 3;
  grid-row-end: 4;
  background-color: #eee;
  border: none;
  border-top: 2px solid #fff;
  outline: none;
  width: 75vw;
  height: 90%;
  align-self: flex-start;
  justify-self: center;
  border-radius: 1vmin;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.missingWord {
  color: transparent;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 2vmin;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 1vmin 2vmin -1vmin inset;
}

.foundWord {
  display: inline-block;
  position: relative;
  color: #ffda79;
  background-color: transparent;
  border: none;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease-out;
  font-weight: bold;
}

/* DISAPPEARING WORD SLIDE */

.readHideTypeSlide_text_1,
.readHideTypeSlide_text_2 {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 80vw;
  color: #fff;
  font-size: var(--font-size-var);
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  white-space: pre-wrap;
  flex-wrap: wrap;
  justify-content: start;
  align-content: center;
}

.readHideTypeSlide_textSmall_1,
.readHideTypeSlide_textSmall_2 {
  font-family: var(--custom-font-family);
  font-weight: bold;
  color: #fff;
  font-size: calc(var(--font-size-var) * 0.35);
  grid-row-start: 1;
  grid-row-end: 2;
  width: 80vw;
  justify-self: center;
  align-self: center;
  opacity: 0.8;
  text-transform: uppercase;
  margin-left: 5vw;
}

.readHideTypeSlide_textSmall_2 {
  grid-row-start: 3;
  grid-row-end: 4;
  color: #ffda79;
}

.readHideTypeSlide_text_1 {
  grid-row-start: 2;
  grid-row-end: 3;
}

.readHideTypeSlide_text_2 {
  grid-row-start: 4;
  grid-row-end: 5;
  color: #ffda79;
}

.readHideTypeSlide_text_2 p {
  color: #ffda79;
}

.slide .readHideTypeSlide_text {
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  color: #fff;
  font-weight: 400;
  width: 75vw;
  grid-column: 1/2;
  grid-row-start: 1;
  grid-row-end: 2;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-self: center;
  justify-content: center;
  flex-wrap: wrap;
  white-space: pre-wrap;
}

.readHideTypeSlide textarea {
  display: none;
  font-family: var(--custom-font-family);
  font-size: var(--font-size-var);
  text-align: center;
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column: 1/2;
  outline: none;
  width: 75vw;
  height: auto;
  align-self: center;
  justify-self: center;
  background-color: transparent;
  border: none;
  resize: none;
  z-index: 2;
}

.input_backPanel {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column: 1/2;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.readHideTypeSlide .hideButton {
  justify-self: center !important;
  align-self: center !important;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: #eee;
}

.readHideTypeSlide_text span {
  display: inline;
}

.wobble-vertical-left {
  animation: wobble-vertical-left 0.8s linear both;
}
@keyframes wobble-vertical-left {
  0%,
  100% {
    transform: translateY(0) rotate(0);
    transform-origin: 50% 50%;
  }
  15% {
    transform: translateY(-30px) rotate(-6deg);
  }
  30% {
    transform: translateY(15px) rotate(6deg);
  }
  45% {
    transform: translateY(-15px) rotate(-3.6deg);
  }
  60% {
    transform: translateY(9px) rotate(2.4deg);
  }
  75% {
    transform: translateY(-6px) rotate(-1.2deg);
  }
}

/* HIDDEN WORD SLIDE */

.slide .hiddenWordSlide_text {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  justify-self: center;
  text-align: center;
  width: 80vw;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* Buttons in Lessons */

.lessonButton {
  align-items: center;
  appearance: none;
  background-color: #fcfcfd;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395a;
  cursor: pointer;
  height: 5vh;
  height: 5svh;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 1vw;
  padding-right: 1vw;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: calc(var(--font-size-var) * 0.4);
}

.lessonButton svg {
  width: 2vmin;
  height: 2vmin;
  fill: #36395a;
}

.lessonButton:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* -------------------------------------------------------------------------- */
/*                              TEXT REVEAL SLIDE                             */
/* -------------------------------------------------------------------------- */

.textRevealSlide_text_1,
.textRevealSlide_text_2 {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 80vw;
  color: #fff;
  font-size: var(--font-size-var);
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  white-space: pre-wrap;
  flex-wrap: wrap;
  justify-content: start;
  align-content: center;
}

.textRevealSlide_text_2 {
  grid-row-start: 2;
  grid-row-end: 3;
  color: #ffda79;
}

.textRevealSlide_text_2 p {
  color: #ffda79;
}

.textRevealSlide_divider {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  width: 90vw;
  height: 0.1vh;
}

.textRevealSlide .button {
  display: none;
  margin-top: 4vh;
}

/* Text reveal when opened in Player */

.textReveal_Player {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 75vw;
  margin-top: 5vh;
}

.textRevealPlayer_text_1,
.textRevealPlayer_text_2 {
  font-family: var(--custom-font-family);
  font-weight: 400;
  text-align: left;
  color: #fff;
  font-size: var(--font-size-var);
}

.textRevealPlayer_text_2 {
  margin-top: 4vh;
  user-select: none;
}

.textRevealPlayer_text_2 > * {
  color: #ffda79;
}

/* Prevent Selection */

.prevent-select {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

/* -------------------------------------------------------------------------- */
/*                             TEXT SCRAMBLE SLIDE                            */
/* -------------------------------------------------------------------------- */

.textScrambleSlide_text_1,
.textScrambleSlide_text_2 {
  font-family: var(--custom-font-family);
  font-weight: 400;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  justify-self: center;
  text-align: left;
  width: 80vw;
  color: #fff;
  font-size: var(--font-size-var);
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  white-space: pre-wrap;
  flex-wrap: wrap;
  justify-content: start;
  align-content: center;
}

.textScrambleSlide_textSmall_1,
.textScrambleSlide_textSmall_2 {
  font-family: var(--custom-font-family);
  font-weight: bold;
  color: #fff;
  font-size: calc(var(--font-size-var) * 0.35);
  grid-row-start: 1;
  grid-row-end: 2;
  width: 80vw;
  justify-self: center;
  align-self: center;
  opacity: 0.8;
  text-transform: uppercase;
  margin-left: 5vw;
}

.textSmallBack {
  background-color: rgba(0, 0, 0, 0.2);
  grid-row-start: 3;
  grid-row-end: 4;
  display: flex;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 1px;
}

.textSmallBack:first-child {
  grid-row-start: 1;
  grid-row-end: 2;
}

.textScrambleSlide_textSmall_2 {
  grid-row-start: 3;
  grid-row-end: 4;
  color: #ffda79;
}

.textScrambleSlide_text_1 {
  grid-row-start: 2;
  grid-row-end: 3;
}

.textScrambleSlide_text_2 {
  grid-row-start: 4;
  grid-row-end: 5;
  color: #ffda79;
}

.textScrambleSlide_text_2 p {
  color: #ffda79;
}

/* -------------------------------------------------------------------------- */
/*                               Triptico Dialog                              */
/* -------------------------------------------------------------------------- */

dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.tripticoDialog,
.notesDialog {
  font-family: 'Open Sans', sans-serif;
  background-color: #eee;
  border-radius: 12px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  display: flex;
  flex-direction: column;
  white-space: pre-wrap;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  gap: 4vh;
  padding: 4vh;
  padding-left: 4vw;
  padding-right: 4vw;
  width: 40vw;
  overflow: hidden;
}

.tripticoDialog p:first-child,
.notesDialog p:first-child {
  color: #36395a;
  font-size: calc(var(--font-size-var) * 0.45);
  font-weight: bold;
  margin-bottom: 3vh;
}

.tripticoDialog p,
.notesDialog p {
  color: #36395a;
  font-size: calc(var(--font-size-var) * 0.35);
  line-height: 3vmin;
}

.tripticoDialog .button,
.notesDialog .button {
  color: #fff;
  padding: 1.2vw;
  background-color: #36395a;
  font-size: 1.5vmin;
  outline: none;
}

.noteInput {
  width: 38vw;
  height: 50vh;
  font-family: var(--custom-font-family);
  color: #36395a;
  font-size: calc(var(--font-size-var) * 0.35);
  line-height: 3vmin;
  resize: none;
  border: 0;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  padding: 1vw;
}

input:focus,
.noteInput:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* .highlight {
  display: inline;
  padding: 0.125vmin 0.25vmin 0.25vmin 0.25vmin;
  background: #48a2df;
  border-radius: 0.5vmin;
  border: solid 1px rgba(255, 255, 255, 0.1);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.04);
} */

.highlight {
  display: inline;
  padding: 0.125vmin 0.25vmin 0.25vmin 0.25vmin;
  background: #1abc9c;
  border-radius: 0.5vmin;
  border: solid 1px rgba(255, 255, 255, 0.1);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.04);
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

/* Hide Word */

.hideShowText {
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: #ffda79;
  user-select: none;
}

.hideText {
  background-color: #ffda79;
  transition: background-color 0.3s ease-out;
  border-radius: 0.5vmin;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

@keyframes shake-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    transform: translateX(10px);
  }
  80% {
    transform: translateX(8px);
  }
  90% {
    transform: translateX(-8px);
  }
}

.shake {
  animation: shake-horizontal 0.8s linear both;
  transition: background-color 0.3s ease-in-out;
}

/* ----------------------------------- AI ----------------------------------- */

/* -------------------------------------------------------------------------- */
/*                               AI ASSIST PANEL                              */
/* -------------------------------------------------------------------------- */

.aiAssistPanel {
  position: fixed;
  z-index: 111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--custom-font-family);
  background-color: #3498db;
  background: url(https://www.tripticoplus.com/media/resources/lessonExperiment/images/nebula.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.aiHolder {
  width: 90%;
  height: 90%;
  background: #2c3e50;
  border-radius: 4vmin;
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: 100%;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.leftSection {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 85% 15%;
}

.ai_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  max-height: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.ai_title {
  flex-shrink: 0; /* Prevent the title from shrinking */
  text-align: center;
  padding: 0 20px;
  margin-top: 4vmin;
  margin-bottom: 4vmin;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai_title h1 {
  font-size: 4vmin;
  margin: 0;
  color: #ffda79;
}

.ai_title p {
  font-size: 2vmin;
  margin: 0;
  color: #eee;
  margin-top: 2vmin;
  width: 75%;
}

.ai_character {
  flex-grow: 1; /* Allow the image container to take up remaining space */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.ai_character img {
  width: auto;
  max-height: 90%;
  object-fit: contain;
}

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

.ai_send_button {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  aspect-ratio: 1;
  cursor: pointer;
}

.ai_send_button svg {
  fill: #fff;
  width: 4vmin;
  padding: 0;
  margin: 0;
}

.close_ai_btn {
  text-transform: none;
  font-family: var(--custom-font-family);
  font-weight: normal;
}

.close_ai_btn svg {
  margin-right: 1vmin;
}

.chatContainer {
  width: 100%;
  height: 100%;
  grid-column: 2/3;
  grid-row: 1/2;
  overflow: hidden;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 85% 15%;
  align-items: center;
  justify-items: center;
  z-index: 99;
}

.chatMessages {
  grid-column: 1/2;
  grid-row: 1/2;
  height: 90%;
  width: 90%;
  overflow-y: scroll;
  padding: 1.5vmin;
  color: #fff;
  font-size: 1.75vmin;
  font-family: var(--custom-font-family);
  display: flex;
  flex-direction: column;
  border-radius: 2vmin;
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px 0px inset;
}

.textBubble {
  height: fit-content;
  background-color: #3498db;
  padding: 3vmin;
  width: 75%;
  border-radius: 2vmin 2vmin 0 2vmin;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  margin: 2vmin;
  align-self: flex-end;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.ai_textBubble {
  height: fit-content;
  background-color: #eee;
  padding: 3vmin;
  width: 75%;
  border-radius: 2vmin 2vmin 2vmin 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  text-align: left;
  margin: 2vmin;
  align-self: flex-start;
  color: #333;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  font-family: 'Roboto Slab';
  line-height: 3vmin;
}

.ai_textBubble a {
  text-decoration-thickness: 1px;
  text-decoration-color: #3498db !important;
}

.ai_textBubble a:hover {
  text-decoration-thickness: 2px;
  text-decoration-color: #3498db !important;
}

.ai_textBubble * {
  color: #333 !important;
}

.chatInput {
  grid-column: 1/2;
  grid-row: 2/3;
  /* background: rgba(0, 0, 0, 0.05); */
  background-color: #2980b9;
  border: 2px solid #3498db;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  height: min-content;
  width: 90%;
  border-radius: 6vmin;
  padding: 0;
  margin: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 0px 0px inset;
}

.chatInput input {
  flex-grow: 1;
  height: fit-content;
  padding: 2vmin;
  margin-left: 1vmin;
  margin-right: 1vmin;
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #fff;
  font-size: 2vmin;
  border-radius: 1vmin;
  font-family: var(--custom-font-family);
}

.chatInput button {
  padding: 2vmin;
  background-color: #3498db;
  color: white;
  border: none;
  height: fit-content;
  box-shadow: rgba(0, 0, 0, 0.1) -3px -3px 0px 0px;
}

.vibrate-2 {
  -webkit-animation: vibrate-2 0.3s linear infinite both;
  animation: vibrate-2 0.3s linear infinite both;
}

@-webkit-keyframes vibrate-2 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  40% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  60% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  80% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}
@keyframes vibrate-2 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  40% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  60% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  80% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

.slide-in-blurred-left {
  -webkit-animation: slide-in-blurred-left 0.6s cubic-bezier(0.23, 1, 0.32, 1)
    both;
  animation: slide-in-blurred-left 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@-webkit-keyframes slide-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
    transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
    transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

.infoBtn {
  margin-right: 1.5vmin;
}
