:root {
	--color: #000;
	--backc: #fff;
	--themc: #8265A4;
	--link: #8265D8;
}

@media only screen and (prefers-color-scheme: dark) {
	:root {
	    --color: #fff;
	    --backc: #222;
	    --themc: #8265A4;
	    --link: #8265D8;
	}
}

@font-face {
    font-family: "Symbola";
    src: url("Symbola.ttf");
    font-display: swap;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Symbola, monospace;
	color: var(--color);
	background: var(--backc);
	margin: 0;
	font-size: 1.1em ;
}

input {
	font-family: inherit;
	/* font-family: "Roboto Mono",  monospace; */
	color: var(--color);
	background: var(--elev);
	border-width: 3px;
	border-color: var(--color);
	padding: 5px;
}

* {

	border-radius: 0;
}

main {
	margin: 0 auto;

}

section {
	border-width: 4px;
	border-color: black;
	border-style: solid;
	padding: 16px;
	margin: 4px;
}

h1, h2, h3, h4, h5 {
    text-align: left;
    font-family: serif;
}

section h2 { margin-top: 0; }

pre {
	font-weight: 700;
}

header {
	text-align: center;
	background-color: #8265A4;
	padding: 10px;
	margin-bottom: 10px;
}

::selection {
	background: var(--themc);
	color: var(--backc);
	border: 1px solid var(--color); 
}

a:visited { color: var(--color); text-decoration: underline; }
a:hover { color: #97689F text-decoration: underline; }

nav a {
	text-decoration: none;
	border-width: 3px;
	border-color: black;
	border-style: outset;
	background-color: lightgrey;
	padding: 0.2em;
}

/* you can pet the cat! */

.pettable {
	transition: 2s;
	transition-timing-function: ease-out;
	transform-origin: left;
	cursor: grab;
}

/*.pettable:hover {
	transform: scaleX(.26);
}
*/
pettable:hover::before {
	content: "    mrrr";
	position: fixed;
	font-size: xx-small;
	right: 0.2em;
	text-align: center;
	opacity: 0;
	transform: 2s opacity;
} 
.pettable:hover {
    animation: ilovepuppies 5s infinite;
}

@keyframes ilovepuppies	 {
/*    	0% {transform:scale(1.0);}
	50% {transform:scale(1.1);} 
	100%{transform:scale(1.0);}*/
    17%{color: lightblue;}
    33%{color: pink;}
    49%{color: white;}
    66%{color: pink;}
    83%{color: lightblue;}
}
/*.pettable:hover {
    background-image: linear-gradient(to top, violet, indigo, blue, green, yellow, orange, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 2s;
  opacity: 0;
  transform: 2s opacity;
}*/
/* end of cat petting code */

table, th, td {
  border: 1px solid var(--color);
}

#tenhand-ascii {
	font-size: small;
	line-height: 1;
	font-weight: bolder;
	margin: 0 auto;
}

#tenhand-ascii td {
	text-align: center;
	padding: 0 0.8em;
}

#tenhand-ascii pre {
	text-align: initial;
}
