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

/* Ensure [hidden] wins over component display:flex/grid */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--vt-font);
  color: var(--vt-text);
  background: var(--vt-bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body[data-shell="public"] {
  display: flex;
  flex-direction: column;
}

body[data-shell="public"] > main {
  flex: 1;
}

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

a {
  color: var(--vt-pink);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 1;
  color: #d63b5c;
}

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

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

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

h1, h2, h3, h4, h5, p {
  margin: 0;
}

svg {
  display: block;
  flex: none;
}

.vt-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.vt-scroll::-webkit-scrollbar-thumb {
  background: #D6C8D0;
  border-radius: 8px;
}

.container {
  width: min(100% - 32px, var(--vt-max));
  margin-inline: auto;
}

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