.par1 {
  text-align: justify;
  text-indent: 2em;
  margin-bottom: 1em;
  line-height: 1.5;       /* було 1. – краще зробити читабельніше */
  font-size: 1em;
}

/* Контейнер для зображень */
.image-container {
  display: flex;
  flex-wrap: wrap;         /* дозволяє переносити фото */
  width: 100%;
  gap: 10px;
  padding: 20px;
  justify-content: flex-start;
}

/* Картинки */
.image-container img {
  width: 15%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  border-radius: 6px;
}

/* Ефект збільшення — тільки на тій картинці, що під курсором */
.image-container img:hover {
  transform: scale(2);
  z-index: 10;
  position: relative;
  cursor: zoom-out;
  transform-origin: center center; /* 👈 картинка росте від центру */
}


/* Таблиця1 */
.table1 {
  border-collapse: collapse;
  width: 100%;            /* щоб тягнулась */
  margin: 20px 0;
  font-size: 0.95em;
}  

.table1 th, 
.table1 td {
  border: 1px solid black;
  padding: 8px 12px;
  text-align: left;
}

/* Підсвітка рядків */
tr.done {  
  background-color: #d6ffd6;  
}
tr:hover {
  background-color: #f2f2f2;  /* підсвітка при наведенні */
}
/* Фон для відкритого зображення */
.lightbox {
  display: none; /* приховано за замовчуванням */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Картинка у лайтбоксі */
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  cursor: zoom-out;
}

/* Таблиця2 — компактна, не на всю ширину */
.table2 {
  border-collapse: collapse;
  width: auto;              /* 👈 не розтягується на 100% */
  margin: 20px 0;        /* 👈 притискає вліво */
  font-size: 0.9em;
  background-color: #fff;   /* 👌 контраст на темному фоні */
  box-shadow: 0 0 6px rgba(0,0,0,0.1);  /* легка тінь */
  border-radius: 6px;
  overflow: hidden;
}

.table2 th,
.table2 td {
  border: 1px solid #aaa;
  padding: 6px 10px;
  text-align: left;
  white-space: nowrap;      /* 👈 не переносить текст у клітинках */
}

.table2 th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.table2 tr:nth-child(even) {
  background-color: #fafafa;  /* "зебра" */
}

.table2 tr:hover {
  background-color: #f2f2f2;  /* підсвітка при наведенні */
}
body, html {
  margin: 0;
  height: 100%;
}

.background {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url("static/images/background.jpg") center/cover no-repeat;
  filter: brightness(0.4);  /* затемнення */
  z-index: -1;              /* щоб фон був позаду */
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 40px;
}
