body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

header {
  background: linear-gradient(90deg, #b22234, #001f3f);
  color: white;
  padding: 15px;
  text-align: center;
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 15px;
  background: white;
  border-radius: 8px;
}

h1, h2 {
  color: #000203;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  border: 3px solid #b22234;
}

footer {
  text-align: center;
  padding: 15px;
  background: #001f3f;
  color: white;
  margin-top: 30px;
}

nav a {
  display: inline-block;
  padding: 12px 20px;
  margin: 5px;
  background: #000000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
}

nav a:hover {
  background: #000000;
}

@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav a {
    width: 80%;
    text-align: center;
    font-size: 18px;
    padding: 15px;
  }

  header img {
    width: 80%; /* baner mniejszy na telefonie */
    height: auto;
  }

  .gallery img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
}

.flag {
  position: fixed; /* przyklejone do ekranu */
  top: 30%;        /* mniej więcej środek ekranu */
  width: 80px;     /* mniejsze na mobilkach */
  height: auto;
  z-index: 1000;
  animation: wave 3s infinite ease-in-out;
}

.flag-left {
  left: 10px;
}

.flag-right {
  right: 10px;
}

@keyframes wave {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

/* Dostosowanie na telefonach */
@media (max-width: 768px) {
  .flag {
    top: 15%;     /* trochę wyżej na mniejszych ekranach */
    width: 50px;  /* jeszcze mniejsze flagi */
  }
}

h1 {
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(45deg, #FFFF00, #FFEB3B, #FFF176, #FFFF33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


.socials {
  text-align: center;
  margin: 30px 0;
}

.socials p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.socials a {
  display: inline-block;
  margin: 0 10px;
  font-size: 32px;
  color: #000; /* domyślnie czarne */
  transition: color 0.3s;
}

.socials a:hover {
  color: #FFD700; /* złoty na hover */
}




.banner-wrap {
  width: 100%;
  margin: 0 auto;
  background: #000;
  padding: 10px 0;
  text-align: center;
}

.banner-wrap img {
  width: 100%; 
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Komputery – mniejszy baner */
@media (min-width: 769px) {
  .banner-wrap img {
    width: 60%;   /* np. 60% szerokości ekranu */
    max-width: 900px; /* dodatkowo możesz ograniczyć */
  }
}

/* Telefony – baner na całą szerokość */
@media (max-width: 768px) {
  .banner-wrap img {
    width: 100%;
  }
}








