body {
  background-image: radial-gradient(#FEFDFB .5px, transparent .5px), radial-gradient(#876d65 .5px, #fefcf9 .5px);
  background-size: 1.3rem 1.3rem;
  background-position: 0 0, 1rem 1rem;
  color: #68625a;
  font-family: 'Crimson Text', Verdana, Arial;
  font-size: clamp(0.85rem, .9vw, 2rem);
  line-height: 1.2rem;
  margin: 0 auto;
  letter-spacing: .05rem;
  height: 100%;
}

/* grid */

#grid {
  margin: 5rem;
  display: grid;
  gap: 4rem;
  min-height: 42rem;
  justify-content: center;
  grid-template-columns: auto auto auto;
}

/* sidebars */

#left-sidebar {
  margin: 1rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  width: 15rem;
}

#right-sidebar {
  margin: 1rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  width: 15rem;
}

/* containers and headers */

#container {
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#container-subpage {
  max-width: 65rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

header img {
  margin-bottom: .2rem;
  max-width: 5.5rem;
}

nav {
  position: fixed;
  top: 0;
  margin: 0 auto;
  display: flex;
  width: 100%;
  padding: .5rem 1rem;
  flex-direction: row;
  border-bottom: 4px double #876d65;
  box-sizing: border-box;
  justify-content: space-between;
  background-color: #fff;
  gap: 1rem;
  z-index: 99;
}

nav div {
  gap: 1rem;
  display: flex;
}

nav .active {
  text-decoration: underline;
  text-underline-offset: .2rem;
}

nav h4 {
  margin: 0;
}

/* links */

a {
  letter-spacing: .1rem;
  font-style: italic;
  color: #333;
  border-radius: .3rem;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: .2rem;
}

/* text styles */

h1 {
  margin: 0 auto;
  line-height: 2rem!important;
  font: 1.7rem 'Homemade apple';
  letter-spacing: .2rem;
  color: #876d65;
}

h2 {
  margin: 0 auto;
  font-weight: normal;
  font-style: italic;
  font-size: 1.2rem;
  color:#956C4A;
}

h3 {
  margin: .7rem auto;
  font: .9rem 'Homemade apple';
  color: #876d65;
}

h4 {
  margin: .7rem auto;
  font-size: 1rem;
  font-style: italic;
  font-weight: normal;
  color: #956C4A;
}

h5 {
  margin: .7rem auto;
  font-size: .9rem;
  color: #876d65;
}

p {
  margin: .7rem auto;
}

.signature {
  font: 1.2rem 'Homemade apple';
  margin: .7rem auto;
}

.quote {
  font-style: italic;
  color: #956C4A;
}

q {
  margin: 0 auto;
  display: block;
  font-style: italic;
  font-size: .9rem;
}

blockquote {
  text-align: left;
  color: #956C4A;
}

blockquote p {
  color: #956C4A!important;
}

.center {
  text-align: center;
}

/* lists */

ul {
  list-style: circle;
  padding-left: 1.5rem;
  padding-right: .5rem;
  margin-top: .5rem;
  margin-bottom: 0rem;
  text-align: left;
}

.double {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.hidden {
  opacity: 0;
}

ol {
  padding-left: 1.5rem;
  padding-right: .5rem;
  margin-top: .5rem;
  margin-bottom: 0rem;
  text-align: left;
}

.strikethrough {
  text-decoration: line-through;
}

/* details */

details {
  color: #956C4A;
  margin: .5rem auto;
}

details p {
  color: #68625a;
}

details ol {
  color: #68625a;
}

details ul {
  color: #68625a;
}

summary::-webkit-details-marker {
  display: none;
}
summary::marker {
  content: none;
}

summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

summary::before {
  content: "▹";
  display: inline-block;
  width: .5rem;
  text-align: center;
  margin-right: 0.4rem;
  transition: transform 0.2s ease;
}

details[open] summary::before {
  content: "▿";
}

/* content */

#content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: .5rem auto;
  gap: 1rem;
  text-align: center;
}

/* main cards */

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 38rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  gap: 2rem;
  background-color: #fff;
}

.card-content {
  position: relative;
  text-align: left;
}

.card-content img{
  display: block;
  max-width: 11rem;
  max-height: 16rem;
}

.divider {
  align-self: stretch;
  margin: 0 auto;
  border-right: 1px dashed #876d65;
}

.divider-horizontal {
  align-self: stretch;
  margin: 1rem auto;
  border-bottom: 1px dashed #876d65;
}

