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

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

.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;
  position: relative;
  flex-direction: column;
  flex-grow: 1; 
  overflow: auto; 
}

#answer {
  height: auto; 
  margin-top: 5px;
  margin-bottom: 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;
  flex-direction: column;
  flex-grow: 1; 
  overflow: auto; 
}

.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;
}

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

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

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

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);;
}

#progress {
  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;
}

#imageCanvas {
  margin-top: 10px;
  position: relative;
  image-rendering: pixelated;
  width: 192px;
  height: 192px;
}

#testCanvas {
  position: relative;
  image-rendering: pixelated;
  width: 192px;
  height: 192px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

#background {
  z-index: 1; /* Lower z-index to be below #face */
}

#face {
  z-index: 2; /* Higher z-index to be on top of #background */
}

#innerbox {
  position: relative;
  /* height: auto; */
  height: 90%;
  /* min-height: 450px; */
  width: 95%;
  min-width: 300px;
  display: flex;
  align-items: center; 
  padding: 5px;
  color: rgb(210, 213, 218);
  /* top: 0; */
  margin-top: 5px;
  margin-bottom: 5px;
  /* background-color: rgb(52, 53, 64); */
  background-color: rgb(32, 33, 35);
  border-radius: 5px;
  flex-direction: column;
  flex-grow: 1; 
  overflow: auto; 
}

#innerbox .h5-container {
  margin-top: 0px;
}

#about {
  margin-bottom: 0px;
  margin-top: 0px;
}

#versions {
  margin-bottom: 0px;
  margin-top: 10px;
}

.connected {
  margin-top: 0px;
  margin-bottom: 10px;
}

#space {
  margin-bottom: 20px;
}

#nca-gif {
  width: 64px;
  height: 64px;
  margin-bottom: 5px;
  margin-top: 5px;
}

#color-container {
  display: flex;
  margin-top: 10px;
  margin-bottom: 2px;
}

.color-box {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  /* border: solid #ffffff; */
  /* border-color: white; */
  /* border-style: solid; */
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}