/* Style the header with a grey background and some padding */
.header {
    overflow: hidden;
    background-color: #132433;
    padding: 20px 10px;
    position: sticky;
    top: 0;
  }
  
  /* Style the header links */
  .header a {
    float: left;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
  }
  
  /* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
  .header a.logo {
    font-size: 25px;
    padding: 2px;
  }
  
  /* Change the background color on mouse-over */
  .header a:hover {
    background-color: #b6c2c8;
    color: white;
  }
  
  /* Style the active/current link*/
  .header a.active {
    background-color: dodgerblue;
    color: white;
  }
  
  /* Float the link section to the right */
  .header-right {
    float: right;
  }
  
  /* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
  @media screen and (max-width: 500px) {
    .header a {
      float: none;
      display: block;
      text-align: left;
    }
    .header-right {
      float: none;
    }
  }

  body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: #b6c2c8; /* Background color for the body */
}

.napis{
    text-align: center;
}

/* Section styles */
section {
    margin-bottom: 10px; /* Space between sections to accommodate the footer */
    margin-right: 20px;
    margin-left: 20px;
    padding: 30px; /* More padding for better spacing */
    background: #f9f9f9; /* Lighter background for sections */
    border-radius: 10px; /* More rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Softer shadow for depth */
    border: 5px outset;
    
}
.napis{
  margin-right: auto;
  margin-left: auto;
}

div.mycontainer {
  width:100%;
  overflow:auto;
  line-height:1.5;
}
div.mycontainer div.JJ{
  width:48%;  
  float:left;
}
div.mycontainer div.GW{
  width:48%;  
  float:right;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 1px 0;
    background: #132433;
    color: #ffffff;
    position: relative; /* Change to absolute to keep footer at the bottom of the content */
    bottom: 0; /* Ensure it is anchored to the bottom */
    width: 100%;
    height: 60px;
}

/* SEKCJA ZDJĘĆ */
/* Image styles */
.zdj1 {
    position: right; /* Positioning for specific images */
}

/* School logo styles */
.zsme {
    float: right; /* Align the image to the right */
    margin-right: 10px;
    margin-top: 10px;
}

.Amc-logo {
    float: left; /* Align the image to the left */
    padding-left: 10px;
    z-index: 10001; 
}

