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

:root {
  --first-color: #857b84;
}

html {
  scroll-behavior: smooth;
}

main {
  font-family: "Montserrat", serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--first-color);
}

h1 {
  margin: 50px;
  font-size: 40px;
  font-weight: 600;
}

h2 {
  font-size: 30px;
  font-weight: 300;
}

h3 {
  font-size: 30px;
  font-weight: 400;
}

img.small {
  width: 70%;
}

header {
  background-image: url(../img/asia-i-mateusz-1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  width: 100%;
  height: 550px;
  position: relative;
  overflow: hidden;
}


.decor1 {
  margin: 30px;
  width: 10%;
}

.decor2 {
  margin: 30px;
  width: 30%;
}

.decor3 {
  margin: 30px;
  width: 12%;
}

.decor4 {
  margin: 30px;
  width: 30%;
}


/* blok licznika */

.counter-blocks {
  margin: 10px auto 30px;
  width: 400px;
  display: flex;
  justify-content: space-around;
}

.counter-blocks>div {
  width: 80px;
  height: 55px;
  color: var(--first-color);
}

.count {
  text-align: center;
  font-size: 30px;
  line-height: 35px;
}

.label {
  text-align: center;
  font-size: 18px;
  line-height: 25px;
}


/* blok licznika koniec */

p {
  font-size: 25px;
  text-align: center;
}

p span {
  font-weight: 700;
}

.lab{
  display: block;
  font-size: 40px;
  margin-bottom: 20px;
}


.btn {
  margin: 20px auto;
  width: 150px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  color: var(--first-color);
  background-color: white;
  border: solid 1px var(--first-color);
  border-radius: 10px;
  transition: 0.5s;

}

.btn:hover{
  color: white;
  background-color: var(--first-color);
}

.end {
  margin-top: 30px;
}

footer {
  font-family: "Montserrat", serif;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  line-height: 40px;
  height: 40px;
  color: var(--first-color);
}


@media (max-width: 1200px){

header{
  height: 300px;
}

}


@media (max-width: 800px) {
  header{
    height: 250px;
  }


  h1 {
    margin: 30px;
    font-size: 30px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 20px;
  }
  .decor1 {
    width: 80px;
  }
  
  .decor2 {
    width: 240px;
  }
  
  .decor3 {
    width: 96px;
  }
  
  .decor4 {
    width: 240px;
  }

  p {
    font-size: 20px;
  }
  footer {
    font-size: 12px;
  }
}

@media (max-width: 600px) {

  header{
    height: 200px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 16px;
  }

  h3 {
    font-size: 15px;
  }

  .counter-blocks {
    width: 300px;
  }

  .count {
    font-size: 25px;
  }

  .label {
    font-size: 12px;
  }
  p {
    font-size: 15px;
  }
  .lab{
    font-size: 30px;
    margin-bottom: 20px;
  }
  footer {
    font-size: 10px;
  }
}