body {
  background-image: url('/oc/lunya/lunyabg.png');
  background-color: #ddd;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Montserrat', sans-serif; 
  font-weight: 400;
  overflow-y: auto;
    box-sizing: border-box;

} 
h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 33px;
  line-height: 35px;
}
h2 {font-size: 27px;
  text-indent: -17px;}
h3 {font-size: 25px; color:#205878}
h4 {font-size: 19px;
  text-indent: 0;}
h5 {font-size: 15px;}
h5:before {content: '\02729'; margin-right: 7px; margin-left: -15px;}
hr { 
  display: block;
  width: 50%;
  margin:30px auto;
  border-style: inset; 
}
#back {margin-bottom:20px; border-bottom:1px solid #ccc;}
#back a { font-family: 'Silkscreen', cursive; font-size: 15px; text-decoration:none; text-align:right} 
/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
  width: 10px;
}
 

/* TOC */ 

li {
  margin-top: 0.25em;
  margin-bottom:  0.25em;
}

ol {
  list-style-type: lower-roman;
}
.toc-list, .toc-list ol {
  list-style-type: decimal-leading-zero;
  list-style-position: inside;
  font-family: 'Oxygen', sans-serif;
}

.toc-list {
  padding-left: 10px; 
}

.toc-list ol {
  padding-inline-start: 2ch;
  list-style-type: lower-roman;
}

.toc {
  position: fixed;  
  left: 155px; 
  font-size: 16px;
  top:225px;}

.baksu {
  color: #9498d5; 
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #dc9ae7;
  border-radius: 25px;
  padding: 10px; 
  width: 600px;
  text-align: left;
}
            
.baksu a {
color: #6865b4;
text-decoration:none;
}

/* DECORATIONS */

#deco1 img {
  position:fixed;
  max-width: 425px;
  top: 0;
  left: 0;
  z-index: 9000;
}
 
#deco2 img {
  position:fixed;
  max-width: 435px;
  top: 0;
  right: 0;
  z-index: 9000;
}

#deco3 img {
  position:fixed;
  width: 100%;
  bottom: 0;
  left:0;
  z-index: -999;
}

#deco4 img {
  position: absolute; 
  max-width: 125px;
  max-height: 174px;
  bottom: -50px; 
  right: -65px;
  z-index:3;
  }
  
#deco5 img {
  position: absolute;
  max-width: 50px;
  max-height: 163px;
  bottom: 130px; 
  right: -25px;
  z-index:3;
  }

#deco6 img {
  position:fixed;
  max-width: 175px;
  bottom: 150px;
  right: 100px;
  z-index: -1000;
}  

#deco7 img {
  position:absolute;
  max-width: 125px;
  bottom: -22px;
  left: -90px;
  z-index: 1400;
}  
  
/* main*/

#container { 
  z-index:0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1050px;
  height: auto; 
  background: rgba(255,255,255,0.99);
  padding: 50px;  
}
 
#header {
  z-index:1;
  width: 100%;   
  height: 647px;
  margin-bottom: 100px;
  position: absolute;
  top: 0;
  left: 0; 
  display:block;
}
  
#header img {
  width: 1150px;  
  height: 647px;
} 

#title { 
  margin-top: 630px;
  text-align: center; 
  display:block;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-bottom:25px;
} 

#parent {    
  display: flex; 
  width: 900px;  
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  padding-bottom:20px;
}

#narrow {
    width: 50%;   
    margin-right: 30px;
    line-height: 1.6em;
    /* Just so it's visible */
  }
  
  #wide {
    flex: 1;  vertical-align:top;
    /* Just so it's visible */
  }

#portrait {
  text-align:center}
  
#portrait img{ 
    width:250px;  
    
}

/* READY CHECK DUNGEONS */
.rcd {
  margin: 5px; 
  font-size: 18px;
  letter-spacing: 0.1em;
  font-weight: bold;
  display: inline-block;
}

/* Style the tab */
.tab {
  overflow: hidden; 
  background-color: #eee;
  width: 960px;
  margin:auto;
  padding-right: 40px;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

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

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  width: 960px;
  display: inline-block;
  padding: 20px; 
  border-top: none;
  margin:auto;
  vertical-align: top;
}     

.tabcontent a {
  color:  #f0e6cc
}

/* PET STUFF */

.packbox { 
  margin: auto;
  margin-top:10px;
  width: 885px;
  height: auto;
  padding: 20px; 
  border: 3px ridge #d4cea9;
  background: #303030;
  color: #c7bea7;
  border-radius: 15px;
  display: inline-block;
  vertical-align: top;
}

.packimg {
  text-align: center;
}
.packimg img {
  margin: auto;
  width: 150px; 
  display: inline-block
}
 
