/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

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

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#app {
  isolation: isolate;
}

/* Local additions */
button {
  /* Remove border, bg, and font-weight */
  background: initial;
  border: initial;
  font-weight: initial;
  text-align: initial;
  padding: initial;
  color: inherit;
  cursor: pointer;
}

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

/* Alpine hide before alpine has loaded */
[x-cloak] { display: none !important; }