html,
body {
  user-select: none;
  -moz-user-select: none;
  font-family: arial, helvetica;
  background-color: #21252b;
  margin: 0;
  font-size: 35px;
  color: #dadada;
  /* color: #000; */
  height: 100%;
  width: 100%;
}

body * {
  box-sizing: border-box;
}

#arriba {
  position: relative;
  height: 150px;
}

#medio {
  position: relative;
  height: 500px;
  border-bottom: 2px solid #16191d;
  background-color: #2c3139;
}

#preguntadoHead {
  display: flex;
  flex-direction: row;
  background-color: #242930;
  border-bottom: 2px solid #16191d;
  height: 100px;
  margin-right: 4px;
}

#abajo {
  position: relative;
  height: calc(99% - 750px);
  font-size: 1.5vh;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 8px;
}

body {
  display: flex;
  flex-direction: column;
}

#preguntas {
  height: 100%;
}

.cinto {
  position: relative;
  user-select: none;
  cursor: pointer;
  background-color: #373e48;
  box-shadow: rgba(0, 0, 0, 1) 0px 1px 8px 0px;
  width: 8.9vw;
  margin: 0 4px;
  height: 64px;
}

.cinto>.name {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: goldenrod;
  font-size: 0.8em;
  border: 2px solid rgba(125, 125, 125, 0.5)
}

.cinto>.name.namedan {
  border: 2px solid goldenrod;
}

.cinto>.color {
  height: 100%;
  width: 100%;
  border-top: 32px solid white;
  border-bottom: 32px solid white;
}

.cinto:hover {
  color: white;
}

.btn {
  user-select: none;
  -moz-user-select: none;
  padding: 0 5px;
  height: 60px;
  user-select: none;
  background-color: #2d3746;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s;
  text-transform: capitalize;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 1) 0px 1px 8px 0px;
  border: 2px solid rgba(255, 255, 255, 0.3);

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.btn.nogrow{
  flex-grow: initial;
}

.btn.bal {
  background-color: #4d0b0b;
}

.btn.com {
  background-color: #4d054b;
}

.btn.sog {
  background-color: rgb(6, 41, 94);
}

.btn.mak {
  background-color: #311B92;
}

.btn.gon {
  background-color: #4A148C;
}

.btn.pum {
  background-color: rgb(83, 9, 49);
}

.btn.reiniciar {
  background-color: #006064;
}

.btn:active,
.btn:hover {
  background-color: rgb(44, 107, 150)
}

.btn.bal:hover,
.btn.bal:active {
  background-color: #860000;
}

.btn.com:hover,
.btn.com:active {
  background-color: #780674;
}

.btn.sog:hover,
.btn.sog:active {
  background-color: rgb(0, 56, 141);
}

.btn.mak:hover,
.btn.mak:active {
  background-color: #4527A0;
}

.btn.gon:hover,
.btn.gon:active {
  background-color: #6A1B9A;
}

.btn.pum:hover,
.btn.pum:active {
  background-color: rgb(124, 0, 66);
}

.btn.reiniciar:hover,
.btn.reiniciar:active {
  background-color: #00838F;
}

.btn.time{
  flex-grow: initial;
  background-color: #002a45;
}
.btn.time:hover,
.btn.time:active {
  background-color: #0060a0;
}

#cinturones {
  height: 100%;
}

#cinturonesTop {
  height: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  padding-left: 1.5%;
  padding-right: 1.5%;
}

#cinturonesBot {
  height: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.botones {
  margin: 0 10px;
  display: flex;
  flex-direction: row;
  align-items: center;

}

.botones>* {
  flex-grow: 1;
}

#pregunta {
  padding: 20px 0 0 20px;
  text-transform: capitalize;
  font-size: 1.7em;
}

#imagen {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 99999;
  box-sizing: border-box;
  height: 95vh;
  width: 100vw;
  padding: 4px;
  top: 0;
  pointer-events: none;
}

#imagen>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

#imagen>img.error,
#imagen>img.none {
  visibility: hidden;
  opacity: 0;
  display: none;
  pointer-events: none;
  background-color: transparent;
}

[data-cinturon=blanco-amarillo]>.color {
  border-top-color: white;
  border-bottom-color: #FBC02D;
}

[data-cinturon=amarillo]>.color {
  border-top-color: #FBC02D;
  border-bottom-color: #FBC02D;
}

[data-cinturon=amarillo-naranja]>.color {
  border-top-color: #FBC02D;
  border-bottom-color: #FB8C00;
}

[data-cinturon=naranja]>.color {
  border-top-color: #FB8C00;
  border-bottom-color: #FB8C00;
}

[data-cinturon=naranja-verde]>.color {
  border-top-color: #FB8C00;
  border-bottom-color: #43A047;
}

[data-cinturon=verde]>.color {
  border-top-color: #43A047;
  border-bottom-color: #43A047;
}

[data-cinturon=verde-azul]>.color {
  border-top-color: #43A047;
  border-bottom-color: #1565C0;
}

[data-cinturon=azul]>.color {
  border-top-color: #1565C0;
  border-bottom-color: #1565C0;
}

[data-cinturon=azul-rojo]>.color {
  border-top-color: #1565C0;
  border-bottom-color: #ff0000;
}

[data-cinturon=rojo]>.color {
  border-top-color: #ff0000;
  border-bottom-color: #ff0000;
}

[data-cinturon=segundo-dan]>.color {
  border-top-color: #000000;
  border-bottom-color: #000000;
}

[data-cinturon=tercer-dan]>.color {
  border-top-color: #000000;
  border-bottom-color: #000000;
}

[data-cinturon=cuarto-dan]>.color {
  border-top-color: #000000;
  border-bottom-color: #000000;
}

[data-cinturon=quinto-dan]>.color {
  border-top-color: #000000;
  border-bottom-color: #000000;
}

#preguntado {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  height: 100%;
  font-size: 26px;
}


#preguntadoHead>div {
  flex: 1;
  border-left: 1px solid #14171a;
  padding-top: 2px;
}

#preguntadoHead div {
  text-align: center;
}

.tit-historia {
  flex-grow: 1;
  width: 0;
  counter-reset: section;
  background-color: #21252B;
  border-right: 1px solid #16191d;
  padding: 3px 0;
}

.tit-historia:nth-child(even) {
  background-color: rgb(36, 42, 53);
}

.tit-historia>.tit {
  text-transform: capitalize;
  background-color: #2c3139;
  padding: 5px;
  text-align: center;
  border-bottom: 2px solid #16191d;
}

.tit-historia>.tec {
  padding: 4px;
  margin-bottom: 3px;
  user-select: text;
  cursor: pointer;
}

.tit-historia>.tec:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
  color: #B3E5FC;
}

.tit-historia>.tec:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.1);
  color: #C8E6C9;
}

.tit-historia>.tec::before {
  counter-increment: section;
  content: counter(section) ". ";
  color: #fccab3;
}

#cintosel {
  font-size: 0.9em;
  text-transform: capitalize;
}

.hidden {
  display: none !important;
}