@import '../global.css';

body {
	background: #8a9a87;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

main {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

.home, .work {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;

	span {
		padding: 0 1ch;
	}
}
.home {
	left: 10px;
	background: #e8dfcc;
	top: calc(50dvh - 40px);
	/*width: 40px;*/
	height: 40px;
}
.work {
	right: 10px;
	background: #5c77a0;
	top: calc(50dvh - 80px);
	height: 80px;
}

.path {
	position: absolute;
	height: 50px;
	width: 100vw;
	top: calc(50dvh);
	
	/* https://stripesgenerator.com/  */
	background-image: linear-gradient(90deg, #cccccc 48.08%, #aaa 48.08%, #aaa 50%, #cccccc 50%, #cccccc 98.08%, #aaa 98.08%, #aaa 100%);
	background-size: 104.00px 104.00px;
}

.start {
	position: absolute;
	left: 9px;
	top: calc(50%);
	font-size: 0.8rem;
	opacity: 1;
	transition: opacity 300ms;
	cursor: pointer;
	background: #cccccc;

	span {
		-webkit-tap-highlight-color: transparent;
		-webkit-user-select: none; /* Safari */
		-ms-user-select: none; /* IE 10 and IE 11 */
		user-select: none; /* Standard syntax */
	}

}

h1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0 1ch;
	text-align: center;
	opacity: 1;
	transition: opacity 300ms;
}

canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

a.linkback {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px;
  font-size: 1rem;
  z-index: 3;
  cursor: pointer;
}
a.linkback:hover {
  text-decoration-style: double;
}