/* ================================================================ VARIOUS CAFE CARDS ================================================== */
.hint-card .card-body,
.table-content-card .card-body,
.gallery-card .card-body,
.blog-card .card-body,
.button-card .card-body,
.home-card .card-body,
.art-card .card-body,
.projects-card .card-body,
.neighbors-card .card-body {
    overflow-x:hidden;
    word-break: keep-all;
    text-justify:newspaper;
    text-align: left;
}

/* ================================================================= GUESTBOOK CARD ==================================================== */
.guestbook-card {
    min-width: 36em;
    height: 36em;
}
.guestbook-card .card-body {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.guestbook-card iframe {
    width: 100%;
    height:100%;
}

/* =================================================================== HINT CARD ==================================================== */
.hint-card {
    width: 15em;
    min-height: 12em;
    max-width: 15em;
    z-index: 10;
}

/* ============================================================= TABLE OF CONTENT CARD ============================================== */
.table-content-card {
    max-width: 16em;
    min-height: 24em;
}
.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 {
    border-radius: 0px;
    border: 0px;
    width: 100%;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.table-content-card .separator {
    background-color: var(--accent-color);
    border-radius: 0px;
    border: 0px;
    width: 100%;
    height: 2.5em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.table-content-card .separator * {
    color: var(--element-color);
}
.table-content-card .content-button h5 {
    font-family: 'Creato Display Light', Arial, sans-serif;
}

/* ============================================================= NEIGHBORS CARD ================================================== */
.neighbors-card {
    max-width: 18em;
    max-height: 24em;
}
.neighbors-card .card-body {
    text-align: center;
}
.neighbors-card .card-body h4 {
    margin-top: -6px;
    margin-bottom: 4px;
}
.neighbors-card .neighbors-holder {
    background-color: var(--transparent);
    overflow-y: scroll;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.neighbors-card .site-button img {
    height: 31px;
}

/* ================================================================== HOME CARD ============================================== */
.home-card {
    max-width: 64em;
    height: 50em;
}
.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(--body-color);
    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: calc(1.2em - 4px);
    left: 0em;
}
.home-card .my-stories {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-card .my-stories a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-card .my-stories img {
    height: 90%;
    width: 95%;
}
.home-card .quick-marquee {
    height: 4em;
    width: 100%;
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    overflow-x: hidden;
}
.home-card .quick-marquee .scrolling-text {
    color: var(--text-color);
    font-weight: bolder;
    position: relative;
    left: 100%;
    animation-name: scrollToLeft;
    animation-timing-function: linear;
    animation-duration: 50s;
    animation-iteration-count: infinite;
}
.home-card .home-banner { width: 95%; margin-bottom: 0px;}
.home-card .home-mat {width: 100%; height: 100%; object-fit: cover;}
.home-card .recent-art {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 95%;
    height: 90%;
    margin: 0px 1em;
    margin-bottom: 1em;
}

/* ================================================================ BUTTON CARD ======================================================= */
.button-card {
    width: 10em;
}
.button-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ================================================================== BLOG CARD ====================================================== */
.blog-card {
    min-width: 24em;
    max-width: 30em;
    min-height: 8em;
    max-height: 48em;
}
.blog-card .card-body {
    min-height: calc(8em - 1.2em - 4px);
    max-height: calc(48em - 1.2em - 4px);
}
.blog-card .blog-header {
    background-color: var(--transparent);
    width: 100%;
    display: flex;
    align-items: end;
    margin-bottom: 0.3em;
}
.blog-card .blog-header h3 {
    width: fit-content;
}
.blog-card .blog-filter {
    width: fit-content;
    height: fit-content;
    margin-left: auto;
}
.blog-card #blog-holder {
    min-height: 2em;
    max-height: 40em;
    overflow-y: scroll;
    border: 2px solid var(--accent-color);
    border-radius: 0.3em;
    display: flex;
    flex-direction: column;
}
.blog-card .blog-entry {
    border-bottom: 1px solid var(--accent-color);
}
.blog-entry details {
    background-color: var(--element-color);
    width: 100%;
}
.blog-entry details summary {
    display: flex;
    padding: 1px 0px;
    cursor: pointer;
}
.blog-entry details {
    background-color: var(--body-color);
}
.blog-entry details summary #blog-tag {
    background-color: var(--body-color);
    border: 1px solid var(--accent-color);
    border-radius: 1em;
    color: var(--text-color);
    font-family: 'Coolvetica', 'Times New Roman', sans-serif;
    padding: 0px 0.5em;
    margin-left: auto;
    margin-right: 4px;
    transition: background-color 0.2s, color 0.2s;
}
.blog-entry details[open] summary #blog-tag {
    background-color: var(--accent-color);
    border: 1px solid var(--headtext-color); 
    color: var(--headtext-color);
    margin-right: 4px;
}

.blog-entry details summary #blog-date {margin-right: 0px;}
.blog-entry details .blog-time {
    background-color: var(--header-color);
    padding: 0px 0.5em;
    width: inherit;
}
.blog-entry details #blog-time {
    color: var(--headtext-color);
    font-family: 'Coolvetica', 'Times New Roman', sans-serif;
}
.blog-entry details summary #blog-title {margin-left: 4px;}
.blog-entry details .img-holder {
    background-color: var(--transparent);
    width: 100%;
    max-height: 15em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-entry details img {
    width: 100%;
    max-height: 15em;
    object-fit: contain;
    pointer-events: none;
}
.blog-entry details a,
.blog-entry details span,
.blog-entry details p {
    margin: 0px 1em;
}
.blog-entry details p {
    margin-bottom: 0.6em;
}
.blog-entry details #blog-body {
    margin: 0px;
}
.blog-entry details #blog-body p {
    text-indent: 2.5em;
    text-align: justify;
    text-justify: inter-word;
}

