HTML {
  font-family: helvetica;
  background-image: linear-gradient(to right, rgb(229, 247, 0), rgb(255, 165, 0));
}
#diagnostics {
   position: fixed;
  top:30px;
  right:15vw;
  border: solid;
  border-color: black;
  background: black;
  padding-bottom: 2px;
  border-radius: 5px;
  
}

.marks {
  display: inline-block;
  float: right;
  font-weight:bold;
  margin-right: 5%;
}

#square {
  display:inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  background: white;
}
#square2 {
  display:inline-block;
  bottom: 60%;
  right: 15%;
  width: 50px;
  height: 50px;
  border: 3px solid green;
  border-radius: 5px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  background: white;
}

#score,#grade {
  font-size:20px;
}
svg {
  position: absolute;
  top: 20px;
  right: 0;
  left:0;
  margin: auto;
}


svg polyline {
  fill: black;
  stroke-width: 0.1px;
  stroke: black;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  opacity: 0;
  animation: 18s outline infinite  alternate;
}

svg path {
  fill: none;
  stroke: black;
  stroke-width: 1px;
  stroke-dasharray: 200;
  stroke-dashoffset: 800;
  opacity: 0;
  animation: 18s text-outline infinite  alternate;
}

@keyframes outline {
  from {
    stroke-dashoffset: 200;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes text-outline {
  from {
    stroke-dashoffset: 1100;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 50;
    opacity: 1;
  }
}

.container {
  display: block;
  text-align: center;
  height: 180px;
}

#qbox {
  display: inline-block;
  left: 0;
  right: 0;
  padding-top: 10px;
  font-color: black;
  font-size: 20px;  
  height: 150px;
  width: 500px;
  background: white;
  border: 2px black solid;
  border-radius: 9px;
}

#ans {
  width: 130px;
  height: 40px;
  background-color: white;
  border-radius:5px;
  padding = 0;
  overflow: visible;
  margin: 1px;
  vertical-align: bottom;
  font-size:20px;
}
#go{
  width: 140px;
  height: 45px;
  
}

#qnumber {
  text-align:left;
  margin-left: 10px;  
  }

#y {
  display: block;
}

#home {
  background-color: rgb(229, 247, 0);
  color: black;
  position: fixed;
  left: 1vw;
  top: 2vh;
  width: 100px;
  height: 45px;
  display: inline-block; 
  border: 1px black solid;
  border-radius: 5px;
  text-align: center;
  font: georgia;
  font-size: 35px;
}