body {margin: 0;padding: 0;color: #000000;font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: #c2d1be;}
h1{font-size:1.3em;font-style:normal;margin-top:0em;margin-bottom:0em;margin-left:0;margin-right:0;font-weight:normal;}
h2{display:block;font-size:1.1em;font-style:normal;margin-top:.5em;margin-bottom:0em;margin-left:0;margin-right:0;font-weight:normal;}
h3{display:block;font-size:1em;font-style:normal;margin-top:0em;margin-bottom:0em;margin-left:0;margin-right:0;font-weight:normal;}
h4{display:block;font-size:.95em;margin-top:1.33em;margin-bottom:1.33em;margin-left:0;margin-right:0;font-weight:normal;}
h5{font-size:.83em;margin-top:0em;margin-bottom:0em;margin-left:0;margin-right:0;font-weight:normal;}
h6{display: block;font-size: .67em;margin-top: 2.33em;margin-bottom: 2.33em;margin-left: 0;margin-right: 0;font-weight:normal; text-align:right;}
hr{width: 75%;display: block;margin-top: -20px;margin-bottom: 20px;border-style: inset;border-width: 1px;}
footer{margin-left:auto;margin-right:auto;text-align:center;font-weight:normal;}
.stopka{text-align:center;font-size:12px;color:#000000;}
.komentarz_miejsc {
  font-family: inherit; /* dziedziczy z body */
  color: #000000;text-align: justify;margin-left: auto;margin-right: auto;padding-left: 7%;padding-right: 7%;}
.komentarz_c {
  font-family: inherit;color: #000000;text-align: center;margin-left: auto;margin-right: auto;padding-left: 7%;padding-right: 7%;}
.content{padding: 2% 9% 2% 9%;}
.center{margin-left:auto;margin-right:auto;text-align:center;}
.img_menu_t{padding:20px;box-shadow:2px 2px 7px #232323;text-align:justify;}
.img_menu {display: block; margin: 0 auto; padding: 0; box-shadow: 2px 2px 10px #111;
  width: auto;           /* Pozwala na oryginalny rozmiar obrazka */
  max-width: 85vw;       /* Ale ogranicza go do max. 85% szerokości okna */
  height: auto;          /* Zachowuje proporcje */}
.img_logo{padding:0;margin:0 auto;width: 100%;height: auto;}
div.icomenu{display:inline-block;text-align:center;}
div.icomenu a, div.icomenu a:link, div.icomenu a:visited, div.icomenu a:active, div.icomenu a:hover{width:70px;height:30px;display:table-cell;text-decoration:none;text-align:center;vertical-align:central;color:black;}
div.icomenu a:hover{color:darkgreen;}
/* Formularz kontaktowy*/
.pole_kontaktu {width: 60%; max-width: 800px; min-width: 350px; margin: 10px auto; padding: 4px; background: #f8f8f8; color: #333; border: 1px solid #ccc; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}
.pole_kontaktu h2 {text-align: center; margin-bottom: 10px; font-size: 20px; color: #444;}
.pole_kontaktu label {display: block; margin: 4px 0; font-weight: 600;}
.pole_kontaktu input[type="text"],
.pole_kontaktu textarea {width: 100%; padding: 10px; font-size: 14px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; transition: border-color 0.3s;}
.pole_kontaktu input[type="text"]:focus,
.pole_kontaktu textarea:focus {border-color: #007bff; outline: none;}
.pole_kontaktu textarea {resize: vertical; min-height: 100px;}
.pole_kontaktu input[type="submit"] {display: inline-block; margin-top: 15px; padding: 12px 20px; font-size: 16px; border: none; border-radius: 6px; background: #007bff; color: #fff; cursor: pointer; transition: background-color 0.3s;}
.pole_kontaktu input[type="submit"]:hover {background: #0056b3;}
.pole_kontaktu .error,
.pole_kontaktu .success {margin-bottom: 15px; padding: 10px; border-radius: 6px; font-weight: 500; border: 1px solid;}
.pole_kontaktu .error {background: #ffe5e5; color: #b30000; border-color: #f5c2c2;}
.pole_kontaktu .success {background: #e6ffea; color: #006b32; border-color: #9ee0af;}
/* Koniec formularza */
.miejsce{font-size:15.5px; color:darkgreen;background-image:url(../graf/walecstalowy1.webp)}
.pobierz{margin:10px;display:inline-block;text-align:center;width:300px;height:270px;font-size:14px;vertical-align:top;}
.grubo {letter-spacing: 1px; font-size: 32px; font-style: normal; color: white; text-shadow: 2px 1px 2px #111;}
.grubo2 {letter-spacing: 1px; font-size: 22px; font-style: normal; color: #111;}
.grubogrubo {letter-spacing: 1px; font-size: calc(1.5rem + 6vw); font-style: normal; color: white; text-shadow: 2px 1px 2px #111;background-color: grey;opacity: 0.7;}
.nazwa {padding: 4px; font-family: Times New Roman; font-size: calc(1.2rem + 1vw); font-style: normal; color: black;}
.nazwa1 {padding: 4px; font-family: Times New Roman; font-size: calc(1.5rem + 1vw); font-style: normal; color: black;}


.sticky{width:100%;position:fixed;left:0;top:0;z-index:100;}
.header{width:100%;padding:40px 0;}
.nav{width:100%;padding-top:10px;padding-bottom:10px;padding-left:0;padding-right:0;background-color:#788F75;text-align:center;border-top:1px solid #000000;border-bottom:1px solid #000000;}
ol{padding:0;margin:0;list-style-type:none;font-size:18px;height:35px;line-height:200%;display:inline-block;}
ol a{color:#ffffff;text-decoration:none;display:block;}
ol > li{float:left;width:120px;height:40px;border-right:1px dashed #751b1b;}
ol > li:first-child{border-left:1px dashed #751b1b;}
ol > li:hover{background-color:#8DAD89;}
ol > li:hover > a{color:#451717;}
ol > li > ul{list-style-type:none;padding:0;margin:0;height:40px;display:none;}
ol > li:hover > ul{display:block;}
ol > li > ul > li{background-color:#86998f;position:relative;z-index:100;border-top:1px dashed #751b1b;}
ol > li > ul > li:hover{background-color:#7D937C;}
ol > li > ul > li:hover > a{color:#451717;}
.zrs{border:1px solid #333333;padding:5px;margin:10px;background-image:url(../graf/walecstalowy1.webp);border-radius:5px;font-size:12px;color:#000000;}
.zs {border: 1px solid #333333; padding: 5px; width: 70%; min-width: 350px; margin-left: auto; margin-right: auto; background-image: url(../graf/walecstalowy1.webp); border-radius: 5px; font-size: 12px; color: #000000;}
.zs200 {padding: 5px; background-image: url(../graf/walecstalowy180.webp); font-size: 12px; color: #000000;}
.story{padding-top:0;padding-right:10px;padding-bottom:0;padding-left:10px;}
.portal-logo{width:85%;max-width:650px;box-shadow:2px 2px 10px #111;}
#portal-logo0 img{width:85%;max-width:650px;}
.mmow_opis{width:85%;max-width:650px;box-shadow:2px 2px 10px #111; text-align:center;}
.mmow_tekst{width:90%;max-width:900px;margin-left:auto;margin-right:auto;line-height:150%;}
.mmow{width:90%;max-width:900px;margin-left:auto;margin-right:auto;line-height:120%; background: rgba(222, 222, 222, 0.3);}
.mmow_foto{width:90%;max-width:400px;margin-left:auto;margin-right:auto;line-height:150%; background: rgba(222, 222, 222, 0.3);}
#mmnow img{width:85%;max-width:300px;box-shadow:2px 2px 7px #232323;}
.mmowtext{font-size:14px;}
#mmnow0 img{width:85%;max-width:300px;box-shadow:2px 2px 7px #232323;}
#mmnow1 img{width:85%;max-width:300px;box-shadow:2px 2px 7px #232323;}
#mmnow2 img{width:85%;max-width:300px;box-shadow:2px 2px 7px #232323;}
div.mmow a:hover{ color: #EDEDED;}
.obraz-logo img{width:85%;max-width:650px;box-shadow:2px 2px 10px #111;}
#tapeta img{width:85%;max-width:1220px;}
#ntapeta img{width:85%;max-width:900px;}
.CollapsiblePanel{margin:0;padding:0;}
.CollapsiblePanelTab{outline:none;margin:0;padding:0;cursor:pointer;}
.przycisk{background:#D4D4D4; padding-left: 5px; padding-right: 5px; margin:3px;border-radius:5px;color:#000000; box-shadow:2px 2px 5px #111;}
/*
.scrollup{width: 40px;height: 40px;text-decoration: none;background: url(../graf/up3.png) no-repeat 0 0;position: fixed;right: 10px;bottom: 55px;opacity: 0.5;}
*/
.scrollup {
  width: 40px;
  height: 40px;
  background: url('../graf/up3.png') no-repeat center center;
  background-size: contain;
  position: fixed;
  right: 10px;
  bottom: 55px;
  opacity: 0.5;
  display: none;
  z-index: 1000;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.scrollup:hover {
  opacity: 1;
}

.contact{background-image: url(../graf/walecstalowy1.webp);font-size:1.2em;text-align: center;text-decoration: none;padding: 5px;border-radius: 5px;opacity: 0.8;box-shadow:2px 2px 2px #111;width: 130px;margin-left: auto;margin-right: auto;}
.contact:hover{opacity: 1;}
.przycisk200{background-image: url(../graf/walecstalowy1.webp);font-size:1.0em;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 5px;opacity: 0.8;box-shadow:2px 2px 2px #111;width: 160px; margin: 0 auto;}
.przycisk200:hover{opacity: 1;}
.gm{display:inline-block;}
div.galer{border: 0;border-radius:5px;display:inline-block;text-align:center;text-decoration:none;text-align:center;margin:5px;box-shadow:2px 2px 5px #111;}
div.galer a, div.galeria a:link, div.galeria a:visited, div.galeria a:active, div.galeria a:hover{width:170px;height:200px;padding-top:10px;display:table-cell;vertical-align:top;font-size:14px;color:black;}
div.galer a:hover{background-color:#bac6b7;color:darkgreen;border-radius:5px;}
div.galerias{border: 0;display:inline-block;text-align:center;text-decoration:none;text-align:center;margin:5px;box-shadow:2px 2px 5px #111;}
div.galerias a, div.galeria a:link, div.galeria a:visited, div.galeria a:active, div.galeria a:hover{width:350px;height:350px;padding-top:0;display:table-cell;vertical-align:top;font-size:14px;color:black;}
div.galerias a:hover{background-color:#bac6b7;color:darkgreen;border-radius:5px;}

div.galeriat{border: 0;display:inline-block;text-align:center;text-decoration:none;text-align:center;margin:5px;box-shadow:2px 2px 5px #111;}
div.galeriat a, div.galeria a:link, div.galeria a:visited, div.galeria a:active, div.galeria a:hover{width:266px;height:352px;padding-top:4px;display:table-cell;vertical-align:top;font-size:14px;color:black;}
div.galeriat a:hover{background-color:#bac6b7;color:darkgreen;border-radius:5px;}

div.galerp{border: 0;display:inline-block;text-align:center;text-decoration:none;text-align:center;margin:5px;box-shadow:2px 2px 5px #111;}
div.galerp a, div.galeria a:link, div.galeria a:visited, div.galeria a:active, div.galeria a:hover{width:350px;height:225px;padding-top:0;display:table-cell;vertical-align:top;font-size:14px;color:black;}
div.galerp a:hover{background-color:#bac6b7;color:darkgreen;border-radius:5px;}

div.galeriasm{border: 0;display:inline-block;text-align:center;text-decoration:none;text-align:center;margin:5px;box-shadow:2px 2px 5px #111;}
div.galeriasm a, div.galeria a:link, div.galeria a:visited, div.galeria a:active, div.galeria a:hover{width:350px;padding-top:0;display:table-cell;vertical-align:top;font-size:14px;color:black;}
div.galeriasm a:hover{background-color:#bac6b7;color:darkgreen;border-radius:5px;}

div.galerm{border: 0;display:inline-block;text-align:center;text-decoration:none;text-align:center;margin:5px;box-shadow:2px 2px 5px #111;}
div.galerm a, div.galeria a:link, div.galeria a:visited, div.galeria a:active, div.galeria a:hover{width:300px; height:auto; padding-top:0;display:table-cell;vertical-align:top;font-size:14px;color:black;}
div.galerm a:hover{background-color:#bac6b7;color:darkgreen;border-radius:5px;}

input{width:300px; background-color:#ffffff; color:#292929; border: 1px solid #929292; border-radius: 5px; font-size: 18px; padding: 2px; box-sizing: border-box;cursor:pointer;}
.opis_tapeta{text-align:center;font-size:12px;}

a {text-decoration: none;}
a:hover {color: #666;}
a:focus {color: #005599;}
a:visited {color: #0180AF;}
a:active {color: #AA0000;}



/* Zdjęcie drużyny */
.team-photo img {width: 90%; height: auto; display: block; margin: 0 auto;}
.players-grid {display: flex; 
  flex-wrap: wrap;              /* Zawodnicy zawijają się do kolejnego wiersza */
  justify-content: center;      /* Środkowanie poziome */
  gap: 20px;                    /* Odstęp między kartami */
  padding: 20px;}
.player-card {width: 330px; height: auto; background-color: #fff; padding: 4px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2);border: 1px solid grey;}
.player-card img {display: block; margin: 0 auto; width: 100%; height: auto;}
.player-number {background-color: yellow; color: blue; padding: 2px 8px; margin-right: 5px; font-weight: bold; display: inline-block;}
.player-card:hover {box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);}
.player-card:hover img {filter: brightness(1.1); /* 10% jaśniej */
  transition: filter 0.3s ease;}
/* Siatka miniaturek Kadr */
.kadr-grid {display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 10px;}
.kadr-card {width: 300px; height: auto; background-color: #fff; padding: 5px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2); border: 1px solid grey;}
.kadr-card img {width: 100%; height: 200px; object-fit: contain; background: #ddd; /* szare tło za ewentualnymi paskami */}
.kadr-card:hover {box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);}
.kadr-card:hover img {filter: brightness(1.1); /* 10% jaśniej */
  transition: filter 0.3s ease;}
.sea-card {width: 600px; height: auto; background-color: #fff; padding: 10px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2); border: 1px solid grey; 
  border-radius: 5px;}
.sea-card img {display: block; margin: 0 auto; width: 100%; height: auto; box-shadow:2px 2px 5px #111;}

.art-grid {display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 10px;}
.art-card {width: 282px; height: auto; background-color: #fff; padding: 0; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.2);}
.art-card img {width: 100%; height: 200px; object-fit: contain; background: #ddd; /* szare tło za ewentualnymi paskami */}
.art-card:hover {box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);}
.art-card:hover img {filter: brightness(1.1); /* 10% jaśniej */
  transition: filter 0.3s ease;}
  
/* Tabela */
  table.spaced {border-collapse: collapse; width: 390px;}
  .spaced th,
  .spaced td {padding: 1px 9px; /* 12px góra/dół, 16px lewo/prawo */
    text-align: left;  }
  .spaced th:not(:last-child),
  .spaced td:not(:last-child) {border-right: 1px solid black;}
  
}

.custom-wrapper {
  position: relative;
  display: inline-block;
  width: 1728px;
  height: 1152px;
  max-width: 2048px;
  margin: 0 auto;
}
.przycisk200p2{background-image: url(../graf/walecstalowy1.webp); margin-top: 10px; font-size:0.6;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 0px 5px 0px 0px; opacity: 0.8;box-shadow:2px 2px 2px #111;width: 128px; }
.przycisk200p2:hover{opacity: 1;}

.przyciskrok{background-image: url(../graf/walecstalowy1.webp); margin-top: 10px; font-size:0.6;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 0px 7px 0px 0px; opacity: 0.8;box-shadow:2px 2px 2px #111;width: 50px; }
.przyciskrok:hover{opacity: 1;}

#header {
  position: sticky;
  top: 0;
  z-index: 999;
}
   .parallax {
      position: relative;
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.7); 
	  width: 100%;
	  height: 70vh;
	  min-height: 300px;
    }

    .section {
      padding: 40px 0px;
      text-align: center;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      padding: 40px;
      background-color: #fff;
    }

    .gallery a img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }

    .gallery a img:hover {
      transform: scale(1.05);
    }

.przycisk200p{background-image: url(../graf/walecstalowy1.webp); margin-top: 10px; font-size:1.0em;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 5px;opacity: 0.8;box-shadow:2px 2px 2px #111;width: 170px; }
.przycisk200p:hover{opacity: 1;}
.przycisk300{background-image: url(../graf/walecstalowy1.webp); margin-top: 10px; font-size:1.0em;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 5px;opacity: 0.8;box-shadow:2px 2px 2px #111;width: 300px; }
.przycisk300:hover{opacity: 1;}

/* przeniesione ze styl.css*/


.img-overlay-container {
  position: relative;
  display: inline-block; /* dopasowuje się do szerokości obrazka */
  margin: 0 auto;
  text-align: center;
}

.img-overlay-container img.img_menu {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 10px;
  pointer-events: auto;
  white-space: nowrap;
  z-index: 10;
}
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 18px;
  background-color: #333;
  color: white;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}
#scrollTopBtn:hover {
  background-color: #555;
}

/* Preloader pełnoekranowy */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #ffffff; /* Możesz zmienić na ciemny np. #222 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease;
}

/* Animowany "spinner" */
.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #999;
  border-top: 5px solid #1a73e8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animacja obrotu */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Ukrycie preloadera */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}
