/**
 * Base
 *
 * Global resets, document defaults and page layout primitives.
 *
 * Loaded on every extension page except the popup, after design-system.css and
 * before components.css. Only rules every page needs belong here.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

address {
  font-style: normal;
}

[hidden],
.hidden {
  display: none !important;
}

body {
  display: flex;
  align-items: center;

  min-height: 100dvh;
  padding: var(--linkgif-space-5);

  background: var(--linkgif-background);
  color: var(--linkgif-text-primary);

  font-family: var(--linkgif-font);
  font-size: var(--linkgif-font-size-base);
  -webkit-font-smoothing: antialiased;
}

/* ================================================
   Layout container
================================================ */

.container {
  display: flex;
  flex-direction: column;
  gap: var(--linkgif-space-8);

  width: 100%;
  margin-inline: auto;
}

/* ================================================
   Page header
================================================ */

main > header {
  text-align: center;
}

/* ================================================
   Page footer
================================================ */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--linkgif-space-2);

  color: var(--linkgif-text-faint);

  font-size: var(--linkgif-font-size-xs);
}
