@import "./variables.css";

*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: var(--base-font-size); scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: #000;
  color: #fff;
  border-radius: 6px;
  z-index: 1000;
}

/* Links and buttons */
a { color: var(--rose); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline:none; box-shadow: var(--focus-shadow); }
.button, button {
  display: inline-block;
  padding: .6rem .9rem;
  border-radius: 8px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.button.primary { background: var(--pink); color: #fff; }
.button.muted { background: transparent; color: var(--rose); border: 1px solid var(--card-border); }

/* Container util */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
