body {
  background-color: #E0FFFF;
  font-size: 16px;
}

a {
  text-decoration: none;
}

#kontener {
  margin: 0 auto;
  width: 780px;
  height: 100%;
  border: #34381d solid 0px;
  background: #D3D3D3;
}

#naglowek {
  background: url(page1.jpg) no-repeat;
  width: 780px;
  height: 220px;
}

#naglowek h1 {
  margin: 0;
  padding-top: 100px;
  padding-left: 55px;
  color: #ffffff;
  font-size: 26px;
  font-weight: normal;
  font-family: Arial, Helvetica, Verdana, sans-serif;
}

ul#menu {
  background: url(menu.jpg) repeat-x #fff;
  width: 780px;
  height: 35px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

ul#menu li {
  list-style: none;
  display: flex;
}

ul#menu li a {
  font-family: Tahoma;
  font-size: 13px;
  padding: 0 23px;
  color: #f7f7f7;
  margin-top: 9px;
  font-weight: bold;
  border-right: 1px solid #899736;
  white-space: nowrap;
}

ul#menu li a:hover {
  text-decoration: underline;
}

#tresc1 {
  background: url(xxx.jpg) no-repeat;
  width: 684px;
  height: 10px;
  margin: 20px auto 0 auto;
}

#tresc {
  background: url(xxx.jpg) repeat;
  width: 634px;
  padding: 0 25px;
  height: auto;
  margin: 0 auto;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

#tresc h1 {
  padding: 10px 0 6px 0;
  font-size: 24px;
  color: #3b4113;
  margin: 0;
  font-weight: bold;
}

#tresc h2 {
  padding: 10px 0 6px 0;
  font-size: 17px;
  color: #3b4113;
  margin: 0;
  font-weight: normal;
}

#tresc p {
  padding: 4px 0;
  line-height: 18px;
  text-indent: 15px;
  margin: 0;
  text-align: justify;
  font-size: 12px;
}

#tresc p a {
  font-weight: bold;
  color: #6a7330;
}

/* Nowy styl dla tabeli */
#tabela1 {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
  background-color: #d3d3d3;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#tabela1 td {
  padding: 6px 10px;
  border: 1px solid #ccc;
  vertical-align: middle;
  text-align: left;
 
}

#tabela1 td img {
  display: block;
  width: 29px;
  height: auto;
  border: 1px solid #aaa;
}

#tabela1 td a {
  color: #000080;
  font-weight: normal;
  text-decoration: none;
}

#tabela1 td a:hover {
  text-decoration: underline;
}

/* Koniec stylu tabeli */

#tresc3 {
  background: url(zzz.jpg) no-repeat;
  width: 684px;
  height: 46px;
  margin: 0 auto 20px auto;
}

#stopka {
  background: url(images/stopka.jpg) repeat-x;
  clear: both;
  font-size: 11px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  height: 29px;
  color: #00008B;
}

#stopka a {
  color: #00008B;
}

#stopka a:hover {
  text-decoration: underline;
}

#copyright {
  float: left;
  padding-left: 300px;
  padding-top: 10px;
}

#design {
  float: right;
  padding-right: 10px;
  padding-top: 10px;
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 18px;
  }

  #kontener,
  #naglowek,
  ul#menu {
    width: 100%;
  }

  #naglowek {
    background-size: cover;
    background-position: center;
    height: auto;
    aspect-ratio: 16 / 5;
  }

  #naglowek h1 {
    font-size: 24px;
    padding-left: 20px;
    padding-top: 80px;
  }

  #tresc,
  #tresc1,
  #tresc3 {
    width: 90%;
  }

  #tresc p,
  #tabela1 {
    font-size: 16px;
    line-height: 24px;
  }



#tabela1 td a {
  color: #000080; /* Granatowy kolor tekstu linków */
  text-decoration: none;
  font-weight: normal; /* Zamiast bold, ustaw normal */
  font-size: 14px; /* Zmieniono na 14px */


}


  #tresc h2 {
    font-size: 20px;
  }

  ul#menu {
    flex-wrap: wrap;
    height: auto;
    overflow: visible;
    justify-content: center;
    background: url(menu.jpg) repeat-x center;
    background-size: cover;
  }

  ul#menu li {
    display: flex;
    margin: 0;
    padding: 0;
  }

  ul#menu li a {
    font-size: 16px;
    padding: 8px 15px;
    border-right: 1px solid #899736;
    white-space: nowrap;
    line-height: 0.2;
  }

  #stopka {
    font-size: 14px;
    height: auto;
    padding: 10px 0;
    text-align: center;
  }

  #copyright,
  #design {
    float: none;
    text-align: center;
    padding: 5px 0;
  }

  form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
  }

  form input,
  form select,
  form textarea {
    width: 85%;
    padding: 8px;
    margin-bottom: 1px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }

  form button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  form button:hover {
    background-color: #45a049;
  }

  #tresc #map {
    width: 100% !important;
    max-width: 100% !important;
    height: 50vh !important;
  }
}