@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Didact+Gothic&display=swap');

*{
	box-sizing: border-box;
}
body{
	color: #fff;
	background-color: #000;
	margin: 0;
}
h1, h2{
	font-family: 'Dela Gothic One', Helvetica, sans-serif;
}
h1{
	font-size: 2rem;
}
h2{
	font-size: 2rem;
}
h3{
	font-family: 'Didact Gothic', Arial, serif;
	font-size: 1rem;
}
p{
	font-family: 'Didact Gothic', Arial, serif;
}
a, a:visited{
	color: inherit;
	text-decoration: none;
}
#contentwrap{
	display: grid;
	grid-template-columns: 1fr 0fr 2fr;
	height: 100vh;
	width: 100vw;
}
#contentwrap h1{
	margin: 4rem;

}
#buttonbar{
	width: 1px;
	position: relative;
	background-color: #fff;
}
#rightside{
	margin: 4rem;
	position: relative;
}
#mainscreen{
	position: absolute;
	bottom: 0;
	right: 0;
}
#story{	
	display: none;
	height: 100%;
	width: 100%;
}
#storytexts{
	position: absolute;
	bottom: 0;
}
#closebutton{
	background-color: transparent;
	border: none;
	cursor: pointer;
	position: absolute;
	right: 0;
}
video{
	z-index: -999;
	position: fixed;
	left: 0;
	top: 0;
	min-width: 100vw; 
	min-height: 100vh;
	object-fit: cover;
}
#videoOverlay{
	z-index: -998;
	position: fixed;
	left: 0;
	top: 0;
	min-width: 100vw; 
	min-height: 100vh;
	object-fit: cover;

	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}
#buttoncontainer{
	position: absolute;
	bottom: 0;
	right: -20px;
	z-index: 999;
	margin-bottom: 4rem;
}
#buttoncontainer button{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 37ch;
	margin-top: 2rem ;
	background-color: transparent;
	border: none;
	color: #fff;
	font-family: 'Didact Gothic', Arial, serif;
	font-size: 1rem;
	cursor: pointer;
	transition: .8s;
}
.dot{
	width: 30px;
	height: 30px;
	background-color: #fff;
	border-radius: 50%;
	margin-left: 1em;
	transition: .8s;
}


/* button states */

.current{
	text-shadow: 1px 1px 10px #00F5D4, -1px -1px 10px #00F5D4;
}
.dotcurrent{
	background-color: #00F5D4;
	box-shadow: 1px 1px 10px #00F5D4;
}

/* media queries */

@media screen and (max-width: 768px){
	#contentwrap{
		grid-template-columns: 1fr;

	}
	h1{
		font-size: 1.8rem;
		padding-top: 1.6rem;
	}
	h2{
		font-size: 1.2rem;
	}
	video{
		z-index: -999;
		position: fixed;
		left: -100%;
		top: 0;
		min-width: auto; 
		min-height: 100vh;
		object-fit: cover;
	}
	#contentwrap h1{
		margin: 2rem;
		margin-bottom: 0rem;

	}

	#closebutton{
		position: relative;
		float: right;
	}
	#rightside{
		margin: 2rem;
	}
	#buttonbar{
		width: 50%;
		position: relative;
		background-color: transparent;
	}
	#buttoncontainer button{
		margin-top: 1.2rem ;
	}

	span{
		display:none;
	}
}
@media screen and (max-width: 400px){
	h1{
		font-size: 1.3rem;
		padding-top: 1.6rem;
	}
	h2{
		font-size: 1rem;
	}
	#contentwrap h1{
		margin: 2rem;
	}
	h3, p{
		font-size: 0.8rem;
	}

}