/* info cards */

.info-card {
  width: 17rem;
  padding: .5rem 1.5rem;
  border-radius: .6rem;
  margin: 0 auto;
  text-align: left;
  border: 4px double #876d65;
  box-sizing: border-box;
  background-color: #fff;
}

.info-card h3 {
  text-align: center;
}

.info-card h4 {
  text-align: center;
}

.info-card q {
  text-align: center;
}

.scroll {
  max-height: 10rem;
  overflow-y: scroll;
  padding-bottom: 1.5rem;
}

/* tooltips */

.tooltip img:hover ~ .tooltip-box {
  display: block;
}

.tooltip:hover .tooltip-box {
  display: block;
}

.tooltip a:hover + .tooltip-box {
  display: block;
}

.tooltip {
  display: inline-block;
  width: fit-content;
  margin: 0 auto;
}

.tooltip-box {
  position: fixed;
  display: none;
  background-color: #876d65;
  color: #ffffff;
  font-style: italic;
  text-align: center;
  border-radius: .3rem;
  letter-spacing: .1rem;
  padding: 0 .3rem;
  max-width: 10rem;
  margin-left: 1rem;
  z-index: 9999;
}

/* filters */

filter-items {
  padding: .5rem;
  margin: 0 auto;
  display: flex;
  width: 100%;
  gap: 1rem;
}

.filter {
  display: flex;
  margin: 0;
  padding: 0;
  text-align: center;
  gap: 1rem;
}

.filter li {
  list-style: none;
  cursor: pointer;
}

.filter li.active {
  text-decoration: underline;
  text-underline-offset: .2rem;
  letter-spacing: .1rem;
}

/* memes */

.card-meme {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 100%!important;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 2rem;
  box-sizing: border-box;
  gap: 2rem;
  background-color: #fff;
}

.card-content-meme {
  display: flex;
  box-sizing: border-box;
  gap: 1rem;
  max-height: 30rem;
  overflow-y: scroll;
}

.card-content-meme img{
  margin-bottom: 1rem;
  display: block;
  max-width: 16rem;
  height: auto;
}

.picrew {
  max-width: 6.6rem;
}

.quiz {
  display: inline-block;
  width: 100%;
}

/* media log */

.card-media {
  display: flex;
  align-items: center;
  width: 42rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 1.5rem;
  box-sizing: border-box;
  background-color: #fff;
}

.card-content-media {
  max-height: 32rem;
  overflow-y: scroll;
  width: 100%;
}

table {
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
  width: 100%;
}

th,
td {
  padding: .5rem;
  max-width: 19rem;
}

thead {
  background-color: #956C4A;
  color: #FEFDFB;
  font-weight: bold;
  position: sticky;
  top: 0;
}

/* modal */

[id^=modal] {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

[id^=modal]:target {
  display: block;
}

input[type=checkbox] {
  position: absolute;
  clip: rect(0 0 0 0);
}

.modal {
  width: 100%;
  height: 100%;
  z-index: 99999;
}

.modal-overlay {
  position: fixed;
  z-index: 1;
  display: block;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.2); /* Black w/ opacity */
}

.modal-content {
  position: fixed;
  z-index: 9;
  width: 40%;
  top: 50%;
  left: 50%;
  max-height: 80%;
  transform: translate(-50%, -50%);
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 1.5rem 2rem;
  overflow-y: scroll;
  background: #fff;
  box-sizing: border-box;
  margin: 0 auto;
}

.modal-content p {
  text-align: left;
}

.modal-content details {
  text-align: left;
}

.close {
  color: #876d65;
  float: right;
  font-size: 1.5rem;
}

/* media library */

.card-library {
  display: none;
  scroll-margin-top: 13rem;
  box-sizing: border-box;
  width: 40rem;
  height: auto;
  margin: 0 auto;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 2rem;
  background-color: #fff;
}

.card-library:target{
  display:block;
}

body:not(:has(:target)) .card-library:first-of-type {
  display: block;
}

.card-content-library {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  min-width: 0;
  gap: 1rem;
  max-height: 28rem;
  overflow-y: scroll;
}

.card-content-library img{
  width: 100%;
  cursor: pointer;
  border-radius: .3rem;
  filter: grayscale(100%);
  transition: all .4s ease;
}

.card-content-library img:hover{
  filter: grayscale(0%);
}

.card-review {
  width: 17rem;
  height: 27rem;
  text-align: left;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: .5rem 1.5rem;
  box-sizing: border-box;
  background-color: #fff;
  overflow-y: scroll;
}

