@font-face {
	font-family: 'tyro';
	src: url('../fonts/Tyro Sans.ttf');
}

@font-face {
	font-family: 'Berenika';
	src: url('../fonts/Berenika-Bold.ttf');
}

@font-face {
	font-family: 'something';
	src: url('../fonts/Something.ttf');
}

@font-face {
	font-family: 'raleway';
	src: url('../fonts/Raleway-VariableFont_wght.ttf');
}

* {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	overflow-x: hidden;
}
body {
	background-color: #000000;
	color: #ffffff;
}
	
a {
	text-decoration: none;
	color: #ffffff;
}

p {
	opacity: 100%;
}

#canvas-wrapper{
	position: absolute;
	width:60vw;
	height:60vw;
	top: 0;
	left: 300px;
	right: 0;
	bottom: 0;
	margin: auto;
}

#canvas1 {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
}

#canvas2 {
	position: absolute;
	width: 700px;
	height: 700px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: 2;
}
	
.main {
	display: block;
	width: calc(95vw - 330px);
	margin-left: 330px;
	margin-right: auto;
}
		
.navbar {
	position: fixed;
	margin-left: 20px;
	top: 0;
	width: 300px;
	height: 100vh;
	text-align: center;
	z-index: 4;
	overflow-y: hidden;
	
}

.headlink {
	display: block;
	position: fixed;
	padding-left: 20px;
	padding-right: 0;
	margin-left: 0;
	top: 0;
	width: 300px;
	height: 115px;
	z-index: 10;
	overflow-y: hidden;
}
	
.headtext {
	display: block;
	position: fixed;
	padding-left: 20px;
	padding-right: 0;
	margin-left: 0;
	top: 0;
	width: 300px;
	height: 115px;
	text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
	/*background-color: #000;*/
	z-index: 4;
	overflow-y: hidden;
	
}

.headtext h1 {
	z-index: 10;
	padding-top: 30px;
	line-height: 70px;
	font-family: 'something';
	font-size: 48px;
	padding-bottom: 10px;
}

.headtext h1::first-letter {
	font-size: 72px;
	vertical-align: -27%;
}

.topheader {
	z-index: 10;
}

.subheader {
	display: block;
	position: fixed;
	z-index: 10;
	top: 82px;
	margin-left: 174px;
	font-family: 'something';
	font-size: 20px;
	font-weight: normal;
}

.navbar ul {
	z-index: 8;
	margin-top: 25vh;
	height: 55vh;
	max-height: 500px;
	width: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	overflow-y: hidden;
	
}

.navbar li {
	flex: 1;
	list-style: none;
	font-family: 'tyro';
	font-size: 48px;
	overflow-y: hidden;
}

section {
	height: 100vh;
	font-family: 'raleway';
	font-size: 22px;
	font-variation-settings: "wght" 100;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.sword {
	display: none;
	position: fixed;
	margin-left: 45px;
	top: -180px;
	z-index: 4;
	opacity: 0.1;
}

table {
	height: 100vh;
	width: 100%;
}

td {
	text-align: center;
}

.rb {
	font-variation-settings: "wght" 400;
}

#expand {
	display: none;
	position: fixed;
	z-index: 8;
	top: 330px;
	left: 0;
	margin-left: -6px;
	font-family: 'something';
	font-size: 20px;
	font-weight: normal;
	text-align: center;
	background-color: #000;
	color: #fff;
	border: 1px solid white;
	height: 30px;
	width: 30px;
	padding-top: 3px;
	border-radius: 30%;
	transform: scaleY(3.0);
	-webkit-transform: scaleY(3.0);
	overflow-y: hidden;
}

@keyframes expand-sword {
	from { margin-left: -120px; }
	to { margin-left: calc(50vw - 124px); }
}

@keyframes retract-sword {
	0% { margin-left: calc(50vw - 124px); }
	100% { margin-left: -120px; }
}

@keyframes init-sword {
	0% { margin-left: calc(50vw - 124px); }
	50% { margin-left: calc(50vw - 124px); }
	100% { margin-left: -120px; }
}

.sword-expand {
	animation-name: expand-sword;
	animation-duration: 1s;
}

.sword-retract {
	animation-name: retract-sword;
	animation-duration: 1s;
}

.sword-init {
	animation-name: init-sword;
	animation-duration: 2s;
}

@keyframes drop-sword {
	0% { top: -1000px; }
	100% { top: -180px; }
}
.sword-drop {
	animation-name: drop-sword;
	animation-duration: 3s;
	/*animation-timing-function: cubic-bezier(1,0.4,0.2,1);*/
}

@keyframes expand-menu {
	from { margin-left: -300px; }
	to { margin-left: calc(50vw - 150px); }
}

@keyframes retract-menu {
	0% { margin-left: calc(50vw - 150px); }
	100% { margin-left: -300px; }
}

@keyframes init-menu {
	0% { margin-left: calc(50vw - 150px); }
	50% { margin-left: calc(50vw - 150px); }
	100% { margin-left: -300px; }
}

.menu-expand {
	animation-name: expand-menu;
	animation-duration: 1s;
}

.menu-retract {
	animation-name: retract-menu;
	animation-duration: 1s;
}

.menu-init {
	animation-name: init-menu;
	animation-duration: 2s;
}

@keyframes expand-opacity {
	from { opacity: 100%; }
	to { opacity: 10%; }
}

@keyframes retract-opacity {
	0% { opacity: 10%; }
	100% { opacity: 100%; }
}

@keyframes init-opacity {
	0% { opacity: 10%; }
	50% { opacity: 10%; }
	100% { opacity: 100%; }
}

.opacity-expand {
	animation-name: expand-opacity;
	animation-duration: 1s;
}

.opacity-retract {
	animation-name: retract-opacity;
	animation-duration: 1s;
}

.opacity-init {
	animation-name: init-opacity;
	animation-duration: 2s;
}
