@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
	margin: 40px;
	font-family: 'Roboto', sans-serif;
	background-color: rgb(31, 31, 31);
	background-image: url('images/background_milkyway.jpg'); /* From https://www.wallpaperflare.com/blue-and-black-milkyway-galaxy-stars-milky-way-dark-night-wallpaper-zmuov/download/2732x1536 */
}

.grid {
	display: grid;
	grid-gap: 10px;
	grid-template-areas: "header" "nav" "content" "footer";
	color: rgb(68, 68, 68);
}

@media only screen and (min-width: 700px) {
	.grid {
		grid-template-areas: "header header  header"
							 "nav content content"
							 "footer  footer  footer";
	}
}

.grid > * {
	background-color: rgb(68, 68, 68);
	color: rgb(255, 255, 255);
	border-radius: 5px;
	padding: 10px;
	font-size: 150%;
	box-shadow: 3px 3px 5px 5px rgb(0, 0, 0, 0.3);
}

header {
	grid-area: header;
	background-color: rgb(153, 153, 153, 0.8);
	text-shadow: 2px 2px 4px #ccc;
}

footer {
	grid-area: footer;
	background-color: rgb(153, 153, 153, 0.8);
	font-size: 1em;
}

nav {
	grid-area: nav;
	text-align: center;
	opacity: 0.7;
}

nav > div {
    margin: 0.5em;
}

nav > div:hover {
    background-color: rgb(127, 127, 127, 0.5);
}


#site-logo {
    height: 3em;
}

#main-box {
	grid-area: content;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.main-item {
	position: relative;
	text-align: center;
	width: 100%;
}

.main-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.main-logo div {
    width: 100%;
    text-align: center;
}

.main-logo img {
	width: 40%;
	min-width: 300px;
	filter: drop-shadow(3px 3px 5px #111);
	padding: 10px;
}

.main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

[class*="highlight-box"] {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 10px;
	height: auto;
	visibility: visible;
	opacity: 1;
	max-height: 1000px;
	/*filter: drop-shadow(0px 0px 0px white);*/
	background: radial-gradient(rgba(0,0,0,0), rgba(0,0,0,0));
	transition: visibility 0s, opacity 3s, max-height 3s, filter 3s, background 3s;
}

.highlight-box-hidden {
	background: radial-gradient(white, rgba(0,0,0,0));
}

.highlight-box-hidden, .highlight-item-hidden {
	visibility: hidden;
	opacity: 1;
	max-height: 0px;
	padding: 0px;
	/*filter: drop-shadow(0px 0px 1000px white);*/
	transition: visibility 0s, opacity 3s, max-height 3s, filter 3s, background 3s;
}

.highlight-item {
	color: #202020;
	border-radius: 5px;
	margin: 10px;
	padding: 10px;
	color: rgb(223, 223, 223);
}

.character-frame {
	border-radius: 50%;
	width: 128px;
	height: 128px;
	overflow: hidden;
	box-sizing: border-box;
	transition: filter 3s;
	filter: grayscale(40%) brightness(80%);
	box-shadow: 3px 3px 5px 5px rgb(15, 15, 15, 0.3);
	transition: transform 1s;
	transform: 'rotateY(0deg)';
	transform-style: preserve-3d;
	transform-origin: center center;
}

.character-frame img {
	object-fit: cover;
	width: 128px;
	height: 128px;
}

.character-frame:hover {
	filter: grayscale(0%) brightness(100%) drop-shadow(0px 0px 40px lightblue);
}

#info-box {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	min-height: 400px;
	max-height: 85%;
	opacity: 0;
	transition: opacity 1s;
	z-index: -1;
	padding: 1em;
	overflow: auto;
	background: rgb(68, 68, 68, 0.5);
	backdrop-filter: blur(10px);
}

#info-box h1 {
	margin-top: 0;
}

#info-box img {
    float: right;
    max-width: 35%;
    margin-left: 1em;
}

a {
	color: inherit;
	text-decoration: inherit;
}

a img {
	transition: filter 2s;
}

.character_link_text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -2;
}

.production_text {
	position: absolute;
	top: 0%;
	left: 50%;
	transform: translate(-50%, 0%);
	z-index: -2;	
}

section {
    max-width: 95%;
}
