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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  color: black;
  background-color: #fff;
}

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

.heading {
  position: relative;
  margin-top: 1.5em;
  font-size: 3rem;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  color: black;
  letter-spacing: 2px;
}
.heading__hr {
  margin: 1em auto 3em;
  width: 40%;
}

.nav-mobile {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10;
  transform: translateX(102%);
  transition: transform 0.3s;
}
.nav-mobile--active {
  transform: translateX(0);
}
.nav-desktop {
  display: none;
  border-bottom: 1px solid rgb(184, 182, 182);
}
.nav-desktop .nav__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  margin: 0;
}
.nav-desktop .nav__link-one {
  left: 10px;
}
.nav-desktop .nav__link-two {
  left: 33%;
  top: 20px;
}
.nav-desktop .nav__link-three {
  left: 45%;
  top: 20px;
}
.nav-desktop .nav__link-four {
  left: 59%;
  top: 20px;
}
.nav-desktop .nav__link-five {
  left: 80%;
  top: 20px;
}
.nav__link {
  position: relative;
  display: inline-block;
  margin: 0.5em;
  padding: 0.5em;
  font-size: 2.3rem;
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}
.nav__link:hover {
  color: #f7c88c;
}

.hamburger {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 500;
}

.header {
  position: relative;
  height: 100vh;
}
.header__container {
  position: absolute;
  background-image: url(../img/budowniczy-big.jpg);
  background-size: cover;
  background-position: center;
  font-size: 2rem;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.header__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 13, 13, 0.301);
  z-index: -1;
}
.header__text {
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  z-index: 3;
}
.header__text img {
  height: 250px;
}
.header__text-heading {
  margin-top: 2em;
  letter-spacing: 3px;
  font-weight: 300;
}
.header__text-p {
  padding: 0.2em;
}
.header__text-btn {
  position: relative;
  transition: background-color 0.3;
  overflow: hidden;
  z-index: 2;
  margin-top: 0.5em;
  padding: 0.6em 1.2em;
  font-size: 2rem;
  background-color: #f7c88c;
  border: none;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.header__text-btn::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
  z-index: -1;
  background-color: #b48f5b;
}
.header__text-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.about-us {
  position: relative;
}
.about-us__box {
  padding: 0 2em;
}
.about-us__box-text {
  text-align: center;
  font-size: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  margin: 20px auto;
  width: 250px;
  height: 300px;
  perspective: 800px;
  cursor: pointer;
}
.card .img {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  border-radius: 15px;
  transition: 0.8s;
}
.card .img__heading {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 180px;
  margin-bottom: 20px;
}
.card .img__shadow {
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  border-radius: 15px;
}
.card .one {
  background-image: url(../img/karty/advise.jpg);
}
.card .two {
  background-image: url(../img/karty/building.jpg);
}
.card .three {
  background-image: url(../img/karty/adjust.jpg);
}
.card .four {
  background-image: url(../img/karty/paint.jpg);
}
.card .five {
  background-image: url(../img/karty/arrange.jpg);
}
.card .six {
  background-image: url(../img/karty/install.jpg);
}
.card .seven {
  background-image: url(../img/karty/clean.jpg);
}
.card .eight {
  background-image: url(../img/karty/guarantee.jpg);
}
.card .text {
  border-radius: 15px;
  text-align: center;
  background-image: linear-gradient(315deg, #fee2f8 0%, #f5f0d4 74%);
  opacity: 0;
  transition: 0.8s;
}
.card .text__heading {
  font-size: 2.5rem;
  margin: 10px auto;
}
.card .text__text {
  font-size: 1.7rem;
}
.card .text__text-one {
  margin-top: 30%;
}
.card .text__text-two {
  margin-top: 55%;
}
.card .text__text-three {
  margin-top: 80%;
}
.card .position {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px;
}
.card .text-one {
  transform: rotateY(-180deg);
}
.card:hover .text {
  transform: rotate(0);
  opacity: 1;
}
.card:hover .img {
  transform: rotateY(-180deg);
  opacity: 0;
}

.why-us__cards {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
}
.why-us__card {
  font-size: 2rem;
  margin: 50px auto;
  cursor: pointer;
}
.why-us__card-icon {
  font-size: 4rem;
  margin-bottom: 0.5em;
  transition: 0.3s;
}
.why-us__card-text {
  margin: 0 20px;
}
.why-us__card:hover .why-us__card-icon {
  color: #f7c88c;
  transform: scale(1.2);
}

.cooperation__cards {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(2, 1fr);
}
.cooperation__card {
  font-size: 2rem;
  margin: 50px auto;
  cursor: pointer;
}
.cooperation__card-icon {
  font-size: 4rem;
  margin-bottom: 0.5em;
  transition: 0.3s;
}
.cooperation__card-text {
  margin: 0 20px;
}
.cooperation__card:hover .cooperation__card-icon {
  color: #f7c88c;
  transform: scale(1.2);
}

.gallery {
  max-width: 85%;
  margin: 10% auto;
}
.gallery__box {
  -moz-columns: 3 250px;
       columns: 3 250px;
  gap: 15px;
}
.gallery__box-img {
  margin-bottom: 10px;
  background-repeat: 5px;
  width: 100%;
  transition: 0.3s ease-in-out;
}
.gallery__box-img:hover {
  transform: scale(0.9);
}

.contact {
  background-image: url(../img/contact-small.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  scroll-margin-top: 100px;
}
.contact__shadow {
  background-color: rgba(255, 255, 255, 0.6);
}
.contact__box {
  transition: color 3s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  z-index: 1;
  font-size: 1.4rem;
}
.contact__box-one-p {
  margin: 15px;
}
.contact__box-one-p:hover i {
  color: #f7c88c;
}
.contact__box-one .fa-solid {
  transition: color 0.3s;
}
.contact__box-two-facebook {
  margin: 15px;
}
.contact__box-two-facebook .fa-facebook {
  transition: color 0.3s;
}
.contact__box-two-facebook:hover .fa-facebook {
  color: rgb(83, 83, 255);
}
.contact__box-two-facebook a {
  text-decoration: none;
  color: black;
}
.contact__box-two-facebook a:focus {
  color: black;
}
.contact__box-h3 {
  font-weight: normal;
  text-transform: uppercase;
  font-size: 3rem;
}

.footer {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  padding: 20px;
  place-items: center;
  font-size: 1.4rem;
}
.footer__webit {
  text-decoration: none;
  color: black;
  cursor: pointer;
  margin-bottom: 20px;
}
.footer__webit-link {
  transition: color 0.3s;
}
.footer__webit:hover .footer__webit-link {
  color: #f7c88c;
}
.footer__img {
  height: 100px;
}
.footer__img-img {
  height: 100%;
  width: 100%;
}

@media (min-width: 576px) {
  .card {
    width: 350px;
    height: 500px;
  }
  .card .img__heading {
    margin-top: 300px;
    font-size: 3.5rem;
  }
  .card .text__heading {
    font-size: 3.5rem;
  }
  .card .text__text {
    font-size: 2.5rem;
  }
  .contact__box {
    font-size: 1.8rem;
  }
  .footer {
    font-size: 1.8rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .heading {
    font-size: 4rem;
  }
  .header__text-heading {
    font-size: 6rem;
  }
  .header__text-p {
    font-size: 3rem;
  }
  .header__text-btn {
    font-size: 3rem;
  }
  .hamburger {
    top: 20px;
    right: 30px;
    transform: scale(1.2);
  }
  .about-us__heading {
    font-size: 5rem;
  }
  .about-us__box {
    padding: 0 2em;
  }
  .about-us__box-text {
    font-size: 2.5rem;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cooperation__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 992px) {
  .nav {
    position: fixed;
    background-color: #fff;
    height: 80px;
    z-index: 2;
    width: 100%;
  }
  .nav-desktop {
    display: block;
    background-color: #fff;
    height: 82px;
  }
  .nav__container {
    margin: 0 auto;
    padding: 0 1em;
    width: 100%;
    max-width: 1400px;
    position: relative;
  }
  .nav__logo-img {
    height: 80px;
  }
  .nav__link-img {
    position: absolute;
    height: 80px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
  }
  .hamburger {
    display: none;
  }
  .about-us {
    scroll-margin-top: 100px;
  }
  .about-us__heading {
    font-size: 6rem;
  }
  .about-us__box {
    padding: 0 2em;
  }
  .about-us__box-text {
    font-size: 3rem;
  }
  .contact {
    background-image: url(../img/contact-big.jpg);
  }
  .services {
    scroll-margin-top: 100px;
  }
  .why-us {
    scroll-margin-top: 100px;
  }
}
@media (min-width: 1400px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards .card {
    width: 300px;
    height: 500px;
  }
  .cards .card .img__heading {
    margin-top: 300px;
    font-size: 3rem;
  }
  .cards .card .text__heading {
    font-size: 3rem;
  }
  .cards .card .text__text {
    font-size: 2rem;
  }
  .why-us__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 2000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards .card {
    width: 350px;
    height: 500px;
  }
  .cards .card .img__heading {
    margin-top: 300px;
    font-size: 3.5rem;
  }
  .cards .card .text__heading {
    font-size: 3.5rem;
  }
  .cards .card .text__text {
    font-size: 2.5rem;
  }
  .cooperation__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}/*# sourceMappingURL=style.css.map */