@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");

/* to ponizej root to jak galerie nowa robilem */
:root {
  --overlay-bg: rgba(0, 0, 0, 0.98);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Acumin-Pro";
  src: url("assets/Acumin-Pro.ttf");
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: "Open Sans", sans-serif;
  color: #666666;
  background-color: #ececec;
}
.sticky-body {
  overflow: hidden;
}

/*	1	nav*/
nav.navig {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 4rem;
  background-color: #fff;
  box-shadow: 0 2px 6px rgb(0 0 0 / 26%);
}

nav .logo {
  line-height: 4rem;
  font-size: 30px;
  height: 100%;
  text-decoration: none;
  text-transform: lowercase;
  padding-left: 6vw;
  color: black;
  font-family: "Lato", sans-serif;
}

ul.lista_menu {
  margin-right: 20vw;
}

ul.lista_menu a {
  text-decoration: none;
  padding: 0.5rem 12px;
  transition: 0.5s;
  color: #292929;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hamburger {
  display: none;
}

ul.lista_menu a:hover,
.active-page {
  box-shadow: 0 0.5rem 0.5rem -0.4rem #413e3d;
  background-color: #f3f3f3;
}

@media (max-width: 1118px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 500;
  }
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    background-color: rgb(0, 0, 0);
    z-index: 500;
  }

  ul.lista_menu {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    left: -100%;
    top: 0;
    text-align: center;
    line-height: normal;
    padding: 70px 0;
    transition: 0.3s;
    align-items: center;
  }

  .lista_menu.active {
    left: 0;
  }

  ul.lista_menu a {
    display: inline;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 18px;
  }
  ul.lista_menu a:hover,
  .active-page {
    box-shadow: 0 0 0 0 #ffffff;
    background-color: #ffffff;
    color: #4a7a2a;
  }
}

@media (min-width: 992px) and (max-width: 1100px) and (orientation: portrait) {
  nav .logo {
    font-size: 40px;
  }
}
@media (max-width: 991px) {
  nav .logo {
    font-size: 23px;
  }
}

@media (max-width: 576px) {
  nav .logo {
    font-size: 20px;
  }
}

/*  2 div.opis  */

div.opis {
  width: 70%;
  /*			height: 15vw;*/
  margin: 5vw auto;
  margin-bottom: 3vw;
  margin-top: 5vw;
  text-align: center;
}

div.opis a {
  /*display: inline-block;*/
  display: none;
  color: black;
  margin-top: 3vw;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid black;
  padding: 8px 20px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-size: 20px;
  transition: 0.3s;
}

div.opis a:hover {
  background-color: #2f3542;
  color: white;
}

@media (max-width: 1500px) {
  div.opis {
    margin-bottom: 4vw;
    margin-top: 7vw;
  }
}

@media (max-width: 991px) {
  div.opis a {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  div.opis {
    width: 90%;
  }

  div.opis h1 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  div.opis {
    /*zmiana po skasowaniu przycisku margin-top*/
    margin-top: 15vw;
    /*margin-top: 7vw;*/
  }

  div.opis a {
    padding: 6px 10px;
    margin-top: 20px;
  }
}

/*			    3 main - gallery  */

main.gallery {
  width: 85%;
  margin: 10px auto 80px auto;
  text-align: center;
}

main.gallery a {
  cursor: pointer;
}

main.gallery img {
  transition: 1s;
  /*padding: 7px;*/
  margin: 7px;
  width: 16vw;
  border-radius: 5px;
  box-shadow: 8px 10px 15px 0px rgba(56, 56, 56, 1);
}

main.gallery img:hover {
  filter: grayscale(100%);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  main.gallery {
    width: 100%;
    margin-bottom: 10vh;
  }

  main.gallery img {
    width: 30vw;
    /*padding: 3px;*/
    margin: 3px;
    box-shadow: 2px 3px 3px 0px rgba(56, 56, 56, 1);
  }
}

/* ------------------- 4 section. gallery-yearly */

section.gallery-yearly {
  max-width: 1920px;
  margin-top: 10vw;
  margin-left: auto;
  margin-right: auto;
}

.gallery-yearly-container {
  width: 80%;
  margin: 40px auto 50px auto;
  text-align: center;
}

.gallery-yearly-container h2 {
  margin-top: 5vw;
  margin-bottom: 3vw;
  width: 100%;
  text-align: center;
}

.gallery-yearly-container  a {
  cursor: pointer;
}


.gallery-yearly-container img {
  transition: 1s;
  /*padding: 7px;*/
  margin: 7px;
  width: 8vw;
  border-radius: 5px;
  box-shadow: 8px 10px 15px 0px rgba(56, 56, 56, 1);
}

.gallery-yearly-container img:hover {
  filter: grayscale(100%);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-yearly-container {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .gallery-yearly-container h2 {
    font-size: 16px;
  }

  .gallery-yearly-container img {
    width: 17vw;
    /*padding: 3px;*/
    margin: 3px;
    box-shadow: 2px 3px 3px 0px rgba(56, 56, 56, 1);
  }
}

/*				5 footer   */

footer {
  margin: 8vw auto 1vw;
  width: 80vw;
  height: 8vw;
  /*background-color: white;*/
  text-align: center;
}

div.foot {
  width: 80vw;
  padding: 2% 2% 4% 2%;
}

div.foot a {
  color: black;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 4px;
  opacity: 0.8;
}

div.foot a:hover {
  color: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}

div.icons img {
  display: inline-block;
  margin: 60px 10px 50px 10px;
  padding: 0px;
  transition: 0.5s;
  width: 3vw;
}
div.icons img:hover {
  transform: rotateY(180deg);
}

footer .year p {
  padding: 3vw;
  font-weight: bold;
  font-size: 1rem;
  color: #292929;
}
@media (max-width: 1100px) {
  div.icons img {
    width: 4vw;
  }
}
@media (max-width: 824px) {
  footer {
    margin-top: 10vw;
  }

  div.foot a {
    font-size: 16px;
    padding: 5px 10px;
  }

  div.icons img {
    margin-top: 40px;
    margin-bottom: 60px;
    width: 5vw;
  }
}
@media (max-width: 630px) {
  div.icons img {
    width: 7vw;
  }
}
@media (max-width: 359px) {
  div.foot a {
    font-size: 14px;
    padding: 5px 10px;
  }
}

/* Siatka kafelków ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Lightbox Fullscreen */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  display: none;
  z-index: 1000;
  overflow: hidden;
  touch-action: none;
}

.modal.active {
  display: block;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease-out;
  will-change: transform;
}
/* zmienilem ze slide na slidee bo sie gryzlo z karuzela bootstrapa */
.slidee {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.slidee img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  pointer-events: none;
}

.modal-caption {
  color: white;
  margin-top: 25px;
  font-size: 1.25rem;
  text-align: center;
  padding: 0 20px;
}

/* Przyciski */
.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  z-index: 1010;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 1010;
  border-radius: 5px;
}

.arrow-left {
  left: 15px;
}

.arrow-right {
  right: 15px;
}

.counter {
  position: absolute;
  bottom: 30px;
  left: 20%;
  transform: translateX(-50%);
  color: #888;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-arrow {
    display: none;
  }

  .slide img {
    max-height: 98vh;
  }
}
