:root {
  --backgroundcolor: #f2efed;
  --textcolor: #8B807A;
  --header:#E1D7D7;
  --main: #eeebea;
  --footer: #DDD7D7;
  --borders: #877D7D;
  
  --breadcrumb: #a59898;
  --h1: #877D7D;
  --h2: #877D7D;
  --h3: #877D7D;
  --headerunderline: #E8E1E1;
  
  --quotebackground:#f1ecec;
  --quotetext: #877D7D;
  --boxbg: #bfbfbf;
  --showcontentborder:#F7F2F2;
  
  --seriesofbg:#f1ecec;
  --seriesoftext:#877D7D;
  
  --infoboxbg:#ffffff;
  --centertext:#bdbdbd;
  --boldtext:#877D7D;
  --infotext:#877D7D;
}

body{
        ::selection {
            background-color: #e2dbdb;
        }
        ::-moz-selection {
            background-color: #e2dbdb;
        }
  background-color: var(--backgroundcolor);
    background-image: url('img/bg.png');
    background-repeat: repeat;
  font-family:"Roboto", sans-serif;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin: 0;
  color: var(--textcolor);
}

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  background-color: #F2EFEF;
}

::-webkit-scrollbar-track {
  background-color: #F1EDED;
}

::-webkit-scrollbar-thumb {
  background-color: #F2EFEF;
  border-radius: 10px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #A9A6A6;
  border-bottom: 2px solid #A9A6A6;
  box-shadow: inset -1px -1px 0px #E1DDDD, 
              inset 1px 1px 0px #dfdfdf;
}

::-webkit-scrollbar-thumb:active {
  background-color: #F1EDED;
  border-radius: 10px;
  border-top: 2px solid #A9A6A6;
  border-left: 2px solid #A9A6A6;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  box-shadow: inset -1px -1px 0px #dfdfdf, 
              inset 1px 1px 0px #E1DDDD;
}

::-webkit-scrollbar-corner {
  background-color: #d4d0c8;
}

.wrapper{ 
 margin: auto;
 width: 1280px;
 border-radius: 5px;
 border:1px solid var(--borders);
 margin-top: 15px;
 margin-bottom: 20px;
 box-shadow: 1px 1px 0px 1px #d3cbcb;
}

.cat-logo {
 position: absolute;
 top: 100px;
 transform: translate(-50%, -50%);
 display: flex;
 justify-content: center; 
 align-items: center;
}
.cat{
    position: absolute;
    z-index: 1;
    transform: translate(415%, 20%);
}

main{
 padding: 15px;
 background: var(--main);
 clear: left;
}

.mono{
  font-family:"Anonymous Pro", monospace;
  font-size: 14px;
  letter-spacing: 0.3px;
}

a{
text-decoration: none;
color: #C0ADA9;
}

 a:hover{
 text-shadow: 1px 1px 0 #ffffff;
 color: #C0ADA9;
 text-decoration: underline;
 text-decoration-color: #d9d2d2;
 text-underline-offset: 5px;
}

.breadcrumb{
color: var(--breadcrumb);  
}
header{
    background-image: url('img/title.png'), linear-gradient(to right, rgba(255, 255, 255, 1), transparent), url('img/masthead.png');
    background-repeat: no-repeat;
    background-position: left;
  height: 100px;
  border-bottom:1px solid var(--borders);
  background-color:var(--header);
}

.top-header{
  height: 20px;
  border-bottom:1px solid var(--borders);
  background-color: #DDD7D7;
  font-size: 13px;
  padding: 5px;
  padding-top: 7px;
  padding-left: 10px;
  color:#716666;
}

.bottom-header{
  height: 27px;
  border-bottom:1px solid var(--borders);
  background-color: #E1D7D7;
  padding-left: 5px;
}

.box {
  width: 58%;
  background-color: #ffffff;
  border-top: 0px solid var(--borders);
  border-left: 1px solid var(--borders);
  border-right: 1px solid var(--borders);
  border-bottom: 1px solid var(--borders);
  box-shadow: 1px 1px 0px 1px #d3cbcb;
  border-radius: 5px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  right:10px;
  outline: none;
}

.box-padding {
  padding-left: 20px;
  padding-right: 10px;
  padding-bottom: 20px;
}

button {
  width: 100px;
  background-color: #D7CDCD;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #d4d0c8;
  border-bottom: 0px solid #d4d0c8;
  box-shadow: 1px 1px 0px 1px #B9A7A7;
  border-radius: 5px;
  color: #5D5353;
  text-shadow: 1px 1px 0 #f0ebea;
  font-family:"Anonymous Pro", monospace;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 5px;
  text-align: center;
  cursor: pointer;
  outline: none;
}

