@font-face {
      font-family: "title"; 
      src: url("PixelFraktur.ttf") format("truetype"); 
}

@font-face {
      font-family: "bodyfont"; 
      src: url("Karen12.ttf") format("truetype"); 
}

body {
    background-color: #1d2249;
}


.masonry {
  column-count: 3;          /* number of masonry columns */
  column-gap: 16px;
}

.card {
  background: #eee;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  break-inside: avoid;      /* ← critical: prevents div cutting */
}

.card1 {
    background-color: #154634;
    color: #b7cea6;
    border: 1px solid #b7cea6;
    font-family: "Lusitana", serif;
}

.card2 {
    background-color: #5f5a7c;
    color: white;
    border: 1px solid #9591b5;
    font-family: bodyfont, serif;
}

.card3 {
    background-color: #ffcc66;
    color: black;
    border: 1px solid #eb8e32;
    font-family: "Lusitana", serif;
    font-size: 1.2em;
}

.card4 {
    background-color: #f0e5d2;
    color: #035f31;
    border: 1px solid #035f31;
    font-family: "Lusitana", serif;
}

.card5 {
    background-color: #2d1e2d;
    color: #e06196;
    border: 1px solid #e06196;
    font-family: "Lusitana", serif;
}

.card6 {
    background-color: white;
    color: black;
    border: 1px solid #5bcefa;
    font-family: "Lusitana", serif;
}

.title {
      font-family: title;
      font-size: 2em;
}

/* .card2 .title {
    color: black;
} */

.card6 .title {
    color: #8e3958;
}
ul, ol {
  list-style-position: inside;
  padding-left: 0;
}

.circle-img {
  width: 100px;       /* Set a fixed width */
  height: 100px;      /* Set an equal height to force a square shape */
  border-radius: 50%; /* Rounds the corners into a circle */
  border: 1px solid #b7cea6;
  /* float: left; */
  margin-right: 4px;
}

.container {
  /* optional: define container height and display mode if needed */
  display: flex;
  align-items: center; /* ensures all children within the flex container are vertically centered */
}

.align-middle {
  vertical-align: middle;
}

.content img {
  float: left;
  margin: 0 8px 0 0;
  width: 100px;       /* Set a fixed width */
  height: 100px;      /* Set an equal height to force a square shape */
  border-radius: 50%; /* Rounds the corners into a circle */
  border: 1px solid #b7cea6;
}

.emoji-list {
    margin-top: 0px;
}
.emoji-list li::marker {
  content: "🌟 ";
  font-size: 1.1em;
}

li {
    font-size: 1.2em;
}

.highlight-animated {
  /* Set a solid color using a linear gradient to use background properties */
  background-image: linear-gradient(#9591b5, #9591b5);
  background-repeat: no-repeat;
  /* Start the highlight as a thin line at the bottom (0% height, 100% width) */
  background-size: 100% 0px;
  background-position: 0% 100%;
  /* Define the transition for the animation */
  transition: background-size 0.5s ease;
  cursor: pointer; /* Optional: Indicates interactivity */
}

/* On hover, expand the background size to cover the full height of the text */
.highlight-animated:hover {
  background-size: 100% 100%;
}

details summary {
  cursor: pointer;
  font-size: 1.2em;
}

details[open] .hidden-text {
  animation: fadeIn 0.3s ease;
}

.hidden-text {
    font-size: 1.1em;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



details > summary {
    list-style-type: '🤘🏻 ';
}

details[open] > summary {
    list-style-type: '👍🏻 ';
}

details {
    /* border: 1px solid gray;
    border-radius: 0.2rem; */
    padding: 0.2rem;
}

details[open] > summary {
    margin-bottom: 0.3rem;
}

.step {
    background-color: #9591b5;
    padding: 2px;
    font-weight: bold;
}

.card2 p {
    font-size: 1.2em;
}

.card1 p {
    font-size: 1.2em;
}

.card3 p {
    margin-top: 2px;
    margin-bottom: 2px;
}

.card5 p {
    font-size: 1.2em;
}

.gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid black;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 70%;
    border-radius: 8px;
}

#caption {
    margin: 15px auto;
    text-align: center;
    color: #fff;
    font-size: 16px;
    max-width: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
.tumblr-image-widget {
    max-width: 340px;
    background: #5bcefa;
    padding: 12px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.tumblr-image-widget h3 {
    text-align: center;
    margin: 0 0 10px;
    font-size: 18px;
}

#tumblr-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

#tumblr-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

#tumblr-images img:hover {
    transform: scale(1.05);
}
