.container {
  display: flex;
  justify-content: space-between;
}
.left,
.center,
.right {
  display: flex;
  flex-direction: column;
}

.login {
  display: flex;
  max-width: 24rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.login-logo-wrapper {
  flex-shrink: 0;
}
.login-logo {
  height: 2em;
  width: 2em;
}
.login-content {
  margin-left: 1.5rem;
  padding-top: 0.25rem;
}
.login-title {
  color: #1a202c;
  font-size: 1.25rem;
  line-height: 1.25;
}
.login-message {
  color: #718096;
  font-size: 1rem;
  line-height: 1.5;
}


.flex-game {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
}

.player1_grid {
  display: block;
  flex-grow: 2;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  /* order: 1; */
}

.player1_status {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  /* order: 2; */
}

.player2_status {
  text-align: right;
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  /* order: 3; */
}

.player2_grid {
  display: block;
  flex-grow: 2;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  /* order: 4; */
}

.flex {
  background-color: hsla(20, 100%, 50%, 0.3);
  font: 14px Arial;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border: 1px solid black;
}
.flex > div {
  flex: 2 1 auto;
  width: 16.6%;
  box-sizing: border-box;
  font-size: larger;
}

.next-gem {
  width: 2rem;
  margin-left: 1rem;
  margin-right: auto;
  font-size: larger;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  border: 1px solid black;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: normal;
}

.next-gem h2 {
  background-color: orange;
}

.player2_next-gem {
  width: 2rem;
  margin-right: 1rem;
  margin-left: auto;

  font-size: larger;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  border: 1px solid black;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: normal;
}

.player2_next-gem h2 {
  background-color: orange;
}
#gamepad-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  width: 100%;
  height: auto;
}

#button-left {
  grid-area: 2 / 1 / 3 / 2;
  justify-self: center;
  background-color: rgba(33, 36, 35, 0.5);
}
#button-right {
  grid-area: 2/3/3/4;
  justify-self: center;
  background-color: rgba(160, 109, 216, 0.5);
}
#button-down {
  grid-area: 3/2/4/3;
  justify-self: center;
  background-color: rgba(52, 78, 14, 0.5);
}
#button-rotate-left {
  grid-area: 2/5/3/6;
  justify-self: center;
  background-color: rgba(188, 222, 19, 0.5);
}
#button-rotate-right {
  grid-area: 2/7/3/8;
  justify-self: center;
  background-color: rgba(40, 118, 129, 0.5);
}

.chara{
  width: 100%;
  height: auto;
}

.gamepad_dpad{
  background-color: black;
}

.gamepad_button{
  background-color: red;
}

.player1_score_field{
  background-color: green;
  border: 1px solid black;
}
.player1_score_field h2{
  text-shadow: 0 0 3px greenyellow, 0 0 5px white;
  /* background-color: greenyellow; */
}
.player1_score_field span{
  /* width: 120%; */
  /* background-color: greenyellow; */
  text-shadow: 0 0 6px greenyellow, 0 0 5px white;

  font-size: larger;
}


.player2_score_field{
  background-color: green;
  border: 1px solid black;
}
.player2_score_field h2{
  text-shadow: 0 0 3px greenyellow, 0 0 5px white;
  /* background-color: greenyellow; */
}
.player2_score_field span{
  /* width: 120%; */
  /* background-color: greenyellow; */
  text-shadow: 0 0 6px greenyellow, 0 0 5px white;

  font-size: larger;
}