/* Font: 
MedievalSharp - heavy style
Goudy Bookletter 1911 - great readability*/
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=MedievalSharp&display=swap');

html {
    min-height: 100%;
    background-color: #18120e;
}
body {
    min-height: 100vh;
    margin: 0;
    color: #e8dcc8;
    font-size: 18px;
    font-family: "Goudy Bookletter 1911", serif;


    background-image:
        radial-gradient(ellipse at 50% 0%,
            rgba(150, 105, 55, 0.18), transparent 65%),

        radial-gradient(ellipse at 0% 100%,
            rgba(110, 70, 35, 0.13), transparent 55%),

        radial-gradient(ellipse at 100% 100%,
            rgba(110, 70, 35, 0.13), transparent 55%),

        repeating-linear-gradient(
            45deg,
            rgba(255, 220, 170, 0.012) 0px,
            rgba(255, 220, 170, 0.012) 1px,
            transparent 1px,
            transparent 5px
        );

    background-attachment: fixed;

    position: relative;
    isolation: isolate;

}
body::before {
    content: "";
    position: fixed;
    inset: 0;

    border: 12px solid #18120e;
    outline: 1px solid rgba(139, 112, 77, 0.45);
    outline-offset: -13px;

    box-shadow:
        inset 0 0 25px rgba(139, 112, 77, 0.12);

    pointer-events: none;
    z-index: 10;
}

header {
    position: relative;
    padding: 30px 30px 5px 30px ;
    margin-left: 50px;

    z-index: 1;
}




h1 {
    font-size: 40px;
    font-family: "MedievalSharp", cursive;
    font-weight: 700;
    font-style: normal;
}
.authorName{
    font-size: 20px;
    margin-left: 400px;
}

.page {
    box-sizing: border-box;

    border-top: 1px solid #6b5540;
    display: flex;
    /* flex-direction determines the main axis, defaulted to row
            justify-content is centering on the main axis (would be row by default, so < or >)
            align-items is centering on the other axis */
    justify-content: flex-start;
    /* align-items: flex-start; */

    gap: 20px;
    z-index: 1;
}

aside {
    width: 300px;
    padding: 10px;
    margin-left: 25px;
    border-right: 1px solid #6b5540;
}

main {
    flex: 1;
    padding: 20px;
    margin-right: 35px;

    line-height: 1.8;
    max-width: 1100px;
}

main p {
    margin-bottom: 22px;
}



/*Cosmetics*/

/*Sidebar*/
/*Clickables show hand*/
.clickable {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #6b5540;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}
.clickable:hover {
    color: #c9a96e;
    text-decoration-color: #c9a96e;
}
/*Remove indentation of Nav*/
#navList{
    padding-left: 0;
}
/*Spacing between category*/
#navList > li{
    margin-bottom: 20px;
    list-style-type: none;
}
/*Spacing between listed items*/
.magicalList{
    margin-bottom: 4px;
    list-style-type: "✦ ";
}

/*Main Text*/
/*Divider between headings*/
.subcat {
    position: relative;
    color: #c9a96e;
    font-family: "MedievalSharp", cursive;
    letter-spacing: 1.5px;

    border-bottom: 1px solid #6b5540;
    padding-bottom: 12px;
    margin-bottom: 22px;

    text-shadow: 0 0 12px rgba(201, 169, 110, 0.15);
}

.subcat::after {
    content: "✦";
    position: absolute;
    left: 50%;
    bottom: -15.25px;
    transform: translateX(-50%);

    padding: 0 10px;

    color: #c9a96e;
    font-size: 16px;
}
/*Emphasizes quotes*/
.listQuote{
    font-size: 16px;
    font-style: italic;
    margin-left: 300px;
}



/*Footer*/
footer {
    padding: 20px;
    border-top: 1px solid #6b5540;
    text-align: center;
    font-size: 14px;
    color: #888;

    position: relative;
    z-index: 1;
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #c9a96e;
    text-decoration: underline;
}


#magicDust {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}