:root {
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-teal-600: #307e8a;
  --color-teal-700: #2d6671;
}

.thanks {
  padding: 3rem;
}
.thanks__heading {
  margin-bottom: 1rem;
  
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-teal-700);
}
.thanks__p {
  margin-bottom: 1rem;
  text-align: center;
}
.thanks__button {
  margin-left: auto;
  margin-right: auto;
}

.button {
  transition-property: color, background-color, border-color, box-shadow;
  transition-duration: 350ms;
  transition-timing-function: linear;
  transition-timing-function: ease-in-out;

  display: inline-block;

  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.1);
  border-radius: 1.125rem;
  padding: 0.75rem 2rem;
  background-color: var(--color-gray-600);

  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
  background-color: var(--color-gray-700);
  text-decoration: none;
}

.button--primary {
  background-color: var(--color-teal-600);
  color: white;
}
.button--primary:hover {
  background-color: var(--color-teal-700);
  color: white;
}