/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
 * { box-sizing:border-box; margin:0; padding:0; }

body {
  background-color: white;
  color: black;
  font-family: cursive;
  
  marquee
  {
  background: linear-gradient(0deg, rgb(255, 0, 0) 0%, rgb(230, 255, 0) 50%,   rgb(0, 255, 21) 100%);
}
footer
{
  box-sizing:border-box;
  background:rgb(240,240,240);
  padding:0.5rem;
  text-align:center;
  font-size:0.9rem;
}
article, aside, figure, footer, header, hgroup, nav, section { 
  display:block;
}

p
{ padding: 0 0 10px 0;
  line-height: 1.7em;}

img
{ border: 0;}

h1, h2, h3, h4, h5, h6, p, table, ul, ol, .h1, .h2, .h3, .h4, .h5, .h6 { margin-bottom:1rem; }
ul, ol { list-style-position:outside; margin-left:1.2rem; }
li { margin-bottom:0.5rem; }
img { max-width:100%; object-fit:contain; vertical-align:bottom; }
table { border-spacing:0; border-collapse:collapse; border:solid 1px grey; }
th, td { border:solid 1px grey; padding:0.5rem; }

em { font-style:italic; }
strong { font-weight:bold; }

.header
{
	display:flex;
	align-items:center;
	justify-content:center;
	background: rgb(213,138,38);
	background: linear-gradient(0deg, rgb(255, 0, 0) 0%, rgb(230, 255, 0) 50%,   rgb(0, 255, 21) 100%);
	border:solid 3px rgb(212,212,212);
	border-radius:1rem;
	padding:1rem;
	margin-bottom:1rem;
	color:white;
}


.main
{
	padding:1rem;
	display:flex;
}

/* BELOW THIS POINT IS MEDIA QUERY */
  /* so you wanna change the width of your page? 
    by default, the container width is 900px.
    in order to keep things responsive, take your new height,
    and then subtrack it by 100. use this new number as the 
    "max-width" value below
    */

	@media only screen and (max-width: 800px) {
#flex {
	flex-wrap: wrap;
}

aside {
width: 100%;
}
/* the order of the items is adjusted here for responsiveness!
since the sidebars would be too small on a mobile device.
feel free to play around with the order!
*/
main {
order: 1;
}

#navbar ul {
flex-wrap: wrap;
}
	}
}