* {
  max-width: 100vw;
  scroll-behavior: smooth;
}
p {
  margin: 0;
}

body {
  margin: 0;
  background: #000;
}
h3,
h4 {
  margin: 0;
}
.tabletBR {
  display: none;
}

#navbar-burger {
  position: fixed;
  display: flex;
  top: 0px;
  right: 20px;
  flex-direction: column;
  gap: 5px;
  background: rgba(214, 210, 27, 1);
  padding: 20px 10px 18px 10px;
  border-radius: 0px 0px 37px 37px;
  z-index: 100;
  transition: 0.35s;
}
nav {
  position: fixed;
  display: flex;
  min-width: 100vw;
  max-width: 100vw;
  align-items: center;
  text-align: center;
  z-index: 1000;
  top: -100%;
  transition: 1s;
  background: rgba(214, 210, 27, 1);
  flex-direction: column;
  border-radius: 0px 0px 50vw 50vw;
}

nav.active {
  top: 0%;
}
nav h3 {
  font-family: Youngblood;
  font-weight: 400;
  font-size: 85px;
  line-height: 100%;
  text-align: center;
  margin: 25px 0 28px 0;
  color: white;
}

nav div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

nav div a {
  text-decoration: none;
  font-family: Inter;
  font-weight: 600;
  font-size: 19px;
  line-height: 100%;

  color: rgba(247, 245, 83, 1);
  background: #000;
  width: fit-content;
  padding: 10px 30px;
  border-radius: 49px;
  transition: 0.5s;
}

nav div a:hover {
  color: black;
  background-color: #f7f553;
}
nav div a:active {
  background-color: #d6d21b;
}

#next-section {
  color: #323200;
  font-family: Inter Tight;
  font-weight: 600;
  font-size: 21px;
  line-height: 100%;
  padding: 16px 26px;
  background-color: #d6d21b;
  border-radius: 26px;
  transition: 0.5s;
  border: 1px solid transparent;
  text-decoration: none;
}

#next-section:hover {
  color: black;
  background-color: #f7f553;
}
#next-section:active {
  background-color: black;
  border: 1px solid #f7f553;
  color: #f7f553;
}

nav div:last-child {
  margin-bottom: 54px;
}

#hero img {
  display: block;
  width: 100%;
}

#hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
  border-radius: 50vw 50vw 0px 0px;
  margin-bottom: -50vw;
  transform: translate(0, -50vw);
}

#hero-content h1 {
  font-weight: 400;
  font-size: clamp(100px, 47vw, 210px);
  margin: 0;
  line-height: 100%;
  margin-top: -15px;
}

#hero-content div {
  display: flex;
  flex-direction: column;
  width: 95%;
  justify-content: center;
}

#hero-content h1,
h3 {
  font-family: "youngblood", sans-serif;
  font-weight: 400;
}

#hero-content div h3:nth-child(even) {
  align-self: flex-start;
  font-size: 96px;
  margin: 0;
  line-height: 100%;
}

#hero-content div h3:nth-child(odd) {
  align-self: flex-end;
  font-size: 96px;
  margin: 0;
  line-height: 100%;
}
#hero-content div h3:nth-of-type(1) {
  font-size: 86px;
  transform: translate(0, 7vw);
  margin-top: -14px;
}
#hero-content div h3:nth-of-type(3) {
  transform: translate(0, clamp(-5vw, -7vw, -12.5vw));
  margin-bottom: -17px;
  padding-right: 6px;
}

#hero-content p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 160%;
  padding: 0 20px;
  font-weight: 400;
  margin-bottom: 47px;
}

@media screen and (min-width: 768px) {
  nav {
    min-width: auto;
  }
  #hero-content {
    border-radius: 75vw 75vw 0px 0px;
  }

  #hero-content h1 {
    font-size: 250px;
    line-height: 100%;
    margin: 57px 0 46px 0 !important;
  }
  #hero-content h3 {
    align-self: baseline !important;
    transform: none !important;
    padding: 0 !important;
    font-size: clamp(94px, 10vw, 130px) !important;
  }

  #hero-content div {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-wrap: nowrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  #navbar-burger {
    display: none;
  }
  nav {
    position: sticky;
    display: flex;
    border-radius: 0;
    background: #000;
    transition: 0.7s;
  }
  nav h3 {
    font-size: 71px;
    line-height: 100%;

    margin: 14px 0 43px 0;
  }
  nav div {
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav div:last-child {
    margin-bottom: 28px;
  }
}