.card-review h3 {
  text-align: center;
}

.card-review h4 {
  text-align: center;
}

.card-review q {
  text-align: center;
}

/* address book */

#content-address {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 46rem;
  box-sizing: border-box;
}

.address-item {
  display: none;
  scroll-margin-top: 13rem;
}

.address-item:target{
  display:block;
}

body:not(:has(:target)) .address-item:first-of-type {
  display: block;
}

.address-double {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  gap: 1rem;
}

.address-column {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  flex: 1;
}

.address-dual {
  column-count: 2;
  max-width: 46rem;
  column-gap: 1rem;
  box-sizing: border-box;
}

.card-address {
  display: inline-block;
  min-width: 100%;
  text-align: center;
  border-radius: .6rem;
  border: 4px double #876d65;
  margin: .5rem auto;
  padding: 1.5rem;
  background-color: #fff;
  box-sizing: border-box;
}

.card-address h3 {
  margin: 0 auto;
}

/* cookbook */

.card-recipe {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 42rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 2rem;
  margin: 0 auto;
  background-color: #fff;
}

.card-recipe section {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.card-content-recipe {
  height: 100%;
  flex: 1;
  box-sizing: border-box;
  text-align: left;
  max-height: 16rem;
  overflow-y: scroll;
}

.card-recipe h3 {
  margin: 0;
}

/* bookbug */

.card-bookbug {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  height: 25rem;
  width: 42rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 2rem;
  gap: 2rem;
  margin: 0 auto;
  background-color: #fff;
}

.card-bookbug img {
  height: 100%;
  width: auto;
}

.card-content-bookbug-img {
  height: 100%;
  box-sizing: border-box;
}

.card-content-bookbug {
  height: 100%;
  box-sizing: border-box;
  text-align: left;
  overflow-y: scroll;
}

.card-content-bookbug h3 {
  text-align: center;
}

.card-content-bookbug h4 {
  text-align: center;
}

.card-content-bookbug h5 {
  text-align: center;
}

.card-content-bookbug q {
  text-align: center;
  margin-top: .9rem;
}

/* tarot */

.card-tarot {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  height: 25rem;
  width: 42rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 2rem;
  gap: 2rem;
  margin: 0 auto;
  background-color: #fff;
}

.card-tarot img {
  max-width: 13rem;
}

.card-content-tarot-img {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-content-tarot {
  height: 100%;
  box-sizing: border-box;
  text-align: left;
  overflow-y: scroll;
}

.card-content-tarot h3 {
  text-align: center;
}

.card-content-tarot h4 {
  text-align: center;
}

.card-content-tarot h5 {
  text-align: center;
}

.card-content-tarot q {
  text-align: center;
  margin-top: .9rem;
}

/* diary */

.card-diary {
  width: 35rem;
  box-sizing: border-box;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 1.5rem 2rem;
  text-align: left;
  background-color: #fff;
  box-sizing: border-box;
}

.card-content-diary {
  width: 100%;
}

.card-content-diary-row {
  gap: 1rem;
  display: flex;
  flex-direction: row;
}

.card-content-diary-row-block {
  width: 100%;
}

.card-content-diary img {
  width: 100%;
  height: auto;
}

/* lists */

#content-list {
  column-count: 2;
  max-width: 46rem;
  column-gap: 1rem;
  box-sizing: border-box;
}

.card-list {
  display: inline-block;
  width: 100%;
  text-align: center;
  border-radius: .6rem;
  border: 4px double #876d65;
  margin: .5rem auto;
  padding: 1.5rem;
  background-color: #fff;
  box-sizing: border-box;
}

.card-list h3 {
  margin: 0 auto;
}

/* album */

.card-stamps {
  display: flex;
  box-sizing: border-box;
  width: 40rem;
  height: auto;
  margin: 0 auto;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 2rem;
  background-color: #fff;
  height: 33rem;
}

#content .stamp.hide {
  display: none;
}

.card-content-stamps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  overflow-y: scroll;
}

.card-content-stamps img{
  width: 100%;
}

/* pantry */

div.pantry-item {
  display: none;
  box-sizing: border-box;
  height: auto;
  margin: 0 auto;
  scroll-margin-top: 13rem;
}

div.pantry-item:target {
  display: block;
}

body:not(:has(:target)) div.pantry-item:first-of-type {
  display: block;
}

