body {
  margin: 0;
}
li,
a,
button {
  font-family: auster, sans-serif;
  font-style: bold;
  font-weight: 200;
  font-size: 1.3vw;
  color: #1c2519;
  cursor: pointer;
}
button {
  font-size: 20px;
  background-color: transparent;
  border: none;
}
.buttony {
  display: flex;
}
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 40px;
  color: #1c2519;
}
.mobile__nav {
  display: none; /* Ukryj menu mobilne */
  background-color: white; /* Lub inny kolor tła */
}

.mobile__nav.active {
  display: block; /* Pokaż menu kiedy jest aktywne */
}

/* NAWIGACJA DESKTOP
_____________________________________________________________________________________________________________*/

.nav__buttons {
  color: #1c2519;
  background-color: white;
  font-size: 1.5vw;
  margin-left: 10px;
  position: relative;
  border: none;
}
.nav__buttons_active {
  color: #1c2519;
  background-color: white;
  font-size: 1.5vw;
  margin-left: 10px;
  position: relative;
  border: none;
  text-decoration: none;
  border-bottom: 4px solid #fff;
}
.nav__hi {
  color: #e85521;
  background-color: white;
  font-size: 1.5vw;
  margin-left: 10px;
  position: relative;
  border: none;
}
.nav__buttons_active:hover {
  color: #e4622c;
}
.nav__buttons:hover {
  color: #e4622c;
}
.nav__icons {
  margin-left: 40px;
}
.nav__icon {
  color: #d884ae;
  font-size: 22px;
  top: 50%;
  height: 100px;
  margin-top: -50px;
}
.nav__active {
  color: #d884ae;
  font-size: 20px;
}
.headerstyle {
  z-index: 999;
  border-radius: 0 0 1.25rem 1.25rem;
}
header {
  width: 85%;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: auto;
  z-index: 999;
  background: white;
  box-shadow: #525252;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  padding-left: 2%;
  padding-right: 2%;
  box-sizing: border-box;
}
.logo {
  height: 70px;
  width: auto;
  border-radius: 0%;
}
.logom {
  display: none;
}
.logo__mobile {
  display: none;
}
.mobile__nav {
  display: none;
}

/* NAGLOWEK + LINKI
_____________________________________________________________________________________________________________*/

