:root {
  --white: #ffffff;
  --main-bg: #fcf7ec;
  --orange: #ff6d00;
  --light_green: #c2f4d1;
  --darkgreen: #05271c;
  --grey: #9a9b96;
  --font-poppins-regular: "Poppins", sans-serif;
  --font-poppins-medium: "Poppins", sans-serif;
  --font-poppins-extra-light: "Poppins", sans-serif;
  --font-montserrat: "Montserrat", sans-serif;
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  color: var(--darkgreen);
  background-color: var(--main-bg);
  min-height: 100vh;
  overflow-y: auto;
  font-family: var(--font-poppins-regular);
}

.history-button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  position: absolute;
  right: 11%;
  top: 1.2rem;
  z-index: 9998;
}

.history-button-container button {
  height: 2.5rem;
  width: 2.5rem;
  margin: 0;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition: all 0.1s;
}

#historyButton {
  /*filter: blur(3px);*/
  opacity: 0.8;
}

#historyButton svg {
  width: 100%;
  height: 100%;
  stroke: #05271c;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

#historyButton svg:hover,
#historyButton svg:active,
#historyButton svg:focus {
  stroke: #3874CC;
}

.history-container {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  /*-webkit-backdrop-filter: blur(6px);*/
  /*backdrop-filter: blur(6px);*/
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 99999;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.history-container.history-container-show {
  display: flex;
}

.history-container h1 {
  text-align: center;
  font-family: var(--font-poppins-regular);
  font-size: 3rem;
}

.history-content {
  width: 90%;
  height: 75%;
  background-color: #ffffff;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  overflow: hidden;
  padding-bottom: 5rem;
  text-align: left;
  padding: 2rem;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
}

.history-content-head,
.history-content-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  border-bottom: 1px solid #2f2f2f;
}

.history-content-head,
.history-content-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  border-bottom: 1px solid #2f2f2f;
}

.history-content-sl,
.history-content-date,
.history-content-select,
.history-content-content,
.history-content-response,
.history-content-image {
  width: 5%;
  height: 100%;
  border-right: 1px solid #5d5d5d;
  padding: 1rem 0;
  padding-left: 2rem;
}

.history-content-head .history-content-sl,
.history-content-head .history-content-date,
.history-content-head .history-content-select,
.history-content-head .history-content-content,
.history-content-head .history-content-response,
.history-content-head .history-content-image {
  padding-bottom: 2rem;
}

.history-content-head .history-content-date,
.history-content-head .history-content-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.history-content-date {
  width: 15%;
}

.history-content-sl {
  padding: 1rem 0;
}

.history-content-content {
  width: 22.5%;
}

.history-content-response {
  width: 30%;
  overflow: hidden;
  word-break: break-word;
}

.history-content-image {
  width: 22.5%;
}

.history-content-select {
  border: 0;
}

.history-filter {
  width: 50%;
  margin-left: 1rem;
  cursor: pointer;
  font-size: 1.7rem;
}

.history-content-body img.history-image {
  width: 13rem;
  height: 9rem;
  margin-right: 0.8rem;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.fullscreen-image {
  max-width: 80%;
  max-height: 80%;
}

.historyCheckSelect {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  cursor: pointer;
}

#historyContainerClose {
  position: absolute;
  right: 2%;
  top: 3%;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

#historyContainer .button-container {
  padding: 0;
  margin: 0;
}

.history-processed-output-container {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  /*-webkit-backdrop-filter: blur(6px);*/
  /*backdrop-filter: blur(6px);*/
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.history-processed-output-container.history-processed-output-container-show {
  display: flex;
}

.history-processed-output-container h1 {
  font-size: 3rem;
}

.history-processed-output-container h2 {
  text-align: center;
  font-family: var(--font-poppins-regular);
  font-size: 2rem;
}

.history-processed-output {
  width: 90%;
  height: 80%;
  background-color: #ffffff;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  overflow: hidden;
  padding-bottom: 5rem;
  text-align: left;
  padding: 2rem;
  font-size: 2rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  overflow-y: auto;
}

.history-output-content-left,
.history-output-content-middle,
.history-output-content-right {
  width: 20%;
  margin: 0.5rem auto;
  overflow: hidden;
  padding: 2rem;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.history-output-content-middle {
  width: 60%;
}

.history-output-content-right {
  width: 20%;
}

.history-output-exercise-content,
.history-output-dialog-content,
.history-output-image-content {
  width: 100%;
  height: 50rem;
  background-color: #ffffff;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  margin: 2rem auto;
  padding: 2rem;
  overflow: hidden;
  overflow-y: auto;
}

.history-output-image-content img.history-output-image {
  width: 13rem;
  height: 9rem;
  margin-right: 0.8rem;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

#historyOutputClose {
  position: absolute;
  right: 3%;
  top: 3%;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

#main-content {
  width: 100%;
  height: auto;
  padding-top: 9rem;
  padding-bottom: 10rem;
}

.content {
  width: 100%;
  height: auto;
  position: relative;
}

.main-content-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: auto;
}

#main-content h1,
#main-content h2 {
  text-align: center;
  font-family: var(--font-poppins-regular);
  font-size: 2.5rem;
  color: #ff6d00;
  padding-bottom: 2.5rem;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

#main-content .main-content-right h1.blurred-title {
  text-align: center;
  font-family: var(--font-poppins-regular);
  font-size: 2.5rem;
  color: #ff6d00;
  /*filter: blur(3px);*/
  opacity: 0.8;
}



#renderImageContainer {
  width: 80%;
  height: 60rem;
  background-color: white;
  /*border: 2px solid #ff6d00;
  */border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 5rem;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

/* #renderImageContainer:focus-within {
  border: 2px solid #000000;
} */