.grid-pantry {
  display: grid;
  grid-template-columns: auto auto auto;
  margin: 0 auto;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.grid-pantry img {
  max-width: 9.7rem;
}

.card-pantry {
  position: relative;
  width: 16rem;
  height: 16rem;
  overflow-y: scroll;
  text-align: center;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: .5rem 1.5rem;
  background-color: #fff;
  box-sizing: border-box;
}

/* anthology */

#content-anthology {
  column-count: 2;
  column-gap: 1rem;
  overflow-x: hidden;
  margin: 0 auto;
  max-width: 46rem;
  box-sizing: border-box;
}

.card-anthology {
  display: inline-block;
  width: 100%;
  text-align: center;
  border-radius: .6rem;
  border: 4px double #876d65;
  margin: .5rem auto;
  padding: 1.5rem;
  padding-bottom: .7rem;
  background-color: #fff;
  box-sizing: border-box;
  vertical-align: top;
}

.card-anthology h3 {
  margin: 0 auto;
}

#content-anthology .card-anthology.hide{
  display: none;
}

/* art gallery */

.card-art {
  display: block;
  box-sizing: border-box;
  width: 45rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 1.5rem 2rem;
  background-color: #fff;
}

.card-content-art {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.card-content-art-images {
  width: 100%;
  gap: 2rem;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  box-sizing: border-box;
  align-items: center;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
}

.card-content-art-images img {
  width: auto;
  max-height: 20rem;
  max-width: 25rem;
  height: auto;
}

/* writing desk */

article {
  max-width: 40rem;
  box-sizing: border-box;
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: 1.5rem 2rem;
  text-align: left;
  background-color: #fff;
  box-sizing: border-box;
  display:none;
  scroll-margin-top: 11rem;
}

article:target {
  display: block;
}

body:not(:has(:target)) article:first-of-type {
  display: block;
}

article h3 {
  text-align: center;
}

article h4 {
  text-align: center;
}

.archive {
  width: 40rem;
  padding: 1.5rem 2rem;
  border-radius: .6rem;
  margin: 0 auto;
  text-align: left;
  border: 4px double #876d65;
  box-sizing: border-box;
  background-color: #fff;
  max-height: 12rem;
  overflow-y: scroll;
}

 .archive h3 {
   text-align: center;
}

.archive .filter{
  display: block;
  padding: 0rem 1.5rem;
  text-align: left;
  gap: 1rem;
}

.archive .filter li {
  list-style: circle;
  cursor: pointer;
}

code {
  font-size: 0.65rem;
}

dt {
  color: #956C4A;
}

dd {
  margin-bottom: .5rem;
  margin-top: .5rem;
}

/* guestbook */

.card-content-mail {
  max-height: 25rem;
  overflow-y: scroll;
  text-align: left;
  width: 100%;
}

form div {
  display: flex;
  align-items: center;
}

.gap {
  gap: .3rem;
}

#gb-form input,
#gb-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: .2rem;
  font: inherit;
  margin: 0 0 .3rem;
  border-radius: .3rem;
  border: 1px solid #876d65;
  background: #fff;
  color: #68625a;
}

#gb-form textarea {
  height: 4rem;
  resize: vertical;
}

#gb-form button {
  font: inherit;
  background-color: #876d65;
  color: #FEFDFB;
  font-weight: bold;
  border-radius: .3rem;
  border-width: 0rem;
  cursor: pointer;
  padding: .2rem .6rem;
}

#gb-status {
  font-style: italic;
  color: #956C4A;
  margin: 0 auto;
  width: 100%;
  text-align: right;
}

#gb-entries > div {
  width: 100%;
  margin: 1rem auto;
  padding-top: 1rem;
  border-top: 1px dashed #876d65;
  color: #68625a;
}

#gb-entries small {
  color: #956C4A;
}

#gb-entries strong {
  color: #876d65;
}

#gb-entries p {
  margin: .4rem 0 0;
  color: #68625a;
}

/* floriography */

.grid-flo {
  display: grid;
  margin: 1rem auto;
  gap: 1rem;
  justify-content: center;
  grid-template-columns: auto auto auto;
}

.flip-card-flo {
  background-color: transparent;
  position: relative;
  height: 16rem;
  width: 16rem;
  perspective: 1000px;
  box-sizing: border-box;
}

.flip-card-flo img {
  max-width: 11.7rem;
  height: auto;
}

.flip-card-flo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card-flo:hover .flip-card-flo-inner {
  transform: rotateY(180deg);
}