h1 {
  font-size: 40px;
  font-family: auster, sans-serif;
  font-variation-settings: 'ital' 0, 'wght' 300;
  color: #1c2519;
  text-align: center;
  margin-bottom: 0%;
  padding-top: 3%;
  margin-top: 0%;
  animation-name: appear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
h2 {
  font-size: 25px;
  font-family: auster, sans-serif;
  font-variation-settings: 'ital' 0, 'wght' 300;
  color: #1c2519;
  text-align: center;
  margin-bottom: 0%;
  margin-top: 0%;
  animation-name: appear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
h3 {
  font-size: 25px;
  font-family: auster, sans-serif;
  font-variation-settings: 'ital' 0, 'wght' 300;
  color: #1c2519;
  text-align: center;
  margin-bottom: 0%;
  margin-top: 0%;
  animation-name: appear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
a:link {
  text-decoration: none;
}
ul {
  text-align: center;
  list-style-type: none;
  padding-left: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}
li {
  display: inline;
  padding-left: 2%;
  padding-right: 2%;
}
.title {
  margin-top: 3%;
  width: 40%;
  margin-left: 30%;
  margin-right: auto;
}
.aboutzero {
  text-align: center;
  font-family: auster, sans-serif;
  font-size: 1.5vw;
  color: #1c2519;
  width: 70%;
  margin-right: 15%;
  margin-left: auto;
  margin-top: 0%;
  margin-bottom: 2%;
}
.about {
  text-align: center;
  font-family: auster, sans-serif;
  font-size: 1.5vw;
  color: #1c2519;
  width: 70%;
  margin-right: 15%;
  margin-left: auto;
  margin-top: 2%;
  margin-bottom: 2%;
}
.abouttwo {
  text-align: center;
  font-family: auster, sans-serif;
  font-size: 1.5vw;
  color: #1c2519;
  width: 70%;
  margin-right: 15%;
  margin-left: auto;
  margin-top: 5%;
  margin-bottom: 2%;
}
.blog_title {
  text-align: center;
  font-family: auster, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 4vw;
  color: #dd5a27;
  width: 50%;
  margin-right: 25%;
  margin-left: auto;
  margin-top: 5%;
}

/* GALERIA
_____________________________________________________________________________*/

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery {
  display: flex;
  font-size: 0;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  gap: 2%; /* żadnych przerw */
}

.gallery-item {
  flex: 1 0 100%; /* zajmuje pełną szerokość, można zmieniać */
  margin: 0;
  padding: 0;
  position: relative;
  animation-name: appear;
  animation-duration: 0.5s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
  margin-top: 2%;
  margin-bottom: 2%;
}
.gallery-item_cover {
  flex: 1 0 100%; /* zajmuje pełną szerokość, można zmieniać */
  margin: 0;
  padding: 0;
  position: relative;
  animation-name: appear;
  animation-duration: 0.5s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
  margin-bottom: 1%;
}
.spread {
  width: 80%;
  margin-left: 10%;
  margin-right: auto;
}
.back {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* LIGHTBOXES
_____________________________________________________________________________*/

.portfolio-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  opacity: 0;
  transition: 0.2s;
  align-items: center;
  justify-content: center;
}
.portfolio-lightbox:target {
  display: flex;
  opacity: 1;
}
.portfolio-lightbox__content {
  width: 100%;
  height: auto;
  padding: 0.5em;
  position: relative;
}

.close {
  position: absolute;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.lightbox__item {
  margin: auto;
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5%;
}

.lightbox__item2 {
  margin: auto;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5%;
}
.lightbox__item3 {
  margin: auto;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5%;
}

/* FOOTER
_________________________________________________________________*/

.rights {
  margin-top: 5%;
  margin-bottom: 8%;
  font-family: auster, sans-serif;
  font-size: 15px;
  text-align: center;
  color: #dd5a27;
}

/* ANIMATIONS
_________________________________________________________________*/

@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slidein {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }
}

/* MQ
_________________________________________________________________*/

@media only screen and (max-width: 2560px) {
  header {
    width: 70%;
  }
  .logo {
    height: 4vw;
  }
}
@media only screen and (max-width: 1023px) {
  h1 {
    font-size: 90px;
  }
}
@media only screen and (max-width: 768px) {
  .gallery {
    margin-top: 13%;
  }
  .headerstyle {
    z-index: 999;
    border-radius: 0 0 1.25rem 1.25rem;
  }
  header {
    width: 85%;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
    z-index: 999;
    background: white;
    box-shadow: #525252;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1.25rem 1.25rem;
    display: flex;
    justify-content: space-between;
    padding-left: 2%;
    padding-right: 2%;
    box-sizing: border-box;
  }
  .logom {
    display: block;
    height: 4vw;
    width: auto;
    border-radius: 0%;
  }
  .headermobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 7%;
    padding-right: 7%;
    width: 93%;
    padding-bottom: 2%;
    padding-top: 2%;
  }
  h1 {
    font-size: 60px;
  }
  .logo {
    display: none;
  }
  .hamburger {
    position: absolute;
    right: 10px; /* Możesz dostosować wartość */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    z-index: 1001;
  }
  /* Animacja hamburgera */
  /* Dla hamburgera */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* Dla menu mobilnego */
  .mobile__nav.active {
    display: block;
  }

  /* Menu mobilne */
  .mobile__nav {
    position: fixed;
    top: 0;
    padding-top: 20%;
    left: 100%;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: left;
    transition: left 0.2s ease-in-out;
    z-index: 998;
  }
  /* Aktywne menu */
  .mobile__nav.active {
    left: 0;
  }
  .buttony {
    display: none;
  }
  .logo {
    height: 50px;
    width: auto;
    border-radius: 0%;
  }
  .logo__mobile {
    align-items: center;
    justify-content: center;
  }
  .logo__mobile__img {
    width: 30%;
  }
  .mobile__nav__container {
    margin-left: 5%;
    margin-right: 5%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    width: 90%;
    padding-top: 40px;
  }
  .nav__hi {
    margin-left: 0;
    font-size: 30px;
  }
  .mobile__sites {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .fontawesome {
    margin-left: 5px;
    margin-right: 5px;
  }
  .mobile__site,
  .mobile__link {
    font-size: 30px;
  }
}
@media only screen and (max-width: 480px) {
  .gallery {
    width: 100%;
    margin-top: 25%;
  }
  .gallery-item {
    margin-top: 2%;
    margin-bottom: 2%;
  }
  .about {
    font-size: 3.5vw;
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
  }
  .abouttwo {
    font-size: 3.5vw;
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
  }
  .aboutzero {
    font-size: 3.5vw;
    width: 80%;
    margin-left: 10%;
    margin-right: auto;
  }
  .blog_title {
    font-size: 6vw;
    width: 70%;
    margin-top: 10%;
    margin-left: 15%;
    margin-right: auto;
  }
  .rights {
    margin-top: 10%;
    margin-bottom: 20%;
    font-size: 13px;
  }
  header {
    height: 70px; /* lub np. min-height: 120px; */
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .fontawesome {
    font-size: 25px;
  }
  .logo {
    display: none;
    height: 8vw;
    width: auto;
    border-radius: 0%;
  }
  .logom {
    display: block;
    height: 7vw;
    width: auto;
    border-radius: 0%;
  }
}
