html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: #222;
  display: flex;
  justify-content: center;
  align-items: center;
}

#container {
  display: flex;
  gap: 0;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}

/* Orientation logic */
@media (min-aspect-ratio: 1/1) {
  /* Horizontal layout */
  #container {
    flex-direction: row;
    width: 80vw;
    height: auto;
  }

  #dealerBox, #playerBox {
    width: 50%;
    aspect-ratio: 1 / 1;
  }
}

@media (max-aspect-ratio: 1/1) {
  /* Vertical layout */
  #container {
    flex-direction: column;
    height: 80vh;
    width: auto;
  }

  #dealerBox, #playerBox {
    height: 50%;
    aspect-ratio: 1 / 1;
  }
}

#dealerBox, #playerBox {
  border-left: 1px solid gray;
  border-right: 1px solid gray;
  background-color: #025f42;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}



canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@font-face {
  font-family: 'Retro';
  src: url('retro.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
