* {
	margin: 0;
	padding: 0;
	font-size: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	/* cursor: none; */
}
body {
	padding-top: 1rem;
	background-color: rgb(215, 215, 215);
}

#canvas {
	position: relative;
	margin: 0 auto;
	border-radius: 30px;
}
table {
	background-color: white;
	border-collapse: collapse;
}

/* CURSOR */
/* .cursorDot{
    position: absolute;
    width: .65rem;
    height: .65rem;
    background-color: black;
    border-radius: 50%;
    z-index: 9;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
*/
/* .cursor{
    position: absolute;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    border: 4px solid black;
    pointer-events: none;
    z-index: 10;
    transition: all .1s ease;
    transform: translate(-50%, -50%);
    animation: cursor-pulse 1s infinite;
}  */

/* .matrixCursor{
    border-radius: 0;
    border: 0.5px solid gray;
    background-color: rgba(255, 255, 255, 0.5);
    animation: none;
} */

/* BLOCKS */
.block {
	font-size: 1rem;
	color: black;
	background-color: white;
	text-align: center;
	border: 0.01px solid rgba(31, 31, 31, 0.2);
}

/* CONTROLS */
.controls {
	position: absolute;
	bottom: 0;
	padding-bottom: 10px;
	/* border-radius: .8rem .8rem 0 0;  */
	width: 100%;
	display: flex;
	justify-content: center;
	/* background-color: rgb(22, 68, 87); */
}

.start,
.matrix-btn,
.reset {
	cursor: pointer;
	padding: 0.8rem;
	font-size: 1.6rem;
	border: none;
	font-weight: 600;
	color: white;
	background-color: rgb(61, 219, 133);
	border-radius: 6px;
	box-shadow: 0 5px 5px rgb(160, 160, 160);
	margin-top: 2.5rem;
	margin-left: 0.5rem;
	transition: 0.2s;
}
.start:hover,
.matrix-btn:hover,
.reset:hover {
	transform: translateY(-3px);
	box-shadow: 0 1rem 1.5rem rgb(177, 177, 177);
}
.start:focus,
.matrix-btn:focus,
.reset:focus {
	outline: none;
}
.start:active,
.matrix-btn:active,
.reset:active {
	transform: translateY(2px);
	box-shadow: 0 5px 5px rgb(160, 160, 160);
}
.start {
	background-color: rgb(67, 182, 111);
}
.reset,
.matrix-btn {
	background-color: rgb(66, 130, 242);
}
p {
	font-size: 1.5rem;
}
#rows,
#columns,
.select {
	padding: 0.5rem;
	width: 6.5rem;
	text-align: start;
	border-radius: 6px;
	border: none;
	border: 5px solid black;
	font-size: 1.5rem;
	margin-left: 1rem;
}
.select {
	width: fit-content;
	font-size: 1.5rem;
}
option {
	font-size: 1.5rem;
}

/* PINS */
.exit,
.home {
	position: relative;
	transition: 0.3s;
	z-index: 5;
}
.exit::after {
	content: "";
	position: absolute;
	width: 2rem;
	height: 2rem;
	background-color: rgb(226, 81, 65);
	border-radius: 20rem 20rem 20rem 0;
	border: 0.1px solid rgb(150, 150, 150);
	transform: translate(-0.8rem, -1.5rem) rotate(-45deg);
	top: 0.5rem;
	left: 0.5rem;
	box-shadow: 0px 0px 10px rgba(150, 150, 150, 0.5);
}
.exit:hover {
	transform: translateY(-0.5rem);
	cursor: pointer;
}
.exit:active {
	transform: translateY(0px);
}
.home::after {
	content: "";
	position: absolute;
	width: 2.2rem;
	height: 2.2rem;
	border: 0.1px solid rgb(150, 150, 150);
	background-color: rgb(247, 172, 79);
	border-radius: 20rem;
	transform: translate(-0.8rem, -0.7rem) rotate(-45deg);
	top: 0.5rem;
	left: 0.5rem;
	box-shadow: 0px 0px 10px rgba(150, 150, 150, 0.5);
}
.exit:hover,
.home:hover {
	transform: scale(1.2);
	cursor: pointer;
}
.exit:active,
.home:active {
	transform: translateY(0px);
}

@media (max-width: 600px) {
	.cursor,
	.cursorDot,
	.cursorBlur,
	.matrixCursor {
		visibility: hidden;
	}

	.home::after,
	.exit::after {
		width: 1.5rem;
		height: 1.5rem;
	}
}
