* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
}

section {
  scroll-margin-top: 10px;
}

.wrapper {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.hero-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.change-hero-txt .hero-txt {
  position: absolute;
  top: 50%;
  left: 68%;
  transform: translate(-50%, -50%);
}

.hero-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

/* wide page navigation */
.wide-nav {
  display: none;
}

.nav-bar {
  position: fixed;
  top: 0;
  z-index: 1;
  /* max-width: 1200px; */
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #ddd;
}

.nav-item {
  display: none;
}

/* burger js menu */
#menu {
  z-index: 3;
}

#menu-bar {
  width: 45px;
  height: 40px;
  margin: 30px 0 0px 20px;
  cursor: pointer;
}

.bar {
  height: 5px;
  width: 100%;
  background-color: #09f;
  display: block;
  border-radius: 5px;
  transition: 0.3s ease;
}

#bar1 {
  transform: translateY(-4px);
}

#bar3 {
  transform: translateY(4px);
}

.navi {
  transition: 0.3s ease;
  display: none;
}
.navi ul {
  padding: 0px 20px;
  text-align: left;
}
.navi li {
  list-style: none;
  padding: 3px 0;
  text-align: left;
}
.navi li a {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 3px 3px 5px #000;
  transition: color 0.3s;
}
.navi li a:hover {
  color: black;
}

#menu {
  top: 0;
  left: 0;
  position: fixed;
}

.menu-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0;
  height: 0;
  margin: 30px 0 0px 20px;
  background: radial-gradient(circle, #09f, #09f);
  border-radius: 50%;
  transition: 0.3s ease;
}

.change {
  display: block;
}
.change .bar {
  background-color: white;
}
.change #bar1 {
  transform: translateY(4px) rotateZ(-45deg);
}
.change #bar2 {
  opacity: 0;
}
.change #bar3 {
  transform: translateY(-6px) rotateZ(45deg);
}

.change-bg {
  width: 420px;
  height: 360px;
  transform: translate(-65%, -30%);
}

/* header */
.header {
  position: relative;
  background-image: url(../img/cropped-posciel-na-lozku.jpg);
  height: 330px;
  background-size: cover;
  background-position: right;
}
.header h1 {
  margin-bottom: 5px;
  text-shadow: 3px 3px 5px #000;
}
.header span {
  text-transform: uppercase;
  color: #09f;
}

/* main */
main {
  margin: 20px 0;
}

.section-title {
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

.section-subtitle {
  margin-bottom: 10px;
  text-align: left;
  padding: 0 20px;
}

/* o nas */
.aboutus-info {
  margin-bottom: 10px;
  padding: 0 20px;
}

.link-button {
  text-align: center;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #ddd;
  display: block;
}
.link-button a {
  padding: 0 30px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  color: #333;
  transition: color 0.3s;
}
.link-button a:hover {
  color: #09f;
  cursor: pointer;
}

/* produkty */
.products {
  position: relative;
  background-size: cover;
  background-position: center;
  text-align: center;
  height: 200px;
}
.products h3 {
  text-transform: uppercase;
}

.product-box {
  margin: 0px 20px;
}
.product-box a {
  text-decoration: none;
  color: #fff;
}
.product-box a:hover {
  cursor: pointer;
}

.first-product {
  background-image: url(../img/posciel.jpg);
}

.second-product {
  background-image: url(../img/lozko-z-posciela.jpg);
}

.hero-txt {
  transition: transform 0.3s;
}

.first-product:hover .hero-txt {
  transform: scale(1.6) translate(-31.25%, -31.25%);
}

.second-product:hover .hero-txt {
  transform: scale(1.6) translate(-31.25%, -31.25%);
}

.third-product:hover .hero-txt {
  transform: scale(1.6) translate(-31.25%, -31.25%);
}

.fourth-product:hover .hero-txt {
  transform: scale(1.6) translate(-31.25%, -31.25%);
}

@media (min-width: 768px) {
  /* .burger-icon {
  	display: none;
  } */
  .wide-nav {
    display: block;
  }
  #menu {
    display: none;
  }
  .menu-bg {
    display: none;
  }
  .nav-item {
    display: block;
  }
  .nav-item a {
    padding: 0 30px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
    transition: color 0.3s;
  }
  .nav-item a:hover {
    color: #09f;
    cursor: pointer;
  }
  section {
    scroll-margin-top: 70px;
  }
  .header {
    height: 400px;
  }
  .hero-txt h1 {
    font-size: 36px;
  }
  .hero-txt p {
    font-size: 18px;
  }
}
/* contact */
.contact {
  margin-top: 20px 0;
  text-align: center;
}

.contact h2,
.contact h3 {
  margin: 20px 0;
  text-transform: uppercase;
}

a {
  color: #09f;
}

/* footer */
footer {
  margin-top: 20px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #ddd;
}

@media (min-width: 992px) {
  .products {
    display: inline-block;
    width: 50%;
    margin: 0 auto;
  }
  .product-box {
    font-size: 0;
  }
  .hero-txt h3 {
    font-size: 20px;
  }
  .nav-item a {
    padding: 0 50px;
  }
}
@media (min-width: 1200x) {
  .hero-txt h1 {
    font-size: 42px;
  }
  .hero-txt p {
    font-size: 24px;
  }
  .products h3 {
    font-size: 24px;
  }
  .nav-item a {
    padding: 0 60px;
  }
}/*# sourceMappingURL=style.css.map */