/*
Theme Name: Symphony in C
Version: 0.1.0
Requires PHP: 7.4
*/

/* CSS Reset --------------------------------------------------------------- */

/* [1] tl;dr; All elements inherit some properties from their parent (recursive step) */
* {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-family: inherit;
	color: inherit;
	background: inherit;
	box-sizing: inherit;
	/* Add more properties here */
}

/* [2] tl;dr; Provide inheritable defaults (base case) */
html {
	box-sizing: border-box;
	font-size: 16px;
	font-family: sans-serif;
	color: black;
	background: transparent;
	line-height: 1.5;
	/* provide defaults for properties in [1] (except margin & padding */
}

/* Your CSS --------------------------------------------------------------- */

body {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body > main {
	flex: 1;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

body > footer {
	width: 100%;
}

body > header {
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
}

/* Nav/Header bar */

nav#sitenav {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

ul.header-navigation {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	list-style: none;
}

ul.header-navigation li {
	display: flex;
	align-items: center;
}

ul.header-navigation li a {
	padding: 0.25rem 0.75rem;
	box-sizing: border-box;
	cursor: pointer;
	color: white;
	text-decoration: none;
}

ul.header-navigation li a:hover {
	color: lightgray;
}

@media (max-width: 768px) {
	ul.header-navigation {
		display: none;
	}

	ul.header-navigation.open {
		display: flex;
		font-size: 2rem;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 1000;
		flex-flow: column nowrap;
		justify-content: center;
	}
}

/* Footer */

.wp-block-buttons,
ul.footer-navigation {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	list-style: none;
}

.wp-block-buttons .wp-block-button__link {
	width: unset;
}

.wp-block-buttons a,
ul.footer-navigation a {
	margin: 1rem;
	padding: 0.5rem 1rem;
	border: 2px solid white;
	border-radius: 5px;
	border-color: unset;
	text-decoration: none;
	display: block;
	background: transparent;
	color: inherit;
}

.wp-block-buttons a:hover,
ul.footer-navigation a:hover {
	color: lightgray;
	border-color: lightgray;
}

footer.site-footer #top-section {
	
}

footer.site-footer #bottom-section {

}

footer.site-footer .copyright {
	width: 100%;
	text-align: center;
	padding: 2rem;
	display: block;
}

/* Gutenberg/Block stuff */

main article.single,
main article.single .is-layout-constrained {
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

main article.single > *,
main article.single .is-layout-constrained > * {
	width: 100%;
}

main article.single > * {
	max-width: 1200px;
}

main article.single .alignwide {
	max-width: 1600px;
	width: 100%;
}

main article.single .alignfull {
	width: 100%;
	max-width: none;
}
