/* frontend/css/base.css */

/* =========================================
   FACIL IOT — BASE
========================================= */

/* RESET */

* {

  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

/* HTML */

html {

  scroll-behavior: smooth;
}

/* BODY */

body {

  background:
    var(--background);

  color:
    var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  text-rendering:
    optimizeLegibility;

  -webkit-font-smoothing:
    antialiased;

  overflow-x: hidden;
}

/* LINKS */

a {

  color: inherit;

  text-decoration: none;
}

/* BUTTONS */

button {

  border: none;

  background: none;

  font: inherit;
}

/* IMAGES */

img {

  display: block;

  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