.petstat {
  position: absolute;
  bottom: 20px;
  width: 415px;
  border-top: 2px solid #d4cea9;
  padding-top: 10px; 
} 

.petbox { 
  margin: 5px;
  margin-left: 2px;
  margin-right: 2px;
  width: 415px;
  height: auto;
  padding: 20px; 
  border: 3px ridge #d4cea9;
  background: #303030;
  color: #c7bea7;
  border-radius: 15px;
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.petbox img {
  width: 135px;
  float: right;}

.petinfo {
  color: #f0e6cc;
  font-family: Montserrat;
  font-size: 17px;
  width: auto;    
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 10px; 
}

.petdesc { 
  line-height: 1.3em;
  color: white;
  font-size: 15px;
  height: 325px; 
}

.petdesc2 { 
  line-height: 1.3em;
  color: white;
  font-size: 15px;
}
.data {
  text-align: left;
  font-weight: 700;
  display: inline;
  line-height: 1.4em;
  margin-right: 2px;
  font-size:14px;
}
      
.data:before {
  content: "\25AE"; 
  margin-right: 5px;
}
    
.datanl{
  margin-left: 20px;    
 text-indent: 30px;
}
      
.content {
  width: 930px;
  height: auto;
  background-color: white;
  border-radius: 25px;
  padding: 20px;
  border: 1px solid #ccc;
  margin-top: 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.figure {
  float: right;
  width: 300px;
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0; 
  margin: 0.5em; 
  padding: 0.5em; 
}

 
/* table stuff */

table {  
  width: 100%;
  margin: auto;
  border-collapse: collapse;
} 

th {
  font-weight: bold;
}

th, td {
  padding: 20px; 
  
}
        
tbody tr:nth-child(odd) {
  background-color: #f9f7fc;
}
        
tbody tr:nth-child(even) {
  background-color: #efebf5;
}
        
/* collapsible accordians */  

.accordion {
 background-color: #ece6f5;
 cursor: pointer;
 padding: 18px;
 width: 1000px;
 margin-left: 20px;
 margin-right: 20px;
 text-align: left;
 border: none;
 outline: none;
 transition: 0.4s;
 font-size: 17px; 
 font-family: 'Montserrat', sans serif;  
 text-transform: uppercase;
 font-weight: bold;
}
             
.active, .accordion:hover {
  background-color: #d8cfe6;
  opacity:1;
}
            
.panel img { max-width:300px; margin: 5px; text-align:center;}
            
.panel {
  padding: 0 20px;
  background-color: #f9f7fc; 
  margin-left: 20px;
  max-height: 0;
  overflow: hidden;
  width: 960px; 
  transition: max-height 0.2s ease-out;
  line-height: 1.3em;
  font-family: 'Oxygen', sans serif;
  display:inline-block;
}

            .accordion:after {
              content: '\25BC'; 
              font-size: 13px;
              float: right;
              color: #715aaa; 
              opacity:1;
            }
            
            .active:after {
              content: "\25B2"; 
              color: #715aaa; 
              opacity:1;
            }
 
/* ASTERIA & SHARDS */

#asteria {width: 100%;align-content: center;text-align: center;}
    
#asteria img {width: 75%}

#shardimg {
  margin: auto;
  width: 700px;
  text-align: center;
}

#shardhold {
  margin:auto;
  width: 950px;
  position: relative;
  text-align: center;
}
.shardy{
  width: 950px;
  margin: auto; 
  height:auto; 
  display: inline-block;
}
  
.sim {
  float: left; 
  margin: 15px;
  position: relative;
  width: 200px;
}

.sim img {
  width: 200px;
}

.shardcap {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-family: 'Times New Roman';
}

.shardwho {
  margin: 20px;
  text-align: left;
  line-height: 1.3em; 
}

.shardname {
  font-size: 20px;
  text-align: left;
}

#othershards {
  width: 1000px;
  margin: auto; 
  text-align: center;
  position: relative; 
  margin-top: 20px;
}

.sim2 {    
  position: relative;
  display: inline-block;
  width: 175px;
}

/* INVENTORY */

#inventory {
  width: 1000px;
  margin: auto; 
  vertical-align: top;
  text-align: center;
}

.invbox {
  width: 950px;
  height: auto;
  display: inline-block;
  border: 1px solid #dc9ae7;
  border-radius: 25px;
  background: white;
  padding: 20px; 
  margin: 3px;
  text-align: left;
  align-items: center; 
}

.invbox img {
  float: left;
  margin: auto;
  margin-right: 15px;
  width: 100px;
  border-radius: 25px;
}
 
/* AESTHETIC */

#aes {
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
}

#aes img {
  margin: 5px;
  display: inline-block;
}