.mygallery-img {
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.mygallery-img:hover {
	transform: scale(1.03);
	opacity: 0.85;
}
.carousel-item, .carousel-item img {
	width: 100%;
	height: auto;
	max-height: 80vh;
	aspect-ratio: 4 / 3;
	object-fit: scale-down;
	cursor: pointer;
}

/* Predvolený vzhľad popisu (pre počítače - prekrytie na fotke) */
.carousel-caption {
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	left: 0; bottom: 0;
	width: 100%;
}
.carousel-caption h5 {
	font-size: 1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Úprava pre mobily (obrazovky do 768px): text pod obrázkom */
@media (max-width: 768px) {
	.carousel-caption {
		bacground-color: #ffffff !important;
		margin-top: 12px;
	}
	.carousel-caption h5 {
		font-size: 0.8rem;
	}
	.lead {
		font-size: 1rem;
	}
}