/* Style the header with a grey background and some padding */
.header {
    overflow: hidden;
    background-color: #132433;
    padding: 20px 10px;
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure the header is above the slideshow */
}
  
  /* Style the header links */
  .header a {
    float: left;
    display: block;
    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 */
}

/* 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;
}

.zawartosc{
  line-height: 2;
}

/* 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 */
}

.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; 
}





* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  aspect-ratio: 16/9;
  max-height: 80vh;
  overflow: hidden;
  background: #b6c2c8;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide the images by default */
.mySlides {
  display: none;
}


/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Number text (1/8 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color:  #999999;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.film_yt {
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 792px;
  aspect-ratio: 16/9;
}

.napisywstep{
  text-align: center;
}