@media screen and (min-width: 1200px) {
  #navbar-burger {
    display: none;
  }
  nav {
    width: auto;
    position: sticky;
    display: flex;
    border-radius: 0;
    background: #000;
    transition: 0.7s;
  }
  nav h3 {
    font-size: 71px;
    line-height: 100%;

    margin: 14px 0 43px 0;
  }
  nav div {
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav div:last-child {
    margin-bottom: 28px;
  }

  #hero-content {
    border-radius: 75vw 75vw 0px 0px;
  }

  #hero-content h1 {
    font-size: 250px;
    line-height: 100%;
    margin: 57px 0 46px 0 !important;
  }
  #hero-content h3 {
    align-self: baseline !important;
    transform: none !important;
    padding: 0 !important;
    font-size: 130px !important;
  }
  #hero-content div {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-wrap: nowrap;
    gap: 15px;
  }
  #hero-content p {
    margin: 40px 0 67px 0;
    text-align: center;
    max-width: 670px;
    font-size: 20px !important;
  }
  .mobileBR {
    display: none;
  }
  .tabletBR {
    display: block;
  }
}

@media screen and (min-width: 1920px) {
  nav {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  nav div {
    margin: 33px 0 34px 60px !important;
  }
  nav h3 {
    margin: 0;
    margin-bottom: 16px;
  }
  #hero-content h1 {
    margin: 100px 0 46px 0 !important;
  }
  #hero-content div h3 {
    font-size: 160px !important;
  }

  #hero-content p {
    margin: 110px 0 61px 0;
  }
}

#legenda {
  background-color: black;
}

#legenda div picture img {
  margin-top: -115px;
  margin-bottom: 16px;
}
#legenda > picture img {
  width: 100%;
}
#legenda-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  gap: 54px;
  padding-bottom: 123px;
}
#legenda-content h3 {
  font-size: 107px;
  line-height: 100%;
}

#legenda-content p {
  padding: 0 20px;
  margin: 0;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
}

@media screen and (min-width: 768px) {
  #legenda > div {
    display: flex;
  }
  #legenda-content {
    align-items: start;
    padding: 40px 0 200px 40px;
  }
  #legenda-content h3 {
    font-size: clamp(94px, 13.3vw, 160px);
  }
  #legenda-content p {
    padding: 0;
    padding-right: 8vw;
    font-size: 20px;
    line-height: 160%;
  }
  #legenda div picture img {
    margin-top: -184px;
  }
}
@media screen and (min-width: 1920px) {
  #legenda div picture img {
    margin-top: -224px;
  }
  #legenda-content {
    max-width: 700px;
    padding: 46px 0px 176px 0;
    margin-left: 140px;
  }
  #legenda-content p {
    padding: 0 !important;
  }
}

#symbolika {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #242205;
  color: white;
  border-radius: 0 0 50vw 50vw;
}

#symbolika > div:nth-of-type(1) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#symbolika > div:nth-of-type(2) {
  display: flex;
}
#symbolika h3 {
  font-size: 134px;
  font-size: clamp(94px, 30vw, 134px);

  line-height: 100%;
  margin-top: -79px;
  z-index: 10;
  margin-bottom: 34px;
}

#symbolika p {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;

  padding: 0 21px;
}
#symbolika picture {
  margin-bottom: 56px;
}

#decor-soldier-1 img {
  transform: translate(0, 6.25vw);
}
#decor-soldier-2 img {
  transform: translate(0, 8vw);
}

@media screen and (min-width: 768px) {
  #symbolika h3 {
    font-size: 190px;
    margin-top: -120px;
  }

  #symbolika p {
    font-size: 20px;
    line-height: 160%;
    padding: 0 250px;
  }
  #decor-soldier-1 img {
    transform: translate(-20vw, 22.5vw);
  }
  #decor-soldier-2 img {
    transform: translate(clamp(60px, 9vw, 150px), 17.5vw);
  }
  #symbolika picture {
    margin-bottom: 120px;
  }
  #symbolika > div:nth-of-type(1) {
    gap: 24px;
  }
  #symbolika > div:nth-of-type(2) {
    margin-top: -160px;
  }
}

@media screen and (min-width: 1920px) {
  #symbolika {
    flex-direction: row;
    border-radius: 0 50vw 50vw 0;
    justify-content: space-between;
  }
  #symbolika h3 {
    margin-top: -10.5vw;
    margin-left: 12px;
  }
  #symbolika > div:nth-of-type(1) {
    margin-left: 247px;
    align-items: start;
  }
  #decor-soldier-1 img {
    transform: translate(5vw, 3vw);
  }
  #decor-soldier-2 img {
    transform: translate(5vw, 0vw);
  }
  #symbolika picture:nth-of-type(1) {
    margin: 45px 63px 67px 0;
  }
  #symbolika p {
    padding: 0;
    width: 700px;
  }
  #symbolika div:nth-of-type(2) {
    position: relative;
    display: flex;
    flex-direction: column;
  }
}

