* {
	margin: 0;
	padding: 0;
}

html,
body {
	margin: 0;
	padding: 0;
	background-color: #000;
	height: 100%;
	width: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

.main-wrapper {
	height: 100%;
	width: 100%;
}

.buttons {
	z-index: 2;
	position: absolute;
	bottom: 5%;
	left: 0;
	width: 100%;
	justify-content: center;
	display: flex;
	gap: 20px;
	opacity: 1;
	transition: all 0.3s ease;
}

.buttons.hide {
	opacity: 0;
	z-index: 0;
}

.fa {
	color: #AAA;
	background: transparent;
	text-decoration: none;
	font-size: 40px;
}

.fa:hover {
	color: #EEE;
}

.card {
	counter-reset: hex-counter -1;
	z-index: 2;
	color: white;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 0;
	padding: 20px;
	padding-left: 30px;
	box-shadow: 5px 5px rgba(0, 0, 0, 0.2);
	opacity: 1;
	transition: all 0.3s ease;
	font-size: 1.2rem;
}

.card.hide {
	opacity: 0;
	z-index: 0;
}


.card h1 {
	font-size: 1.8rem;
}


.card ol {
	list-style-type: none;
}

.card ol li {
	counter-increment: hex-counter;
}

.card li::before {
	content: "0x" counter(hex-counter) " ";
	font-family: monospace;
	font-size: 1rem;
}

.card h1::after {
	content: "";
	margin-top: 5px;
	margin-bottom: 5px;
	width: 100%;
	height: 2px;
	background-color: #A0E;
	display: block;
}

.card:hover {
	background-color: rgba(0, 0, 0, 1);
}

.cards {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	justify-content: center;
	gap: 20px;
	max-width: 100%;
}

.cards .card {
	translate: -93%;
}

.cards .card:hover {
	translate: calc(-95% + 95%);
}


#eeliremesite-card {
	position: absolute;
	top: 2%;
	left: -0.5%;
}

.tooltip {
	font-size: 0.6em;
	vertical-align: super;
	cursor: help;
	position: relative;
	padding-left: 4px;
	color: rgba(250, 0, 250, 0.4);
}

.tooltip::after {
	content: attr(data-tip);
	position: absolute;
	left: 0;
	background: #111;
	color: #fff;
	padding: 6px 8px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
	transform-origin: bottom left;
	transform: translateX(5%) translateY(4px);
	/* slide animation */
}

.tooltip:hover::after {
	opacity: 1;
}

.backdrop {
	position: fixed;
	inset: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 1;
	background-color: transparent;
	transition: background 0.5s ease;
}

.backdrop.show {
	background-color: rgba(0, 0, 0, 0.5);
}

.card.hide .backdrop {
	background-color: transparent;
}

.card a {
	text-decoration: none;
	color: rgba(250, 0, 250, 0.7);
}

.card a:hover {
	color: rgba(250, 0, 250, 0.9);
}

.monospace {
	font-family: monospace;
	background-color: rgba(40, 40, 40, 0.6);
	border-radius: 10px;
	padding: 2px 7px;
	font-size: 0.8em
}

#age.clickable:hover {
	cursor: pointer;
}

@media (width <=1000px) or (height <=700px) {
	#eeliremesite-card {
		right: 0.5%;
		left: unset;
	}
}

@media (width <=800px) {
	.card:hover {
		z-index: 11;
	}

	.cards .card:nth-child(1) {
		z-index: 10;
	}

	.cards .card:nth-child(3) {
		transform: translateY(-40%);
		z-index: 9;
	}

	.cards .card:nth-child(5) {
		transform: translateY(-80%);
		z-index: 9;
	}

	.cards {
		max-width: unset;
		width: 100%;
		justify-content: center;
		height: 100%;
	}

	.card {
		background-color: rgba(1, 1, 1, 1);
		box-shadow: none;
		font-size: 1rem;
	}

}

