/* General Reset */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
}

/* Mobile First (Portrait) */
body {
  display: grid;
  /* Two rows: top is 50% height, bottom fills the rest */
  grid-template-rows: 50% 50%;
  grid-template-columns: 100%;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.information-container {
  /* background-color: green; */
  border-bottom: 1px solid black;
  overflow: hidden;
  display: grid;
  grid-template-rows: 40px 60px 1fr;
  grid-template-columns: 100%;
}

.button-container {
  /* background-color: purple; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row: 100%;
  padding: 8px;
  align-items: center;
}
.parameter-container {
  /*background-color: blue;*/
  border-top: 1px solid black;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 120px 60px 60px ;
  overflow-y: auto;
  padding:  8px;
  padding-left: 20px;
}

/* Desktop / Tablet (Landscape) */
@media (orientation: landscape) {
  body {
    /* Change to columns: sidebar is 300px, main fills the rest */
    grid-template-columns: 240px 1fr;
    grid-template-rows: 100%;
  }

  .information-container {
    border-bottom: none;
    border-right: 1px solid black;
    display: grid;
    grid-template-rows: 40px 160px 1fr;
    grid-template-columns: 100%;
  }


  .button-container {
    /* background-color: purple; */
    display: grid;
    grid-template-columns: 100%;
    grid-row: 100%;
    padding: 8px;
  }

  .parameter-container {
    /*background-color: blue;*/
    border-top: 1px solid black;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 120px 100px 60px 60px 60px 60px;
    overflow-y: auto;
    padding:  8px;
    padding-left: 20px;
  }
}

.canvas-section {
  /*background-color: red;*/
  overflow: hidden;
}

.topic-container {
  /* background-color: orange; */
  margin: auto;
}

.topic {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
}


.input-container {
  display: inline-block;
  /*border: 1px solid black;*/
}

.input-title {
  font-size: 12px;
  margin: 0px;
  font-weight: bold;
  margin-bottom: 3px;
}

.paraInput {
  background-color: rgb(255 202 110);
  border: 1px rgb(0, 0, 0) solid;
  color: black;
  width: 100px;
  /* Increased slightly for larger font */
  font-size: 24px;
  box-sizing: border-box;
}

.parameter-more-text {
  color: black;
  font-size: 12px;
  margin: 0px;
  margin-top: 3px;
}

.button {
  font-size: 20px;
  background-color: lightblue;
  height: 40px;
  width: 160px;
  border-radius: 5px;
  margin: auto;
}

.myStartGameButtonOff {
  background-color: lightcoral;
}

.myStartGameButtonOn {
  background-color: lightgreen;
}

.score-container {
  margin: auto;
}
.pScore {
  font-size: 16px;
  margin: 0px;
  font-weight: bold;
  display: inline-block;
}

.score {
  font-size: 16px;
  margin: 0px;
  font-weight: bold;
  display: inline-block;

}