/* css styles */
.justify {
  text-align: justify !important
}

/* Book-like typography for posts */
main.content p {
  margin-bottom: 0.45rem;
  line-height: 1.82;
  text-align: justify;
}

main.content h1 { margin-top: 2rem;   margin-bottom: 0.6rem; }
main.content h2 { margin-top: 1.6rem; margin-bottom: 0.5rem; }
main.content h3 { margin-top: 1.2rem; margin-bottom: 0.4rem; }
main.content h4 { margin-top: 1rem;   margin-bottom: 0.35rem; }

main.content ul,
main.content ol {
  margin-bottom: 0.6rem;
  line-height: 1.75;
}

main.content blockquote {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

@media(min-width: 992px) {
    div.quarto-about-trestles .about-entity {
        flex: 0 0 25%;
    }
}

/* In your CSS file */
.padded-image {
    padding: 15px; /* Adjust as desired */
} 

/* Create rounded corners */
.rounded-image {
    border-radius: 50%; /* Make the image a circle */
    overflow: hidden; /* Ensure the corners are cut */
}


/* Container styling (optional) */
.logo-container {
  display: flex;
  flex-wrap: wrap;       /* Let logos wrap to the next line if the screen is too narrow */
  gap: 20px;             /* Space between logos */
  justify-content: center;
  align-items: center;
  margin: 50px auto;     /* Some spacing around the container */
  max-width: 1200px;     /* Adjust to your preference */
}

/* Apply a bounce animation to each logo */
.logo-container img {
  animation: bounce 2s ease-in-out infinite;
  /*
    - 2s = animation duration
    - ease-in-out = speeds up and slows down smoothly
    - infinite = repeats forever
  */
  
  /* Optional: slightly larger on hover */
  transition: transform 0.3s;
}
.logo-container img:hover {
  transform: scale(1.1);
}

/* Keyframes for the bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


```