.content .display-container#renderImage {
  width: 100%;
  height: 100%;
  display: block;
  background-color: white;
  border: none;
  border-radius: 10px;
  box-shadow: unset;
  margin: 0;
  overflow: auto;
  position: relative;
  padding-top: 0;
  font-size: 1.6rem;
  padding: 2rem;
}

#renderImage:focus,
#renderImage:focus-visible,
#renderImage:focus-within {
  outline: none;
  border: none;
}

.main-content-left {
  width: 50%;
  height: 100%;
  position: relative;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.button-container.exchange-button-container {
  position: absolute;
  left: 9.5%;
  top: 3rem;
  display: none;
}

.button-container.exchange-button-container button {
  margin: 0 1rem;
}

.button-container.exchange-button-container button svg {
  height: 3.5rem;
  width: 3.5rem;
  fill: #05271c;
  transition: all 0.1s;
}

.button-container.exchange-button-container button#exchangeContent svg {
  fill: #05271c;
}

.button-container.exchange-button-container button#exchangeContent svg:hover,
.button-container.exchange-button-container button#exchangeContent svg:focus,
.button-container.exchange-button-container button#exchangeContent svg:active {
  fill: #3874CC;
}

.button-container.exercise-button-container {
  position: absolute;
  right: 9.5%;
  top: 3rem;
  display: none;
}

.button-container.exercise-button-container button {
  margin: 0 1rem;
}

.button-container.exercise-button-container button svg {
  height: 3.5rem;
  width: 3.5rem;
  fill: #05271c;
  transition: all 0.1s;
}

.button-container.exercise-button-container button#exerciseVideo svg {
  fill: transparent;
  stroke: #05271c;
}

.button-container button svg:hover,
.button-container button svg:focus,
.button-container button svg:active {
  fill: #3874CC;
}

.button-container.exercise-button-container button#exerciseNote svg {
  fill: #05271c;
}

.button-container.exercise-button-container button#exerciseNote svg:hover,
.button-container.exercise-button-container button#exerciseNote svg:focus,
.button-container.exercise-button-container button#exerciseNote svg:active {
  fill: #3874CC;
}

.button-container.exercise-button-container button#exerciseVideo svg:hover,
.button-container.exercise-button-container button#exerciseVideo svg:focus,
.button-container.exercise-button-container button#exerciseVideo svg:active {
  fill: transparent;
  stroke: #3874CC;
}

.main-content-left .button-container.action-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 0;
  position: absolute;
  left: 10.5%;
  top: 63rem;
  width: 79%;
  background: #ffffff;
}

#loading-indicator-fetch-exercise {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #0077cc;
  animation: pulse 1.5s ease-in-out infinite;
  opacity: 0.7;
  display: none;
  margin-left: 1.5rem !important;
  position: absolute;
  right: 13.5%;
  top: 63.3rem;
  z-index: 11;
}

.main-content-left .button-container.action-buttons button {
  height: 3rem;
  width: 3rem;
  margin: 0 1rem;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: all 0.1s;

}

.main-content-left .button-container.action-buttons button#renderImageMinMize {
  height: 4rem;
  width: 4rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  -webkit-transform: translate(-50%, -50%) rotate(180deg);
  -moz-transform: translate(-50%, -50%) rotate(180deg);
  -ms-transform: translate(-50%, -50%) rotate(180deg);
  -o-transform: translate(-50%, -50%) rotate(180deg);
  display: none;
}

.main-content-left .button-container.action-buttons button#renderImageMinMizeDesk {
  height: 4rem;
  width: 4rem;
  position: absolute;
  right: 0%;
  top: 50%;
  transform: translate(50%, -50%) rotate(90deg);
  -webkit-transform: translate(50%, -50%) rotate(90deg);
  -moz-transform: translate(50%, -50%) rotate(90deg);
  -ms-transform: translate(50%, -50%) rotate(90deg);
  -o-transform: translate(50%, -50%) rotate(90deg);
  display: block;
  z-index: 1;
}

.main-content-left .button-container button svg {
  height: 3rem;
  width: 3rem;
  fill: #05271c;
  transition: all 0.1s;
}

.main-content-left .button-container.action-buttons button#renderImageMinMize svg,
.main-content-left .button-container.action-buttons button#renderImageMinMizeDesk svg {
  height: 100%;
  width: 100%;
  fill: none;
}

.main-content-left .button-container button svg:hover {
  fill: #3874CC;
}


.video2 {
  content: center;
  position: absolute;
  height: 100%;
  width: 100% !important;
}

#video2,
#import-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video2 {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#video2 {
  position: static !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#canvas2 {
  border: 1px solid red;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
}


/* #cropArea2 {
  border: 3px dashed var(--orange);
  position: absolute;
  cursor: move;
  width: 30rem;
  height: 22rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  touch-action: none;
  user-select: none;
  cursor: grab;
}

#cropArea2::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
} */

#cropArea2 {
  border: 3px dashed var(--orange);
  position: absolute;
  cursor: move;
  width: 30rem;
  height: 22rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  touch-action: none;
  user-select: none;
}

#cropArea2:active {
  cursor: grabbing;
}

#cropArea2::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
  pointer-events: none;
}

#cropArea2::after {
  content: '';
  position: absolute;
  border: 5px solid transparent;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

#import-image,
#import-image2 {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#getImage {
  margin-top: 10rem;
  margin-bottom: 8rem;
}


