body {
    padding-top: 0;
}

.thanks {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 71px;
}

.thanks__logo img {
  max-width: 371px;
  height: auto;
}

.thanks__content {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.thanks__image img {
  max-width: 100%;
  height: auto;
}

.thanks__title {
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  font-weight: 400;
  margin-top: 2rem;
  max-width: 800px;
}

.thanks__text {
  font-size: 1.75rem;
  color: var(--color-dark);
  font-weight: 400;
  margin-top: 2rem;
  line-height: 1;
}

.thanks__support {
  font-size: 1.75rem;
  margin-top: 0.5rem;
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1;
}

.thanks__button {
  margin-top: 3.25rem;
  font-size: 1.75rem;
  color: #fff;
  font-weight: 600;
  padding: 1.75rem 10rem;
  border-radius: var(--radius-large);
  background-color: var(--color-button);
  border: 1px solid var(--color-button);
  text-decoration: none;
  transition: background 0.3s ease;
}

.thanks__button:hover {
  background-color: transparent;
}



@media (max-width: 990px) {
  .thanks {
    padding: 1.1rem 1.25rem 3rem;
  }

  .thanks__logo img {
    max-width: 265px;
  }

  .thanks__content {
    margin-top: 2.1rem;
  }

  .thanks__title {
    font-size: 48px;
    line-height: 59px;
    margin-top: 1.7rem;
  }

  .thanks__text {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    line-height: 1.3;
  }

  .thanks__support {
    font-size: 1.75rem;
    margin-top: 0.9rem;
  }

  .thanks__button {
    font-size: 18px;
    padding: 0.75rem 3rem;
    margin-top: 2.9rem;
    width: 100%;
  }
}

@media (max-width: 480px) {

  .thanks__button {
    font-size: 16px;
    padding: 0.75rem 2rem;
  }
}
