* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	user-select: none;
}

body {
	font-family: cursive;
}

h1 {
	margin: 2rem;
}

b {
	text-decoration: underline;
}

h2 {
	margin: 1rem;
	text-align: center;
}

h3 {
	margin: 10px 0;
}

#print {
	position: absolute;
	top: 15%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2rem;
}

img {
	width: 100%;
	height: 100%;
}

.con {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.con p {
	margin-top: 1rem;
}

.con p a {
	color: black;
}

.con p a:hover {
	text-decoration: underline;
}

#btn {
	padding: 1rem;
	outline: none;
	border: none;
	border-radius: 10px;
	transition: all 0.2s;
	font-size: 1em;
	letter-spacing: 1px;
	cursor: pointer;
}

#btn:hover,
#show:hover,
#swap2:hover,
#sub:hover {
	box-shadow: 5px 12px 13px 0 black;
}

.rules {
	margin-top: 1rem;
	text-align: center;
}

.rules ul {
	list-style: none;
	font-size: 1em;
}

.rules ul li {
	margin: 5px;
}

#con1,
#con2,
#con3 {
	width: 55%;
	position: absolute;
	top: 56%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: center;
	align-items: center;
}

.row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 3rem;
	margin: 1rem 0;
}

#show,
#swap2,
#sub {
	width: 25%;
	padding: 1rem;
	outline: none;
	border: none;
	border-radius: 10px;
	transition: all 0.2s;
	font-size: 1em;
	letter-spacing: 1px;
	text-align: center;
	margin-top: 5px;
	cursor: pointer;
}

label {
	margin-top: 1rem;
	text-align: center;
}

input {
	padding: 5px;
	font-size: 1rem;
	text-align: center;
	margin: 10px 0;
	outline: none;
}

select {
	padding: 5px;
	text-align: center;
	outline: none;
}

#con3 .row .col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#print {
	text-align: center;
}