@font-face {
  font-family: "ComicSansLocal";
  src: url("ComicSansMS.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background-color: #B1A881;
  color: white;
  font-family: "ComicSansLocal", "Comic Sans MS", cursive;
}

/* nagłówek + tło dla całego headera */
.site-header {
  text-align: center;
  background-image: url("/Background.jpg");
  background-size: cover;
  background-position: center;
  padding-bottom: 10px;
}

/* duży tytuł */
.site-title {
  font-size: 48px;
  letter-spacing: 2px;
  padding: 25px 10px;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
  margin: 0;
}

/* pasek nawigacji */
.nav-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px 10px;

  border-top: 3px solid rgba(255,255,255,0.3);
  border-bottom: 3px solid rgba(255,255,255,0.3);

  background: transparent; /* usuwa tło z nav-bar */
}

.nav-bar a {
  color: white;
  text-decoration: none;
  font-size: 20px;

  padding: 8px 14px;
  border-radius: 10px;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
}

.nav-bar a:hover {
  background: rgba(0,0,0,0.55);
}

/* treść */
.content {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 16px;
}

.content h1 {
  font-size: 28px;
}

/* stopka */
.site-footer {
  background-image: url("/Background.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 20px 10px;
  color: white;
  font-family: "ComicSansLocal", "Comic Sans MS", cursive;
}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #B1A881;
  color: white;
  font-family: "ComicSansLocal", "Comic Sans MS", cursive;
}
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 16px;
  flex: 1; /* to powoduje, że content rośnie i wypycha footer na dół */
}

.site-footer {
  background-image: url("/Background.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 20px 10px;
  color: white;
  font-family: "ComicSansLocal", "Comic Sans MS", cursive;
}