.main-content-right {
  width: 50%;
  height: 100%;
  position: relative;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.container_MathGPT {
  width: 80%;
  height: 40rem;
  background-color: white;
  /* border: 2px solid #ff6d00; */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  padding: 2rem;
  display: block;
  padding-left: 2rem;
  outline: none;
  text-align: left;
  font-size: 1.6rem;
  overflow: auto;
  word-break: break-word;
  padding-right: 3.5rem;
  /*filter: blur(3px);*/
  opacity: 0.8;
}

#commentFeedBtn {
  height: 2.5rem;
  width: 2.5rem;
  margin: 0;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: all 0.1s;
  position: absolute;
  right: 11%;
  top: 43rem;
  display: none;
}

#dialog-textarea-container {
  min-width: 80% !important;
  max-width: 80% !important;
  width: 80%;
  height: 15rem;
  padding: 1rem 2rem;
  margin: 0 auto;
  margin-top: 5rem;
  box-sizing: border-box;
  outline: none;
  text-align: left;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 2rem;
  border: none;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding-bottom: 5rem;
  border: 1px solid #ff6d00;
  position: relative;
  /*filter: blur(3px);*/
  opacity: 0.8;
}

#dialog-textarea {
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 5rem;
  padding: 0rem 5rem 1rem 0;
  margin: 0 auto;
  box-sizing: border-box;
  outline: none;
  text-align: left;
  background-color: white;
  font-size: 1.6rem;
  border: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  overflow: hidden;
  overflow-y: auto;
}

#chatSendButtonMain {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #ff6d00;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0.8rem;
  top: 7%;
  cursor: pointer;
}

#chatSendButtonMain svg {
  width: 2rem;
  height: 2rem;
  fill: white;
}

#processVirPromptKeyText,
#processLatexImage,
#inputExLangFieldSend {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #ff6d00;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#processVirPromptKeyText svg,
#processLatexImage svg,
#inputExLangFieldSend svg {
  width: 4rem;
  height: 4rem;
  fill: white;
}

#loading-indicator {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #0077cc;
  animation: pulse 1.5s ease-in-out infinite;
  opacity: 0.7;
  display: none;
  margin-left: 1.5rem !important;
  position: absolute;
  right: 0.8rem;
  bottom: 4%;
  z-index: 11;
  -webkit-animation: pulse 1.5s ease-in-out infinite;
}

.textarea-button-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

.textarea-button-container button {
  height: 2.5rem !important;
  width: 2.5rem !important;
  margin: 0 1rem 0.5rem !important;
}

.textarea-button-container button svg {
  height: 2.5rem !important;
  width: 2.5rem !important;
}

#exerciseImageContainer,
#exerciseVideoContainer,
#exerciseNoteContainer {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  /*-webkit-backdrop-filter: blur(6px);*/
  /*backdrop-filter: blur(6px);*/
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 10rem 5rem;
}

#exerciseImageContainer_close,
#exerciseVideoContainer_close,
#exerciseNoteContainer_close {
  position: absolute;
  right: 5%;
  top: 5%;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

#exerciseImageContent,
#exerciseVideoContent,
#exerciseNoteContent {
  width: 50%;
  height: 65rem;
  background-color: #ffffff;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  overflow: hidden;
  padding-bottom: 5rem;
  text-align: left;
  padding: 2rem;
  font-size: 2rem;
  overflow-y: auto;
}

#exerciseImageContent img,
#exerciseImageContent iframe,
#exerciseVideoContent video,
#exerciseVideoContent iframe {
  display: block;
  width: 95%;
  margin: auto;
  object-fit: cover;
}


.button-container button {
  height: 4rem;
  width: 4rem;
  margin: 1rem 3rem;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: all 0.1s;
}

.button-container button svg {
  height: 3.5rem;
  width: 3.5rem;
  fill: #05271c;
  transition: all 0.1s;
}

#speechActivate {
  width: 4rem;
  height: 4rem;
  margin-bottom: 3rem;
}

#speechActivate.activated {
  background-image: url("../images/icons/page/speach_active.png") !important;
}

#copyBtn,
#speakerBtn,
#positiveFeedBtn,
#negativeFeedBtn,
#dwnBtn,
#adjust-button2 {
  height: 4rem;
  width: 4rem;
  margin: 1rem 3rem 5rem;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: all 0.1s;
  display: none;
}

#speakerBtn.speakActivated {
  background-image: url("../images/icons/page/speaker_active.png") !important;
}

#speakerBtn2.speakActivated {
  background-image: url("../images/icons/page/speaker_active.png") !important;
}

#copyBtn svg,
#positiveFeedBtn svg,
#commentFeedBtn svg,
#negativeFeedBtn svg {
  height: 100%;
  width: 100%;
  fill: #2f2f2f;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

#copyBtn svg:hover,
#positiveFeedBtn svg:hover,
#negativeFeedBtn svg:hover,
#commentFeedBtn svg:hover,
#copyBtn svg:focus,
#positiveFeedBtn svg:focus,
#negativeFeedBtn svg:focus,
#commentFeedBtn svg:focus,
#copyBtn svg:active,
#positiveFeedBtn svg:active,
#commentFeedBtn svg:active,
#negativeFeedBtn svg:active {
  fill: #3874CC;
}

#dwnBtn {
  height: 5rem;
  width: 5rem;
  text-decoration: none;
}

.button-img1 {
  background-image: url("../images/icons/page/select.png");
}

.button-img2 {
  background-image: url("../images/icons/page/convert.png");
}

.button-img3 {
  background-image: url("../images/icons/page/edit.png");
}

.button-img4 {
  background-image: url("../images/icons/page/send_to_mathgpt.png");
}

.button-img5 {
  background-image: url("../images/icons/page/voice.png");
}

.button-img5-active {
  background-image: url("../images/icons/page/voice_active.png");
}

.button-img6 {
  background-image: url("../images/icons/page/plot_function.png");
}

.button-img7 {
  background-image: url("../images/icons/page/use_camera.png");
}