#sztuka-i-kultura {
  display: flex;
  flex-direction: column;
  background-color: black;
  color: white;
  gap: 26px;
  border-radius: 0 0 50vw 50vw;
  margin-top: 44px;
  align-items: center;
  overflow: hidden;
}
#sztuka-i-kultura div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#sztuka-i-kultura h3 {
  font-family: Youngblood;
  font-weight: 400;
  font-size: clamp(94px, 36.5vw, 160px);

  line-height: 124px;
  text-align: center;
}
#sztuka-i-kultura p {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  padding: 0 20px;
  margin-bottom: 4px;
}
#sztuka-i-kultura img {
  margin-bottom: 73px;
}
#sztuka-i-kultura div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 768px) {
  #sztuka-i-kultura {
    margin-top: 100px;
    padding: 0 250px;
    justify-content: center;
  }
  #sztuka-i-kultura h3 {
    font-size: 160px;
  }
  #sztuka-i-kultura p {
    font-size: 20px;
    line-height: 160%;
  }
  #sztuka-i-kultura div {
    max-width: 700px;
    min-width: 700px;
    display: flex;
    align-items: start;
  }
  #sztuka-i-kultura img {
    width: 100vw;
  }
}

@media screen and (min-width: 1920px) {
  #sztuka-i-kultura {
    flex-direction: row-reverse;
  }
  #sztuka-i-kultura div {
    transform: translate(-6.5vw, -4vw);
  }
  #sztuka-i-kultura img {
    width: 1357px;
  }
}

#ciekawostki {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -77px;
  overflow-y: scroll;
  margin-bottom: 110px;
  overflow: hidden;
}

#ciekawostki h3 {
  font-family: Youngblood;
  font-weight: 400;
  font-size: clamp(94px, 25.5vw, 130px);
  line-height: 100%;
  color: white;
  margin-bottom: 20px;
}

#ciekawostki-items {
  position: relative;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  gap: 30px;
  z-index: -1;
  scroll-padding: 50vw;
  padding-inline: calc((100vw - 320px) / 2); /* dynamically center based on item width */
}

#ciekawostki-container {
  position: relative;
  border-radius: 4px;
  z-index: 1;
  scroll-snap-type: x mandatory;
}

#shadow-left,
#shadow-right {
  position: absolute;
  height: 100%;
  width: 15vw;
}
#shadow-left {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 15%, rgba(255, 255, 255, 0) 100%);
}
#shadow-right {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 1) 15%, rgba(255, 255, 255, 0) 100%);
}

.ciekawostki-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: black;
  min-width: 300px;
  max-width: 300px;
  height: 290px;
  padding: 20px 10px 10px 10px;
  scroll-snap-align: center;
  gap: 16px;
}

.ciekawostki-item h4 {
  font-family: Inter;
  font-weight: 700;
  font-size: 24px;
  line-height: 160%;
  color: #f7f553;
  padding: 0 20px;
}
.ciekawostki-item p {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: white;
}

@media screen and (min-width: 768px) {
  #ciekawostki {
    margin-top: -105px;
  }

  #ciekawostki h3 {
    font-size: 160px !important;
  }

  .ciekawostki-item {
    min-width: 376px;
    max-width: 376px;
    max-height: 312px;
    min-height: 312px;
    padding: 74px 42px;
    gap: 30px;
  }
  .ciekawostki-item h4 {
    font-weight: 700;
    font-size: 28px;
    line-height: 160%;
  }
  .ciekawostki-item p {
    font-size: 20px;
    line-height: 160%;
  }
  #ciekawostki-items {
    padding-inline: calc((100vw - 460px) / 2); /* dynamicznie centrum oparte na szerokości przedmiotów */
  }

  #shadow-left,
  #shadow-right {
    position: absolute;
    height: 100%;
    width: 25vw;
  }
}

@media screen and (min-width: 1920px) {
  #shadow-left,
  #shadow-right {
    display: none;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 20px;
  padding-bottom: 42px;
}

footer h3 {
  font-family: Youngblood;
  font-weight: 400;
  font-size: 71px;
}

footer p {
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  padding: 0 30px;
}
@media screen and (min-width: 768px) {
  footer h3 {
    font-size: 100px;
  }
  footer {
    padding-bottom: 120px;
  }
}
@media screen and (min-width: 1920px) {
  footer {
    padding-bottom: 107px;
  }
}

#swamp-bg {
  position: fixed;
  width: 100vw;
  bottom: 0px;
  z-index: -1;
  margin-bottom: -5px;
}
#swamp-bg img {
  width: 100%;
  height: 100%;
}
#bg-wrapper {
  background-color: black;
}
