/* =========================================================
   Sukanya Oosterse Massage Techniek
   Base Styles
========================================================= */

/* ======================================================
   Reset
====================================================== */

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

/* ======================================================
   Document
====================================================== */

html {
  min-height: 100%;
  background-color: var(--color-white);
}

body {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;

  background-color: var(--color-white);
  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

/* ======================================================
   Typography
====================================================== */

h1,
h2,
h3,
h4 {
  color: var(--color-green);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

p {
  max-width: 70ch;
}

strong {
  font-weight: 600;
}

address {
  font-style: normal;
}

/* ======================================================
   Interactive elements
====================================================== */

a,
button {
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* ======================================================
   Selection
====================================================== */

::selection {
  background-color: var(--color-gold);
  color: var(--color-white);
}

/* ======================================================
   Utility accessibility
====================================================== */

.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}

/* ======================================================
   Site wrapper
====================================================== */

.site {
  width: 100%;
  min-height: 100vh;
}