::-webkit-scrollbar {
  display: none;
}

@media only screen and (orientation: portrait) {
  #rotateDeviceWarning {
    display: flex;
    --bulma-modal-z: 100;
  }
  #help_modal {
    display: none;
  }
}

html,
body {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "hightower-text", serif !important;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  user-select: none; /* Standard */
}

html,
body,
.container {
  height: 100%;
  margin: 0px !important;
}

.container {
  display: flex;
  justify-content: left;
  align-items: center;
}

#container {
  max-height: 950px;
  display: flex;
  justify-content: left;
  align-items: center;
}

.floating {
  position: absolute;
  top: 15px;
  right: 15px;
}

#draw_button {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

#knight_logo {
  position: absolute;
  width: 256px;
  top: 10px;
  right: 30px;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
#knight_quick_info {
  position: absolute;
  right: 10px;
  top: 123px;
  width: 300px;
  margin-bottom: 0px;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

#beasthunter_logo {
  position: absolute;
  width: 256px;
  bottom: 10px;
  right: 30px;
}
#beasthunter_quick_info {
  position: absolute;
  right: 10px;
  bottom: 103px;
  width: 300px;
  margin-bottom: 0px;
}

#knight_modal_content {
  position: absolute;
  top: 0px;
  width: 100%;
}

#beasthunter_modal_content {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.animate__animated.animate__fadeInDown {
  --animate-duration: 0.5s;
}

.animate__animated.animate__fadeInUp {
  --animate-duration: 0.5s;
}

.card.flipped {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.rotated {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}
.unrotated {
  -webkit-transform: rotate(-270deg);
  -moz-transform: rotate(-270deg);
  -o-transform: rotate(-270deg);
  -ms-transform: rotate(-270deg);
  transform: rotate(-270deg);
}

.right_container {
  position: absolute;
  justify-content: right;
  align-items: center;
  right: 0px;
  top: 0px;
  height: 100%;
}

#right_container {
  display: flex;
  justify-content: right;
  align-items: center;
  height: 100%;
}

#help_modal_content {
  overflow: visible;
  min-width: 0px;
  /**width: calc(100vh - 20px);**/
  --bulma-modal-content-width: 100svh;
}

#help_button {
  margin-right: 20px;
}

.health-cyan {
  background-image: url(health_cyan.png);
  background-position: center;
  background-size: 128px 128px;
  background-repeat: no-repeat;
  height: 128px;
}

.health-magenta {
  background-image: url(health_magenta.png);
  background-position: center;
  background-size: 128px 128px;
  background-repeat: no-repeat;
}

.health-yellow {
  background-image: url(health_yellow.png);
  background-position: center;
  background-size: 128px 128px;
  background-repeat: no-repeat;
}

.field.is-grouped.is-justify-content-space-evenly.is-align-items-stretch {
  margin-top: 20px;
}

.modal {
  --bulma-modal-content-margin-mobile: 0;
  --bulma-modal-content-spacing-mobile: 0;
  --bulma-modal-content-margin-tablet: 0;
  --bulma-modal-content-spacing-tablet: 0;
}

.copyright_container {
  position: absolute;
  justify-content: right;
  align-items: center;
  right: 0px;
  top: 0px;
  height: 100%;
}

#copyright_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  writing-mode: vertical-rl;
  /*text-orientation: sideways;*/
  transform: scale(-1);
}

.no-pad {
  padding-left: 0px;
  padding-right: 0px;
}

* {
  touch-action: manipulation;
}
