
@media screen and (max-width: 1250px) {
	#content {
		margin: 0 14em;
	}
}


@media screen and (max-width: 1150px) {
	header nav {
		bottom: 2.05em;
	}

	header nav li {
		margin-right: 3rem;
	}

	header nav a {
		font-size: 225%;
	}

	#otherPosts {
		float: right;
	}

	#bio {
		clear: right;
		border-top: none;
	}

	#content {
		margin-left: 0;
	}
}


@media screen and (max-width: 1000px) {
	header nav li {
		margin-right: 2rem;
	}

	footer {
		padding-bottom: 3rem;
	}

	footer nav {
		justify-content: left;
		flex-wrap: wrap;
	}

	footer nav > li {
		width: 33.3%;
		box-sizing: border-box;
		max-width: none;
		text-align: left !important;
	}

	footer nav > li:nth-child(1) {
		padding-right: 2rem;
	}

	footer nav > li:nth-child(2) {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	footer nav > li:nth-child(3) {
		padding-left: 2rem;
	}

	footer nav > li:nth-child(4) {
		margin-left: 33.3%;
		margin-top: 2rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	footer nav > li:nth-child(5) {
		margin-top: 2rem;
		padding-left: 2rem;
	}

	#archiveLink {
		display: block;
		position: static;
		margin: 2rem 0 0 calc(33.3% + 1rem);
	}
}


@media screen and (max-width: 900px) {
	header nav {
		bottom: auto;
		top: 3.15rem;
		line-height: 0.8;
	}

	header nav li {
		display: block;
		margin-right: 0;
		text-align: right;
	}

	header nav a {
		position: relative;
		transition: all 0.15s ease-out;
	}

	header nav a:hover {
		padding-right: 0.4em;
		text-decoration: none;
	}

	header nav a:hover:after {
		content: '';
		position: absolute;
		right: 0.05em;
		top: calc(50% - 2px);
		width: 5px;
		height: 5px;
		border-radius: 100%;
		background-color: #2D5276;
	}

	header nav li.on a:hover:after {
		background-color: #ffffff;
	}
}


@media screen and (max-width: 800px) {
	header {
		padding: 1.2rem 1.4rem;
	}

	header h1 {
		width: 4em;
		height: 4em;
	}

	header h1 a {
		width: 4em;
		height: 4em;
	}

	header nav {
		right: 1.2rem;
		top: 2.25rem;
		line-height: 0.78;
	}

	header nav a {
		font-size: 200%;
	}

	#page {
		display: flex;
		flex-direction: column-reverse;
		padding: 1.2rem 1.4rem 2rem 1.4rem;
	}

	.sidebar {
		width: auto;
	}

	#otherPosts {
		float: none;
		border-bottom: none;
	}

	#bio {
		display: none;
	}

	#content {
		margin: 0 0 1.7em 0;
	}

	footer {
		padding: 1.2rem 1.4rem;
	}

	#footerLogo {
		left: 1.4rem;
		top: 1.2rem;
		width: 40%;
	}

	footer nav {
		display: block;
		margin-top: 0.7rem;
		line-height: 0.78;
	}

	footer nav > li {
		width: auto;
		margin-top: 0 !important;
		padding: 0 !important;
		text-align: right !important;
	}

	footer nav > li > a {
		position: relative;
		font-size: 200%;
		transition: all 0.15s ease-out;
	}

	footer nav > li > a:hover {
		padding-right: 0.4em;
		text-decoration: none;
	}

	footer nav > li > a:hover:after {
		content: '';
		position: absolute;
		right: 0.05em;
		top: calc(50% - 2px);
		width: 5px;
		height: 5px;
		border-radius: 100%;
		background-color: #ffffff;
	}

	footer nav > li.on > a:hover:after {
		background-color: #1EA8E3;
	}

	footer nav ul {
		display: none;
	}

	#archiveLink {
		margin-top: 1.2rem;
		text-align: right;
	}
}


@media screen and (max-width: 600px) {
	#postBio img {
		height: 5.8em;
		margin-bottom: 0;
	}
}


@media screen and (max-width: 450px) {
	#overflowLink {
		display: block;
		right: 1.2rem;
		top: 1.3rem;
		bottom: auto;
		font-size: 200%;
	}

	header.showOverflow h1 {
		width: 1.6em;
	}

	header.showOverflow #overflowLink {
		transform: translateX(-15vw);
		opacity: 0;
	}

	header nav {
		opacity: 0;
		pointer-events: none;
		transition: all 0.3s ease;
	}

	header.showOverflow nav {
		opacity: 1;
		transform: translateX(0);
		pointer-events: auto;
	}

	header nav li {
		animation: showOverflowItemOut 0.3s ease forwards;
	}

	header.showOverflow nav li {
		opacity: 0;
		transform: translateX(15vw);
		animation: showOverflowItemIn 0.3s ease forwards;
	}

	header nav li:nth-child(2) {
		animation-delay: 0.05s;
	}

	header nav li:nth-child(3) {
		animation-delay: 0.1s;
	}

	header nav li:nth-child(4) {
		animation-delay: 0.15s;
	}

	@keyframes showOverflowItemOut {
		0% {
			opacity: 1;
			transform: translateX(0);
		}
		100% {
			opacity: 0;
			transform: translateX(15vw);
		}
	}

	@keyframes showOverflowItemIn {
		0% {
			opacity: 0;
			transform: translateX(15vw);
		}
		100% {
			opacity: 1;
			transform: translateX(0);
		}
	}
}

