@font-face {
    font-family: "initial";
    src: url("/fonts/initial/Roycroft-Initials.ttf");
}
html {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: repeating-linear-gradient(
        92deg,
        transparent 0px,
        transparent 4px,
        rgba(0, 0, 0, 0.03) 4px,
        rgba(0, 0, 0, 0.03) 5px
    ), repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.015) 0px,
        rgba(255, 255, 255, 0.015) 2px,
        transparent 2px,
        transparent 9px
    ), repeating-linear-gradient(
        89deg,
        rgba(0, 0, 0, 0.06) 0px,
        rgba(0, 0, 0, 0.06) 1px,
        transparent 1px,
        transparent 22px
    ), linear-gradient(
        to bottom,
        rgb(112, 70, 32) 0%,
        rgb(98, 59, 27) 40%,
        rgb(88, 52, 22) 70%,
        rgb(77, 45, 19) 100%
    );
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main { 
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.roller {
    position: relative;
    height: 27px;
    width: calc(100% + 10px);
    left: -5px;
    border-radius: 5%;
    background: linear-gradient(
        to bottom,
        rgb(253, 245, 230) 0%, 
        rgb(230, 204, 153) 100%
    );
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.52),
        0 -2px 5px rgba(0, 0, 0, 0.22),
        inset 0 -3px 6px rgba(0, 0, 0, 0.46);
}
.roller:first-of-type { top: 1px; }
.roller:last-of-type { bottom: 1px; }
.roller::before {
    content: "";
    position: absolute;
    height: 24px;
    width: calc(100% + 40px);
    left: -20px;
    top: 1.5px;
    border-radius: 10px;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        rgb(210, 174, 106) 0%,
        rgb(168, 128, 68) 45%,
        rgb(112, 78, 36) 100%
    );
}

article {
    font-size: 1.3rem;
    position: relative;
    width: 100%;
    min-width: 90px;
    margin-left: 50px;
    margin-right: 50px;
}
article section {
    line-height: 36px;
    font-size: 24px;
    padding: 20px;
    height: fit-content;
    max-height: 65vh;
    overflow: scroll;
    color: rgb(57, 47, 32);
    background: radial-gradient(
        circle at center, 
        rgb(253, 245, 230) 0%, 
        rgb(230, 204, 153) 100%
    );
}
article section > p:first-child::first-letter {
    float: left;
    font-family: "initial";
    font-size: 3em;
    margin-right: 5px;
    margin-top: 5px;
}
blockquote {
    position: relative;
    text-align: center;
    color: rgb(82, 67, 46);
    padding: 5%;
    margin: 5%;
    min-width: fit-content;
    background-color: rgba(20, 10, 0, 0.078);
    border-top: 1px solid rgba(60, 40, 10, 0.6); 
    border-bottom: 1px solid rgba(60, 40, 10, 0.6);
}
blockquote::before, blockquote::after {
    content: "“";
    font-size: 4.5rem;
    color: rgba(60, 40, 10, 0.18);
    position: absolute;
}
blockquote::before {
    top: 15px;
    left: 0;
}
blockquote::after {
    bottom: 15px;
    right: 0;
    transform: rotate(180deg); 
}
blockquote p { font-style: italic; }
cite { 
    font-style: normal; 
    font-variant: small-caps;
    color: rgba(60, 40, 10, 0.35);
}
blockquote cite::before { content: "—"}

.visit {
    display: block;
    width: fit-content;
    margin: auto;
    font-weight: bold;
    text-decoration: none;
    font-variant: small-caps;
    letter-spacing: 1px;
    padding: 0 28px;    
    color: rgb(60, 40, 10);
    border-width: 2px;
    border-style: solid;
    border-color: rgb(90, 60, 20);
    border-radius: 8px;
    transition: all 0.2s ease;
    background: linear-gradient(
            to bottom,
            rgb(255, 235, 180),
            rgb(210, 170, 90)
        );
    box-shadow:
        0 6px 12px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.4);   
}
.visit:hover {
    transform: translateY(-2px) scale(1.01);
    background: linear-gradient(
        to bottom,
        rgb(255, 245, 200),
        rgb(220, 180, 100)
    );
    box-shadow:
        0 10px 18px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(255,255,255,0.5);
}
.visit:active {
    transform: translateY(2px) scale(0.98);
    box-shadow:
        0 3px 6px rgba(0,0,0,0.5),
        inset 0 3px 6px rgba(0,0,0,0.3);
}
.bookmark {
    filter: drop-shadow(3px 4px 8px rgba(0, 0, 0, 0.5));
    align-self: flex-start;
}
.bookmark-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.bookmark-hole {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(
        to bottom,
        rgb(112, 70, 32) 0%,
        rgb(98, 59, 27) 40%,
        rgb(88, 52, 22) 70%,
        rgb(77, 45, 19) 100%
    );
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 217, 0, 0.5);
    margin-top: 18px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}
.bookmark-string {
    width: 2px;
    height: 45px;
    background: repeating-linear-gradient(
        to bottom,
        rgb(200, 160, 80) 0px,
        rgb(160, 120, 50) 4px
    );
}
.tassel-knot {
    width: 15px;
    height: 15px;
    position: relative;
    top: -1px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 40% 35%,
        rgb(220, 180, 90),
        rgb(121, 89, 32)
    );
    z-index: 1;
}
.tassel-threads {
    position: relative;
    top: -5px;
    left: 1px;
    width: 15px;
    height: 39px;
    background: repeating-linear-gradient(
        90deg,
        rgb(200, 160, 80) 0px,
        rgb(200, 160, 80) 1px,
        transparent 1px,
        transparent 3px
    );
}
.neighbors {
    width: 140px;
    flex-shrink: 0;
    text-align: center;
    padding: 95px 5px 5px;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgba(255, 255, 255, 0.03) 3px,
        rgba(255, 255, 255, 0.03) 4px
    ), repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        rgba(0, 0, 0, 0.04) 8px,
        rgba(0, 0, 0, 0.04) 9px
    ), linear-gradient(
        to bottom,
        rgb(80, 30, 40) 0%,
        rgb(60, 20, 28) 100%
    );
    color: rgb(230, 204, 153);
    clip-path: polygon(
        0 8%, 
        50% 0, 
        100% 8%, 
        100% 100%, 
        0 100%
    );
    min-height: 300px;
}
ul {
    list-style: none;
    padding: 26px; /*overrides default indentation*/
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.button {
    height: 31px;
    width: 88px;
    border-color: black;
    border-style: outset;
    background: gray;
}
.button:hover {
    border-style: inset;
    transform: scale(0.9);
}