.text-justify {
  text-align: justify;
}

/* Change this to target only the publications container */
#publikacije .container {
  width: 66.67%;
  /* 2/3 width */
}

.img-container img {
  width: 80%;
  /* Smaller image size */
  height: auto;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.publication {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
}

.text-container {
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 70%;
}

@media (max-width: 768px) {
  .publication {
    flex-direction: column;
  }

  .img-container {
    width: 100%;
  }

  .text-container {
    width: 100%;
  }

  /* Adjust the publications container for mobile */
  #publikacije .container {
    width: 100%;
  }
}

#publikacije .grid > div {
  display: flex;
  align-items: center;
}
