body{
background-color: #390f78;
background-image: url("/backgrounds/588.gif");
font-family: 'FortySeven Micro NBP', sans-serif, 'Discopia Regular';
}

#container{
display: flex;
justify-content: center;
align-items: center;
width: 799px;
margin: 0 auto;
padding: 0px;
border: 4px solid #9aa4b6;
background-image: url("/backgrounds/graph-paper-black-blue-grid-900x1440-c2-000000-00bfff-l2-6-54-a-0-f-20.png");
}

#smallerBox{
float: left;
margin: 10px;
margin-top: 0px;
width: 190px;
  }
  
#gameBox{
width:230px;
height:270px;
border: 4px solid #9aa4b6;
margin: 6px;
padding: 5px;
  }

#box{
width: 800px;
color: #000;
height: 1035px;
}
 
#header{
margin-bottom: 10px;
background-color: #bdb199;
color: red;
width: 799px;
height: 148px;
letter-spacing: 3px;
}
 
#header h1{
margin: 0px;
}
 
#side{
float: left;
width: 145px;
padding: 0px 0px 5px 0px;
overflow: hidden;
}

#scroll_box{
float: right;
width: 375px;
height: 200px;
padding: 6px 6px 10px 6px;
margin: 6px 6px 10px 6px;
overflow: auto;
border: 2px solid #9aa4b6;
/*border-radius: 4px;*/
  }
 
.sidebox{
margin: 0px 0px 5px 0px;
background-color: #ece9d8;
border: 2px solid #9aa4b6;
}
 
.sidecontent{
padding: 0px 0px 5px 0px;
color: #6e5057;
font-size: 17px;
letter-spacing: 1px;
}
 
.sidecontent ul, li{
margin: 0px;
list-style-type: none;
padding-left: 0px;
}
 
a{
color: white;
}
 
a:visited{
color: white;
}
 
a:hover{
text-shadow: 0px 0px 2px #9a3f9d;
}
 
#scrollcontainer{
padding: 5px;
}
 
#scrolly{
overflow: scroll;
overflow-x: hidden;
width: 110px;
height:110px;
border: 2px solid #9aa4b6;
margin: 0 auto;
text-align: center;
}
 
#scrollyheader{
margin: 0px;
border-bottom: 3px dotted #ff668a;
}
 
#main{
float: right;
width: 780px;
overflow: hidden;
padding: 0px 10px 0px 0px;
object-fit: contain;
}
 
.mainboxes{
border: 2px solid #9aa4b6;
padding: 0px;
margin: 0px 0px 5px 0px;
}
 
.subheader{
background-image: linear-gradient(to right, #01004d, #0200c8);
background-color:black;
padding: 3px;
color: #0300ff;
letter-spacing: 3px;
}
 
.subheader h3{
margin: 0px;
}
 
.mainboxescontent{
color: white;
font-size: 17px;
overflow-y: scroll;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none;  /* Internet Explorer 10+ */
}
 
#footer{
clear: both;
padding: 3px;
border-top: 1px solid #ff668a;
background-image: linear-gradient(to right, #1B76C0, #75bfff);
color: #fff;
font-size: 14px;
}
 
#footer p{
margin: 0px;
}
 
::-webkit-scrollbar{
width: 8px; 
}
 
::-webkit-scrollbar-track{
background-color: #ece9d8;
}
 
::-webkit-scrollbar-thumb{
background-color: #ece9d8;  
}
 
#credit{
font-size: 12px;
position: fixed;
bottom: 0;
right: 0;
}

p{
  color: #6e5057;
  font-size: 20px;
  }

.sideH{
  background-image: linear-gradient(to right, #1B76C0, #75bfff);
  padding: 3px;
  color: #fff;
  height: 100%;
  width: 50px;
  }
  
.container {
  position: relative;
  width: 50%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.hover-img {
  background-color: #000;
  text-size: 14px;
  color: #fff;
  display: inline-block;
  padding-top: 0px;
  margin: 8px;
  max-width: 250px;
  min-width: 250px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hover-img * {
  box-sizing: border-box;
  transition: all 0.45s ease;
}

.hover-img::before,
.hover-img::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  opacity: 0;
  transition: .5s ease;
  background-color: white;
}

.hover-img img {
  vertical-align: top;
  max-width: 100%;
  backface-visibility: hidden;
}

.hover-img figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  line-height: 1.1em;
  opacity: 0;
  padding: 10px;
  overflow: auto;
  color: black;
}

.hover-img:hover::before,
.hover-img:hover::after {
  transform: scale(1);
  opacity: 1;
}

.hover-img:hover > img {
  opacity: 0.7;
}

.hover-img:hover figcaption {
  opacity: 1;
}

#banner-images img {
  border-bottom: 4px solid #9aa4b6; 
  padding: 0px;
  }