/* Reset default styles */
body, figure, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
  }
  
  /* Set default font styles */
  body {
    font-family: 'Open Sans';
    font-size: 16px;
    color: white;
    background-color: black;

      
  }

  a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}


.mobile-container {
  max-width: 480px;
  margin: auto;
  background-color: #555;
  height: 500px;
  color: white;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: transparent;
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  float: left;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a.icon {
  float: right;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.active {
  background-color: #04AA6D;
  color: white;
}

.logo-container {
    text-align: center;
  }
  
  .logo-img {
    width: 500px; /* Ustaw odpowiednią szerokość dla logotypu */
  }
  
  #home {

    font-family: 'Open Sans';
    font-size: 48px;
    color: white;
    background: black;

  }

  .container {
    margin: 20px;
    padding: 20px;
    border: 1px solid #fff;
    box-sizing: border-box;
  }
  
  /* Header styles */
  header {
    background-color: black;
    color: #fff;
    padding: 20px;
  }
  
  header h1 {
    font-size: 24px;
    margin: 0;
  }
  
  nav ul {
    list-style-type: none;
    margin-top: 10px;
  }
  
  nav ul li {
    display: inline-block;
    margin-right: 10px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  /* Sections styles */
  section {
    padding: 40px;
  }
  
  section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  section p {
    margin-bottom: 20px;
  }
  
  section ul {
    list-style-type: disc;
    margin-left: 20px;
  }
  
  /* Footer styles */
  footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
  }
  
  
  .heading {
    text-align: center;
    font-size: 1.5em;
    letter-spacing: 1px;
    padding: 40px;
    color: white;
}

.gallery-image {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-image img {
  height: 450px;
  width: 650px;
  transform: scale(1.0);
  transition: transform 0.4s ease;
}

.img-box {
  box-sizing: content-box;
  margin: 10px;
  height: 450px;
  width: 650px;
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  background-color: white;
}

.caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  opacity: 0.0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
  height: 250px;
  width: 350px;
  background-color:rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

.img-box:hover img { 
  transform: scale(1.1);
}

.img-box:hover .transparent-box {
  background-color:rgba(0, 0, 0, 0.5);
}

.img-box:hover .caption {
  transform: translateY(-20px);
  opacity: 1.0;
}

.img-box:hover {
  cursor: pointer;
}

.caption > p:nth-child(2) {
  font-size: 0.8em;
}

.opacity-low {
  opacity: 0.5;
}  
  

.contact2 {
  float: right;
  right: 0;
  bottom: 0;
  margin: 100px;
  margin-top: -400px;
}

.contact2 h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact2 p {
  margin-bottom: 20px;
}

.contact2 ul {
  list-style-type: disc;
  margin-left: 20px;
}

.button {
  display: block;
  margin: 0 auto;
  background-color: white;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  border-radius: 20px;
}