.button-img8 {
  background-image: url("../images/icons/page/make_picture.png");
}

.button-img9 {
  background-image: url("../images/icons/page/newfoto.png");
}

.button-img10 {
  background-image: url("../images/icons/page/crop.png");
}

.button-img11 {
  background-image: url("../images/icons/page/changecamera.png");
}

.button-img13 {
  background-image: url("../images/icons/page/img_down.png");
}


.button-img14 {
  background-image: url("../images/icons/page/GPT.png");
}

.button-img15 {
  background-image: url("../images/icons/page/mathbook.png");
}

.button-img16 {
  background-image: url("../images/icons/page/speach.png");
}

.button-img17 {
  background-image: url("../images/icons/page/speaker.png");
}



/* hover effect Buttons */
.button-img1:hover {
  background-image: url("../images/icons/page/select_hover.png");
}

.button-img2:hover {
  background-image: url("../images/icons/page/convert_hover.png");
}

.button-img3:hover {
  background-image: url("../images/icons/page/edit_hover.png");
}

.button-img4:hover {
  background-image: url("../images/icons/page/to_mathgpt_hover.png");
}

.button-img5:hover {
  background-image: url("../images/icons/page/voice_hover.png");
}

.button-img6:hover {
  background-image: url("../images/icons/page/graph_hover.png");
}

.button-img7:hover {
  background-image: url("../images/icons/page/use_camera_hover.png");
}

.button-img8:hover {
  background-image: url("../images/icons/page//make_picture_hover.png");
}

.button-img9:hover {
  background-image: url("../images/icons/page/newfoto_hover.png");
}

.button-img10:hover {
  background-image: url("../images/icons/page/crop_hover.png");
}

.button-img11:hover {
  background-image: url("../images/icons/page/changecamera_hover.png");
}

.button-img13:hover {
  background-image: url("../images/icons/page/img_down_hover.png");
}

.button-img14:hover {
  background-image: url("../images/icons/page/GPT_hover.png");
}

.button-img15:hover {
  background-image: url("../images/icons/page/mathbook_hover.png");
}

.button-img16:hover {
  background-image: url("../images/icons/page/speach_hover.png");
}

.button-img17:hover {
  background-image: url("../images/icons/page/speaker_hover.png");
}

#select_dialect {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#select_dialect .dropdown_dialect-content {
  display: none;
  position: absolute;
  bottom: calc(90%);
  width: 6rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 !important;
  margin: 0 !important;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
}

#select_dialect .dropbtn_dialect {
  height: 4.5rem;
  width: 4.5rem;
  margin: 1rem 3rem;
  border: none;
  cursor: pointer;
  transition: all 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#select_dialect:hover .dropdown_dialect-content {
  display: block;
}

#select_dialect .dropdown_dialect {
  position: relative;
  display: inline-block;
}

#select_dialect .dropbtn_dialect {
  background-color: transparent;
  border: none;
}

#select_dialect img {
  width: 4.5rem;
  height: auto;
  cursor: pointer;
}

#select_dialect p {
  margin: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Sidebar */
#sidebar_right1 {
  width: 30rem;
  background-color: #ffffff;
  position: fixed;
  right: 5rem;
  top: 11rem;
  padding: 5rem 2.5rem;
  overflow: auto;
  box-shadow: 0px 0px 5px 2px #05271c;
  z-index: 0;
  /*Zorgervoordatdesidebaroverandereelementenwordtweergegeven*/
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

#sidebar_right1 h4 {
  font-size: 1.8rem;
  padding-left: 1.5rem;
}

#sidebar_right1 ul {
  font-size: 1.6rem;
  margin-top: 1rem;
  margin-bottom: 5rem;
}

#sidebar_right1 p {
  font-size: 1.6rem;
}

.close-btn2 {
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-size: 3rem;
  cursor: pointer;
}

.explanation {
  display: none;
  padding: 1rem;
  margin-top: 0.5rem;
  background-color: #f1f1f1;
}

.title {
  cursor: pointer;
  color: #05271c;
}

/* Voeg deze CSS-regels toe aan je stylesheet */

/* Ingezonden lijststijl */
ul {
  list-style: none;
  padding-left: 1.5rem;
}

/* loading indicator */


#infoTutorial {
  display: none;
  align-items: center;
  justify-content: center;
  background: #000000ad;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

.infoTutorial-container {
  width: 60%;
  background: #ffffff;
  box-shadow: rgba(50, 50, 93, 0.25) 0 1.3rem 2.7rem -0.5rem, rgba(0, 0, 0, 0.3) 0 0.8rem 1.6rem -0.8rem;
  padding: 3rem 4rem;
  text-align: center;
  border: 2px solid #ff6d00;
  border-radius: 2.2rem;
  -webkit-border-radius: 2.2rem;
  -moz-border-radius: 2.2rem;
  -ms-border-radius: 2.2rem;
  -o-border-radius: 2.2rem;
  position: relative;
  margin: 0 auto;
}

#infoTutorialClose {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 4rem;
  line-height: 4rem;
  color: #747474;
  cursor: pointer;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  display: inline;
}


#infoTutorialClose:hover {
  color: #000000;
}

.infoTutorial-container h2 {
  font-size: 2.5rem;
  line-height: normal;
  color: #000000;
  text-align: center;
  margin-bottom: 3rem;
}

.tutorial-video-container {
  width: 100%;
  height: 60rem;
}

.tutorial-video-container .tutorial-video {
  width: 100%;
}

.tutorial-video-container .smart-player-embed-iframe {
  width: 100%;
  height: 100%;
}



@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.8);
    opacity: 0.7;
  }
}

.hidden {
  display: none;
}

