body {
	font-family: MSCambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-size: 0.875rem;
	background-image: url('background.png');
	background-size: cover;
	background-repeat: repeat;
	background-size: 256px;
	background-position: top left;
	color: #2a2f49;
}

main {
	display: grid;
	grid-template-columns: 0.85fr 3fr 1fr;
	gap: 0.5rem;
	max-width: 888px;
	margin: 2rem auto;
	background-color: whitesmoke;
	border: 10px solid transparent;
	border-image: url(whitesmokelace.png) 16 round;
	border-image-outset: 9px;
}

header,section,.list {
	padding: 0.125rem 0.5rem;
	border: 1px solid lightgrey;
	text-align: justify;
	font-family: MSCambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-size: 0.875rem;
}

section {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
}

ul {
	margin: 1rem 0rem;
}

li {
	padding: 0.35rem 0.5rem;
}

a {
	text-decoration: none;
	color: #2a2f49;
}

h1,h2,h3,h4,h5,h6 {
	line-height: 1rem;
	font-size: 1.25rem;
	margin-top: 1rem;
	margin-bottom: 0;
}

header span {
	margin: 1rem 0rem;
	display: block;
	font-size: 0.875rem;
	line-height: 1rem;
}

section div span {
	margin: 1rem 0rem;
	display: block;
	font-size: 0.875rem;
	line-height: 1rem;
}

footer {
	grid-column: 1 / -1;
	border: 1px solid lightgrey;
	text-align: center;
	padding: 1rem;
}

nav {
	display: flex;
	flex-direction: column;
	width: 100%;
}

nav a,#twitter {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.125rem 0.5rem;
	border: 1px solid lightgrey;
	transition: background-color 0.3s ease;
}

nav span {
	font-size: 0.875rem;
	line-height: 1rem;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

nav a:hover {
	text-decoration: none;
	transition: all 0.4s;
	background-color: lightgrey;
	color: #2a2f49;
}

nav a img {
	object-fit: contain;
	height: 1.2rem;
	width: 4rem;
}

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0rem;
}

table th,table td {
  padding: 0.75rem;
  border: 1px solid #ccc;
  text-align: left;
}

iframe {
	width: 100%;
	height: 30rem;
}

video {
		width: 100%;
	}

.information,.scrollable_information {
	padding: 1rem 0.5rem;
	border: 1px solid lightgrey;
	transition: background-color 0.3s ease;
	line-height:1.1rem;
}


.scrollable_information {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 10rem;
}

.information img {
	width: 100%;
	padding: 1rem 0rem;
}

.information span {
	width: 100%;
	padding: 1rem 0rem;
	font-size: 0.875rem;
}

.title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
	padding-left: 0.5rem;
	transition: background-color 0.3s ease;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 11%, rgba(214, 214, 214, 1) 50%, rgba(196, 196, 196, 1) 51%, rgba(10, 10, 10, 0.1) 100%);
	border-top: 1px solid lightgrey;
	border-bottom: 3px double lightgrey;
	border-left: 1px solid lightgrey;
	border-right: 1px solid lightgrey;
}

.title img {
	object-fit: contain;
	width: 4rem;
}

.nav-toggle {
	font-family: MSCambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-size: 0.875rem;
	display: none;
	background: none;
	border: none;
	color: #2a2f49;
	margin: 0rem;
}

.nav-menu {
	font-family: MSCambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-size: 0.875rem;
	display: flex;
}

.list {
	margin: 1rem 0rem;
}

.inbox {
	width: 99%;
	height: 10rem;
	resize: none;
}

#status,#reviews,#updates {
	font-size: 1rem;
}

#about_me_image {
	float: left;
	width: 70%;
	padding-right: 1rem;
	shape-outside: polygon(
		0% 0%,
		0% 100%,
		100% 85%,
		100% 100%,
		70% 50%,
		60% 0%,
		50% 10%,
		30% 0%
	);
	margin-left: -1rem;
}

#footer_nav {
	display: flex;
	justify-content: center; 
}

#audioPlayer {
	border: 1px lightgrey solid; 
	width:99%;
}

#outputText, #inputText {
	height: 15rem;
}

#searchInput, #outputText, #inputText {
	border: solid 1px lightgray;
	width: 99%;
	background-color: white;
	overflow-x: hidden;
	overflow-y: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding: 3rem 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin: 0 auto;
}

.close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.review_image {
	float: left;
	width: 30%;
	padding-right: 1rem;
}

.read_more_link {
	padding: 0.125rem 0.5rem;
	transition: text-color 0.3s ease;
	float: right;
	color: gray;
}

.read_more_link:hover {
	transition: all 0.3s;
	color: lightgray;
}


@media (max-width: 768px) {
	* {
		font-size: 0.875rem;
	}
	
	main {
		grid-template-columns: 1fr;
		width: 90%;
		margin: 1rem auto;
	}
	
	.information img {
		width: 90%;
		padding: 1rem 0rem;
	}
	
	.nav-toggle {
		display: block;
		padding: 0.5rem 0rem;
		width: 100%;
		margin-bottom: -1rem;
		font-family: MSCambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
		font-size: 0.875rem;
	}

	.nav-menu {
		display: none;
	}

	.nav-menu.show {
		display: flex;
		margin-top: 1rem;
	}
	
	table thead {
		display: none;
	}

	table, table tbody, table tr, table td {
		display: block;
		width: 98%;
	}

	table tr {
		padding: 1rem;
	}

	table td {
		text-align: left;
		margin-left: -1rem;
		padding-left: 1rem;
	}

	table td::before {
		content: attr(data-label);
		display: block;
		font-weight: bold;
		margin-bottom: 0.25rem;
	}
	
	table td:empty {
		display: none;
	}

	table td:empty::before {
		display: none;
	}
}
