body {
  font-family: Arial, Helvetica, sans-serif
}

h1 {
	font-size: 60px;
	display: inline;
}

span.date {
	color: #666;
	font-weight: bold;
	font-size: 18px;
	margin-left: 15px;
}

.images {
	display: flex;
	flex-wrap: wrap;
	margin-top: 15px;
}

.fotka {
	width: 20%;
	padding: 0;
	margin: 0;
	display: flex;
	/*justify-content: center;*/
	overflow: hidden;
    /* pridano */
    height: 200px;
    flex-wrap: wrap;
    align-content: center;
}

.fotka img {
	width: 100%;
  height: 100%; /* puvodne height: auto; */
  object-fit: cover; /* pridano */
}

.fotka,
.fotka img {
	transition: all .2s ease-in-out;
}

.fotka:hover {
	background-color: #222;
}

.fotka:hover img {
	opacity: 0.7;
	transform: scale(1.03) rotate(0.5deg);
}

@media (max-width: 1500px) {
	.fotka {
		width: 25%;
	}
}

@media (max-width: 1200px) {
	.fotka {
		width: 33.333%;
	}
}

@media (max-width: 900px) {
	.fotka {
		width: 50%;
	}
}

@media (max-width: 600px) {
	.fotka {
		width: 100%;
		margin-bottom: 3px;
	}
}