#graph,
#mathgpt_communication {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

#processedImage {
  padding-top: 7rem;
  padding-bottom: 0;
}


#mathgpt_communication {
  padding-top: 30rem;
  padding-bottom: 20rem;
}


#plot {
  width: 79vw !important;
}

.getImageTextArea-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  /*-webkit-backdrop-filter: blur(4px);*/
  /*backdrop-filter: blur(4px);*/
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 2rem 5rem;
}

#getImageTextArea_close {
  position: absolute;
  right: 2%;
  top: 4%;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

.getImageTextArea-container h1 {
  color: #05271c !important;
}

#getImageTextArea {
  width: 40%;
  margin: 0;
}

.getImageTextArea-container .display-container {
  width: 100%;
  /* height: 48rem; */
  background-color: white;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.getImageTextArea-container .action-container2 {
  position: absolute;
  bottom: 5%;
  margin: 0;
  padding: 0;
  text-align: center;
}


/*&*&************ New style **************&*&*/

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal container */
.modal-container {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
  max-width: 80%;
  max-height: 80%;
}

/* Close button */
.close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
  font-size: 3rem;
  color: #000000;
  padding: 0.7rem 2rem;
  background: #ff6d00;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}

/* Modal image */
.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 80vh;
}

/* Close icon styles */
.close-icon {
  position: absolute;
  top: 0.5rem;
  right: 1.6rem;
  cursor: pointer;
  color: #ff6d00;
  font-size: 2.4rem;
  z-index: 1;
}

/* Parent container styles */
.image-container {
  position: relative;
  display: inline-block;
}

.text-to-voice {
  display: none;
}

/*&*&************ New style ends **************&*&*/

.hintBtn-container {
  position: absolute;
  top: 38rem;
  right: 11%;
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  background: none;
  outline: none;
  border: none;
}

#hintBtn {
  width: 2.5rem;
  height: 2.5rem;
  display: none;
  background: none;
  outline: none;
  border: none;
  -webkit-animation: iconPulse 1.5s ease-in 5;
  animation: iconPulse 1.5s ease-in 5;
  cursor: pointer;
}

#hintBtn svg {
  width: 100%;
  height: 100%;
  fill: #05271c;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

@keyframes iconPulse {
  0% {
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
    transform: translate(0);
  }

  50% {
    -webkit-transform: translateY(12px);
    -moz-transform: translateY(12px);
    -ms-transform: translateY(12px);
    -o-transform: translateY(12px);
    transform: translateY(12px);
  }

  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

#positiveFeedBtn {
  position: relative;
  margin-bottom: 3rem;
  width: 8rem;
  height: 8rem;
  padding: 2rem;
}

#commentFeedBtn {
  margin-top: 0 !important;
}

#positiveFeedBtn svg {
  width: 4rem;
  height: 4rem;
}

.reactions {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0.8rem;
  left: 0;
  bottom: calc(100% - 0.1rem);
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#positiveFeedBtn:hover .reactions {
  display: flex;
}

.reactions:hover {
  display: flex;
}

#positiveFeedBtn .reactions button {
  display: block;
  margin: 1rem !important;
  width: 2.5rem;
  height: 2.5rem;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}

#positiveFeedBtn .reactions button:hover,
#positiveFeedBtn .reactions button:focus,
#positiveFeedBtn .reactions button:active {
  transform: translateY(-0.5rem);
  -webkit-transform: translateY(-0.5rem);
  -moz-transform: translateY(-0.5rem);
  -ms-transform: translateY(-0.5rem);
  -o-transform: translateY(-0.5rem);
}

#positiveFeedBtn .reactions button svg {
  width: 2.5rem;
  height: 2.5rem;
}

#reactionLike svg {
  fill: #548CE9;
  stroke: #1F3F82;
}

#reactionLike svg:hover,
#reactionLike svg:focus,
#reactionLike svg:active {
  fill: #548CE9;
  stroke: #1F3F82;
}

#reactionDisLike svg {
  fill: #ff3c00;
  stroke: #1F3F82;
}

#reactionDisLike svg:hover,
#reactionDisLike svg:focus,
#reactionDisLike svg:active {
  fill: #ff3c00;
  stroke: #1F3F82;
}

#reactionCheer svg {
  fill: #71AF50;
  stroke: #416F32;
}

#reactionCheer svg:hover,
#reactionCheer svg:focus,
#reactionCheer svg:active {
  fill: #71AF50;
  stroke: #416F32;
}

#reactionCare svg {
  fill: #BBA8D1;
  stroke: #1F3F82;
}

#reactionCare svg:hover,
#reactionCare svg:focus,
#reactionCare svg:active {
  fill: #BBA8D1;
  stroke: #1F3F82;
}

#reactionLove svg {
  fill: #D6714D;
  stroke: #1F3F82;
}

#reactionLove svg:hover,
#reactionLove svg:focus,
#reactionLove svg:active {
  fill: #D6714D;
  stroke: #1F3F82;
}

#reactionInsightful svg {
  fill: #EDBD5D;
  stroke: #1F3F82;
}

#reactionInsightful svg:hover,
#reactionInsightful svg:focus,
#reactionInsightful svg:active {
  fill: #EDBD5D;
  stroke: #1F3F82;
}

#reactionFunny svg {
  fill: #8ADDEE;
  stroke: #1F3F82;
}

#reactionFunny svg:hover,
#reactionFunny svg:focus,
#reactionFunny svg:active {
  fill: #8ADDEE;
  stroke: #1F3F82;
}

.comment-block {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.comment-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.comment-content h1.title {
  color: #05271c !important;
}

#commentBlockText {
  width: 40%;
  height: 50rem;
  background-color: #ffffff;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  overflow: hidden;
  padding-bottom: 5rem;
  text-align: left;
  padding: 2rem;
  font-size: 2rem;
}

