section.banner {
  background: url(../img/banner.webp) no-repeat right top 40%;
  background-size: 48%;
  margin-top: 80px;
  padding: 90px 0;
}
section.banner p {
  width: 520px;
}
section.banner .hr {
  background-color: #31428c;
  width: 70px;
  margin: 30px 0 25px 0;
}
section.advantages {
  background: #ffffff;
}

section.advantages ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 25px 0;
  margin: 0;
}
section.advantages ul li {
  font-size: 20px;
  font-weight: 500;
  list-style-type: none;
  line-height: 40px;
}
section.advantages ul li::before {
  content: "";
  background-color: transparent;
  background-size: contain;
  background-position: center;
  height: 40px;
  width: 40px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
}
section.advantages ul li:nth-child(1)::before {
  background-image: url(../img/icon1.webp);
}
section.advantages ul li:nth-child(2)::before {
  background-image: url(../img/icon2.webp);
}
section.advantages ul li:nth-child(3)::before {
  background-image: url(../img/icon3.webp);
}
section.advantages ul li:nth-child(4)::before {
  background-image: url(../img/icon4.webp);
}

.zastosowanie h3 {
  color: #000000;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.zastosowanie .cards > div {
  width: 290px;
  position: relative;
  margin-bottom: 40px;
}

.zastosowanie .cards > div > div {
  position: relative;
  width: 290px;
  height: 290px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.zastosowanie .cards .shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: rgba(49, 63, 140, 0.6);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
  text-align: center;
  padding-top: 170px;
}

.zastosowanie .cards .shadow:hover {
  opacity: 1;
}

.zalety_pi .cards > div {
  background: #ffffff;
  padding: 20px 15px;
  width: 290px;
  margin-bottom: 15px;
}
#izolacje_natryskowe .row {
  margin-bottom: 70px;
}

#izolacje_natryskowe .row:nth-child(odd) {
  flex-direction: row-reverse;
}
#izolacje_natryskowe .row:nth-child(odd) .img-container {
  justify-content: left;
}
.wycena {
  background: url(../img/banner1.webp) no-repeat left top 100px;
  background-size: 60%;
}
.wycena form {
  width: 350px;
  margin-left: auto;
  margin-right: 0;
}

.zalety_iz > div {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.07);
  margin-top: 50px;
}
.zalety_iz p {
  font-size: 16px;
}

.zalety_iz ul li {
  font-size: 16px;

  line-height: 25px;
}

.zalety_iz > div > div:first-child {
  width: 30%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.zalety_iz > div > div:nth-child(2) {
  width: 70%;
  padding: 30px 50px;
}

.zalety_iz > div:nth-child(even) {
  flex-direction: row-reverse;
}

.zalety_iz > div:nth-child(odd) > div:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.zalety_iz > div:nth-child(even) > div:first-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.form-container {
  background: url(../img/form-container.webp) no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  padding: 80px 50px;
}

.form-container form {
  width: 350px;
}
.form-container form h2 {
  color: #000000;
  font-size: 35px;
  margin-top: 0;
}

ul.materials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

ul.materials li {
  list-style: none;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 5px 15px;
  margin-bottom: 10px;
  margin-right: 30px;
}

ul.materials li::before {
  display: none;
}

@media screen and (max-width: 930px) {
  section.banner {
    background: url(../img/banner-md.webp) no-repeat center top;
    background-size: auto contain;
    padding: 310px 0 80px 0;
  }
  section.banner p {
    width: auto;
  }

  section.advantages ul {
    height: 150px;
    justify-content: space-evenly;
    align-content: space-between;
  }

  section.advantages ul li {
    width: 200px;
  }
  .zalety_pi .cards > div {
    width: 265px;

    margin-bottom: 20px;
  }

  #izolacje_natryskowe .row {
    margin-bottom: 70px;
  }
  #izolacje_natryskowe .row,
  #izolacje_natryskowe .row:nth-child(odd) {
    flex-direction: column;
  }

  .zastosowanie .cards > div {
    width: 265px;
  }
  .zastosowanie .cards > div > div {
    width: 265px;
    height: 265px;
  }
  .wycena {
    background: none;
  }
  .wycena form {
    width: 100%;
  }

  .zalety_iz > div {
    flex-direction: column;
    margin-top: 50px;
  }

  .zalety_iz > div > div:first-child {
    width: 100%;
    height: 300px;
    background-size: auto 260px;
    background-position: center bottom;
  }

  .zalety_iz > div > div:nth-child(2) {
    width: 100%;
    padding: 30px 50px;
  }

  .zalety_iz > div:nth-child(even) {
    flex-direction: column;
  }
}

@media screen and (max-width: 580px) {
  section.banner {
    background: url(../img/banner-mob.webp) no-repeat left 20% top 20px;

    padding: 250px 0 50px 0;
  }

  section.advantages ul {
    justify-content: space-between;
    height: 130px;
  }

  section.advantages ul li {
    width: 49%;
    font-size: 19px;
    line-height: 25px;
  }
  section.advantages ul li::before {
    height: 25px;
    width: 25px;
    margin-right: 10px;
  }

  .zalety_pi .cards > div {
    width: 100%;
    max-width: 290px;
  }
  #izolacje_natryskowe .row {
    margin-bottom: 50px;
  }

  .zastosowanie .cards > div {
    width: 288px;
  }
  .zastosowanie .cards > div > div {
    width: 288px;
    height: 288px;
  }

  .zastosowanie .cards .btn {
    width: auto;
  }

  .form-container {
    padding: 40px 0;
  }

  .form-container form {
    width: 95%;
    margin: 0 auto;
  }
  .form-container form h2 {
    font-size: 30px;
  }
  .zalety_iz > div {
    margin-top: 40px;
  }

  .zalety_iz > div > div:first-child {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center top;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .zalety_iz > div > div:nth-child(2) {
    padding: 30px 15px;
  }

  .zalety_iz > div:nth-child(odd) > div:first-child {
    border-bottom-left-radius: 0;
  }

  .zalety_iz > div:nth-child(even) > div:first-child {
    border-bottom-right-radius: 0;
  }

  ul.materials li {
    padding: 3px 15px;

    margin-right: 20px;
  }
}
