body {
  font-family: Inter, var(--bs-font-sans-serif);
  font-feature-settings: 'liga' 1, 'calt' 1, 'dlig' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
  body { font-family: InterVariable, var(--bs-font-sans-serif); }
}

#mastodon_timeline img {
    max-width: 300px;
}    
    
#mastodon_timeline .avatar-img {
    width: 2em;
    height: 2em;
}

#mastodon_timeline {
    /* font-size: 10pt; */
    text-align: left;
}

#mastodon_timeline .invisible {
    display: none;
}

#mastodon_timeline .ellipsis::after {
    content: "\2026"; 
}

article {
    padding: 1em;
    background-color: white ;
}

h1, h2, h3, h4 {
  margin-top: 0.3em;
  font-family: 'InterDisplay', 'Inter', var(--bs-font-sans-serif);
}


.image-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
  justify-content: center;
  padding: 4px;
}

.image-box {
    flex-basis: 25%;
    width: 100%;
    padding: 10px;
    margin: 2px;
}

.img-gallery {
width: 100%;
height: 200px;
object-fit: cover;
transform: scale(1);
transition: all 0.3s ease-in-out;
&:hover {
  transform: scale(1.05);
}
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

#lightbox img {
  max-width: 80%;
  max-height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#lightbox .prev, #lightbox .next {
  color: white;
  font-size: 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1001;
}

#lightbox .prev {
  left: 2%;
}

#lightbox .next {
  right: 2%;
}

#lightbox-caption {
  color: white;
  font-size: 16px;
  position: absolute;
  bottom: 10%;  /* Adjust as needed */
  left: 50%;
  text-align: center;
  max-width: 80%;
}

/* Default view - Decade View */
.five-year-view {
  display: none;
}

/* For smaller screens - Five-Year View */
@media screen and (max-width: 600px) { /* Adjust the width as needed */
  .decade-view {
      display: none;
  }
  .five-year-view {
      display: table-row;
  }
}

.unhighlight {
  /* background-color: yellow; Change as needed */
  opacity: 0.5
}

.highlight {
  font-style: italic;
}
