* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  font-family: 'Boncei Trial', sans-serif;
  background-color: #111;
}

@font-face {
  font-family: 'Boncei Trial';
  src: url('Boncei Trial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(112, 112, 112, 0.196);
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: 0px 10px 11px rgba(227, 227, 227, 0.116);
  z-index: 1000;
  box-sizing: border-box;
}

.logo {
  color: white;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.726);
  font-size: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:hover {
  color: #FFD700;
  transform: scale(1.05);
}

.nav-links a.active {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

h2{
    font-family: Arial, sans-serif;
    color: white;
}

/* kontener galerii */
.gallery-container {
  margin-top: 100px; /* zostawiamy więcej miejsca niż wysokość navbaru */
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
/* element galerii */
.gallery-item {
  text-align: center;
}
/* tytuły */
.gallery-item h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
/* obrazy - pozycjonowanie */
.image-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
/* obrazy */
.image-box img {
  width: 300px;
  height: auto;
  border: 3px solid #555;
  border-radius: 10px;
}
/* strzałki */
.arrow {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: transform 0.2s;
}
/* najechanie */
.arrow:hover {
  transform: scale(1.2);
}

/* stopka - formatowanie */
footer {
  text-align: center;
  padding: 15px;
  background-color: #1f1f1f;
  color: #aaa;
  font-size: 0.9rem;
  font-family: Arial, Helvetica, sans-serif;
}