button:hover {
  width: 100px;
  background-color: #D7CDCD;
  border-top: 1px solid #d4d0c8;
  border-left: 1px solid #d4d0c8;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  text-shadow: 1px 1px 0 #d8d1cf;
  box-shadow: none;
}

main img{
  max-width: 100%;
}

footer{
  background:var(--footer);
  padding: 35px;
  border-top:1px solid var(--borders);
  text-align: center;
}

h1,h2,h3{
width: 58%;
overflow: hidden;
background: linear-gradient(to right, rgba(255, 255, 255, 1), rgb(240, 234, 234));
border:1px solid var(--borders);
box-shadow: 1px 1px 0px 1px #d3cbcb;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
margin:0;
}
.h-padding {
padding-top:5px;
padding-left:10px;
}
h1{
font-size:22px;
letter-spacing:0.2px;
font-weight:normal;
}
h2{
font-size: 18pt;
letter-spacing:0.2px;
font-weight:normal;
}
h3{
font-size: 14pt; 
letter-spacing:0.2px;
font-weight:normal;
}
h4{
font-size: 13pt; 
letter-spacing:0.2px;
}


.showcontent{
  padding: 3px;
  font-weight: bold;
}
.contents{
 background-color:var(--boxbg);
  width: 14%;
 padding: 7px;
 border: 1px solid var(--showcontentborder);
  border-radius: 5px;
}

.phrase{
  width: 90%;
  background-size: cover;
  font-style: italic; 
  padding: 13px;
  border-radius: 5px;
  border-top: 2px solid #f5f1f1;
  border-left: 2px solid #f5f1f1;
  background-color: #f1eded;
  color: var(--quotetext);
  box-shadow: 1px 1px 0px 1px #d3cbcb;
}

.quotebox{
  width: 90%;
  background-size: cover;
  font-style: italic; 
  padding: 13px;
  border-radius: 5px;
  border-left: 2px solid #a39d9d;
  background-color:var(--quotebackground);
  color: var(--quotetext);
}

.revealsummary{
  text-align: center;
 background-color:var(--seriesofbg);
  padding: 10px;
 font-weight: bold;
  border: 1px solid var(--showcontentborder);
  border-radius: 5px;
}
.reveal{
  text-align: center;
 background-color:var(--seriesofbg);
  padding: 5px;
  width: 50%;
  border: 1px solid var(--showcontentborder);
  border-radius: 5px;
  color: var(--seriesoftext);

}

 #flair::before {
  display:none;
}

.infotable {
  float:right;
  margin-left:5px;
  background:var(--infoboxbg);
  border-left:1px solid var(--borders);
  border:1px solid var(--borders);
  box-shadow: 1px 1px 0px 1px #d3cbcb;
  border-radius: 5px;
  width:40%;
  font-size: 14px;
  color: var(--infotext);
  
}
.infotable img{
  max-width: 100%;
  margin: auto;
}
.infotable th {
  text-align:left;
 
}
.infotable th{
    padding: 5px;
  color: #5D5353;
}
.infotable ul{
  list-style: none;
  padding: 0px;
  margin: 4px;
}
#centertext{
  text-align: center;
  background: rgb(224, 218, 218);
  border-bottom:1px solid #bdbdbd;
}
#clear::after {
  content: "";
  clear: both;
  display: table;
}

@media(max-width: 900px) {
    header{
    background-image: url('img/title-mobile.png'), url('img/masthead-mobile.png');
    background-repeat: no-repeat;
    background-position: left;
    }
  .quotebox{
    width: 90%;
    padding: 15px;
    margin-top: 10px;
  }
    .cat{
    display:none;
    }
    .box {
  width: 100%;
    }
    h1,h2,h3{
  width: 100%;
    }
  .infotable{
    width: 30%;
  }
    .wrapper{
    width: 100%;
  }
      .chapters{
    width: 50%;
  }
  .reveal{
    width: 60%;
  }
  }  
  
@media(max-width: 1250px) {
  .infotable{
    width: 35%;
  }
   .contents{
    width: 40%;
  }
  }  

  
@media(orientation: portrait) {
    header{
    background-image: url('img/title-mobile.png'), url('img/masthead-mobile.png');
    background-repeat: no-repeat;
    background-position: left;
    }
        .box {
  width: 100%;
    }
    h1,h2,h3{
  width: 100%;
    }

  .quotebox{
    width: 90%;
    padding: 15px;
    margin-top: 10px;
  }
  body{
    margin-top: 0px;
  }
   .infotable{
    width: 100%;
     margin-bottom: 20px;
  }
 
  .wrapper{
    width: 95%;
  }
    .chapters{
    width: 50%;
  }
  .main{
    padding-top: 20px;
  }
  .contents{
    width: 95%;
  }
   .reveal{
    width: 95%;
  }
}