#commentBlockClose {
  position: absolute;
  right: 5%;
  top: 5%;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

#roleChangeAlert {
  width: 30%;
  position: fixed;
  right: 3%;
  top: 12rem;
  background: #ffffff;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 2rem;
  padding: 1rem 2rem;
  z-index: 9999;
  border: 1px solid #ff3c00;
  display: none;
}

.ref-exercise-container {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem 5rem;
}

.ref-exercise-container h1.title {
  color: #05271c !important;
  padding-bottom: 3rem;
}

.ref-exercise-close {
  position: absolute;
  right: 2%;
  top: 4%;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

.ref-exercise-main-content {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ref-exercise-content {
  width: 45%;
  height: 100%;
  background-color: #ffffff;
  border: 2px solid #ff6d00;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  overflow: auto;
  padding-bottom: 5rem;
  text-align: left;
  padding: 2rem;
  font-size: 2rem;
  padding-top: 6rem;
}

.exchange-button-container-1,
.exchange-button-container-2 {
  position: absolute;
  display: none;
  margin: 0 !important;
  padding: 0 !important;
  background: white;
}

.exchange-button-container-1 {
  top: 1rem;
  left: 5rem;
}

.exchange-button-container-2 {
  top: 1rem;
  left: 53%;
}

.button-container.exchange-button-container-1 button,
.button-container.exchange-button-container-2 button {
  margin: 0 1rem;
}

.button-container.exchange-button-container-1 button svg,
.button-container.exchange-button-container-2 button svg {
  height: 3.5rem;
  width: 3.5rem;
  fill: #05271c;
  transition: all 0.1s;
}

.button-container.exchange-button-container-1 button#exchangeContent svg,
.button-container.exchange-button-container-2 button#exchangeContent svg {
  fill: #05271c;
}

.button-container.exchange-button-container-1 button#exchangeContent svg:hover,
.button-container.exchange-button-container-1 button#exchangeContent svg:focus,
.button-container.exchange-button-container-1 button#exchangeContent svg:active,
.button-container.exchange-button-container-2 button#exchangeContent svg:hover,
.button-container.exchange-button-container-2 button#exchangeContent svg:focus,
.button-container.exchange-button-container-2 button#exchangeContent svg:active {
  fill: #3874CC;
}


#image_from_prompt_container {
  position: fixed;
  /* left: 0; */
  right: 0;
  top: 0;
  width: 50%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 4rem 5rem 2rem;
  overflow-y: auto;
}

#image_from_prompt_container h1 {
  color: #05271c !important;
}

#image_from_prompt_close {
  position: absolute;
  right: 2%;
  top: 2%;
  font-size: 2rem;
  z-index: 9;
  padding: 1rem 1.5rem;
  color: #000000;
  background: #ff6d00;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  cursor: pointer;
}

.image-from-prompt-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 3rem !important;
  height: auto;
  margin-bottom: 2rem;
}

.image-from-prompt-content-1{
  width: 45%;
  height: 100%;
  position: relative;
  display: none;
}

.image-from-prompt-content-3 {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-from-prompt-content h2 {
  font-size: 2.2rem !important;
  color: #05271c !important;
  margin-bottom: 1rem !important;
}

.image-from-prompt-content-prompt {
  width: 100%;
  height: 60rem;
  /* height: 90%; */
  background-color: #ffffff;
  /* border: 2px solid #ff6d00; */
  border-radius: 10px;
  box-shadow: 0px 10px 20px 12px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  padding: 2rem;
  font-size: 1.6rem;
  overflow-y: auto;
  position: relative;
  padding-bottom: 4rem;
}

.image-from-prompt-content-prompt#latex_code_image_from_prompt_dialogue {
  width: 100%;
  height: 60rem;
  background-color: transparent;
  box-shadow: none;
  margin: 0 auto;
  overflow: visible;
  text-align: left;
  padding: 0;
  font-size: 1.6rem;
  overflow-y: visible;
  position: relative;
}

.image-from-prompt-content-2 {
  width: 5%;
  height: 62rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-from-prompt-content-2 button {
  height: 4rem;
  width: 4rem;
  background: transparent;
  border: 3px solid #05271c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.image-from-prompt-content-2 button svg {
  width: 2rem;
  height: 2rem;
  fill: #05271c;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.image-from-prompt-content-2 button:hover,
.image-from-prompt-content-2 button:active,
.image-from-prompt-content-2 button:focus {
  border: 3px solid #0077cc;
}

.image-from-prompt-content-2 button:hover svg,
.image-from-prompt-content-2 button:active svg,
.image-from-prompt-content-2 button:focus svg {
  fill: #0077cc;
}

.image-from-prompt-content-prompt-dialogue {
  width: 100%;
  height: 42rem;
  background: #ffffff;
  box-shadow: 0px 10px 20px 12px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  overflow: hidden;
  overflow-y: auto;
}

.image-from-prompt-content-prompt-chat {
  width: 100%;
  padding: 1rem;
  /* padding-right: 5rem;
  margin-top: 3rem; */
  height: 60rem;
  background: #ffffff;
  border: 2px solid #ff6d00;
  outline: none;
  font-size: 1.6rem;
  box-shadow: 0px 10px 20px 12px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  overflow: hidden;
  overflow-y: auto;
  /* padding-bottom: 4rem; */
}

.image-from-prompt-textarea-button-container {
  position: absolute;
  bottom: 0.7rem;
  left: 0.5%;
  width: 99%;
  justify-content: flex-start;
  background: #ffffff;
}

.image-from-prompt-textarea-button-container button {
  height: 3rem;
  width: 3rem;
  margin: 0 1rem;
}

.image-from-prompt-textarea-button-container button svg {
  height: 100%;
  width: 100%;
}

.image-from-prompt-content-prompt-chat[contenteditable="true"]:empty::before,
#renderImage::before,
#dialog-display::before,
#dialog-textarea::before {
  content: attr(data-placeholder);
  color: gray;
  pointer-events: none;
  display: block;
  position: absolute;
  z-index: 0;
}


#chatSendButton {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #ff6d00;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0.5rem;
  bottom: 12rem;
  cursor: pointer;
}

