/* for specific bits within different pages */

/* ========= INDEX ============= */
.door {
    background-image: var(--cafe-door);
    background-size: cover;
    background-color: rgba(165, 42, 42, 0);
    width: 70%;
    height: 100vh;
    margin: 0px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.window-cafe {
    background-image: var(--cafe-inside);
    background-size: cover;
    background-position: center;
    background-color: rgba(245, 222, 179, 0);
    width:85%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 5.6em;
}
.window-cafe #welcome-sign {
    height: 28em;
    margin-top: -5em;
}
.window-cafe .poster-announcement {
    background-color: rgba(240, 248, 255, 0);
    background-image: url("/img/test-poster.png");
    background-size: cover;
    width:40%;
    height:24em;
    padding: 4em 5em;
}
.poster-announcement p {
    font-size: 1.2em;
}

/* ========= CAFE ============ */
.cafe-fg {
    object-fit:cover;
    width: 100%;
    height: 100vh;
    z-index: 3;
    position: absolute;
    top: 0;
    pointer-events: none;
}
.barista {
    background-color: rgba(255, 255, 255, 0);
    background-image: url("/img/test-idle.png");
    mask-image: url("/img/test-idle.png");
    mask-size: cover;
    background-blend-mode: multiply;
    background-size: cover;
    border: 0px;
    border-radius: 0px;
    width: 8vw;
    height: 48vh;
    z-index: 2;
    position: absolute;
    top: 12vh;
    left:72vw;
}
.cafe-menu {
    background-color: rgba(255, 255, 255, 0);
    background-image: url("/img/test-menu.png");
    mask-image: url("/img/test-menu.png");
    mask-size: cover;
    background-blend-mode: multiply;
    background-size: cover;
    border: 0px;
    border-radius: 0px;
    z-index: 1;
    width: 18vw;
    height: 25.3vh;
    position: absolute;
    top: -1vh;
    left: 50vw;
}
.cafe-hint {
    background: rgba(255, 255, 255, 0);
    background-image: url("/img/test-hint.png");
    mask-image: url("/img/test-hint.png");
    mask-size: cover;
    background-blend-mode: multiply;
    background-size: cover;
    border: 0px;
    border-radius: 0px;
    width: 6vw;
    height: 15vh;
    z-index: 4;
    position: absolute;
    top: 30.5vh;
    left:67vw;
}

/* =========BARISTA CONVO ========== */
.bar-fg {
    width: 100%;
    height: 100vh;
    position: absolute;
    bottom: 0em;
    pointer-events: none;
}
.bar-convo {
    position: absolute;
    width: 12.5vw;
    right: 25vw;
    bottom: 0em;
    pointer-events: none;
}
.bar-name {
    background-color: var(--element-color);
    border-radius: 4px 4px 0px 0px;
    width: fit-content;
    padding-left: 10px;
    padding-right: 15px;
}
.bar-dialogue {
    background-color: rgba(240, 248, 255, 0);
    position:relative;
    width: 30%;
    min-height: 15vh;
    left: 27vw;
    top: 25vh;
    padding: 0.2em 1em;
    z-index: 2;
}
.bar-bubble {
    background-color: var(--element-color);
    min-height: 2vh;
    border-radius: 0px 4px 4px 4px;
    margin-top: 0px;
    font-size: 1.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.bar-bubble p {
    margin: 1em;
    margin-top: 0em;
    margin-bottom: 0.5em;
    font-size: 0.8em;
}
.bar-bubble table {
    width: 100%;
}
.bar-bubble table td {
    align-items: start;
    vertical-align: top;
    width: 50%;
}
.bar-bubble ul {
    margin: 0px 1em;
}
.bar-bubble ul p,
.bar-bubble td p {
    margin: 0em 1em;
}
.bar-bubble table ul {
    margin: 0px;
}
.bar-bubble li {
    font-family: 'Creato Display Light', Arial, sans-serif;
    color: var(--text-color);
    font-size: 0.6em;
    margin: 0px 1em;
}
.bar-choices {
    background-color: rgba(240, 248, 255, 0);
    position:relative;
    width: 100%;
    text-align: center;
    margin-top: 0.5em;;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.bar-choices button {
    z-index: inherit;
    width: 50%;
    height: 2.5em;
    margin-top: 5px;
}
.bar-bubble .neighbors-holder {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.bar-bubble details { margin: 0px 1em;}
.bar-bubble details p { font-size: 0.7em;}
.bar-bubble summary {
    display: inline;
    margin: 1em 0px;
}
.neighbors-holder .site-button img {
    height: 31px;
}

/* ======= VARIOUS CAFE CARDS ========== */
.hint-card {
    width: 15em;
    min-height: 12em;
    z-index: 20;
}

.table-content-card {
    width: 15em;
    min-height: 32em;
}
.table-content-card h1, 
.table-content-card h2, 
.table-content-card h3, 
.table-content-card h4, 
.table-content-card h5, 
.table-content-card h6 {
    margin-top: 0px;
    margin-bottom: 0px;
}
.table-content h4,
.table-content h5 {
    font-family: 'Creato Display', Arial, sans-serif;
}
.table-content-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    height: calc(100% - 1.2em - 4px);
}
.table-content-card .content-button {
    background-color: var(--element-color);
    border-radius: 0px;
    border: 0px;
    width: 100%;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.1s;
}
.table-content-card .content-button:hover {
    background-color: var(--element-variant);

}
.table-content-card .content-button:active {
    background-color: var(--accent-color);
    
}
.table-content-card .separator {
    background-color: var(--element-variant);
    border-radius: 0px;
    border: 0px;
    width: 100%;
    height: 2.5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.table-content-card .content-button h5 {
    font-family: 'Creato Display Light', Arial, sans-serif;
}
.my-button {
    background-color: var(--element-variant);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.my-button p {
    font-family: 'Creato Display ExBold', Arial, sans-serif;
    margin-top: 4px;
    margin-bottom: 4px;
}

.guestbook-card {
    width: 48em;
    height: 36em;
}
.guestbook-card .card-body {
    text-align: center;
}
.guestbook-card form {
    background-color: rgb(231, 167, 122);
    padding-top: 0.5em;
    padding-bottom: 1em;
    border-radius: 4px;
}
.guestbook-card form table {
    width: 100%;
}
.guestbook-card form #message {
    width: 90%;
    height: 6em;
    vertical-align: top;
    resize: vertical;
    min-height: 6em;
}
.guestbook-card form #submit {
    width: 7em;
    height: 150%;
    border-radius: 0.5em;
}

.home-card {
    width: 56em;
    height: 45em;
}
.home-card .card-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 1.2em - 4px);
    padding: 0;
    text-align: center;
}
.home-card .content-cell {
    background-color: var(--element-variant);
    border: 2px solid var(--accent-color);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.home-card .home-content {
    display: flex;
}
.home-card .self-chill {
    z-index: 1;
    pointer-events: none;
    position: absolute;
    height: 15em;
    top: 1.2em;
    left: 2em;
}

.blog-card {
    width: 24em;
    min-height: 16em;
    max-height: 48em;
}
.blog-card .card-body {
    min-height: calc(16em - 1.2em - 4px);
    max-height: calc(48em - 1.2em - 4px);
}