html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	color: #333;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Comic Neue', sans-serif;
	overflow: hidden;
	display: flex;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.884), rgba(255, 255, 255, 0.137)), /* fade overlay */
		url('./pattern.png');
	background-blend-mode: multiply;
	background-size: 100px;
	background-repeat: repeat;
}


*{
	-webkit-tap-highlight-color: transparent; /* Chrome, Safari, Edge */
	-moz-tap-highlight-color: transparent;    /* Firefox (not widely used) */
	outline: none;                             /* removes focus outline on tap */
	user-select: none;                         /* optional: prevent selection on long press */
	touch-action: manipulation;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	-webkit-padding: 0.4em 0;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
	-webkit-tap-highlight-color: transparent; /* Chrome, Safari, Edge */
    -moz-tap-highlight-color: transparent;    /* Firefox (not widely used) */
    outline: none;                             /* removes focus outline on tap */
    user-select: none;                         /* optional: prevent selection on long press */
    touch-action: manipulation;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

/* GLOBAL SCROLLBAR STYLE */
html {
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent; /* or use a color like #f5f5f5 */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #aaa, #666);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #888, #444);
}
