body {
	margin: 0;
	padding: 0;
	height: 120vh;
	background: #000;
	color: #fff;
	font-family: 'Courier New', Courier, monospace;
}

a {
	text-decoration: underline;
	color: inherit;
}

.glitch-container {
	text-align: center;
}

.glitch-text {
	font-size: 4rem;
	position: relative;
	color: #fff;
	animation: glitch 2s infinite;
}

.glitch-text:before,
.glitch-text:after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	overflow: hidden;
	clip: rect(0, 900px, 0, 0);
}

.glitch-text:before {
	left: 2px;
	text-shadow: -2px 0 red;
	animation: glitch-before 2s infinite;
}

.glitch-text:after {
	left: -2px;
	text-shadow: -2px 0 blue;
	animation: glitch-after 2s infinite;
}

.content {
	text-align: center;
	z-index: 1;
}

#joinButton {
	background-color: #000;
	color: #fff;
	border: 2px solid #fff;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 1.2rem;
	transition: background-color 0.3s, color 0.3s;
}

#joinButton:hover {
	background-color: #fff;
	color: #000;
}

@keyframes glitch {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translate(-2px, 2px);
	}
	40% {
		transform: translate(-2px, -2px);
	}
	60% {
		transform: translate(2px, 2px);
	}
	80% {
		transform: translate(2px, -2px);
	}
	100% {
		transform: translate(0);
	}
}

@keyframes glitch-before {
	0% {
		clip: rect(42px, 9999px, 44px, 0);
		transform: skew(0.3deg);
	}
	20% {
		clip: rect(15px, 9999px, 56px, 0);
		transform: skew(0.6deg);
	}
	40% {
		clip: rect(85px, 9999px, 140px, 0);
		transform: skew(0.3deg);
	}
	60% {
		clip: rect(53px, 9999px, 114px, 0);
		transform: skew(0.5deg);
	}
	80% {
		clip: rect(100px, 9999px, 24px, 0);
		transform: skew(0.6deg);
	}
	100% {
		clip: rect(42px, 9999px, 44px, 0);
		transform: skew(0.3deg);
	}
}

@keyframes glitch-after {
	0% {
		clip: rect(12px, 9999px, 76px, 0);
		transform: skew(0.2deg);
	}
	20% {
		clip: rect(85px, 9999px, 100px, 0);
		transform: skew(0.4deg);
	}
	40% {
		clip: rect(45px, 9999px, 78px, 0);
		transform: skew(0.2deg);
	}
	60% {
		clip: rect(70px, 9999px, 54px, 0);
		transform: skew(0.4deg);
	}
	80% {
		clip: rect(15px, 9999px, 90px, 0);
		transform: skew(0.3deg);
	}
	100% {
		clip: rect(12px, 9999px, 76px, 0);
		transform: skew(0.2deg);
	}
}

.github-mark {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
}

.github-mark img {
	width: 100%;
	height: 100%;
}

.coded-by-pianoman0 {
	font-family: 'IBM Plex Mono', monospace;
	display: inline-flex;
	padding: 8px 12px;
	align-items: center;
	color: black;
	text-decoration: none;
	background-color: rgb(255, 255, 255);
	border-radius: 6px;
	font-size: 12px;
	box-shadow: 0 1px 3px rgb(0 0 0 / 20%), 0 6px 13px rgb(0 0 0 / 20%);
	transition: all 0.2s ease-in-out;
	z-index: 1000;
}

.coded-by-pianoman0:hover {
	box-shadow: 0 1px 3px rgb(0 0 0 / 50%), 0 6px 13px rgb(0 0 0 / 40%);
}

#bookmarklet-form {
	margin: 20px auto;
	text-align: center;
}

#bookmarklet-code {
	width: 80%;
	padding: 10px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 1rem;
	margin-bottom: 10px;
}

#bookmarklet-form button {
	background-color: #000;
	color: #fff;
	border: 2px solid #fff;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 1.2rem;
	transition: background-color 0.3s, color 0.3s;
}

#bookmarklet-form button:hover {
	background-color: #fff;
	color: #000;
}

pre {
	padding: 10px;
}

#bookmarklet-tutorial {
	display: block;
	clear: both;
	width: 95%;
	margin-left: 1%;
}