#chatSendButton svg {
  width: 2rem;
  height: 2rem;
  fill: white;
}

#loading-indicator-chat {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #0077cc;
  animation: pulse 1.5s ease-in-out infinite;
  opacity: 1;
  display: none;
  position: absolute;
  right: 0.5rem;
  bottom: 12rem;
}

#image_from_prompt_container .button-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.loading-spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.image-url-conversion-btn-container {
  position: absolute;
  width: 99%;
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
  background: white;
  top: 60.5rem;
  left: 0.5%;
  align-items: center;
  justify-content: flex-start;
}

.image-url-conversion-btn-container button {
  height: 3rem;
  width: 3rem;
  margin: 0 1rem;
}

.image-url-conversion-btn-container button svg {
  height: 3rem;
  width: 3rem;
  stroke: #05271c;
  fill: none !important;
  transition: all 0.1s;
}

.image-url-conversion-btn-container button svg:hover,
.image-url-conversion-btn-container button svg:focus,
.image-url-conversion-btn-container button svg:active {
  stroke: #3874CC;
  fill: none !important;
}

#imageUrlTextConversionBtn {
  display: none;
}


.image-prompt-convert-con-block {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 4rem 5rem 2rem;
  overflow-y: auto;
}

.image-prompt-convert-con {
  width: 40%;
  height: auto;
  padding: 5rem;
  margin: 0 auto;
  margin-top: 5rem;
  box-sizing: border-box;
  outline: none;
  text-align: left;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 2rem;
  border: none;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding-bottom: 5rem;
  border: 1px solid #ff6d00;
  position: relative;
}

.image-prompt-convert-con h3 {
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  color: #05271c;
  margin-bottom: 5rem;
}

.image-prompt-convert-con .image-prompt-convert-con-btns {
  display: flex;
  width: 80%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-around;
}

.image-prompt-convert-con .image-prompt-convert-con-btns button {
  padding: 1rem 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid #ff6d00;
  color: #ff6d00;
  outline: 0;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.image-prompt-convert-con .image-prompt-convert-con-btns button:hover,
.image-prompt-convert-con .image-prompt-convert-con-btns button:focus,
.image-prompt-convert-con .image-prompt-convert-con-btns button:active {
  background: #ff6d00;
  border: 1px solid #ff6d00;
  color: #ffffff;
}


.virtual-prompt-keyboard-block {
  position: fixed;
  /* left: 0; */
  right: 0;
  top: 0;
  width: 50%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.6);
  /*-webkit-backdrop-filter: blur(20px);*/
  /*backdrop-filter: blur(20px);*/
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 4rem 5rem 2rem;
  overflow-y: auto;
}

#virPromptKeyBlockClose {
  position: absolute;
  top: 0.5rem;
  right: 1.6rem;
  cursor: pointer;
  color: #ffffff;
  background: #ff6d00;
  padding: 0.5rem 1.5rem;
  font-size: 3rem;
  z-index: 1;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.virtual-prompt-keyboard {
  width: 70%;
  height: 60rem;
  padding: 1rem;
  margin: 0 auto;
  margin-top: 5rem;
  box-sizing: border-box;
  outline: none;
  text-align: left;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 2rem;
  border: none;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  border: 1px solid #ff6d00;
  position: relative;
}

.virtual-prompt-keyboard-block h3 {
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  color: #05271c;
  margin-bottom: 5rem;
}

.qrCode-image-loading-block {
  width: 5rem;
  height: 5rem;
  margin: 0;
  padding: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.qrCode-image-loading-block img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#resizeHandle2 {
  width: 10px;
  height: 10px;
  background: gray;
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: se-resize;
}


@media only screen and (max-width: 1500px) {
  .content .display-container {
    width: 50%;
  }

  /* #renderImageContainer {
    width: 50%;
  } */

  #getImageTextArea .display-container {
    width: 100%;
  }

  .side-button-container {
    right: 18%;
  }

  .side-button-container2 {
    position: absolute;
    right: 0%;
    top: 25%;
    flex-direction: column;
  }

  /* .history-button-container {
    right: 20%;
    top: 64.7rem;
  } */

  .exercise-button-container {
    right: 26%;
  }

  .exercise-note-button-container {
    left: 26%;
  }

  .exchange-button-container {
    left: 26%;
  }
}

@media only screen and (max-width: 1368px) {
  .content .display-container {
    width: 50%;
    /* height: 45rem; */
  }

  /* #renderImageContainer {
    width: 50%;
    height: 45rem;
  } */

  .content .display-container#renderImage {
    width: 100%;
    /* height: calc(45rem - 6.5rem); */
  }

  /* .history-button-container {
    right: 18.5%;
    top: 54.7rem;
  } */

  #getImageTextArea {
    width: 50%;
  }

  #getImageTextArea .display-container {
    width: 100%;
    /* height: 55rem; */
  }

  .infoTutorial-container {
    width: 70%;
  }

  .tutorial-video-container {
    width: 100%;
    height: 56rem;
  }

  .side-button-container {
    right: 16%;
  }

}

