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;
  right: 2vw;
  top: 7.75rem;
  width: 16rem;
  z-index:10;
}
#topic{
  width: 16rem;
  left: 70vw;
  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;
  }
}

#qbox {
  position:relative;
  display: inline-block;
  padding: 8px;
  font-color: black;
  font-size: 18px;  
  height: 380px;
  width: 520px;
  background: white;
  border: 1px black solid;
  border-radius: 9px;
  z-index:-1;
}


#container {
  position: relative;
  text-align: center;
  display: block;
  top:90px;
}

#container2 {
  display: block;
  text-align: center;
  position: relative;
  height: 100px;
  top:50px;
}


#ans {
  width: 130px;
  height: 45px;
  background-color: white;
  border-radius:5px;
  padding: 0;
  overflow: visible;
  
  font-size:20px;
}
#go {
  width: 40px;
  height: 45px;
  text-align: center;
  border-color: deepskyblue;
    border-radius:3px;
    padding:0;
    
   }

#ans2 {
display: none;
  width: 130px;
  height: 45px;
  background-color: white;
  border-radius:5px;
  padding: 0;
  overflow: visible;
  
  font-size:20px;
}
#go2{
  display:none;
  width: 40px;
  height: 45px;
  
}


#qnumb {
  text-align:left;
  margin-left: 10px;  
  }

#y {
  display: block;
  font-size: 15px;
}


#x {
  display: none;
  position: relative;
  top: 0px;
  outline: solid;
  outline-color:black;
  margin-top: 40px;
  margin-left: 0px;
  width: 160px;
height: 50px;  
}

#z1 {
  display: inline-block;
  position: relative;
  top: -15px;
  left: 10px;
  width: 80px;
  margin-left: 15px;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}
#x1 {
  display: inline-block;
  margin-left: 15px;
  width: 100px;
  text-align: center;
  margin-bottom: 0px;
  padding-bottom: 0;
}
#h {
  display: inline-block;
  width: 25px;
  height: 18px;
  text-align: center;
  height:
  }


#h1 {
  display: inline-block;
  position: relative;
  top: 135px;
  left: 190px;
  height: 50px;
  line-height:50px;
  text-align: center;
  position:absolute;
}


#boxplot{
  width: 90%;
}
#boxplot2{
  width: 65%;
}

#cfreq1,#cfreq2{
display:none;
 width: 60%; 
}

#cfreq3{
 width: 62%; 

}

#cfreq5{
 width: 80%; 
}
#cfreq7{
 width: 68%; 
}
#cfreq6a,#cfreq6b,#cfreq6c{
  display:none;
 width: 60%; 
}



#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:280px) and (max-width:550px){



#A1,#A2,#A3,#A4 {
  width: 140px;
  height: 60px;
  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;  

}
#y {
  display: block;
  font-size: 10px;
}

#boxplot2{
  width: 75%;
}



#qbox {
  position:relative;
  display: inline-block;
  padding: 8px;
  font-color: black;
  font-size: 12px;  
  height: 250px;
  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;
}

}