:root {
	--font-primary: 'Merienda', cursive;

	--color-white: #ffffff;
  --color-white-100: #f1f1f1;
  --color-gray: #898989;
	--color-black: #101010;

	--border-radius: 0.25rem;
	--header-shadow: 0rem 0.25rem 1rem -0.125rem rgb(0 0 0 / 30%);

  --shadow-inset: inset 0 0 0.5rem var(--color-gray);
  --shadow-outset: 0 0 0.5rem var(--color-gray);
}

body {
	margin: 0;
	overflow: overlay;
	font-family: var(--font-primary);
  background: var(--color-white-100);
}

body.noscroll {
	overflow-y: hidden;
}

body svg {
  overflow: visible;
}

br {
  display: none;
}

::-webkit-scrollbar {
  width: 0.5rem;
}

/* ::-webkit-scrollbar-track {
  background: var(--color-white);
} */

::-webkit-scrollbar-thumb {
  border: 0.125rem solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 5rem;
  background-color: var(--color-black);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-gray);
}

.close {
  display: none;
  position: absolute;
  top: -0.1875rem;
  right: -0.1875rem;
  padding: 0.5rem;
  cursor: pointer;
}

.close:hover svg{
  fill: var(--color-gray);
}

.close--preview {
  display: block;
  top: 0.25rem;
  right: 0.25rem;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  transform: translate(-50%,-50%);
}
.loader div {
  position: absolute;
  top: 2rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-gray);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.loader div:nth-child(1) {
  left: 0.5rem;
  animation: loader-one 0.6s infinite;
}
.loader div:nth-child(2) {
  left: 0.5rem;
  animation: loader-two 0.6s infinite;
}
.loader div:nth-child(3) {
  left: 2rem;
  animation: loader-two 0.6s infinite;
}
.loader div:nth-child(4) {
  left: 3.5rem;
  animation: loader-three 0.6s infinite;
}
@keyframes loader-one {0% {transform: scale(0);}100% {transform: scale(1);}}
@keyframes loader-two {0% {transform: translate(0, 0);}100% {transform: translate(1.5rem, 0);}}
@keyframes loader-three {0%{transform: scale(1);}100%{transform: scale(0);}}
