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

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

body {
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
  line-height: 1.75;
  color: #000000;
}

p {
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}

a {
  text-decoration: none;
  color: #000000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  margin: 0 auto;
  max-width: 1060px;
  padding: 0 1em;
}

.page-header {
  padding: 1em 0;
  position: relative;
}

.page-header .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.logo {
  margin-bottom: 1em;
  max-width: 242px;
}

.page-nav {
  margin-bottom: 1em;
}

.page-nav ul {
  display: flex;
  list-style: none;
  gap: 2em;
}

.page-nav ul a{
  display: flex;
  text-transform: uppercase;
}

.quick-contact {
  width: 242px;
  background-color: #E83C31;
  border-radius: 10px;
  display: flex;
  padding: 8px 0;
}

.phone-icon {
  width: 70px;
  background: url('../img/phone.png') no-repeat 50% 50%;
  border-right: 1px solid #B32117;
}

.phone-number {
  width: 171px;
  text-align: center;
  line-height: 1.4;
}

.phone-number a {
  color: #ffffff;
  font-size: .9rem;
}

.hero-slogan h1 {
  font-weight: bold;
  text-align: center;
}

.hero-slogan p {
  margin-bottom: 1.5em;
  text-align: center;
}


.hero-image img {
  display: none;
}

.cta {
  padding: 1em 3em 1em 1.5em;
  background-color: #E83C31;
  border-radius: 10px;
  color: #ffffff;
  display: block;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 2em;
}

.cta .arrow {
  position: absolute;
  right: 18px;
  top: 23px;
  animation: arrow .6s alternate-reverse infinite;
}

.serwis {
  background-color: #F8DDA4;
  padding: 3em 0 4em 0;
}

.serwis h1 {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 .5em 0;
  font-weight: 300;
}

.serwis h2 {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 .5em 0;
  font-weight: 300;
}

.serwis p {
  text-align: center;
  margin: 0 0 2.5em 0;
}

.offer {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.item {
  background-color: #ffffff;
  border-radius: 30px;
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 332px;
  max-width: 332px;
}

.item img {
  margin-bottom: 1em;
}

.item a {
  font-weight: bold;
  text-transform: uppercase;
}

.regeneracja {
  background-color: #BBDEF0;
  padding: 3em 0 4em 0;
}

.regeneracja h1 {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 .5em 0;
  font-weight: 300;
}

.regeneracja h2 {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 .5em 0;
  font-weight: 300;
}


.regeneracja p {
  text-align: center;
  margin: 0 0 2.5em 0;
}

.page-footer {
  background: #000000;
  color: #ffffff;
  font-size: .8rem;
  padding: 1em 0;
  text-align: center;
}

.page-footer p {
  margin: 0;
}

.kontakt h2 {
  text-align: center;
}

.kontakt p {
  text-align: center;
}

.kontakt .container {
  min-height: 100vh;
}


.serwis ul,
.regeneracja ul {
  max-width: 320px;
  margin: 0px auto 40px auto;
  list-style-image: url('../img/ok.png');
}

.serwis ul li,
.regeneracja ul li {
  padding-left: .2em;
}

.pictures {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}

.pictures img {
  margin-bottom: 2em;
}

@keyframes arrow {
  from {
    transform: translateY(-5px);
  }

  to {
    transform: translateY(5px);
  }
}


/* News Start */
.news {
  border: 4px solid #E83C31;
  border-radius: 20px;
  margin-bottom: 2em;
  animation: pulse 1.3s infinite normal;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 2em;
  background-image: url('../img/wrench-pattern.png');
  position: relative;
}

.news h2 {
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
}

.news .cta {
  margin: 0;
}

.nowosc {
  position: absolute;
  background-color: rgb(72, 99, 255);
  color: white;
  padding: 0.25em 0.75em;
  left: 1.2em;
  top: 0;
  font-size: 0.8rem;
}


@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* News End */





@media only screen and (min-width: 1060px) {

  .page-header {
    margin-bottom: 2em;
  }

  .page-header .container {
    flex-direction: row;
    align-items: center;
  }
  
  .logo {
    margin-right: auto;
    margin-bottom: 0;
  }

  .page-nav ul {
    margin-top: 1em;
  }

  .quick-contact {
    margin-left: 30px;
  }

  .hero {
    margin-bottom: 2em;
  }

  .hero .container {
    display: flex;
    justify-content: space-between;
  }

  .hero-slogan {
    width: 45%;
  }

  .hero-image {
    padding-top: 30px;
    width: 55%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1.77em;
  }

  .hero-slogan h1 {
    text-align: left;
  }
  
  .hero-slogan p {
    text-align: left;
  }

  .cta {
    display: inline-block;
  }

  .hero-image img {
    display: block;
  }

  .nowosc {
    left: 2.7em;
  }

}


