/* the following is a hack to fix IE */
html, body {
    margin: 0px;
    padding: 0px;
    height: 100%;
}
/* end hack */
body {
    background-color: #AF91AE;
    background-image: url(lorebg.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right 20px top 140px;
    background-size: 530px 757px;
}
a {
    color: rgb(130, 110, 255);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:visited {
    color: rgb(90, 76, 176);
}
.hanging {
    padding-left: 40px;
    text-indent: -40px;
}
#copy {
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 80%;
    color: rgb(224, 224, 224);
}
#copy a {
    color: rgb(224, 224, 224);
    text-decoration: underline;
}
#content {
    overflow: auto;
    padding: 5px 15px;
    background: rgb(188, 164, 187);
    background: rgba(188, 164, 187, 0.8);
    border: 5px solid rgba(173, 148, 172, 0.8);
    color: white;
    -moz-background-clip: padding;     /* Firefox 3.6 */
    -webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
    background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
    position: absolute;
    bottom: 5px;
    top: 205px;
    left: 22.5%;
    right: 22.5%;
}
#menu {
    color: rgb(224, 224, 224);
    margin: 0px;
    padding: 0px;
    margin: auto;
    width: 75%;
    text-align: center;
}
#logo {
    margin: auto;
    width: 900px;
    text-align: center;
}
#logo img {
    width: 900px;
    height: auto;
    margin: auto;
    max-width: 100%;
}
#menu a {
    padding: 3px;
    display: inline-block;
    text-decoration: none;
    color: rgb(224, 224, 224);
}
#menu a:hover {
    background: rgb(173, 148, 172);
    background: rgba(173, 148, 172, 0.8);
    color: white;
}
@media screen and (min-width: 1100px) and (max-width: 1400px) {
    #content {
        bottom: 25px;
        top: 175px;
        left: 12.5%;
        right: 12.5%;
    }
    body {
        background-position: right 0px top 110px;
    }
    #menu {
        width: 95%;
    }
    #logo, #logo img {
        width: 715px;
    }
}
@media screen and (min-width: 950px) and (max-width: 1100px) {
    #content {
        bottom: 25px;
        top: 150px;
        left: 10%;
        right: 10%;
    }
    body {
        background-position: right 0px top 90px;
    }
    #menu {
        width: 95%;
    }
    #logo, #logo img {
        width: 523px;
    }
}
@media screen and (min-width: 780px) and (max-width: 949px) {
    #content {
        bottom: 25px;
        top: 120px;
        left: 10%;
        right: 10%;
    }
    body {
        background-position: right 0px top 60px;
    }
    #menu {
        width: 95%;
    }
    #menu a img {
        height: 50px;
    }
    #logo, #logo img {
        width: 429px;
    }
}
@media screen and (min-width: 600px) and (max-width: 779px) {
    #content {
        bottom: 25px;
        top: 166px;
        left: 20px;
        right: 20px;
    }
    body {
        background-position: right 0px top 100px;
    }
    #menu {
        width: 450px;
    }
    #menu a img {
        height: 50px;
    }
    #logo, #logo img {
        width: 350px;
    }
}
@media screen and (min-width: 400px) and (max-width: 599px) {
    #content {
        bottom: 25px;
        top: 166px;
        left: 20px;
        right: 20px;
    }
    #content h2 {
        font-size: 20px;
    }
    body {
        background-position: center top 100px;
    }
    #menu {
        width: 400px;
    }
    #menu a img {
        height: 50px;
    }
    #logo, #logo img {
        width: 350px;
    }
}

@media screen and (max-width: 399px) {
    #content {
        bottom: 25px;
        top: 130px;
        left: 10px;
        right: 10px;
    }
    #content h2 {
        font-size: 18px;
    }
    body {
        background-position: center top 65px;
    }
    #menu {
        width: 100%;
        max-width:300px;
    }
    #menu a img {
        height: 36px;
    }
    #logo, #logo img {
        width: 100%;
        max-width: 300px;
    }
}