body {
  width: 1000px;
  margin: auto;
  background-color: white;
  color: black;
  font-size: 18pt;
  padding: 30px 20px 20px 20px;
  border: 5px solid white;
}

/* Show only the consent screen */
#welcome {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.welcomeButton {
  width: 230px;
  margin: 0 auto;
  padding: 5px;
  font-weight: bold;
  background: #f4f4f4;
  border: 4px outset #dbdbdb;
}

.startButton {
  padding: 15px 30px;
  border: 2.5px solid lightblue;
  border-radius: 50px;
  background-color: white;
  text-align: center;
  font-size: 16pt;
  display: inline-block;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.startButton:hover {
  background-color: lightblue;
  color: white;
}

/* instruction container */
.instruction-container {
  display: none;
  margin: 0 auto;
  overflow-y: auto;
  position: relative;
}

.instructions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 5px;
}

.instruction-container>button {
  background-color: white;
  border: 2px solid;
  border-color: rgb(187, 193, 196);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 25px;
  cursor: cursor;
  color: black;
}

.instruction-container>button:hover {
  background-color: rgb(236, 238, 238);
}

#instructionButton2 {
  margin-top: 15px;
}

/* mining behavior container */
.mining-behavior-container {
  display: none;
}

.demo_procedure {
  max-width: 100%;
  height: auto;
}

.mining-behavior {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  margin-top: 80px;
}

.mining-behavior-container img {
  width: 100px;
}

/* mineral boxes */
.mineral-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  max-width: 300px;
}

.mineral-box {
  width: 50px;
  height: 50px;
  border: 2px solid #cec8c8;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.crossDiv {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.crossDiv img {
  width: 100%;
  height: 100%;
}

.transition-container {
  display: none;
  text-align: center;
  padding: 220px;
}

.mineral-box.blue {
  background-color: lightblue;
}

.mineral-box.yellow {
  background-color: gold;
}

.loading-gif {
  position: absolute;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* choice screen */
.choice-container-group {
  display: none;
}

.choice-container-individual {
  display: none;
}

.choice-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.option-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 50px;
}

.option {
  padding: 20px;
  border-color: #cec8c8;
  border: 2.5px solid lightblue;
  border-radius: 50px;
  background-color: white;
}

.option:hover {
  background-color: lightblue
}

.option.selected {
  background-color: #DEA8AB;
  border-color: #C7BEDC;
}

/* rating screen */
.rating-container-individual {
  display: none;
}

.rating-container-group {
  display: none;
}

.rating-container {
  display: flex;
  flex-direction: column;

}

.rating {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.rating-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.likert-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.likert-option input {
  margin-bottom: 5px;
}

.likert-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* demographics */
.survey {
  display: none;
}

/* ending screen */
.ending-container {
  display: none;
}

.ending-container.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ending-screen img {
  margin-top: 150px;
  margin-bottom: 10px;
}

.ending-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ending-text {
  font-size: 22pt;
  text-align: center;
  font-weight: bold;
}