/** =========== **/
/**  NORMALIZE  **/
/** =========== **/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
html {
  line-height: 1.5;
  letter-spacing: 0.00938em;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

/* Make images, videos, svg responsive by default */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove default link styling */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove default list styles */
ul[class],
ol[class] {
  list-style: none;
}

Forms normalization input,
button,
textarea,
select {
  font: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
}

/* Buttons and links */
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Table defaults */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Accessibility helpers */
[hidden] {
  display: none !important;
}
