*{
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: white;
  line-height: 1.6;
}



@media (min-width: 769px) {
  .burger,
  .nakladka,
  .ZamknijX {
   display: none;
  }
}

nav {
  background-color: black;
  padding: 1em 2em;
  display: flex;
  justify-content: center;
  gap: 1em;
  position: fixed;
  width: 100%;
}
nav ol {
  display: flex;
  list-style: none;
  gap: 2em;
}
nav a {
  /* Kolory */
  color: black;
  background: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
nav a:hover {
  background-color: #f26522;
  color: white;
}

/*************************************/
section{
  display: flex;
  justify-content: center;
  align-items: center;
}
.zawartosc {
  padding: 3em 2em;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* background-color: red; */
}
/*************************************/
/* Pierwsza sekcja */
#pierwsza {
  background: url('../IMG/lion-bg.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pierwsza .zawartosc {
  display: flex;
  justify-content: flex-start; 
  flex-direction: column;
  color: black;
  min-height: 50vh;
}
#pierwsza img{
  max-width: 100%;;
}
#pierwsza h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: black;
  font-size: 4rem;
  line-height: 4rem;
}
#pierwsza h2 {
  font-size: 1.2rem;
  max-width: 500px;
}


section#Sylwetka h3, section#Występowanie h3 {
  font-size: 2.5rem;
  margin-bottom: 1em;
  font-weight: bold;
}
#Sylwetka article, #Występowanie article {
  display: flex;
  flex-direction: row;
  gap: 2em;
  flex-wrap: wrap;
}
#Sylwetka article p,
#Występowanie article p {
  flex: 1;
  min-width: 250px;
}

#Występowanie {
  background-color: #f26522;
  color: white;
}

/* Slider */
.Slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1em;
  padding: 2em 0;
}
.Slider img {
  scroll-snap-align: center;
  width: 300px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Galeria */
#piata {
  gap: 1em;
  padding: 3em 2em;
}
#piata .zawartosc{
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

#piata img {
  flex: 1 1 300px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Stopka */
#stopka {
  color: white;
  padding: 4em 2em 2em;
  flex-direction: column;
}

#stopka .zawartosc {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
}

#stopka a{
  color: orangered;
  text-decoration: none;
  
}

#stopka ol {
  list-style: none;
}

#stopka h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

#Sociale {
  display: flex;
  gap: 1em;
  margin-top: 0.5em;
}

#Sociale img {
  width: 30px;
  height: 30px;
}

.stopka3 input[type="email"] {
  padding: 0.5em;
  margin-bottom: 0.5em;
  width: 100%;
  border: none;
  border-radius: 5px;
}

.stopka3 input[type="submit"] {
  background: white;
  color: black;
  border: none;
  padding: 0.5em 1.5em;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.stopka3 input[type="submit"]:hover {
  background: #e6e6e6;
}

/* Footer copyright */
#stopka h6 {
  background: black;
  text-align: center;
  padding: 2em;
  font-size: 0.9rem;
  color: #666;
}


@media (max-width: 768px) {
  nav{
    display: none;
  }

  .burger {
    display: block;
    font-size: 2rem;
    position: fixed;
    top: 1em;
    right: 1em;
    z-index: 1;
    color: white;
    cursor: pointer;
  }

  .nakladka {
    position: fixed;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-x: hidden;
    transition: width 0.4s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nakladka ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }

  .nakladka a {
    color: black;
    background: white;
    text-decoration: none;
    padding: 0.7em 2em;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .nakladka a:hover {
    background-color: #f26522;
    color: white;
  }

  .ZamknijX {
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
  }
}