/* font import */

@font-face {
  font-family: Alagard; 
  src: url(../font/alagard.ttf);
}

@font-face {
  font-family: OldNewspaper; 
  src: url(../font/OldNewspaperTypes.ttf);
}

/* text */

#navbar a {
	color: white;
	margin: 0;
	text-decoration: none;
	font-family: Alagard;
	font-size: 2em;
}

#navbar a:hover {
	color: #948765;
	margin: 0;
	text-decoration: none;
	font-family: Alagard;
	font-size: 2em;
}

h1 {
	font-family: OldNewspaper;
	color: white;
	text-align: center;
	margin: 0;
}

.collapsiblecontent p {
	font-family: OldNewspaper;
}

/* div */

#navbar {
	display: flex;
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: black;
	width: 100%;
	height: 4%;
	justify-content: space-evenly;
	align-items: center;
	position: sticky;
	top: 0;
}

.buttonarray {
	width: 10%;
	height: 96%;
	float: left;
	background-color: blue;
}

.tablink {
	background-color: #555;
	background-image: url('../media/papertexture.jpg'); 
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	color: black;
	font-family: OldNewspaper;
	font-size: 2em;
	border: none;
	outline: none;
	cursor: pointer;
	width: 100%;
	height: 20%;
}

.tablink:hover {
	background-image: url('../media/papertexturedark.jpg'); 
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	color: red;
}

.tabcontent {
	color: black;
	display: none;
	height: 96%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	margin: 0;
}

.collapsible {
	background-color: #eee;
	color: #444;
	cursor: pointer;
	padding: 0;
	margin: 0;
	width: 100%;
	min-height: 2em;
	border: none;
	text-align: center;
	outline: none;
	font-size: 1em;
	font-family: OldNewspaper;
}

.collapsibleactive, .collapsible:hover {
  background-color: #ccc;
}

.collapsiblecontent {
	padding: 0;
	display: none;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: white;
	color: black;
	width: 100%;
	height: 150%;
}

.gallery {
	width: 80%;
	height: 90%;
	margin: auto;
	margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	overflow-x: hidden;
	overflow-y: auto;
	justify-content: space-evenly;
	align-items: center;
}

.book {
	width: 15%;
	height: 40%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	gap: 5px;
}

.movie {
	width: 15%;
	height: 40%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	gap: 5px;
}

/* img */

.book img {
	width: 100%;
	height: 80%;
	object-fit: contain;
}

.movie img {
	width: 100%;
	height: 80%;
	object-fit: contain;
}

/* misc */

html {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	height: 100%;
	padding: 0;
	margin: 0;
	background-image: url('../media/medialistbg.png'); 
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

.checked {
  color: orange;
}