* {
  box-sizing: border-box;
}


html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  background: linear-gradient(to bottom, #d7e0f0, #b9c6dd);
  color: #333;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  padding: 0;
  
}

#header {
  background: #2b4a80 url('https://i.imgur.com/DN5gRmu.png') repeat-x;
  color: white;
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid #1c3057;
  
}

#container {
  width: 60%;
  max-width: 900px;
  margin: 20px auto;
  background: linear-gradient(to bottom, #ffffff, #e9edf5);
  border: 1px solid #888;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  flex: 1;
  
}

#menu {
  background: linear-gradient(to bottom, #fafafa, #d9d9d9);
  box-shadow: inset 0 1px 0 white;
  padding: 7px;
  text-align: center;
  flex-wrap: wrap;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #aaa;
  
}

#menu a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  
}

#menu a:hover {
  background: #2b4a80;
  color: white;
  padding: 4px 8px;
  border-radius: 0;
  transition: none;
}

#content {
  padding: 20px;
}

h1 {
  color: red;
  font-size: 22px;
  border-bottom: 2px solid red;
}

h2 {
  color: #2b4a80;
  font-size: 18px;
}

.footer {
  background: linear-gradient(to bottom, #2b4a80, #1c3057);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  border-top: 3px solid #1c3057;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.footer p {
  font-weight: bold;
}


.button {
  background: linear-gradient(to bottom, #4f81bd, #385d8a);
  color: white;
  padding: 8px 16px;
  border: 1px solid #1c3057;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.button:hover {
  background: #5a8fd1;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}


#nowe {
  padding: 10px;
  border-left: 4px solid #2b4a80;
  background: #f0f4f8;
  margin-bottom: 10px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.2s;
}

#nowe:hover {
  background-color: #dbdbdb;
}

#nowe:not(:last-child) {
  border-bottom: 1px dotted #ccc;
  margin-bottom: 12px;
}


img, .button {
  max-width: 100%;
  height: auto;
}

#nowe strong {
  color: #2b4a80;
  font-size: 14px;
}

#ciacho{
  color: #fff;
  text-align: center;
  background: red;
  padding: 5px 0;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 1px 1px #000;
  margin: 0
}

a {
  color: #0033cc;
  text-decoration: underline;
}
a:hover {
  color: #cc0000;
}

#header h1 {
  text-shadow: 1px 1px 2px #000;
}



@media(max-width: 600px) {
  body{
    font-size: 14px;
  }

  #header{
    padding: 10px;
  }

  #container{
    width: 95%;
    margin: 10px auto;
  }

  #menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }

  #menu a{
    display: block;
    margin: 4px 0;
    font-size: 14px;
    padding: 5px 8px;
  }

  h1 {
    font-size: 18px;
  }

  h2{
    font-size: 16px;
  }

  #content{
    padding: 10px; 
  }

  .button{
    display: block;
    text-align: center;
    margin: 10px auto;
    width: 80%;
  }

  #nowe{
    font-size: 13px;
    padding: 8px;
  }

  img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

}
