.method {
  padding: 0 20px 80px;
  width: 100%;
  max-width: 1300px;
  margin: 200px auto 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tlo1, .tlo2, .tlo3 {
  width: 100%;
  min-height: 200px;
  box-sizing: border-box;
  position: relative;
}
.text-center a{
  text-decoration: none;
  color: black;
}
.tlo1 { background-color: #2ca955; }
.tlo2, .tlo3 { background-color: #efefef; }

.text-center {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.text-center h1 {
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 5px;
  text-align: center;
}

.text-center h2,
.text-center h3,
.text-center h4,
.text-center p {
  font-weight: 500;
  margin-left: 30px;
}

.text-center h2 {
  font-size: 16px;
  color: white;
  margin-top: 60px;
  display: flex;
  justify-content: flex-start;
}

.text-center h3 {
  font-size: 16px;
  color: black;
  margin-top: 80px;
  display: flex;
  justify-content: flex-start;
}

.text-center h4 {
  font-size: 20px;
  color: black;
  display: flex;
}

.text-center p {
  font-size: 20px;
  color: white;
  text-align: left;
}

.icon-direction,
.icon-phone,
.icon-mail {
  background-color: white;
  border-radius: 50%;
  font-size: 36px;
  position: absolute;
  top: 25px;
  right: 25px;
  color: #2ca955;
}

.d-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8%;
  width: 100%;
  box-sizing: border-box;
}

/* MAŁE EKRANY: do 900px */
@media screen and (max-width: 900px) {
  .d-grid-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
  }

  .text-center {
    width: 70vw;
    max-width: 400px;
    margin: 0 auto;
  }

  .text-center h1 {
    font-size: clamp(26px, 6vw, 36px);
    letter-spacing: 2px;
  }

  .text-center h2,
  .text-center h3 {
    font-size: clamp(14px, 4.5vw, 18px);
    margin-left: 20px;
    margin-top: 40px;
  }

  .text-center h4,
  .text-center p {
    font-size: clamp(16px, 4.5vw, 20px);
    margin-left: 20px;
  }

  .icon-direction,
  .icon-phone,
  .icon-mail {
    font-size: clamp(28px, 6vw, 36px);
    top: 15px;
    right: 15px;
  }

  .method {
    padding: 0 20px 60px;
    margin-top: 100px;
  }
}

/* ŚREDNIE EKRANY: od 901px do 1300px */
@media screen and (min-width: 901px) and (max-width: 1300px) {
  .method {
    padding: 0 40px 80px;
    margin-top: 150px;
  }

  .text-center h1 {
    font-size: clamp(36px, 4vw, 50px);
  }

  .text-center h2,
  .text-center h3 {
    font-size: clamp(16px, 2vw, 20px);
  }

  .text-center h4,
  .text-center p {
    font-size: clamp(18px, 2vw, 22px);
  }

  .icon-direction,
  .icon-phone,
  .icon-mail {
    font-size: clamp(28px, 3vw, 36px);
  }
}

/* DUŻE EKRANY: od 1301px wzwyż */
@media screen and (min-width: 1301px) {
  .method {
    max-width: 1300px;
    margin: 200px auto 0;
  }

  .d-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
