body,
.home,
.docs {
  height: 100%;
}

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  height: 100%;

  overflow: hidden;
  color-scheme: light dark;
  color: var(--cwhite);
  background-color: var(--cgrey);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;

  --cblack: #242424;
  --cwhite: #eee7e7;
  --cdarkgrey: #272727;
  --cgrey: #2c2c2c;
  --clightgrey: #3b3b3b;
  --ccyan: #0fa3b1;
  --cyellow: #f3a712;
  --cred: #ba2d0b;
  --cviolet: #861657;
}

:root::after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  content: "";
  background-image: radial-gradient(transparent 12%, var(--cblack) 0);
  background-size: 16px 16px;
  z-index: -1;
}

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

@media (min-width: 750px) {
  .home {
    margin: 0 3rem;
  }
}

@media (min-width: 900px) {
  .home {
    margin: 0 13%;
  }
}

@media (min-width: 1200px) {
  .home {
    margin: 0 23%;
  }
}

.backdrop {
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  opacity: 0.5;
  cursor: pointer;
}

.hidden {
  display: none;
}

.modal {
  z-index: 1100;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--cdarkgrey);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 0 1rem 0.1rem var(--cblack);
  cursor: default;
}

.modal * {
  cursor: default;
}

.modal button {
  cursor: pointer;
  padding: 8px 12px;
  background: var(--cwhite);
  color: var(--cblack);
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  border: none;
  margin-top: 1rem;
}

::selection {
  background: var(--cwhite);
  color: var(--cdarkgrey);
}

.tag {
  margin-right: 8px;
  display: flex;
  font-size: 0.8rem;
  font-weight: normal;
  background-color: var(--cgrey);
  border-radius: 20px;
  padding: 1px 10px;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .tag {
    display: none;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}