.flip-card-flo-front, .flip-card-flo-back {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-flo-front {
  border-radius: .6rem;
  border: 4px double #876d65;
  padding: .5rem;
  background-color: #fff;
  box-sizing: border-box;
}

.flip-card-flo-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  border-radius: .6rem;
  border: 4px double #876d65;
  background-color: #fff;
  box-sizing: border-box;
  transform: rotateY(180deg);
}

/* mobile screens */

@media(max-width: 1400px){
  .card-content img{
    max-width: 9rem;
    max-height: 14rem;
  }

  body {
    font-size: clamp(0.8rem, .8vw, 2rem);
  }

  h1 {
    font: 1.5rem 'Homemade apple';
  }

  h2 {
    font-size: 1.1rem;
  }

  h3 {
    font: .8rem 'Homemade apple';
  }

  h4 {
    font-size: .8rem;
  }

  h5 {
    font-size: .7rem;
  }

  p {
    margin: .5rem auto;
  }

  .signature {
    font: 1rem 'Homemade apple';
  }

}

@media(max-width: 1200px){

  body {
    font-size: clamp(0.8rem, .8vw, 2rem);
  }

  h1 {
    font: 1.6rem 'Homemade apple';
    line-height: 2.5rem!important;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 1.5rem!important;
  }

  h3 {
    margin: .5rem auto;
    font: .8rem 'Homemade apple';
  }

  h4 {
    font-size: .9rem;
  }

  h5 {
    font-size: .9rem;
  }

  p {
    margin: .5rem auto;
  }

  .signature {
    font: 1rem 'Homemade apple';
    margin: .7rem auto;
  }

  #grid {
    gap: 0rem;
    grid-template-columns: auto;
  }

  #left-sidebar {
    min-width: 100%!important;
  }

  #right-sidebar {
    min-width: 100%!important;
  }

  #container {
    max-width: 20rem;
  }

  #container-subpage {
    max-width: 20rem;
  }

  .grid-pantry {
    grid-template-columns: auto;
    width: 100%;
  }

  .grid-flo {
    grid-template-columns: auto;
    width: 100%;
  }

  nav {
    flex-direction: column;
  }

  nav div {
    flex-wrap: wrap;
  }

  .double {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }

  .card-content {
    max-width: 100%;
  }

  #content {
    margin: 0 auto;
    max-width: 100%;
  }

  #content-list {
    column-count: 1;
    max-width: 100%;
  }

  #content-anthology {
    column-count: 1;
    max-width: 100%!important;
  }

  .card-address {
    width: 100%;
  }

  .address-double {
    flex-direction: column;
    gap: 0rem;
    max-width: 100%!important;
  }

  .address-double .address-column .card-address {
    max-width: 100%;
  }

  .address-dual {
    column-count: 1;
  }

  .desktop-only {
    display: none !important;
  }

  .card {
    flex-direction: column;
    max-width: 100%;
  }

  .card-content-stamps {
    grid-template-columns: 1fr;
  }

  .card-art {
    width: 100%;
  }

  .archive {
    width: 100%;
  }

  .card-stamps {
    width: 100%;
  }

  .card-media {
    width: 100%;
    overflow-y: scroll;
  }

  .card-content-art-images {
    flex-direction: column;
  }

  .card-content-art-images img {
    width: 100%;
  }

  .card-bookbug {
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .card-content-bookbug {
    max-height: 20rem;
    overflow-y: auto;
  }

  .card-bookbug img {
    width: 100%;
    height: auto;
  }

  .card-tarot {
    flex-direction: column;
    width: 100%!important;
    height: auto;
  }

  .card-content-tarot {
    max-height: 20rem;
    overflow-y: auto;
  }

  .card-tarot img {
    width: 100%;
    height: auto;
  }

  .card-recipe {
    flex-direction: column;
    width: 100%!important;
    height: auto;
  }

  .card-recipe section {
    flex-direction: column;
  }

  .card-content-recipe {
    max-height: 20rem;
    overflow-y: auto;
  }

  .card-library {
    width: 100%;
  }

  .card-content-library {
    grid-template-columns: 1fr 1fr;
  }

  .card-diary {
    width: 100%;
  }

  .card-list {
    width: 100%;
  }

  .card-anthology {
    width: 100%;
  }

  .card-content-diary-row {
    flex-direction: column;
    gap: 0rem;
  }

  .divider {
    width: 100%;
    margin: 0 auto;
    border-bottom: 1px dashed #876d65;
  }

  .filter {
    display: flex;
    flex-direction: column;
  }

  .modal-content {
    max-height: 80%;
    width: 80%;
  }
}
