h1 {
  margin: 0;
}

p {
  margin: 0;
}

body {
  min-width: 320px;
  background-color: #fff;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1160px;
}

.header {
  padding-top: 150px;
  padding-bottom: 100px;
  overflow: hidden;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__info {
  position: relative;
  z-index: 1;
  min-width: 400px;
  max-width: 400px;
}

.header__title {
  margin-bottom: 30px;
  color: #13161a;
  font-size: 60px;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.4;
  font-weight: 700;
}

.header__subtitle {
  color: #000000;
  font-size: 20px;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.55;
  font-weight: 500;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.header__img-container {
  flex-shrink: 2;
}

.header__img {
  width: 100%;
  height: auto;
  transform: scale(1.2);
}


.offers {
  padding: 57px 0;
  background-color: #f5f5f5;
}

.offers__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  justify-content: center;
  grid-gap: 15px;
}

.offer {
  flex-basis: 260px;
  padding: 20px;
  border-radius: 20px;
  background-color: #ffffff;
}

.offer__header {
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(163, 163, 163);
}

.offer__logo {
  display: block;
  height: 34px;
  object-fit: contain;
}

.offer__props {
  display: grid;
  grid-gap: 8px;
  padding: 12px 0;
}

.offer__prop {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.offer__key {
  color: #a2a2a2;
  font-size: 14px;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 400;
}

.offer__value {
  color: #13161a;
  font-size: 16px;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 500;
}

.offer__price {
  margin-bottom: 12px;
  color: #13161a;
  font-size: 22px;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 600;
}

.offer__button {
  display: block;
  width: 100%;
}

.button {
  padding: 7px 12px;
  color: #ffffff;
  font-size: 16px;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 400;
  text-align: center;
  border-width: 1px;
  border-radius: 20px;
  background-color: #3fd8a9;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.button:hover {
  background-color: #13161a;
}

.link {
  color: #13161a;
  font-size: 18px;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
  border-radius: 30px;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  text-decoration: none;
}

.link:hover {
  color: #f05549;
}

.footer {
  padding: 57px 0 30px 0;
}

.footer__container {
  display: grid;
  justify-content: center;
  gap: 40px;
}

.footer__nav {
  display: grid;
  grid-gap: 8px;
  text-align: center;
}

.footer__link {
}

.footer__copyright {
  max-width: 1040px;
  color: #505050;
  font-size: 14px;
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
  text-align: center;
}

.text {
  padding-top: 160px;
  padding-bottom: 50px;
  font-size: 16px;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 300;
  color: #000000;
  line-height: 1.55;
}

.text__p {
  margin: 20px 0;
}

.text__link {
  color: #ff8562;
  text-decoration: none;
}

.mb50 {
  margin-bottom: 50px;
}

.mb20 {
  margin-bottom: 20px;
}

.center {
  text-align: center;
}

.strong {
  font-weight: bold;
}

@media (max-width: 768px) {
  .header {
    padding: 30px 0;
  }

  .header__container {
    flex-direction: row;
  }

  .header__info {
    max-width: none;
    min-width: 40%;
  }

  .header__title {
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.3;

  }

  .header__subtitle {
    font-size: 14px;
  }

  .text {
    padding: 40px 0;
  }
}
