html, body {
  height: 100%;
}

body {
  background-color: #B1ABF3;
  font-size: 0.9em;
  font-family: monospace;
  padding: 0;
  margin: 0;
  background: url("https://i.imgur.com/6WN8n7s.png");
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  }
  
center {
  text-align: center;
  }
  
.header {
  border: 3px double #333;
  background: linear-gradient(rgb(255, 215, 249, 0.75), rgb(255, 215, 249, 0.75));
  text-align: center;
  margin-top: 15px;
  top: 0;
  height: auto;
  }

.title { /*suppress title, since we're putting the title as text in the header box*/
  display: none;
  }
  
/*Container for top row of links.*/
.links {
  margin-top: 1em;
  text-align: center;
  }
  
/*Div style for header links.*/
.link {
  text-align: center;
  display: inline-block;
  list-style-type: none;
  float: none;
  font-weight: bold;
  font-size: 1.16em;
  padding: 5px;
  margin-right: 10px;
  margin-left: 10px;
  border: 0px;
  }
  
.wrapper {
  margin: 0 auto;
  width: 960px;
  }
  
/*Changing the size of the gap between boxes.*/
.sidebar-img, .footer, .title, .links, .box {
  margin-top: 15px;
  }
  
  
.main-wrapper {
  margin-left: 190px;
  }

/*Wrapper for the sidebar.*/
.sidebar {
  width: 175px;
  float: left;
  text-align: center;
  position: fixed;
  }
  
/*Container for the sidebar image.*/
.sidebar-image {
  border: 3px double #333;;
  background: #FFD7F9;
  }
  
/*Remove extra padding line at the bottom of the image.*/
.sidebar-image img {
  display: block;
  }
  
.footer {
  margin-bottom: 15px;
  text-align: center;
  }
  
.box {
  border: 3px double #333;
  background: #FFD7F9;
  padding: 0;
  margin-top: 10px;
  }

/*Prevent overflow of large images in main text areas.*/
.box img {
  max-width: 100%;
  height: auto;
  }
  
  /*Override default margins/padding for headings.*/
.box h1, .box h2, .box h3 {
  background: #EF9DE9;
  margin: 0;
  padding: 0.35em 0.25em 0.3em 0.25em;
  text-align: center;
  border-bottom: 3px double #333;
  }

.box h4 {
	margin: 0;
  padding: 0.35em 0.25em 0.3em 0.25em;
  text-align: center;
  }
  
.inner {
  padding: 0.25em 1em 0.3em 1em;
  font-size: 1.075em;
  }
  
.row {
  display: flex;
}
  
a:link {
	color: #7B71E4;
	text-decoration: none;
	}
				
a:visited {
	color: #7B71E4;
	text-decoration: none;
	}
				
a:hover {
	color: #B1ABF3;
	text-decoration: underline;
	}
	
				
a:active {
	color: #B1ABF3;
	text-decoration: underline;
	}
	
ul {
  list-style-position: outside;
  margin: 5px;
  margin-left: 10px;
  padding: 5px;
  }
  
ol {
  list-style-position: outside;
  margin: 5px;
  margin-left: 15px;
  padding: 5px;
  }
  
hr {
  width: 85%;
  border-bottom: 3px double #333;
  border-top: none;
  }
  
.tab {
  padding: 0.25em 1em 0.3em 1em;
  font-size: 1.075em;
  }
  
.tabcontent {
  border: 3px double #333;
  background: #FFD7F9;
  padding: 0;
  margin-top: 10px;
  }
  
 .tabcontent h1, .tabcontent h2, .tabcontent h3, .tabcontent h4 {
  background: #EF9DE9;
  margin: 0;
  padding: 0.35em 0.25em 0.3em 0.25em;
  text-align: center;
  border-bottom: 3px double #333;
  }
  
 .tab button {
  background-color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  color: #7B71E4;
	text-decoration: none;
}

.tab button:hover {
  background-color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  color: #B1ABF3;
	text-decoration: underline;
}

.tabcontent img {
  max-width: 100%;
  height: auto;
  }
  
audio::-webkit-media-controls-panel{
		background-color:#7B71E4;
		background-size:cover;
		background-position:center
		}
		
/*** scrollbar ***/
/* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #B1ABF3;
  border: 1px solid;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #FBDFFA;
  border: 1px solid;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #EF9DE9;
}

::-webkit-scrollbar-button {
  background: #FBDFFA;
}

::-webkit-scrollbar-button:hover {
  background: #EF9DE9;
}

::-webkit-scrollbar-button:single-button {
  border: 1px solid;
  height: 12px;
}

/* Up */
::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #555555 transparent;
}

::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
  border-color: transparent transparent #777777 transparent;
}
/* Down */
::-webkit-scrollbar-button:single-button:vertical:increment {
  border-width: 8px 8px 0 8px;
  border-color: #555555 transparent transparent transparent;
}

::-webkit-scrollbar-button:vertical:single-button:increment:hover {
  border-color: #777777 transparent transparent transparent;
}

/*mobile view*/

@media only screen and (max-width: 600px) {
  body {
	font-size: 1.75em;
  }
  
  .wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .sidebar, .main-wrapper {
	position: static;
	width: 100%;
	margin: 0;
  }
  
  .sidebar {
	  display: flex;
	  flex-direction: row;
	  flex-wrap: wrap;
  }
  
  .box2, .box3 {
	  width: 48%;
	  margin: auto;
	  margin-top: 10px;
  }
  
  .navbox {
	height: 30vh;
	width: 100%;
	}
  
  .hide {
	  display: none;
  }


}