/*
* Style sheet
*/

body {
  font-family: Arial, Helvetica, sans-serif;
}

.panel {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(170, 170, 170); /* Fallback color */
  /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal {
  z-index: 1; /* Sit on top */
  background-color: rgb(240,240,240); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.button {
  border-style: solid;
  color:gainsboro;
  border-width: 0.2em;
  border-radius: 0.5em;
  display: inline-block;
  margin:0.5em;
  padding:0.5em;
  width:fit-content;
  height: fit-content;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.button:hover {
  color:white;
  cursor: pointer;
}

.blue {
  border-color:dodgerblue;
  background-color: dodgerblue;
}
.blue :hover {
  background-color:deepskyblue;
}
.green {
  border-color:green;
  background-color: green;
}
.green :hover {
  border-color:yellowgreen;
}
.red {
  border-color: firebrick;
  background-color: firebrick;
}
.red :hover {
  border-color: red;
}

.gray {
  border-color:dimgray;
  background-color: darkgrey;
  color:darkslateblue;
}

.gray:hover {
  border-color:darkgray;
  color:darkorchid;
}

.listofwords {
  grid-column: 2/4;
  grid-row: 1/4;
}

#wordlist {
  font: 1.3rem Inconsolata, monospace;
  text-shadow: 0 0 5px #C8C8C8;
  width:100%;
  height: 100%;
  margin:0.5em;
  padding:0.5em;

}

.studentTypeBox {
  font-size: 1.5em;
  font-family:monospace;
  font-weight:bold;
  margin:0.5em;
  padding:0.5em;
}

H1 {
  font-family: Inconsolata, monospace;
}

.output {
  border-style: solid;
  color:gainsboro;
  font: 1.3rem Inconsolata, monospace;
  text-shadow: 0 0 5px #C8C8C8;
  border-width: 0.2em;
  border-radius: 0.5em;
  display: inline-block;
  margin:0.5em;
  padding:0.5em;
  width:100%;
  height: 100%;
  font-weight: bold;
  /*background-color:rgb(43,51,132);*/
  background: radial-gradient(rgb(57, 67, 177), rgb(43, 50, 128));
  overflow: hidden;
}
/*
.output::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}
.output::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}
*/
.resulttable {
  color:gainsboro;
  border-color: gainsboro;
  border-width: 2px;
  border-style: solid;
}

.resulttable td {
  border-color: gainsboro;
  border-width: 2px;
  border-style: solid;
  margin: 0px;
}

.term_position_1 {
  grid-column: 4/8;
  grid-row: 1;
}

.term_position_2 {
  grid-column: 2/7;
  grid-row: 1;
}

.gridoftest {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-rows: 50px;
  gap: 10px

}

.term_position_3 {
  grid-column: 2/7;
  grid-row: 1/4;
}

.term_position_4 {
  grid-column: 2/7;
  grid-row: 1/6;
}

.testinput {
  grid-column: 2/7;
  grid-row: 5;
}

.testagain {
  grid-column: 2/7;
  grid-row: 7;
}

.robot {
  width: 150px;
  height: 180px;
  background-image: url('assets/blinkingrobot.gif');
  grid-column: 1;
  grid-row:1;
}

.console {
  grid-column: 2;
  grid-row:1;
  width:100%;
  min-width: 0;
  height:100%;
  text-align: left;
}

.console_term_2 {
  font: 4rem Inconsolata, monospace;
  text-align: center;
  grid-row:2;
}



.gridwrapper {
  display:grid;
  grid-template-columns: 150px 1fr;
}

.gridwrapper_term2 {
  grid-template-rows: 1fr 1fr 1fr;
}


/*
.output::after {
  position: absolute;
  top: 0;
  left: 0;
  content:  "Wmg";
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(black, 0.15),
    rgba(black, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
}
*/
.gridofwords {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-rows: minmax(100px, auto);
  gap: 10px;

}

.wordeditor {
  grid-column: 4 / 8;
  grid-row: 3;
}

#startTestBtn {
  grid-column: 2 / 8;
  grid-row: 4;
}

.copyrightcontainer{
  width: 50%;
  margin: auto;
}

.copyright {
text-align: center;
margin-top: 1fr;
padding-top: 2em;
}

.copyright1 {
  float: left;
}

.copyright2 {
  float: left;
  margin-left: 5em;
}