/* ============================================================== GALLERY CARD =============================================== */
.gallery-card {
    min-width: 36em;
    max-width: 48em;
    max-height: 48em;
}
.gallery-card .card-body {
    max-height: calc(48em - 1.2em - 4px);
}
.gallery-card .gallery-header {
    background-color: var(--transparent);
    width: 100%;
    display: flex;
    align-items: end;
    margin-bottom: 0.3em;
}
.gallery-card .year-filter {
    justify-self: end;
    margin-left: auto;
}
.gallery-card .type-filter {
    justify-self: end;
    margin-left: 0.4em;
}
.gallery-card .art-gallery {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--accent-color);
    border-radius: 0.3em;
    overflow-y: scroll;
    max-height: 40em;
}
.gallery-card .art-museum {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.gallery-card .gallery-entry {
    width: 9em;
    height: 9em;
    border-radius: 4px;
}
.gallery-entry img {
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================== PROJECTS CARD ================================================== */
.projects-card {
    min-width: 30em;
    max-width: 36em;
    min-height: 8em;
    max-height: 48em;
}
.projects-card .card-body {
    min-height: calc(8em - 1.2em - 4px);
    max-height: calc(48em - 1.2em - 4px);
}
.projects-card .projects-header {
    background-color: var(--transparent);
    width: 100%;
    display: flex;
    align-items: end;
    margin-bottom: 0.3em;
}
.projects-card .projects-header h3 {
    width: fit-content;
}
.projects-card .projects-filter {
    width: fit-content;
    height: fit-content;
    margin-left: auto;
}
.projects-card #projects-holder {
    min-height: 2em;
    max-height: 40em;
    overflow-y: scroll;
    border: 2px solid var(--accent-color);
    border-radius: 0.3em;
    display: flex;
    flex-direction: column;
}
.projects-entry details {
    background-color: var(--element-color);
    width: 100%;
}
.projects-entry details summary {
    display: flex;
    padding: 1px 0px;
    cursor: pointer;
}
.projects-entry details summary #projects-tag {
    background-color: var(--body-color);
    border: 1px solid var(--accent-color);
    border-radius: 1em;
    color: var(--text-color);
    font-family: 'Coolvetica', 'Times New Roman', sans-serif;
    padding: 0px 0.5em;
    margin-left: auto;
    margin-right: 4px;
    transition: background-color 0.2s, color 0.2s;
}
.projects-entry details[open] summary #projects-tag {
    background-color: var(--accent-color);
    border: 1px solid var(--headtext-color); 
    color: var(--headtext-color);
    margin-right: 4px;
}
.projects-entry #projects-status {
    background-color: var(--accent-color);
    border: 1px solid var(--headtext-color); 
    color: var(--headtext-color);
    border-radius: 1em;
    font-family: 'Coolvetica', 'Times New Roman', sans-serif;
    padding: 0px 0.5em;
    margin-left: 0.75em;
    margin-right: 4px;
}
.projects-entry details summary #projects-title {margin-left: 4px;}
.projects-entry details .img-holder {
    background-color: var(--transparent);
    width: 100%;
    max-height: 15em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.projects-entry details img {
    width: 100%;
    max-height: 15em;
    object-fit: contain;
    pointer-events: none;
}
.projects-entry details a,
.projects-entry details span,
.projects-entry details p {
    margin: 0px 1em;
}
.projects-entry details p {
    margin-bottom: 0.6em;
}
.projects-entry details #projects-body {
    margin: 0px;
}
.projects-entry details #projects-body p {
    text-indent: 2.5em;
    text-align: justify;
    text-justify: inter-word;
}
.projects-entry details summary #projects-date {margin-right: 0px;}
.projects-entry details .projects-time {
    background-color: var(--header-color);
    padding: 0px 0.5em;
    width: inherit;
}
.projects-entry details #projects-time {
    color: var(--headtext-color);
    font-family: 'Coolvetica', 'Times New Roman', sans-serif;
}