:root {
  --blue-color: #007bff;
  --gray-color: #333333;
  --brown-color: #5e2906;
  --light-grey-color: #cccccc;
  --background-color: #fcfcf0;

  --primary-color: #4a90e2; /* Niebieski – symbolizuje wodę i niebo */
  --secondary-color: #50c878; /* Zielony – symbolizuje lasy i naturę */
  --accent-color: #ffd700; /* Złoty – symbolizuje słońce i ciepło */
  /* Beżowy – neutralne tło */
  /* Ciemny szary – czytelny tekst */
  --text-light-color: #666666; /* Jasny szary – do mniej ważnego tekstu */
  --button-hover-color: #0056b3; /* Ciemniejszy niebieski – efekt po najechaniu */
  /* Jasny szary – obramowania */
  /* Pomarańczowy – akcenty i wezwania do akcji */
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--background-color);
  color: var(--gray-color);
}
body {
  font-family: "Lora", serif;
  display: flex;
  flex-direction: column;
}
.top a {
  color: var(--gray-color);
  text-decoration: none;
}
.top {
  display: flex;
  flex-direction: column;
}
.top-contact {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.top-contact a {
  text-decoration: none;
  color: var(--blue-color);
}
h1 {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}
main {
  flex: 1;
}
a {
  color: var(--blue-color);
}
nav {
  width: 100%;
}
.button-menu {
  margin-left: 5px;
  margin-bottom: 10px;
  margin-top: 5px;
  width: 35px;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  cursor: pointer;
}
.line {
  border-radius: 3px;
  width: 35px;
  height: 5px;
  background-color: var(--brown-color);
}
.button-menu.active-button .line-1 {
  transform: rotate(45deg) translate(5px, 6px);
}
.button-menu.active-button .line-2 {
  opacity: 0;
}
.button-menu.active-button .line-3 {
  transform: rotate(-45deg) translate(6px, -9px);
}
.menu-ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  list-style-type: none;
  width: 100%;
}
.menu-ul.hide-menu {
  display: none;
}
.menu-ul a {
  margin: 5px auto 10px 5px;
  display: block;
  text-decoration: none;
  color: var(--gray-color);
  font-weight: 600;
  font-size: 1.2em;
}
.menu-ul li {
  border-bottom: dotted 1px var(--brown-color);
}
header {
  background-color: #fff;
  border-bottom: 2px solid var(--gray-color);
}
.contact-container {
  margin-left: 10px;
}
.contact a {
  text-decoration: none;
  color: var(--gray-color);
  font-weight: 600;
}
.contact i {
  margin-right: 5px;
}
.maps {
  width: 80%;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}
.maps iframe {
  width: 100%;
}

footer {
  border-top: solid 1px var(--light-grey-color);
  background-color: var(--gray-color);
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
footer a {
  text-decoration: none;
}
.first-article {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.first-article p,
.first-article h2 {
  max-width: 600px;
  color: white;
}
.first-article h2 {
  font-size: 1.8em;
}
.first-article p {
  font-size: 1.2;
}
.article,
.section {
  margin-left: 10px;
  margin-right: 10px;
}
.first-article {
  margin: 0;
  padding: 40px 10px;
  height: 500px;
  background-image: url(img/tlodomek.jpg);
  background-position: center;
  background-size: cover;
}
.description h2 {
  margin-left: 10px;
}
.description img {
  border-top-left-radius: 8%;
  border-bottom-right-radius: 8%;
  width: 90%;
}
.section {
  margin-bottom: 40px;
}
.section h3 {
  text-align: center;
}
.video-container {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}
video {
  width: 95%;
}
.atractions {
  margin-left: 10px;
  margin-right: 10px;
}
.atractions-header {
  margin-left: 10px;
}
.gallery-container {
  background-color: var(--gray-color);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
.gallery-item {
  cursor: pointer;
  width: 200px;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.gallery-item:hover img {
  transform: translate(-50%, -50%) scale(1.1); /* Powiększenie obrazka */
}
.gallery-item img {
  border: whitesmoke 5px solid;
  width: 90%;
  height: 90%;
  object-fit: cover; /* Umożliwia przycięcie obrazka */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease 0.1s;
}
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  text-align: center;
}

#overlay img {
  margin-top: 1vh; /* Centrowanie obrazka */
  max-width: 95vw; /* Maksymalna szerokość obrazka */
  max-height: 95vh; /* Maksymalna wysokość obrazka */
}

.close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10000;
}
.nav-button {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10000;
}

.nav-button.left {
  left: 20px;
}

.nav-button.right {
  right: 20px;
}
.prizes {
  width: 100%;
  background-image: url(img/tlokontakt.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.prizes-container {
  text-align: center;
  border-radius: 20px;
  padding: 10px;
  width: 90%;
  max-width: 600px;
  background-color: rgb(0, 0, 0, 0.65);
  color: white;
}
@media screen and (min-width: 600px) {
  .gallery-item {
    width: 250px;
    height: 375px;
  }
}
@media screen and (min-width: 600px) {
  .gallery-item {
    width: 300px;
    height: 450px;
  }
}

@media screen and (min-width: 800px) {
  .top {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
  .top-contact {
    width: 50%;
  }
  .menu-ul.hide-menu {
    display: flex;
  }
  .button-menu {
    display: none;
  }
  .menu-ul {
    flex-direction: row;
    justify-content: space-around;
    padding: 0;
    width: 100%;
  }
  .menu-ul li {
    border: none;
  }
  .menu-ul a {
    margin: 0;
  }
  .section h3 {
    width: 100%;
  }
  .section img {
    width: 50%;
  }
  .section p {
    width: 40%;
  }
  .section {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    align-items: center;
  }
  video {
    width: 70%;
  }
}