@media only screen and (max-width: 1024px) {
  html {
    font-size: 9px;
  }

  /* .history-button-container {
    right: 12.5%;
    top: 59.6rem;
  } */

  .content .display-container {
    width: 60%;
    /* height: 50rem; */
  }

  /* #renderImageContainer {
    width: 60%;
    height: 50rem;
  } */

  .content .display-container#renderImage {
    width: 100%;
    /* height: calc(50rem - 6.5rem); */
  }

  #getImageTextArea {
    width: 55%;
  }

  #getImageTextArea .display-container {
    width: 100%;
    /* height: 55rem; */
  }

  .tutorial-video-container {
    width: 100%;
    height: 50rem;
  }

  .side-button-container {
    right: 10%;
  }

  #positiveFeedBtn,
  #commentFeedBtn {
    margin-left: 0;
    margin-right: 0;
  }

  .exercise-button-container {
    right: 21%;
  }

  .exercise-note-button-container {
    left: 21%;
  }

  .exchange-button-container {
    left: 21%;
  }
}

@media only screen and (max-width: 991px) {
  #main-content {
    padding-top: 7rem;
  }

  /* .history-button-container {
    top: 8rem;
  } */

  #getImageTextArea .display-container {
    width: fit-content;
  }

  .video2 {
    width: fit-content !important;
  }

  #video2 {
    position: static !important;
    width: 45vw !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  #canvas2 {
    border: 1px solid red;
    width: 45vw !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* #import-image2 {
    object-fit: contain;
    position: static;
    width: 45vw;
    height: 100%;
  } */
}

@media only screen and (max-width: 868px) {
  html {
    font-size: 8px;
  }

  /* .history-button-container {
    right: 3%;
  } */

  .content .display-container {
    width: 80%;
  }

  #renderImageContainer {
    width: 80%;
  }

  .content .display-container#renderImage {
    width: 100%;
  }

  .grid {
    width: 100vw;
    grid-template-columns: 10vw 80vw 10vw;
  }

  .grid-exp {
    width: 95%;
    grid-template-columns: 5% 90% 5%;
  }

  .infoTutorial-container {
    width: 80%;
  }


  .side-button-container {
    right: 0%;
  }

  .exercise-button-container {
    right: 12%;
  }

  .exercise-note-button-container {
    left: 12%;
    bottom: 22rem;
  }

  .exchange-button-container {
    left: 12%;
  }
}

/* Mobile devices (767px and below) */
@media only screen and (max-width: 767px) {
  html {
    font-size: 7px;
  }

  /* .history-button-container {
    display: none;
  } */


  .element1 {
    font-size: 1.8rem;
  }

  .x-slider-container label {
    font-size: 1.8rem;
  }

  #vertical-label {
    margin-left: -10rem;
  }

  #getImageTextArea {
    width: 90%;
  }

  #getImageTextArea .display-container {
    width: fit-content;
    /* height: 50rem; */
  }

  .video2 {
    width: fit-content !important;
  }

  #video2 {
    position: static !important;
    width: 70vw !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  #canvas2 {
    border: 1px solid red;
    width: 70vw !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* #import-image2 {
    object-fit: contain;
    position: static;
    width: 70vw;
    height: 100%;
  } */

  /* .main-content-left .button-container.action-buttons {
    top: 72%;
  } */
}

@media only screen and (max-width: 668px) {
  .main-content-container {
    flex-direction: column;
  }

  .main-content-left {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .main-content-right {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 5rem;
  }

  .main-content-left .button-container.action-buttons button#renderImageMinMize {
    display: block;
  }

  .main-content-left .button-container.action-buttons button#renderImageMinMizeDesk {
    display: none;
  }

  .history-button-container {
    display: none;
  }

  .image-from-prompt-content {
    flex-direction: column;
  }

  .image-from-prompt-content-1,
  .image-from-prompt-content-3 {
    width: 100%;
  }

  .image-from-prompt-content-prompt {
    height: 40rem;
  }

  .image-url-conversion-btn-container {
    top: 40.5rem;
  }

  .image-from-prompt-content-2 {
    height: auto;
    margin: 2rem auto;
    transform: rotate(90deg);
  }

  .image-from-prompt-content-prompt#latex_code_image_from_prompt_dialogue {
    height: 40rem;
  }

  .image-from-prompt-content-prompt-dialogue {
    height: 25rem;
  }

  .image-from-prompt-content-prompt-chat {
    height: 12rem;
  }

  #chatSendButton {
    bottom: 9rem;
  }

  #loading-indicator-chat {
    bottom: 9rem;
  }

}

@media only screen and (max-width: 580px) {
  html {
    font-size: 6px;
  }

  /* .button-container button {
    height: 5rem;
    width: 5rem;
    margin: 1.5rem 3rem;
  } */

  .tutorial-video-container {
    width: 100%;
    height: 45rem;
  }

  #getImageTextArea {
    width: 90%;
  }

  #getImageTextArea .display-container {
    width: fit-content;
    /* height: 45rem; */
  }

  /* .exercise-button-container {
    right: 12%;
    bottom: 22rem;
  }

  .exercise-note-button-container {
    left: 12%;
    bottom: 22rem;
  }

  .exchange-button-container {
    left: 12%;
  } */

  #main-content {
    padding-top: 9rem;
  }

  /* .history-button-container {
    top: 10rem;
  } */
}

@media only screen and (max-width: 500px) {
  html {
    font-size: 5px;
  }

  #main-content h2 {
    font-size: 3.5rem;
  }

  /* .button-container button {
    height: 5.5rem;
    width: 5.5rem;
  } */

  /* .main-content-left .button-container.action-buttons {
    top: 71.9%;
  } */
}

@media only screen and (max-width: 420px) {
  #menu ul {
    left: 0;
    padding: 0;
  }
}