body {
  margin: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:focus {
  outline: 0 !important;
}

button:focus {
  outline: 0;
}

@font-face {
  font-family: "topmarksregular";
  src: url("topmarks-regular-webfont.woff2") format("woff2"),
    url("topmarks-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

#page {
  background-color: whitesmoke;
  height: 100vh;
  font-family: "topmarksregular", Times, serif;
}

.logo img {
  width: 100px;
  margin: 10px;
}

.anotheroutsidediv {
  max-width: 650px;
  margin: auto;
  overflow: hidden;
  background-image: url(backgroundplayjpeg.svg);
  background-size: cover;
  padding: 1%;
}

.gridandanswerboxcontainer {
  display: flex;
  width: 100%;
  /* max-width: 650px; */
  position: relative;
  padding: 0.5%;
  background-color: rgba(255, 255, 255, 0.95);
}

.gridcontainer {
  width: 93%;
  padding-top: 93%;
  position: relative;
  height: 0;
}

.grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.grid div {
  width: 96%;
  height: 96%;
  padding: 2%;
}

.answerbox {
  width: 7%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0%;
  display: grid;
  padding: 0.5%;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.answerbox div {
  align-self: center;
  justify-self: center;
}

.one,
.two,
.three,
.four,
.five {
  background-size: 100% 100%;
  visibility: hidden;
  left: 0px;
}

.un {
  background-image: url(smile.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.dau {
  background-image: url(newface1.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.tri {
  background-image: url(newface2.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.pedwar {
  background-image: url(newface3.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.pump {
  background-image: url(newface4.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.chwech {
  background-image: url(newface5.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.saith {
  background-image: url(newface6.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.wyth {
  background-image: url(newface7.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.nawr {
  background-image: url(newface8.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.deg {
  background-image: url(newface9.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.undegun {
  background-image: url(newface10.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.undegdau {
  background-image: url(newface11.png),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.one {
  background-color: yellow;
}

.two {
  background-color: #96489c;
}

.three {
  background-color: #7ac043;
}

.four {
  background-color: #c3db6d;
}

.five {
  background-color: #30c3e4;
}

.sumdisplay {
  visibility: visible;
}

.greyout {
  opacity: 0.05;
}

.quizcontainercontainercontainer {
  width: 100%;
  grid-column: 1;
  display: none;
  /* max-height: 200px; */
}

.quizcontainercontainer {
  width: 100%;
  padding-top: 20%;
  position: relative;
  height: 0;
  /* background-color: lightsteelblue; */
  /* max-height: 300px; */
}

.quizboxcontainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 5%;
  /* background-color: cornflowerblue; */
}

.timestablesdisplay {
  position: absolute;
  top: 0;
  left: 20%;
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  width: 60%;
  height: 100%;
  z-index: 30;
  padding: 10% 0%;
  margin-bottom: 28%;
}

.timestablesdisplay {
  background-color: #ffe72d;
}

.level1entry {
  height: 100%;
  width: 100%;
  display: none;
  grid-template-rows: 1fr;
  gap: 2px;
  align-content: center;
  /* margin: 20%; */
  background-color: #30c3e4;
}

.level2entry,
.level3entry,
.level4entry,
.level5entry {
  height: 100%;
  width: 100%;
  display: none;
  grid-template-rows: 30% 30%;
  gap: 2px;
  align-content: center;
  background-color: #30c3e4;
}

.level1answer,
.level2answer,
.level3answer,
.level4answer,
.level5answer {
  height: 100%;
  width: 100%;
  display: none;
  grid-template-rows: 30% 30%;
  gap: 2px;
  align-content: center;
  background-color: #30c3e4;
}

.level1entry {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.level2entry,
.level3entry,
.level4entry,
.level5entry {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
}

.level1answer,
.level2answer,
.level3answer,
.level4answer,
.level5answer {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
}

.quizboxcontainer button {
  position: static;
  top: 0;
  right: 0;
  margin: 10%;
  height: 30px;
  width: 100%;
  border-radius: 5%;
  justify-self: center;
  background-color: whitesmoke;
  border: 0;
}

.quizboxcontainer button:hover {
  background-color: yellow;
}

#timestablebutton {
  background-color: none;
  position: absolute;
  top: 0;
  right: 0;
  margin: 0%;
  width: 20%;
  font-size: 60%;
  border: 0;
  background-color: whitesmoke;
  border-radius: 50% / 50%;
  z-index: 20;
}

.levelchoosearea {
  position: absolute;
  top: 0;
  right: 20%;
  margin: 0%;
  width: 40%;
  display: flex;
  font-size: 60%;
  border: 0;
  background-color: whitesmoke;
  z-index: 20;
  align-items: center;
}

#lbutton1,
#lbutton2,
#lbutton3,
#lbutton4,
#lbutton5 {
  margin: 1.5%;
  height: 80%;
  background-color: white;
}

#lbutton1 {
  background-color: violet;
}

#timestablebutton:hover {
  background-color: #ffe72d;
  z-index: 20;
}

input {
  background-color: whitesmoke;
  width: 100%;
  padding: 15%;
  max-width: 55px;
  margin: 10% 0;
  border: 0px;
  align-self: center;
  justify-self: center;
  height: 2em;
  border: 0;
  text-align: center;
  font-family: "topmarksregular", Times, serif;
}

.levelhowmany,
.equalssign,
.multiplysign {
  align-self: center;
  justify-self: center;
  font-size: 90%;
}

#answerA,
#answerD,
#answerG,
#answerJ,
#answerM,
#inputB,
#inputE,
#inputH,
#inputK {
  grid-column-start: 2;
}

#newquestion1,
#newquestion2,
#newquestion3,
#newquestion4,
#newquestion5 {
  grid-column-start: 8;
  grid-row-start: 1;
  font-size: 60%;
  width: 100%;
}

#answercheck2,
#answercheck3,
#answercheck4,
#answercheck5 {
  grid-row-start: 1;
  grid-column-start: 8;
}

button {
  align-self: center;
  font-family: "topmarksregular", Times, serif;
}

.beesknees,
.bendigedig,
.brilliant,
.fantabydoozie,
.fantastic,
.highfiveforthatanswer,
.marvelous,
.premium,
.superb,
.vunderbar,
.wonderfulworkingout {
  display: none;
  position: absolute;

  width: 30%;
  z-index: 30;
  height: 100%;
  /* background-color: tomato; */
}

.beesknees {
  top: 10%;
  right: -2%;
}
.bendigedig {
  top: 20%;
  right: -2%;
}
.brilliant {
  top: 30%;
  right: -2%;
}
.fantabydoozie {
  top: 40%;
  right: -2%;
}
.fantastic {
  top: 50%;
  right: -2%;
}
.highfiveforthatanswer {
  top: 60%;
  left: -2%;
}
.marvelous {
  top: 70%;
  left: -2%;
}
.premium {
  top: 80%;
  left: -2%;
}
.superb {
  top: 65%;
  left: -2%;
}
.vunderbar {
  top: 75%;
  left: -2%;
}
.wonderfulworkingout {
  top: 50%;
  left: -2%;
}

.brilliant img,
.beesknees img,
.bendigedig img,
.fantabydoozie img,
.fantastic img,
.highfiveforthatanswer img,
.marvelous img,
.premium img,
.superb img,
.vunderbar img,
.wonderfulworkingout img {
  width: 100%;
}

.menu-display {
  display: none;
}

.hidecluebox {
  display: none;
}

.pictureframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.pictureframe2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
}

.pictureframe2 img {
  width: 100%;
}

.brickcontainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  z-index: 10;
}

.brick {
  height: 33.333%;
  width: 33.333%;
  background: rgb(27, 143, 3);
  background: linear-gradient(
    17deg,
    rgba(27, 143, 3, 1) 0%,
    rgba(9, 121, 11, 1) 35%,
    rgba(134, 255, 0, 1) 100%
  );
}

.picgridandanswerboxcontainer {
  display: flex;
  width: 100%;
  max-width: 550px;
  align-items: center;
  background-color: whitesmoke;
  position: relative;
  flex-direction: column;
}

.picgridcontainer {
  background-color: #c3db6d;
  width: 100%;
  padding-top: 93%;
  position: absolute;
  height: 0;
  left: 0;
  top: 0;
  z-index: 21;
  display: none;
}

.cluebox {
  width: 60%;
  height: 60%;
  /* border-radius: 50% / 50%; */
  background-image: url(tilly.svg);
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  z-index: 28;
  padding: 0% 0% 25% 20%;
}
.tilly {
  width: 10%;
  height: 8%;
  /* border-radius: 50% / 50%; */
  background-image: url(tilly2.svg);
  background-size: cover;
  position: absolute;
  top: 107%;
  left: 0;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  z-index: 28;
  padding: 0% 0% 0% 0%;
}

@media only screen and (max-width: 1000px) {
  .gridlayout {
    padding-top: 0%;
  }

  .quizcontainercontainer {
    padding-top: 25%;
  }
}
