* {
  box-sizing: border-box;
}

body {
  font-family: tahoma, sans-serif;
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
}

a {
  color: #0abde3;
  text-decoration: underline;
}

a:hover {
  color: #0c95b3;
}

#x_main {
  width: 1000px;
  margin: 0 auto;
}

#toolList {
  /* display: flex; */
  flex-wrap: wrap;
}

.toolListChild {
  flex: 1 0 21%;
  height: 25px;
  margin: 5px;
}

.highlightMain {
  color: #f0932b !important;
}

.highlightCorrect {
  color: #009b22;
}

.background1,
.backgroundBlue {
  background: #81cfe0;
}

.background2,
.backgroundRed {
  background: #f1a9a0;
}

.background3,
.backgroundGreen {
  background: #66cc99;
}

.background4,
.backgroundPurple {
  background: #b4a0f1;
}

.backgroundHighlight,
.backgroundOrange,
.highlightSquare {
  background: #fad7a0;
}

.highlightSquare {
  background-clip: padding-box;
}

.solidBlue {
  background: #0abde3;
}

.solidRed {
  background: #ee5253;
}

.solidPurple {
  background: #8e44ad;
}

.solidGreen {
  background: #00a651;
}

.solidOrange {
  background: #f0932b;
}

.light {
  opacity: 0.5;
}

.ghost {
  opacity: 0.5;
  background: white;
}

.vSpace {
  width: 100%;
}

.problemEquation {
  font-size: 3em;
  text-align: center;
}

.problemAnswer {
  border-bottom: 3px solid black;
  display: inline;
}

.questionAnswerNumber,
.problemAnswerNumber {
  opacity: 0;
}

.questionAnswer {
  border-bottom: 3px solid black;
  text-align: center;
  font-size: 3em;
}

.solved {
  opacity: 1 !important;
}

.page {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  width: 100%;
  margin: 0px auto;
}

.lessonNav {
  display: flex;
  justify-content: space-between;
  top: 60px;
}

.dropdowns {
  display: flex;
  flex-direction: row;
  height: 25px;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.dropdowns-tool {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
}

.cpaContainer > select {
  margin-left: 5px;
}

/* assessmentLabel Styling */
/* label */
.assessmentLabel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  margin: 12px 0;
  cursor: pointer;
  position: relative;
}

/* input */
.assessmentLabel input {
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  cursor: pointer;
  display: inline-block;
}

/* .design */

.assessmentLabel .design {
  width: 16px;
  height: 16px;
  border: 1px solid black;
  border-radius: 100%;
  margin-right: 16px;
  position: relative;
}

.assessmentLabel .design::before,
.assessmentLabel .design::after {
  content: "";
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  position: absolute;
  transform-origin: center center;
  transform: scale(0);
}

.assessmentLabel .design:before {
  background: black;
  opacity: 0;
  transition: 0.3s;
}

/* .text */
.assessmentLabel .text {
  color: black;
  font-weight: bold;
  font-size: 24px;
}

/* checked state */
.assessmentLabel input:checked {
  border: 1px solid #0c95b3;
}

.assessmentLabel input:checked + .design::before {
  opacity: 1;
  transform-origin: center center;
  transform: scale(0.7) translate(-1.3px, -1.3px);
  background: #0c95b3;
}

/* other states */
.assessmentLabel input:hover + .design,
.assessmentLabel input:focus + .design,
.assessmentLabel input:checked + .design {
  border: 1px solid #0c95b3;
}

.assessmentLabel input:hover ~ .text {
  color: #0c95b3;
}

.assessmentLabel input:checked + .incorrectChoice {
  border: 1px solid #ee5253;
}

.assessmentLabel input:checked + .incorrectChoice::before {
  background: #ee5253;
}

.assessmentLabel input:checked + .correctChoice {
  border: 1px solid #00a651;
}

.assessmentLabel input:checked + .correctChoice::before {
  background: #00a651;
}

@keyframes choiceBounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-7px);
  }
}

/* offsets */
.assessmentOffset2 {
  margin-bottom: 100px;
}

.assessmentOffset3 {
  margin-bottom: 135px;
}

#hotkeyContainer {
  position: fixed;
  border-radius: 10px;
  padding: 10px 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.3);
  z-index: 20;
  background-color: white;
  visibility: hidden;
}

#exitHotkey {
  float: right;
}

.toolInteract {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 10px;
}

.dropdowns-tool select {
  height: 25px;
}

.toolButton, #toolScale {
  height: 25px;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.show {
  color: #000 !important;
}

.hide {
  color: #0000;
}
