
HTML body {
  background-image: linear-gradient(to right, rgb(229, 247, 0), rgb(255, 165, 0));
}


/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
   margin-bottom:1rem;
}

.navbar .dropdown-menu {
  border:none;
  background-color:#0060c8!important;
}


.navbar {
  display: block;
  position: fixed;
  width:100%;
  padding-top:0px;
  padding-bottom:3px;
}

/* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
.navbar .nav-item {
  padding:0 .6rem;
  margin:0 .25rem;
}

#square {
  display:inline-block;
  width: 50px;
  height: 42px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}
#square2 {
  display:inline-block;
  width: 50px;
  height:42px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}




#diagnostics {
  display: inline-block;
  float: right;
  position: relative;
  right: 2vw;
  padding-top: 3px;
  padding-bottom: 0px;
  z-index:2;
  
}

#accordion {
  position: fixed;
  display: inline-block;
  left: 49rem;
  top: 7.75rem;
  width: 16rem;
  z-index:10;
}
#topic{
  width: 16rem;
  left: 48rem;
  z-index:11;
}

iframe {
  display: block;
  float: left;
  margin: 3px;
  height: 120px;
  width: 200px;
 }

.marks {
  display: inline-block;
  float: right;
  font-weight:bold;
  margin-right: 5%;
}



svg {
  position: absolute;
  top: 60px;
  height: 80px;
  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;
  }
}




#diagnostics {
  display: inline-block;
  float: right;
  position: relative;
  right: 2vw;
  padding-top: 3px;
  padding-bottom: 0px;
  z-index:2;
}

#accordion {
  position: fixed;
  display: inline-block;
  left: 70%;
  top: 25%;
  width:260px;
  z-index:1;
}

#square {
  display:inline-block;
  width: 50px;
  height: 34px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}

#square2 {
  display:inline-block;
  width: 50px;
  height: 34px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}



iframe {
  display: block;
  float: left;
  margin: 3px;
  width: 250px;
  height:150px;

 }




#qnumb {
  text-align:left;
  margin-left: 10px;  
  }



#container {
  position: relative;
  text-align: center;
  display: block;
  top:90px;
}

#container2 {
  display: block;
  text-align: center;
  position: relative;
  height: 100px;
  top:50px;
}


#qbox {
  position:relative;
  right:5%;
  display: inline-block;
  padding: 8px;
  font-color: black;
  font-size: 18px;  
  height: 200px;
  width: 520px;
  background: white;
  border: 1px black solid;
  border-radius: 9px;
}



#numbertypes1,#numbertypes2,#numbertypes3,#numbertypes4,#numbertypes5{
  height: 300px;
  width: 450px;

}

#A1,#A2,#A3,#A4 {
  width: 240px;
  height: 110px;
  background-color: deepskyblue;
  border: 2px black solid;
  border-radius:5px;
  padding: 0;
  overflow: visible;
  margin: 1px;
  vertical-align: bottom;
}





@media screen and (min-width:701px) and (max-width:1100px){
#qbox {
  position:relative;
  right:12%;
  display: inline-block;
  padding: 8px;
  font-color: black;
  font-size: 18px;  
  height: 300px;
  width: 360px;
  background: white;
  border: 1px black solid;
  border-radius: 9px;
  z-index: -1;
}



#accordion {
  position: fixed;
  display: inline-block;
  left: 65%;
  top: 15%;
  width:260px;
  z-index:1;
}

#container2{
  width:75%;
}

}









@media screen and (min-width:280px) and (max-width:700px){




#square {
  display:inline-block;
  width: 35px;
  height: 32px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}

#square2 {
  display:inline-block;
  width: 35px;
  height: 32px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}




#diagnostics {
  display: inline-block;
  float: right;
  position: relative;
  right: 0vw;
  padding-top: 3px;
  padding-bottom: 0px;
  z-index:2;
}


#accordion {
  position:fixed;
  width: 100%;
  top: 85.5%;
  right:0;
  left:0;
  margin: 0px;
  z-index:2;
 }

#v1{
  position:fixed;
  width: 100%;
  top: 55%;
  right:0;
  left:0;
  margin: 0px;
  z-index:2;
}
iframe {
  display: block;
  margin-left: 5%;
  height:170px;
  width: 290px;
 }

#reminder {
 position:fixed;
  width: 100%;
  top: 65%;
  right:0;
  left:0;
  margin: 0px;
  z-index:3;
  font-size: 12px;
  
}








#numbertypes1,#numbertypes2,#numbertypes3,#numbertypes4,#numbertypes5{
  height: 180px;
  width: 230px;

}

#A1,#A2,#A3,#A4 {
  width: 140px;
  height: 100px;
  background-color: deepskyblue;
  border: 2px black solid;
  border-radius:5px;
  padding: 0;
  overflow: visible;
  margin: 1px;
  vertical-align: bottom;
  font-color: black;
  font-size: 12px;  

}


#qbox {
  position:relative;
  display: inline-block;
  padding: 8px;
  font-color: black;
  font-size: 12px;  
  height: 200px;
  width: 280px;
  background: white;
  border: 1px black solid;
  border-radius: 9px;
  z-index: -1;
}


svg {
  position: absolute;
  top: 60px;
  height: 50px;
  right: 0;
  left:0;
  margin: auto;
}

#container {
  position: relative;
  text-align: center;
  display: block;
  top:70px;
}

#container2 {
  display: block;
  text-align: center;
  position: relative;
  height: 100px;
  top:30px;
}

}