body, html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  box-sizing: border-box;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  height: 100%;
  font-size: var(--font-size-regular);
  line-height: var(--font-line-height-regular);
  font-weight: var(--font-weight-light);
  color: var(--color-black);
  font-family: var(--font-family-sans-serif);
  background-color: #ffffff;
}

body {
  position: relative;
}

html.noscroll {
  overflow: hidden;
}

body.noscroll {
  overflow: hidden;
}

*, *:before, *:after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

a {
  color: inherit;

  &:focus, &:hover {
    text-decoration: none;
  }
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Sticky footer */
body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

.grecaptcha-badge {
  visibility: hidden !important
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 5px center;
    cursor: pointer;
    padding-right:20px;
}

svg {
    display: block;
}

/* Keyboard focus: dark ring with a white halo, so it stays visible on every background */
:focus-visible {
  outline: 3px solid var(--color-black);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--color-white);
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000000;
  padding: 12px 20px;
  background-color: var(--color-white);
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
  transform: translateY(-200%);

  &:focus {
    transform: none;
  }
}

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