.button {
  align-self: flex-end;
  border-radius: 100px;
  width: 100%;
  padding: 0.5rem 1.5rem;
  max-width: 300px;
  transition: all 0.2s ease;

  html[data-theme="dark"] & {
    background-color: var(--ifm-color-secondary);
    color: var(--ifm-color-primary-darker);
  }

  /* font */
  font-style: normal;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.anchor {
  display: block;
  text-decoration: none !important;
  width: fit-content;
}

.button.light {
  background-color: var(--ifm-color-secondary);
  color: var(--ifm-color-primary-darker);

  &:hover {
    background-color: var(--ifm-color-primary-light);
  }
}

.button.dark {
  background-color: var(--ifm-color-primary-darker);
  color: var(--ifm-color-primary-light);

  &:hover {
    background-color: var(--ifm-color-grey-dark);
  }

  html[data-theme="dark"] &:hover {
    background-color: var(--ifm-color-primary-light);
    color: var(--ifm-color-primary-darker);
  }
}
