

body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

    background-image: url("images/bartop.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #34291f;
    font-family: Georgia, "Times New Roman", serif;
}

.scene {
    position: relative;
    width: 900px;
    height: 700px;
    margin: -20px auto;
}

.page {
    position: relative;
    transform: rotate(-5deg);

    width: 800px;
    aspect-ratio: 827 / 1169;
    margin: 10px auto;

    background-image: url("images/foolscap.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    opacity: 0.85;
    filter: none;
}

.ashtray {
    position: absolute;

    width: 400px;

    top: 850px;
    left: -260px;
    
        transform: rotate(-90deg);
    opacity: 0.85;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,.25));
}



.tab {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 10%;
    height: 17%;

    color: #4b2f17;
    text-decoration: none;
    font-size: 24px;

    transform: rotate(-90deg);
}

.tab:hover{

    right: 10px;

}
.yarns {
    top: 5%;
    right: 1%;
}

.thoughts {
    top: 24%;
    right: 0%;
}

.fragments {
    top: 41%;
    right: 0%;
}

.images {
    top: 60%;
    right: 0%;
}

.about {
    top: 77%;
    right: 0%;
}

.section-page {
    max-width: none;
    color: #f5e6c8;
}



/* ===========================
   BEER GLASS HOME BUTTON
   =========================== */

.beer-home {
    position: absolute;

    top: -100px;
    left: 800px;

    display: block;
    width: 400px;

    z-index: 20;

    transform: rotate(7deg);
    transform-origin: center;

    transition:
        transform 0.18s ease,
        filter 0.18s ease;
}

.beer-home:hover {
    transform: rotate(5deg) translateY(-8px) scale(1.02);
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35));
    cursor: pointer;
}

.beer-home:active {
    transform: rotate(7deg) translateY(-2px) scale(0.99);
}

.beer-home:focus-visible {
    outline: 3px solid #d8b15a;
    outline-offset: 6px;
}

.beer-home .beer_glassed {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.85;
}


/* ===========================
   STORY PAGE NAVIGATION
   =========================== */

.story-nav {
    position: absolute;
    top: 127px;
    left: 115px;

    width: 520px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0;
    z-index: 10;
}

.story-nav a {
    font-family: "Courier New", Courier, monospace;
    color: #34291f;
    font-size: 15px;
    text-decoration: none;
}

.story-nav a:hover {
    text-decoration: underline;
}

/* ===========================
   FOLDER CONTENT
   =========================== */

.page .content {
    position: absolute;
    top: 200px;
    left: 115px;
    width: 520px;
    z-index: 5;
}

/* Yarns, Thoughts, Fragments, etc. */

.page .content h1 {
    position: static;
    display: block;

    margin: 0 0 30px 0;

    font-size: 100px;
    line-height: 1.1;
}

/* Story links */

.page .content .story-list {
    position: static;
    list-style: none;

    margin-left: 25px;
    
}

.page .content .story-list li {
    margin: 15px 0;
}

.page .content .story-list a {
    color: #34291f;
    font-size: 48px;
    text-decoration: none;
}

.page .content .story-list a:hover {
    text-decoration: underline;
}

/* ===========================
   STORY PAGE TEXT
   =========================== */

.story-content h1 {
    position: static;
    margin: 0 0 35px 0;

    font-size: 48px;
    line-height: 1;
}

.page .story-content p {
    position: static;
    margin: 0 0 30px 0;

    font-size: 21px;
    line-height: 1.6;
}
.home-page .beer-home {
    display: none;
}


























