body#p1 {
	margin: 0;
	background-image: url(img/bg2.jpg);
	background-repeat: no-repeat;
	background-position: 50% 44%;
	background-size: cover;
}

body#p2 {
	margin: 0;
	background-repeat: no-repeat;
	background-image: url(img/bg1.jpg);
}

body#p2a {
	margin: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(img/house.jpg);
}

body#p3 {
	margin: 0;
}

body#sp {
	margin: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 44%;
	background-image: url(img/bg2.jpg);
}

hr {
	margin-top: 20px;
	margin-bottom: 20px;
	color: darkblue;
}

p {
	width: 80%;
	font-size: 18px;
	line-height: 30px;
}

.cont {
	width: 100%;
	height: 100%;
	display: grid;
}

.under, .top{
	grid-column: 1;
	grid-row: 1;
	z-index: 2;
}

.top {
	width: 100%;
	display: flex;
	flex-direction: column;
	pointer-events: none;
}

.col {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.char {
	aspect-ratio: 3 / 4;
	width: 70%;
	object-fit: cover;
	object-position: center;
	margin: 30px;
	border: 4px outset gold;
}

img#gif1 {
	width: 20%;
	margin-top: 130px;
	margin-right: 10%;
}

img#gif2 {
	width: 18%;
	margin-left: 9%;
	margin-bottom: 60px;
}

img#gif3 {
  width: 50%;
}

img#gif4 {
  width: 20%;
  margin-left: 12%;
  margin-bottom: 1600px;
}

img#hero1 {
	width: 100%;
	height: 400px;
	object-fit: cover;

}

img.photo {
	aspect-ratio: 1;
	max-width: 3vw;
	min-width: 14vw;
	object-fit: cover;
	border: 4px outset gold;
}

video#v1 {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
}

div#left {
	align-items: flex-start;
	justify-content: flex-end;
}

div#right {
	align-items: flex-end;
	justify-content: flex-start;
}

/*page css*/
div#entry {
	width: 100%;
	padding-top: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

div#head {
	width: 55%;
	height: 200px;
	padding: 25px 30px 50px 30px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

div#navbar {
	width: 55%;
	height: 40px;
	padding: 30px;
	margin-left: auto;
	margin-right: auto;
	column-gap: 40px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	background-color: darkblue;
	box-shadow: 0px 0px 65px 7px rgba(0,0,0,0.7);
	border-top: 7px ridge white;
	border-left: 7px ridge white;
	border-right: 7px ridge white;
} 

div#main {
	width: 55%;
	padding: 30px 30px 30px 30px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	row-gap: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #FFFFFF;
	box-shadow: 0px 0px 65px 7px rgba(0,0,0,0.7);
	border-left: 7px ridge darkblue;
	border-right: 7px ridge darkblue;
	border-bottom: 7px ridge darkblue;
}

div#navbar2 {
	width: 65%;
	height: 40px;
	padding: 30px;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	column-gap: 40px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	background-color: darkblue;
	box-shadow: 0px 0px 65px 7px rgba(0,0,0,0.7);
	border-top: 7px ridge white;
	border-left: 7px ridge white;
	border-right: 7px ridge white;
} 

div#main2 {
	width: 65%;
	padding: 30px 30px 30px 30px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	row-gap: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	background-color: black;
	box-shadow: 0px 0px 65px 7px rgba(0,0,0,0.7);
	border-left: 7px ridge white;
	border-right: 7px ridge white;
	border-bottom: 7px ridge white;
}

div#charasp {
	width: 65%;
	padding: 30px 30px 30px 30px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	row-gap: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	background-color: #FFFFFF;
	box-shadow: 0px 0px 65px 7px rgba(0,0,0,0.7);
	border-left: 7px ridge darkblue;
	border-right: 7px ridge darkblue;
	border-bottom: 7px ridge darkblue;
}

div.person {
	width: 25%;
	text-align: center;
	row-gap: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

div#staff {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	column-gap: 40px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
}

.gal {
	aspect-ratio: 1;
	width: 25vw;
	object-fit: cover;
	border: 4px outset gold;
}

#gallery {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	column-gap: 8px;
	row-gap: 8px;
}

div#footer {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	column-gap: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: "DM Serif Text";
	color: darkblue;
}

/*character selector stuff*/
div#house {
	background-color: #3B3B3B;
	display: flex;
	position: relative;
	width: 100%;
	height: 70vh;
	max-width: 967px;
	max-height: 547px;
	border: solid 15px #000000;
}

img#under {
	float: left;
	width: 100%;
	max-width: 967px;
	max-height: 547px;
	object-fit: cover;
}

svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 967px;
	max-height: 547px;
	height: 70vh;
}

rect {
	width: 108px;
	height: 220px;
	position: relative;
	z-index: 9;
	fill: rgba(255, 255, 255, 0.0);
}

/*text style*/
span.he1 {
	font-size: 46px;
	font-family: "DM Serif Text";
	margin-top: 10px;
	margin-bottom: 10px;
	text-shadow: 0 0 6px yellow;
}

span.name {
	color: darkblue;
	font-size: 26px;
	font-family: "DM Serif Text";
}

span.role {
	color: #3B3B3B;
	font-size: 20px;
	font-family: "DM Serif Text";
}

a#sphe {
	color: black;
	font-size: 50px;
	font-family: "DM Serif Text";
	margin-top: 10px;
	margin-bottom: 10px;
	text-shadow: 0 0 6px black;
	text-decoration: none;
}

a#sphe:hover {
	color: yellow;
}

a#sptex {
	color: #FFFFFF;
	font-size: 16px;
	font-family: "DM Serif Text";
	margin-top: 10px;
	margin-bottom: 10px;
	text-decoration: none;
}

a.navbt {
	padding: 10px;
	color: #FFFFFF;
	font-size: clamp(1em, 22px, 1.4vw);
	font-family: "DM Serif Text";
	text-shadow: 0 0 2px yellow;
	text-decoration: none;
}

a.navbt:hover {
	color: yellow;
}