*
{
  -moz-box-sizing:  border-box;
  -ms-box-sizing:  border-box;
  box-sizing:  border-box; 
}
@font-face {
    font-family: 'Workbench';
    src: url("../fonts/Workbench-Regular-VariableFont_BLED,SCAN.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PixelOperator';
    src:    url("../fonts/PixelOperator8.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}
body
{
  background-color: #050505;
  /*color: #b587fc;*/
  color: #AD7BFF;
  font-family: "PixelOperator", monospace;
  background-size:cover;
}
a
{
 text-decoration: none; 
}

.header
{
  height: 150px;
  /*background-image: url("https://placekitten.com/900/300");*/
  text-align: center;
  background-size: 100%;
  width: 100%;
  justify-content: center;
  margin: 0;
  font-size: 5vh;
  display: flex;
  line-height: 1vh;
}
#indexh
{
 /* background-image:url("../images/index.gif");*/
  justify-content:center;
  align-items: center;
}
#halloweenh
{
  background-image:url("../images/halloween.png")
}
#hl
{
  list-style-type:none;
}
#hd
{
  text-align: left;
}
.wrapper
{
  width: 100%;
  display: flex;
  justify-content: center;
} 
#bar
{
  margin: 0;
  border-color:#b587fe;
  border-style: double;
  gap: 1rem;
  /*background-color: #b587fe;*/
  max-width: 900px;
}
#bar ul
{
  display: inline-block;
  /*border-style: groove;*/
  border-color:#9494AD;
  list-style-type:none;
  margin: 0;
  padding: 0;
}
#bar li
{
  display: inline-block;
  border-style: groove;
  border-color:#9494AD;
  list-style-type:none;
  font-family: "PixelOperator", monospace; 
  
}
#bar li a
{
  text-decoration: none;
  background-color:#8a65a5;
}

#window
{
  max-width: 900px;
  margin: 0 auto;
}
#flex {
  display: flex;
  max-width: 900px
}
aside {
  background-color: #000000;
  width: 200px;
  color: #1f0136;
  text-align: center;
  margin: 0 auto ;
}
aside a
{
  color:#AD7BFF;
}
main
{
max-width:750px;
background-color:#1f0136;  
text-align:center;
padding:20px;
}
main a
{
  color:#8a65a5;
}
#tech
{
  background-image: url("../images/techbgsm.png") ;
  background-repeat: repeat;
}
.divider
{
  background-image: url("../images/divider.png");
  width: 45em;
  height:32px;
}
h1
{
 font-family: "Workbench", monospace;  
 font-weight: normal;
}
h2
{
 font-family: "PixelOperator", monospace; 
}
h3
{
  font-family: "PixelOperator", monospace; 
  font-size: 13px;
  color:#AD7BFF
}

pre
{
	font-family: 'Inconsolata', monospace;
	margin:0;
}
button
{
  color:#a167fe;
  background-color: transparent;
	margin-top: 10px;
	text-align:center;
	width:49%;
	/*border-style: solid;*/
	border-color: #a167fe;
}
button:hover
{
	color:#a167fe;
	background-color: black;
}
  textarea
{
    background-color:transparent;
    border-style: double ;
    border-width: medium;
    border-color: #a167fe;
  }
.st
{
    display: inline-block
}
  #name
{
  background-color: transparent;
    width: 20vw;
    display: inline-block;
    border-style: double ;
    border-width: medium;
    border-color: #a167fe;
}
#email
{
    width: 20vw;
    display: inline-block;
    border-style: double ;
    border-width: medium;
    border-color: #a167fe;
    background-color: transparent;
}
#message
{
    width: 80vw;
    display: inline-block;
    max-width:710px;
}
#send
{
    width:100%;
}

            /* BELOW THIS POINT IS MEDIA QUERY */

@media only screen and (max-width: 800px) 
{

.header
{
 box-sizing: border-box;
 width: 95vw;
 height: 100px; 

}
#flex 
{
  flex-wrap: wrap;
  max-width: 95vw;
}
#wrapper
{
 width: 95vw; 
 box-sizing: border-box;
}
#bar
{
  width: 95vw;
  gap: 0;
  
}
aside 
{
  width: 100%;
}
main
{
  width:100%;
}
h1{
   font-size: 9vw;
  }
.divider
{
  width:100%;
}
.media
{
  margin:0;
}

/* 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;
  
}
aside
{
  order: 2;
}
#bar ul 
{
  flex-wrap: wrap;
}
}