
  h1{
    padding-left: 250px;
    color: aliceblue;
  }
 #applayer {
    width: 750px;
    height: 750px;
    /* background-image: url("/img/img-webp-m/quiz/stem8.webp") ;
      background-repeat: no-repeat;
      background-size: 100% 100%; */
    grid-column: 2;
    position:relative;
    z-index:0;
    /* background-color: darkslategrey; */
} 
#quiz-background{
    width: 750px;
    height: 750px;
    /* background-image: url("/img/quiz/teacher.webp");
    background-repeat: no-repeat;
    background-size: 100% 100%; */
    border-radius: 15px;
    position:relative;
    z-index:0;
}
  #catPanel{
      display: block;
      z-index: 7;  
  }
    #subCatPanel{
      display: none;
      z-index: 9;  
  }
  #quizPanel{
      display: none;
      z-index: 5;  
  }
      .modal-item{
        display: flex;              /* make container a flexbox */
  align-items: center;        /* vertical centering */
  justify-content: center;    /* optional: horizontal centering */
  
  height: 10vw;
  margin: 2vw auto;
  font: 4vw sans-serif;

  line-height: normal;        /* reset from 8vw */
  padding: 0 1vw;             /* optional padding */
  text-align: center;         /* nice for multi-line */
      color:white;
      background-color: rgba(0,0,128,0.8);
  }
  .title{
   display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: 150px;
  color: aliceblue;
  background-color: rgba(0,0,128,0.8);
  text-align: center;
  font: 32px sans-serif;
  /* font-weight: bold; */
  line-height: 90px;
  border-radius: 10px;
  margin: auto;
}

  .tile{
    width: 80%;
      color: aliceblue;
      background-color: rgba(0,0,128,0.6);
      display: flex;              /* make container a flexbox */
      align-items: center;        /* vertical centering */
      justify-content: center;    /* optional: horizontal centering */
      line-height: normal;        /* reset from 8vw */
      padding: 0 1vw;             /* optional padding */
      font: 25px sans-serif;
      font-weight: bold;
      border-radius: 10px;
      margin: 1%;
      height: 75px;
      margin: 15px auto;
  }

    /* #aface {
    height: 175px;
  } */

    .a-tile {
    width: 80%;
      color: aliceblue;
      background-color: rgba(0,0,128,0.6);
      display: flex;              /* make container a flexbox */
      align-items: center;        /* vertical centering */
      justify-content: center;    /* optional: horizontal centering */
      line-height: normal;        /* reset from 8vw */
      padding: 0 1vw;             /* optional padding */
      font: 25px sans-serif;
      font-weight: bold;
      border-radius: 10px;
      margin: 1%;
      margin: 20px auto;
  }


  #hint{
    background-color: slategray;
  }
    .score {
    width: 100px;
    text-align: center;
  }

    .modal-item{
  display: flex;              /* make container a flexbox */
  align-items: center;        /* vertical centering */
  justify-content: center;    /* optional: horizontal centering */
  
  height: 175px;
  margin: 10px auto;
  line-height: normal;        /* reset from 8vw */
  padding: 0 1vw;             /* optional padding */
  text-align: center;         /* nice for multi-line */
  color:white;
  background-color: rgba(0,0,128,0.8);
  }

  .category {
    margin-bottom: 30px;
    height: 100px;
  }
  .question {
      display: none;
    font-weight: bold;
  }
  .answers {
      display: none;
    margin-left: 20px;
  }
  .explanation {
    height: 300px;
    display: none;
    font-style: italic;
    color: gray;
  }
  .modal-init {
    display: flex;
    flex-direction: column;
  align-items: center;
  justify-content: center;

    /* display: block; Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    border-radius: 15px;
    max-width: 750px; /* Full width */
    max-height: 740px; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(180, 210, 240); /* Fallback color */
    padding-top: 10px;
    background-color: rgba(180, 210, 240, 0.4); 
  }
      /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    border-radius: 15px;
    max-width: 750px; /* Full width */
    max-height: 740px; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(180, 210, 240); /* Fallback color */
    padding-top: 10px;
    background-color: rgba(180, 210, 240, 0.4); 
  }
  #Qface {
    height: 175px;
  }
  #qface {
    height: 175px;
  }

  #eface {
    height: 175px;
  }
.answers{
    display:none;
}
.answerBlock{
    display:none;
}


@media screen and (max-width: 800px) {
  #applayer {
    width: 95vw;
    height: 95vw;}
  #quiz-background {
    width: 95vw;
    height: 95vw;}
  #Qface {
    height: 20vw;
  }
  #qface {
    height: 25vw;
  }

  #eface {
    height: 25vw;
  }
  .tile{
  margin: 2vw auto;
  font: 3.5vw sans-serif;
  height: 7.5vw;
}


.title {
    width: 80%;
    height: 20vw;
    font: 5vw sans-serif;
    line-height: 5vw;
    padding-top: 1vw;
  }   
}

@media screen and (max-width: 400px) {
  .score{
    width: 35vw;
  }
}
