/* ============================
  CSS Reset
  Community Torah Project
============================= */

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

* {
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  background-color: #f5f5f5;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  max-width: 1920px;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  color: #444749;
  line-height: 1.3;
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  overflow-y: auto;
  margin-inline: auto;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: bold;
  font-family: "Gloock", serif;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
textarea,
select {
  border: none;
  outline: none;
}

fieldset {
  border: none;
}

legend {
  padding: 0;
}

abbr[title] {
  text-decoration: none;
  cursor: help;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

hr {
  border: none;
  border-top: 1px solid currentColor;
  margin: 0;
}

audio,
video {
  display: block;
}

iframe {
  border: none;
}

[hidden] {
  display: none !important;
}

.sr-only,
.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;
}

:focus-visible {
  outline: 2px solid #B4A2FC;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* *** END OF CODE *** */