/* All pages */

body {
    background-color: rgb(23,33,38);
    margin-left: 25%;
    margin-right: 25%;
    font-family: Arial, Geneva, sans-serif;
}

h1 {
    background-color: rgb(103,134,131);
    margin-bottom: 15px;
    margin-top: 15px;
    padding-left: 25%;
}

.title {
    height: auto;
    max-width: 70%;
}

nav ul {
    z-index: 150;
    background-color: rgb(103,134,131);
    list-style-type: none;
    overflow: hidden;
    padding-left: 10%;
}

nav li {
    z-index: 150;
    float: left;
}

nav li a {
    z-index: 150;
    display: block;
    color: black;
    text-decoration: none;
    text-align: center;
    padding: 16px;
}

nav li a:hover {
    z-index: 150;
    color: black;
    background-image: url(AllPageAssets/navborder.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
}

img {
    height: 100%;
}

div.background {
    height: 100%;
    z-index: -100;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
}

div.leftforeground {
    height: 100%;
    z-index: 100;
    position: fixed;
    top: 0%;
    right: -7%;
    margin-right: 77%;
}

div.leftmidground {
    height: 100%;
    z-index: -50;
    position: fixed;
    top: 0%;
    right: -12%;
    margin-right: 77%;
}

div.rightforeground {
    height: 100%;
    z-index: 100;
    position: fixed;
    top: 0%;
    left: -6%;
    margin-left: 77%;
}

div.rightmidground {
    height: 100%;
    z-index: -50;
    position: fixed;
    top: 0%;
    left: -7%;
    margin-left: 77%;
}

div.moon {
    z-index: -75;
    position: fixed;
    height: 200px;
    left: 0%;
}

/* Home page */

div.beginreading {
    background-color: rgb(148,170,171);
    padding-left: 10%;
    padding-right:28%;
    padding-top:15px;
    padding-bottom:15px;
    margin-bottom: 15px;
    background-image: url(HomepageAssets/prologuestartbg.png);
    background-position: 83% bottom;
    background-size: 60%;
    background-repeat: no-repeat;
    position: relative;
}

.beginreading p a {
    color: black;
    text-decoration: none;
    z-index: 100;
    padding-top: 15px;
    padding-bottom: 15px;
}

.beginreading p a:hover {
    color: black;
    text-decoration: none;
    z-index: 100;
    background-image: url(AllPageAssets/underline.png);
    background-position: left 70%;
    background-size: contain;
    background-repeat: no-repeat;
}

.startdog {
    height: 75px;
    position: absolute;
    bottom: 3;
    right: 8%;
    
}

div.recentupdateprologue {
    background-color: rgb(148,170,171);
    padding-left: 50%;
    padding-right:10%;
    padding-top:15px;
    padding-bottom:15px;
    margin-bottom: 15px;
    background-image: url(HomepageAssets/recentbg.png);
    background-position: 17% bottom;
    background-size: 60%;
    background-repeat: no-repeat;
    text-align: right;
    position: relative;
}

.recentupdateprologue p a {
    color: black;
    text-decoration: none;
    z-index: 100;
    
}

.recentupdateprologue p a:hover {
    color: black;
    text-decoration: none;
    z-index: 100;
    background-image: url(AllPageAssets/underline.png);
    background-position: left 140%;
    background-size: contain;
    background-repeat: no-repeat;
}

.recentdog {
    height: 60px;
    position: absolute;
    left:8%;
    bottom: 3;
    
}

div.recentupdateA {
    background-color: rgb(148,170,171);
    padding-left: 10%;
    padding-right:10%;
    padding-top:2%;
    padding-bottom:2%;
    float: left;
    width: calc(30% - 7.5px);
    margin-bottom: 15px;
}

div.recentupdateB {
    background-color: rgb(148,170,171);
    padding-left: 10%;
    padding-right:10%;
    padding-top:2%;
    padding-bottom:2%;
    float: right;
    width: calc(30% - 7.5px);
    margin-bottom: 15px;
}

.recentimage {
    height: auto;
    max-width: 70%;
}

div.news {
    clear: both;
    display: inline-block;
    background-color: rgb(148,170,171);
    padding-left: 10%;
    padding-right:10%;
    padding-top:5%;
    padding-bottom:5%;
    margin-bottom: 30px;
}

/* About Page */

.smallrightoftext {
    width: 40%;
    height: auto;
    float: right;
    margin: 10px;
    border-style: solid;
    border-color: rgb(103,134,131);
    border-width: 10px;
    margin-right: -5%;
}

/* Cast Page */

.actheader {
    background-color: rgb(103,134,131);
    padding-top: .2%;
    padding-bottom: .2%;
    padding-left: 5%;
    padding-right: 5%;
    margin-right: -5%;
    margin-left: -5%;
    width: 110%;
    border: none;
    text-align: left;
    margin-bottom: 10px;
    cursor: pointer;
}

.active,.actheader:hover {
    background-color: rgb(83,114,111);
    
}

.unfurl {
    transform: rotate(90deg);
}
.arrow {
    width: 30px;
    height: auto;
    float: right;
    margin-right: -2%;
    margin-top: -5px;
}

div.theguys {
    display: none;
    overflow: hidden;
}

.castimage {
    height: auto;
    max-width: 35%;
}

/* Story Pages */

div.content {
    background-color: rgb(148,170,171);
    padding-left: 10%;
    padding-right:10%;
    padding-top:5%;
    padding-bottom:5%;
    margin-bottom: 15px;
    
}

.comicpage {
    height: auto;
    max-width: 100%;
}

div.pagenav {
    display: inline-block;
    text-align: center;
    background-color: rgb(103,134,131);
    width: 80%;
    margin-left: 10%;
    margin-bottom: 30px;
}

.navbutton {
    width: 20%;
    height: auto;
    max-height: 80px;
}

.navbutton:hover {
    background-image: url(AllPageAssets/navhover.png);
    background-position: right;
    background-size: 100%;
    background-repeat: no-repeat;
}

