/* Styl pro nadpis h1 */
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 100px;
}

#galerie {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* přesně 5 fotek na řádek */
    gap: 20px;
    justify-content: center; /* centrování celé galerie */
    padding: 20px;
    margin-top: 125px;
}



#galerie .item:hover {
    transform: scale(1.03);
}

#galerie img {
    position: static;  /* zruší absolutní pozici z loga */
    display: block;    /* odstraní mezeru pod obrázkem */
    width: 100%;
    height: auto;
    margin-bottom: 0;
}



/* Style for individual images */
.gallery .item {
  width: 100%;
  max-width: 100%;
}

.gallery img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

/* Hover effect for images */
.gallery img:hover {
  transform: scale(1.05);
}
