* {
  margin: 0;
  padding: 0;
  color: inherit;
  box-sizing: border-box;
}

main {
  max-height: 100dvh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.row {
  padding: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#leftContainer {
  padding: 1rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#btnRoll {
}

#rightContainer {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#distanceCheck {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.2rem;
}

.distanceCheckValue {
  margin: 0.5rem 0;
}

.distanceCheckHit {
  background-color: rgb(170, 252, 89);
}
.distanceCheckMiss {
  background-color: rgb(247, 60, 98);
}

.no-hit {
  background-image: url("../media/body-no-hit.jpg");
}

.head-hit {
  background-image: url("../media/body-head-hit.jpg");
}

.torso-hit {
  background-image: url("../media/body-torso-hit.jpg");
}

.left-arm-hit {
  background-image: url("../media/body-left-arm-hit.jpg");
}

.right-arm-hit {
  background-image: url("../media/body-right-arm-hit.jpg");
}

.left-leg-hit {
  background-image: url("../media/body-left-leg-hit.jpg");
}

.right-leg-hit {
  background-image: url("../media/body-right-leg-hit.jpg");
}

#selWeaponType {
}

#txtResults {
  resize: none;
}

#inHitMod {
}

#inDmg {
}

.pill {
  padding: 0.2rem;
  width: 250px;
  text-align: center;
  border: 1px solid black;
  border-radius: 15px;
}

#btnClear {
  margin-top: 0.5rem;
}

button,
select {
  cursor: pointer;
}

.btn {
  padding: 0.2rem;
  width: 250px;
  text-align: center;
  border: 1px solid black;
  border-radius: 15px;
  margin-bottom: 0.5rem;
}

.btn p {
  font-style: italic;
}

.toogleBtn-On {
  background-color: rgb(85, 213, 85);
}

.toogleBtn-Off {
  background-color: rgb(199, 199, 199);
}
@media (max-width: 1000px) {
  main {
    max-height: none;
    grid-template-columns: 1fr;
  }
  #rightContainer {
    height: 600px;
  }
}
