body {
  background-image: url('/res/castbg.jpg');
  background-size: cover;
  background-attachment: fixed;
  color: white;
  font-family: 'Source Sans 3', sans-serif;
  overflow-y: scroll;
}
*{margin:0;padding:0;}
a { text-decoration: none; 
  color: #96eaff;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;}

a:hover {color:#0fe3f2}

h1 {font-family: 'Homemade Apple', cursive; text-align: center; font-size:50px}

h2 {font-family: 'Silkscreen', cursive; margin: 40px; font-size: 33px; letter-spacing: 0.2em}

.back a { font-family: 'Silkscreen', cursive; font-size: 13px; color: #0fe3f2; text-decoration:none; position: fixed; bottom: 20px; right: 20px;}

/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(1, 8, 17,0.1);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #0fe3f2;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #00609c;
} 

 #parent {
  background-color: rgba(1, 8, 17,0.9);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  display: flex;
  width: 1600px;
  height: 100%;
  padding-left: 40px;
  padding-right: 40px; 
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  overflow-y: hidden;
}

#narrow h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 35px;
    font-weight: 700;
    text-align: right;
}

#narrow {
  width: 370px;
  border-right: 1px solid #fff;
  padding-right: 55px;
  text-align: right;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px; 
 } 
  
.narcont {
  top: 50%; 
  transform: translateY(-50%); 
  position: relative;
  }
  
#wide {
  flex: 1;
  padding: 40px;
  text-align: center; 
  overflow-y: auto;  
  }
  
.cat {  
  position: absolute;
  background: darkblue; 
  text-align: left;
  padding: 15px;
  top: 0;
  left: 0;
  width: 500px; 
}

.cat a {
  margin: 20px;
}
 
  /* Style the tab */
.tab {
  overflow: hidden;
  margin: 12px;
  margin-right: 0;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
 }

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
 }
 /* Style the buttons inside the tab */
.tab button { 
  outline: none;
  cursor: pointer;
  padding: 16px;
  transition: 0.3s;
  font-size: 13px;
  border-radius: 40px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  margin: 5px;
  border: 1px solid white;
  color: #fff;
  background-color: rgba(1, 8, 17,0.3);
}

/* Change background color of buttons on hover */
.tab button:hover { 
  color: #0fe3f2;
}

/* Create an active/current tablink class */
.tab button.active { 
  color: #0fe3f2;
}

/* Style the tab content */
.tabcontent {
  display: none;
}

.oc { 
  display: inline-block; 
  width: 175px;
  margin: 20px;
  text-align: center; 
 }

.oc img {
  width: 175px;
  border: 2px solid rgba(255,255,255,0.5); 
  }

.ocname, .ocname1 {  
  border-left: 40px solid #153966;
  padding-left: 10px;
  font-size: 18px;
  font-weight: bold; 
  font-family: 'Calibri';
  text-align: left;
  letter-spacing: 0.2em;
  margin-top: 5px;
  height: auto;
  }
  
.ocname a {  
  color: white
}

.source {
  text-align: left;
  font-size: 13px;
  font-style: italic; 
  margin-top: 5px;
}
  