.life {
  padding: 120px 0;
  overflow: hidden;
}

.life .container {
  position: relative;
}

.life .container::before {
  content: "";
  position: absolute;
  top: 120px;
  right: 0;
  width: 455px;
  height: 360px;
  background-image: url(../img/life-img.png);
  background-position: center center;
  background-size: contain;
}

.life h4 {
  display: inline-block;
  padding: 20px 25px;
  background-color: #fbc909;
  font-size: 40px;
  color: #282828;
  margin-bottom: 63px;
}

.life p {
  max-width: 580px;
  color: #282828;
  font-size: 20px;
  font-family: "MuseoCyrlMedium";
  margin-bottom: 61px;
}

.life a {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  padding: 15px;
  max-width: 390px;
  width: 100%;
  border-radius: 10px;
  background-image: linear-gradient(20deg, #ffcc00 0%, #f7e072 100%);
  color: #272727;
  font-family: "MuseoCyrlMedium";
  font-size: 16px;
  text-decoration: none;
}

.life .button-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.life .triangle1 {
  position: absolute;
  top: -80px;
  left: -60px;
  width: 45px;
  height: 48px;
}

.life .triangle2 {
  position: absolute;
  top: -56px;
  right: -80px;
  width: 107px;
  height: 114px;
}

.life .triangle3 {
  position: absolute;
  bottom: -6px;
  left: 574px;
  width: 33px;
  height: 34px;
}

@media (max-width: 1200px) {
  .life p {
    max-width: 500px;
  }
  .life .triangle3 {
    bottom: -40px;
  }
}

@media (max-width: 992px) {
  .life .container:before {
    display: none;
  }
  .life p {
    max-width: 100%;
  }
  .life a {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .life h4 {
    font-size: 38px;
    text-align: center;
  }
  .life p {
    text-align: center;
    font-size: 18px;
  }
  .life .button-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .life a {
    margin-bottom: 15px;
    min-height: 68px;
  }
}

@media (max-width: 480px) {
  .life {
    padding: 50px 0;
  }
  .life h4 {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .life p {
    margin-bottom: 30px;
  }
}
