* {
  box-sizing: border-box;
  font-family: "Perfect DOS VGA 437 Win";
}

html {
  scroll-behavior: smooth;
  background: #393939;
}

body {
  margin: 0;
  padding: 0;
}

a {
  color: fff;
}

@font-face {
  font-family: "Perfect DOS VGA 437 Win";
  src: url("/fonts/Perfect-DOS-VGA-437-Win.woff2") format("woff2"),
    url("/fonts/Perfect-DOS-VGA-437-Win.woff") format("woff");
}

button {
  font-family: "Perfect DOS VGA 437 Win";
}

div#chat__plays__buttons {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  position: absolute;
  top: 1rem;
  width: 80vw;
  left: 10vw;
  bottom: 1rem;
  height: calc(100vh - 2rem);
}

div#chat__plays__buttons div.wrap__div {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 100%;
}

div#chat__plays__buttons h1 {
  min-width: 100%;
  text-align: center;
  font-size: 1.5rem;
  margin: 0.5rem;
}

div#chat__plays__buttons div.row__div {
  width: auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}

div#chat__plays__buttons div.row__wrap__div {
  width: auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}

div#chat__plays__buttons div.row__wrap__div > button {
  width: calc(100% / 3 - 1rem);
  max-width: 50%;
}

div#chat__plays__buttons div.column__div {
  width: auto;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}

div#chat__plays__buttons hr {
  width: 100%;
  opacity: 0.25;
  margin: 0rem;
}

div#chat__plays__buttons button {
  margin: 0.5rem;
  height: 4rem;
  padding: 0.125rem;
  background: #202020;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: large;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #404040;
  border-radius: 0.5rem;
  min-width: 8rem;
  width: 10rem;
}

button#esc__sim {
  bottom: 2rem;
  right: -1rem;
  width: 3rem;
  height: 4rem;
  background: #202020;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: large;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #404040;
  border-radius: 0.5rem;
  z-index: 1000;
}

div#chat__plays__buttons button:hover {
  background: #303030;
}

div#chat__plays__buttons button:active {
  background: #404040;
}

div#chat__plays__buttons button.vote,
div#chat__plays__buttons button.soft__vote {
  background: crimson;
  color: #fff;
}

div#chat__plays__buttons button:focus {
  outline: none;
}

div#chat__plays__buttons button img {
  width: 2rem !important;
  height: 2rem !important;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}

div#chat__plays__buttons button br {
  width: 100%;
}

div#chat__plays__buttons button:disabled {
  background: #404040;
  color: #808080;
  cursor: not-allowed;
}
div#port{
  display: none;
}
div#land{
  display: block;
}

/* On desktop, hide ESC button. */
@media (min-width: 1024px) {
  button#esc__sim {
    display: none;
  }
}
@media (orientation: portrait) {
  div#port{
  display: block;
  }
  div#land{
  display: none;
}
	div#chat__plays__buttons {
	top: 0rem !important;
	left: 0rem !important;
	bottom: 0rem !important;
	width: 100vw !important;
	}
	div#chat__plays__buttons button {
	margin: 0rem !important;
	}
	div#chat__plays__buttons div.row__div {
		flex-flow: column nowrap !important;
	}	
	div.wrap__row__div,
  div.kanoka__disks,
  div.other__actions {
    display: flex;
    flex-flow: column nowrap !important;
    justify-content: center;
    align-items: center;
	}

  div#chat__plays__buttons div.basic__inputs div.row__wrap__div {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  div#chat__plays__buttons div.basic__inputs div.row__wrap__div button {
    max-width: 64px;
    width: 64px;
  }
}