body {
  background-color: black;
  font-family: 'Arimo', sans-serif;
  font-size: 10px;
}

.app-help-content {
  cursor: default;
}

.app-content {
  background-color: #3b414d !important;
}

.sketchfab-wrapper {
  /* width: 74.4%; */
  /* height: 84.5%; */
  position: absolute;
  /* top: 11.7%; */
  left: 34.1em;
  /* background-image: url('img/BG-3d.jpg'); */
  /* background-position: center center; */
  /* background-repeat: no-repeat; */
  background-size: 100%;
  /* display: none; */
  /* background-image: url(img/dna-6.jpg); */
  width: 100%;
  height: 100%;
}

#api-frame,
.mask {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  border: none;
  /* display: none; */
  z-index: 0;
  /* opacity: 0; */
}

.mask {
  background-image: url('img/mask.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
  pointer-events: none;
}

.he .sketchfab-wrapper,
.he #api-frame,
.he .mask {
  left: 0;
}






div#categories {
  width: 18%;
  height: 21%;
  position: absolute;
  top: 8.5%;
  right: 2.5%;
  z-index: 1;
  pointer-events: none;
}

.category {
  width: 5.3em;
  height: 5.3em;
  /* display: inline-block; */
  background-size: 3.7em;
  background-repeat: no-repeat;
  background-position: 50%;
  border-radius: 100%;
  background-color: #495055;
  /* border: black solid 1px; */
  transition: background 0.3s;
  background-repeat: no-repeat;
  position: absolute;
}

div#BasicContent {
  height: 94%;
}

div#BasicCategory .category {
  background-image: url(../content/img/DNA1-WHITE.svg);
}

div#BondCategory .category {
  background-image: url(../content/img/DNA2-WHITE.svg);
}

div#contents {
  width: 24.4%;
  height: 84.5%;
  top: 6.6%;
  right: 8.9%;
  position: absolute;
  pointer-events: none;
}

.game-container {
  height: 100%;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  /* display: none; */
  background-color: rgba(117, 184, 215, 0.93);
  border-top-left-radius: 4.2em;
  border-bottom-right-radius: 4.2em;
  border: rgba(73, 80, 85, 0.5) solid 1px;
  pointer-events: none;
  transition: opacity 0.3s;
}

.buttons, .content-textarea {
  width: 89%;
  height: 57%;
}

.buttons {
  text-align: center;
  margin-right: 6%;
  color: #333333;
  font-family: 'heebo', sans-serif;
}

.button {
  width: 41%;
  height: 1.7em;
  display: inline-block;
  margin-left: 2.5%;
  margin-bottom: 0.5em; /* border: black solid 1px; */
  background: #c1e1f2;
  font-size: 1.6em;
  text-align: center;
  cursor: pointer;
  border-radius: 1em;
  line-height: 1.8;
  transition: background 0.2s;
  vertical-align: middle;
}


#BasicContent .buttons {
  height: 22.8%;
  margin-bottom: 1.5%;
}

#BondContent .buttons {
  height: 26.8%;
  margin-bottom: 3%;
}

.category-container.current-category .category {
}

.content-wrapper.current-category {
  opacity: 1;
  pointer-events: all;
  display: inline-block;
  pointer-events: all;
}

#BasicContent .content-textarea {
  height: 61%;
}

div#background {
  width: 100%;
  height: 100%;
  /* background: url(../content/img/bg.jpg); */
  background-size: contain;
  direction: rtl;
  /* opacity: 0.5; */
}

.title {
  width: 77%;
  height: 12%;
  margin-top: -9.6%;
  margin-right: -4.1%;
  margin-bottom: 5.4%;
  /* background-color: lightgreen; */
  /* border: black solid 1px; */
  border-radius: 60px;
  border-top-left-radius: 0px;
  background-image: url("../content/img/green title.svg");
  color: #495055;
  font-size: 2.0em;
  text-transform: capitalize;
  line-height: 2.9;
  text-indent: 0;
  text-align: center;
  font-family: 'heebo', sans-serif;
  font-weight: bold;
}

.button.current-button {
  background-color: rgba(255,100,255,0.7);
  color: white;
}

#BasicCategory.current-category .category {
  background-image: url("../content/img/button green 1.svg");
}

#BondCategory.current-category .category {
  background-image: url("../content/img/button green 2.svg");
}

.category-container.current-category .category {
  /* background-size: 114% 141%; */
  /* background-position: 27% 43%; */
  border: rgba(0,0,0,0) solid 1px;
  background-size: 5.7em;
  background-color: rgba(0,0,0,0);
  background-position: -.1em -.1em;
}

.category-container {
  width: 5.6em;
  height: 5.6em;
  display: inline-flex;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 2.8em;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 3.2em;
  margin-bottom: 1.1em;
  pointer-events: all;
  overflow: hidden;
  transition: font-size 0.2s, width 0.3s, line-height 0.3s, opacity 0.3s, background 0.3s, color 0.3s;
}

  .category-container span {
    font-size: 2.1em;
    width: 8em;
    line-height: 2.5;
    opacity: 0;
    color: white;
    margin-right: 2.8em;
    transition: font-size 0.1s;
    font-family: 'heebo', sans-serif;
    z-index: 2;
  }

  .category-container:not(.current-category):hover span {
    opacity: 1;
  }

  .category-container:not(.current-category):hover {
    width: 100%;
    background: #495055;
    transition: font-size 0.4s, width 0.3s, line-height 0.3s, opacity 0.3s, background 0.3s, color 0.3s;
  }

  .category-container.current-category:hover {
    /* background: #C3E550; */
    cursor: default;
    /* pointer-events: none; */
  }

    .category-container.current-category:hover span {
      color: black;
    }

#BasicCategory:not(.current-category):hover .category {
  background-image: url(../content/img/DNA1-GREEN.svg);
}

#BondCategory:not(.current-category):hover .category {
  background-image: url(../content/img/DNA2-GREEN.svg);
}

.x-button {
  background: url(../content/img/x.svg);
  width: 1.5em;
  height: 1.6em;
  position: absolute;
  top: -2%;
  left: -1%;
  cursor: pointer;
  background-repeat: no-repeat;
}

#BondContent .title {
  height: 11.3%;
}

#BondContent .x-button {
  margin-top: 0.1%;
}

.content-textarea {
  font-size: 1.4em;
  margin-bottom: .1em;
  margin-top: 0;
  margin-right: .24em;
  line-height: 1.5;
  color: #333333;
  font-family: 'arimo';
  width: 79%;
}

.button:not(.current-button):hover {
  background: lavender;
}

#ButtonBasicA.current-button, #ButtonBondA.current-button {
  background-color: #5724ab;
}

#ButtonBasicT.current-button, #ButtonBondT.current-button {
  background-color: #cd58a2;
}

#ButtonBasicC.current-button, #ButtonBondC.current-button {
  background-color: #e89f2d;
}

#ButtonBasicG.current-button, #ButtonBondG.current-button {
  background-color: #c14326;
}

#ButtonBasicStrand.current-button {
  background-color: #1f295a;
}

#ButtonBondPhosphate.current-button {
  background-color: #1d754c;
}

#ButtonBondSugar.current-button {
  background-color: #253c6b;
}

#ButtonBondHydrogen.current-button {
  background-color: #353531;
}


.content-textarea:not(.mCS_no_scrollbar) {
  margin-right: .14em;
  width: 85%;
}

.content-wrapper.current-category.opaque {
  opacity: 0.5;
}
