/* ==========================================================================
   Base & Resets - BONBON
   ========================================================================== */

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

html {
  font-size: 17px;
  scroll-behavior: initial;
  background-color: var(--clr-bg);
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Selection */
::selection {
  background-color: var(--clr-strawberry);
  color: #FFF;
}

/* Scrollbar - Candy Cane Tint */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--clr-bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-strawberry);
  border-radius: 10px;
  border: 3px solid var(--clr-bg-alt);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-grape);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  max-width: 55ch;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
