body {
	background-color: rgb(118, 139, 148);
	background: linear-gradient(rgb(118, 139, 148) 0%, rgb(79, 97, 105) 100vh);
	margin: 0;
	padding: 30px;
	padding-bottom: 200px;

	min-height: 100vh;
	box-sizing: border-box;
}

nav {
	background-color: #5373ca;
}

nav ul {
	list-style-type: none;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

nav > ul > li > a {
	display: block;
	text-decoration: none;
	font-weight: bold;
	color: white;
	padding: 1rem;
	height: 100%;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

nav > ul > li > a:hover {
	background-color: #405ca8;
}

#main-content {
	max-width: 1400px;
	margin: 0 auto;

	background-color: white;
	padding: 0 0 30px 0;
	border-radius: 20px;
	overflow: hidden
	;

	box-shadow: 0 0 15px 2px #262626;
}

h1 {
	text-align: center;
}

h2 {
	text-align: center;
}

.name:not(h1) {
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;

	margin: 10px;
}

#name4 {
	font-size: 1.4em;
}

section:not(:last-of-type) {
	border-bottom: 2px solid rgb(199, 114, 35);
}

header img {
	width: 100%;
	vertical-align: top;
}

#small-banner {
	display: none;
	margin: 0;
}

.content-body {
	display: grid;
	grid-template-columns: minmax(auto, 2fr) minmax(auto, 1fr);
	grid-template-areas: "main side";
	gap: 30px;
	padding: 0 30px;
}

#side-info {
	grid-area: side;
}

#main-info {
	grid-area: main;
}

#meeting-section h3,
#meeting-section h4,
#meeting-section .info-text {
	width: 100%;
	text-align: center;
}

#meeting-section h3,
#meeting-section h4 {
	margin: 0.75rem 0;
}

#special-meetings {
	padding: 0 20px;
	box-sizing: border-box;
}

.info-text {
	margin: 0.5rem 0;
}

ol {
	width: fit-content;
	margin: 16px auto;
	font-weight: bold;
}

ol div {
	font-weight: normal;
	font-style: italic;
}

ol li {
	margin: 10px;
}

.image-container {
	width: fit-content;
	margin: auto;
}

#building-image {
	width: 100%;
	max-width: 800px;
	border-radius: 10px;
	box-shadow: 0 0 5px 1px #262626;
}

#about-content, #faq-content, #materials-content {
	padding: 0 30px;
	max-width: 1000px;
	margin: auto;
}

#materials-content, #faq-content {
	max-width: 1000px;
	margin: auto;
}

.centered-text {
	text-align: center;
	padding: 0 20px;
}

#map-frame {
    width: 90%;
    max-width: 600px;
    height: 450px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 black inset;
}

@media only screen and (max-width: 1024px) {
	body {
		background-color: white;
		padding: 0;
	}

	#main-content {
		padding: 0;
		border: 0;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.content-body {
		display: block;
		margin-bottom: 30px;
	}

	#side-info {
		display: flex;
		justify-content: space-between;
		flex-flow: row wrap;
	}

	#side-info section {
		width: 30%;
		border: none;
	}
}

@media only screen and (max-width: 768px) {
	nav ul {
		flex-flow: row wrap;
	}

	nav > ul > li {
		flex-basis: 12rem;
		flex-grow: 1;
	}

	nav > ul > li > a {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
		padding: 0.5rem;
	}

	#banner-image {
		display: none;
	}

	#small-banner {
		display: block;
	}
	
	.content-body {
		padding: 0 15px;
	}

	#side-info {
		display: block;
	}

	#side-info section {
		width: 100%;
		border-bottom: 2px solid rgb(199, 114, 35);
	}
}
