body {
  background-color: rgb(25, 25, 25);
  font-family: Arial, sans-serif;
  max-height: 600px;
}

.main-box {
  width: 80%;
  height: 70vh;
  min-height: 420px;
  max-height: 500px;
  min-width: 300px;
  margin: 0 auto;
  background-color: rgb(32, 33, 35);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.child {
  width: 100%;
  margin-bottom: 2px;
  border-radius: 5px;
  flex-grow: 1;
  flex-shrink: 0;
}

#question {
  height: auto;
  margin-top: 5px;
  min-height: 20px;
  max-height: 50px;
  width: 80%; 
  display: flex; 
  align-items: center;
  padding: 5px;
  color: rgb(210, 213, 218);
  background-color: rgb(52, 53, 64);
  border-radius: 5px 5px 5px 5px;
}

#answer {
  height: auto;
  margin-top: 5px;
  min-height: 30px;
  /* max-height: 150px; */
  width: 80%; 
  display: flex; 
  align-items: center;
  padding: 5px;
  color: rgb(210, 213, 218);
  background-color: rgb(68, 70, 83);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.swipe-block {
  position: absolute;
  top: 0;
  left: 100%; /* Start from the right side of the answer div */
  transform: translateX(-100%); /* Hide it initially */
  background-color: rgb(25, 25, 25); 
  width: 0;
  height: 100%;
  transition: width 0.3s ease;
  transform-origin: top right;
  z-index: 1; /* Ensure it appears on top of other elements */
}

.inside {
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.input-box {
  width: 70%;
  height: fit-content;
  margin-right: 10px;
  padding: 10px;
  border-radius: 20px;
  background-color: black;
  color: gray;
  font-family: Arial, sans-serif;
}

#submit-button {
  background-image: url("./images/send.png");
  background-size: cover;
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 30px;
  width: 30px;
  padding: 10px;
  background-position: center -2px;
}

#next-button {
  background-image: url("./images/next.png");
  background-size: cover; /* or contain depending on your preference */
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  display: flex; 
  height: 30px; /* or any other absolute value */
  padding: 10px;
  align-items: center;
  margin-bottom: 100px;
  bottom: 0;
}

#next {
  border-radius: 10px;
  background: black;
  color: gray;
}

.title {
  color: rgb(210, 213, 218);
  font-family: Arial, sans-serif;
  text-decoration: underline;
  text-decoration-color: blue; 
}

#graph {
  position: relative;
  width: 30%;
  background-color: rgb(210, 213, 218);
  border-radius: 5px;
  margin-top: 5px;
  min-height: 20px; 
  max-height: 20px;
}

#bar {
  width: 0; /* Start with 0 width */
  height: 100%;
  background-color: #acacac;
  transition: width 1s;
  border-radius: 5px;
}

#output-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #313131;
  font-family: Arial, sans-serif;
  z-index: 1;
}

nav {
  width: 50px;
  float: left;
  background-color: rgb(25, 25, 25);
}

.menu-toggle {
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  width: 30px;
  height: 2px;
  color: rgb(32, 33, 35);
  background-color: rgb(210, 213, 218);
  margin-bottom: 6px;
}

.menu-container {
  position: relative;
}

.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; 
  list-style-type: none;
  margin: 0;
  padding: 0;
  z-index: 1;
  font-family: Arial, sans-serif;
}

.menu.show {
  display: block;
}

.menu li {
  margin-bottom: 10px;
}

.menu a {
  text-decoration: none;
  color: rgb(210, 213, 218);;
}

.form-element {
  padding: 5px; 
  margin-bottom: 10px;
}

#progress {
  width: 100%;
  height: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

#remaining {
  width: 100%;
  height: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  flex-shrink: 0;
}

.dot2 {
  height: 10px;
  width: 10px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  flex-shrink: 0;
}

.active {
  background-color: #bbb;
}

.active2 {
  background-color: #bbb;
}

canvas {
  border: 2px solid blue;
  border-radius: 5px;
  background-color: rgb(32, 33, 35);
}
