
/* Start of my code */

* {
  box-sizing: border-box;
}


body{
  padding: 1%;
  margin: 1%;
  font-size: 12px;
}
/* Style the header   */
header{
 	display: block;
	width: 100%;
    	color: #000000;
  	padding: 1%;
  	text-align: center;
  	font-size: 1.0rem;

}


ul a[href*=".html"]:hover{
	background: #ff0000;
	opacity: 1.0;
} 
.nav-item{
	position: sticky;
}

.nav-item::after{
	height: 50px;
}


img {
    float: left;
   width:250px;
   height: 250px;
  border: 2px solid blue;
}

/* Clear floats after the columns /* 
/* section::after {
  content: "";
  display: table;
  clear: both;
} */

p.figs{
	display: block;
	font-variant: small-caps;
	color:blue;	
}

aside {
	display: block;
	float: right;
	width: 70%;
	background-color: white;
  	padding: 3%;
	margin-left: 5%;
}


/* div.QandA {
  float right;
  display: inline-block;
  width: 95%;
  height: 600px;
  border: 2px solid black;
  overflow: auto;
  text-align: left;
} */


fieldset.response {
   font-style: italic;
   color: blue;
   overflow: scroll;
}

footer {
  display: inline-block;
  width:100%;
  line-height: 30px;
  background-color: #9933cc;
//  padding: 30px;
  text-align: center;
  color: white;
  clear: both;
}
footer.navigation {
	font-size: 2em;
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
}


/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
  div, article {
    width: 100%;
    height: auto;
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
} 

