@use '../styles/breakpoints';
@use '../styles/colors';
@use '../styles/fonts';

html {
  font-family: fonts.$sans;
  background: colors.$background;
  color: colors.$text;
  scroll-behavior: smooth;
  scroll-padding-top: 20svh;
}

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

/* text styles */
h1 {
  font-family: fonts.$serif;
  font-size: 3.25rem;
  line-height: 120%;
  font-weight: 600;
}

h2 {
  font-family: fonts.$serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 150%;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 150%;
}

h4 {
  font-family: fonts.$mono;
  letter-spacing: 0.8px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

h5 {
  font-family: fonts.$mono;
  font-size: 0.875rem;
  font-weight: 400;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
}

span {
  font-size: 0.875rem;
}

a {
  color: colors.$link;
  text-decoration: none;
  font-weight: 700;
  line-height: 150%;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}
