/* (typical viewport width is:
	- 1024-1920px laptop
	- 768-1280px tablet
	- 320-430px phone)*/

/* ! menu becomes unusable when height <468px*/


/* -------------- General -------------- */
html, body {
	height: 100%;
	margin: 0;
	background-color: #140d0f;
	font-size: 18px;
	color: #ececec; /* off-white */
}

* {
	font-family: Book Antiqua; /*Ariel, sans-serif*/
	box-sizing: border-box;
	scroll-behavior: smooth;
}

a {
	color: #58c5e4; /* light blue (little lighter than #51b6d3) */
}

.container {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 100vh;
}

.subcontainer {
	flex-grow: 1;
	background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../images/background_main.jpg");
	background-size: cover;
	background-repeat: no-repeat;
}

.grid-parent {
	display: flex;
	height: 100%
}

.grid-vertical {
	flex-direction: column;
}

.grid-flex {
	flex-grow: 1;
}

.grid-fixed {
	flex: 0 0 auto; /* flex-grow flex-shrink flex-basis */
}



/* -------------- Footer --------------
(need to keep this above navigation header?) */
/* positioning and stylization */
.footerdiv {
	padding: 10px 10px;
	font-size: 10px;
	color: #bfbfbf;
	text-align: center;
}
.footerdiv a {
	color: #bfbfbf;
}

/* move footer aside in homepage to account for author-grid */
@media (min-width:1151px)  {
	.footerdiv-home {
		padding-right: 300px; 
	}
}
@media (min-width:1601px)  {
	.footerdiv-home {
		padding-right: 400px; 
	}
}



/* -------------- Navigation header -------------- */
/* --- (All versions - pre) --- */
/* stylization of menu buttons */
#substack-svg {
	width: 14px;
	height: 14px;
}
#patreon-svg {
	width: 13px;
	height: 13px;
}

/* --- (Desktop version) --- */
@media (min-width:1151px)  {
	/* stylization of menu */
	.nav {
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.13));
		height: 90px;
	}
	.nav * {
		padding: 0px;
		margin: 0px;
	}
	.nav ul {
		list-style: none;
	}
	
	/* put menu buttons next to each other  */
	.nav li {
		display: inline-block;
		vertical-align: middle;
	}
	
	/* stylization of menu buttons*/
	.nav a {
		font-size: 20px;
		color: #ececec; /* off-white */
		padding: 0px 16px;
		text-decoration: none;
		font-weight: bold;
	}
	.nav a:hover, 
	.dropdown-div:hover .dropdown-btn a {
		color: #51b6d3; /* light blue */
		text-decoration: underline;
		text-underline-offset: 5px;
	}

	/* size and position logo */
	.divlogo {
		padding-right: 16px;
	}
	.divlogo img {
		height: 72px;
		margin-top: 2px;
	}
	
	/* stylization of dropdown menu*/
	.dropdown-container {
		display: none;
		position: absolute;
		background: linear-gradient(rgba(47,64,65,0.20), rgba(47,64,65,0.20));
		border: 1px solid rgba(47,64,65,0.50);
		z-index: 1;
		padding: 5px 5px;
		margin: 10px 8px;
		max-width: 420px;
	}
	.dropdown-container a {
		float: none;
		color: #ececec; /* off-white */
		font-size: 19px;
		font-weight: 400;
		display: block;
		text-align: left;
		padding: 11px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.dropdown-div {
		padding: 20px 0px;
	}
	
	/* put dropdown menu buttons underneath each other */
	.dropdown-container li {
		display: block;
	}
	
	/* reveal dropdown menu on hover */
	.dropdown-div:hover .dropdown-container {
		display: block;
	}
	
	/* hide buttons we only want for tablet and mobile version */
	.no-des {
		display: none;
	}
}

/* --- (Tablet version) --- */
@media (max-width:1150px)  {
	/* stylization of menu */
	body {
		--sb-width: 4.5rem;
	}
	body.sb-expanded {
		--sb-width: 12.5rem;
	}
	.aside {
		position: fixed;
		padding: 1rem 0.5rem;
		width: var(--sb-width);
		background-color: #f5f5f5;  /* off-white (little lighter than #ececec) */
		transition: width 0.5s ease-in-out;
		background: linear-gradient(rgba(45,56,55,1), rgba(45,56,55,1)); /* formerly 0,0,0,0.30 */
		border-left: 1px solid #323e3d;
		z-index:999;
	}
	.sb-expanded .aside {
		overflow-y: auto;
		direction: rtl;
		padding: 1rem;
		padding-bottom: 0.5rem;
	}
	.aside * {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		overflow: clip;
		text-overflow: ellipsis;
		max-width: 100%;
	}
	
	/* make collapse button take up whole remaining space */
	.nav {
		height: 100%;
	}
	.nav ul {
		list-style: none;
		height: 100%;
		display: flex;
		flex-flow: column;
		gap: 0.25rem;
	}
	.collapse-li {
		display: flex;
		flex-direction:column;
		margin: auto;
		width: 100%;
		height: 100%;
		flex-grow: 1;
	}
	.sb-expanded .nav {
		height: auto;
		direction: ltr;
		overflow: visible;
	}
	.sb-expanded .nav-ul {
		min-height: calc(100vh - 1.5rem);
	}

	/* stylization of menu buttons */
	.nav a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.625rem;
		padding: 0.625rem 0.875rem;
		font-size: 22px;
		line-height: 1;
		color: #ececec; /* off-white */
		text-decoration: none;
		font-weight: bold;
		cursor: pointer;
		border-radius: 0.375rem;
		transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
	}
	.nav a:hover, .active a {
		outline: none;
		color: #51b6d3;
		background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15));
	}
	.nav path {
		transition: fill 0.5s ease-in-out, color 0.5s ease-in-out;
	}
	
	/* fixes dropdown button being off-center due to the icon */
	.dropdown-btn a { 
		padding-left: 32px; 
	}
	
	/* truncate overflow */
	.dropdown-container a {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: center;
	}
	
	/* stylization of collapse button */
	.collapse-btn {
		background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.18));
		flex-grow: 1;
	}
	
	
	



	
	
	/* size and center logo */
	.divlogo {
		display: flex;
		justify-content: center;
	}
	.divlogo img {
		height: 45px;
		transition: height 0.5s ease;
	}
	.sb-expanded .divlogo img {
		height: 90px;
		padding-bottom: 15px;
	}
	
	/* hide the menu buttons when menu is collapsed */
	.sb-expanded .sb-hide {
		display: none;
	}
	.sb-show {
		display: none;
	}
	.sb-expanded .sb-show {
		display: flex;
	}
	.sb-expanded .sb-show a {
		width: 100%;
	}

	/* show/hide sublist, and make icon rotate */
	.dropdown-container {
		display: none;
		border-top: 1px solid grey;
		border-bottom: 1px solid grey;
		margin-top: 4px;
		padding-top: 3px;
		padding-bottom: 3px;
	}	
	.icon-rotates {
	  -moz-transition: all 0.3s linear;
	  -webkit-transition: all 0.3s linear;
	  transition: all 0.3s linear;
	}
	.icon-rotates.rotate {
	  -moz-transition: rotate(180deg);
	  -webkit-transition: rotate(180deg);
	  transition: rotate(180deg);
	}
	.dropdown-btn.open .icon-rotates {
	  -webkit-transform: rotate(180deg);
	  transform: rotate(180deg);
	}

	@media (min-width:491px)  {
		/* position menu bar on the right */
		.aside {
			inset: 0 0 0 auto;
		}
		
		/* move page content aside to account for space taken up by menu */
		#main-div, #author-div, #footer-div {
			margin-right: 4.5rem; /* var(--sb-width); */
			transition: margin-right 0.5s ease-in-out;
		}
	}

	/* change text of collapse button (see 490px screen) */
	.alttext {
		display: none;
	}
}

/* --- (Mobile version) --- */
@media (max-width:490px)  {
	/* move the menu to bottom of page
	   (and some stylization) */
	.aside {
		height: 50px;
		width: 100%;
		bottom: 0;
		left: 0;
		padding: 0;
		background: linear-gradient(rgba(45,56,55,1), rgba(45,56,55,1)); /* formerly 55,68,67,1 */
		border-top: 1px solid #323e3d; /* formerly #576c6b */
		transition: width 0s ease-in-out;
	}
	
	/* make menu take up full page when opened */
	.sb-expanded .aside {
		height: 100%;
		border-top: none;
	}
	
	/* move page up to account for space taken up by menu */
	body, .footerdiv {
		margin-bottom: 50px;
	}
	
	/* hide logo (when collapsed) */
	.divlogo img {
		display: none;
	}
	.sb-expanded .divlogo img {
		display: block;
	}
	
	/* remove margin on top of collapse button */
	.nav ul {
		gap: 0;
	}
	.sb-expanded .nav ul {
		gap: 0.25rem;
	}

	/* change text of collapse button */
	.alttext, .sb-expanded .alttext {
		display: flex;
	}
	.ogtext, .sb-expanded .ogtext {
		display: none;
	}

	/* stylization of collapse button */
	.collapse-btn {
		background: linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.10));
	}
	.sb-expanded .collapse-btn {
		margin-top: 7px;
	}
	.nav svg {
		width: 32px;
		height: 32px;
		fill: #e9e9e9;
	}
	
	/* make menu text and logo slightly smaller */
	.nav a {
		font-size: 20px;
	}
	.sb-expanded .divlogo img {
		height: 75px;
	}
	#substack-svg {
		width: 12px;
		height: 12px;
	}
	#patreon-svg {
		width: 11px;
		height: 11px;
	}
}

/* --- (All versions - overwrite) --- */
/* stylization of menu buttons */
.extlink a {
	color: #93cad9; /* pale blue */
}
.extlink a:hover {
	color: #ececec; /* off-white */
}
.extlink path {
	fill: #93cad9
}
.extlink a:hover path {
	fill: #ececec
}



/* -------------- Home page -------------- */
/* place author-grid next to main-grid for large screen sizes, and below it for smaller screen sizes */
@media (min-width:1151px)  {
	#alter-grid-div {
		display: flex;
		height: 100%
	}
	#author-div {
		max-width: 300px;
		background: linear-gradient(rgba(0,0,0,0.23), rgba(0,0,0,0.00));
		padding-top:10px;
		font-size: 16px;
		line-height: 20px;
	}
}
@media (min-width:1601px)  {
	#author-div {
		max-width: 400px;
	}
	#author-div br {
		display: none;
	}
}

/* resize images with screen width */
.row {
	display: flex;
	max-width:200%;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
}
.column {
	padding: 30px;
}
.column img {
	max-width: 100%;
	width: auto;
	max-height: 316px;
}

/* --- Slider --- */
/* positioning of slider and it's content */
.sliderow {
	overflow:hidden;
}
.slidecontainer {
	max-width:100%;
	max-height:100%;
	width:100%;
	height:660px;
	display: flex;
	overflow: clip;
}
.slideimgdiv {
	display: flex;
	max-width:100%;
	max-height:100%;
	width:100%;
	margin: 0 -17px;
	padding: 40px 70px;
	background-size: cover;
	background-repeat: no-repeat;
}
.imgcontent {
	height:100%;
	max-height:100%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: clip;
}
.imgcontent .textcontainer {
	max-height:100%;
	max-width: 500px;
	display: inline-block;
	margin-right: 60px;
}
.imgcontent img {
	width:250px;
	height:auto;
	max-width:50%;
	border: 2px solid #140d0f;
}

/* stylization and positioning of arrows */
.slick-arrow {
	background-color: transparent;
	background-repeat: no-repeat;
	cursor: pointer;
	border: 0;
	height: 30px;
	position: relative;
	width: 17px;
	z-index: 50;
	margin: auto 0;
	padding: 0;
	
}
.slick-prev {
	background-image: url('../images/slider_arrow_left_lined.png');
	left: 40px;
}
.slick-next {
	background-image: url('../images/slider_arrow_right_lined.png');
	right: 40px;
}

/* resizing for smaller screens */
@media (max-width:1150px)  {
	.slidecontainer {
		height: 750px;
	}
}
@media (max-width:900px)  {
	.imgcontent .textcontainer {
		margin-right: 30px;
	}
}
@media (max-width:800px)  {
	.imgcontent { /* put text and image underneath each other */
		flex-direction: column;
		align-items:center;
	}
	.imgcontent .textcontainer {
		margin-right: 0px;
	}
	.imgcontent .textcontainer .booktitle {
		margin-top: 0px;
		padding-top: 0px;
	}
	.imgcontent img {
		width:200px;
		height:auto;
		max-width:100%;
		margin-top: 10px;
	}
}
@media (max-width:650px)  {
	.imgcontent img {
		width:167px;
	}
	.slick-next { /* to fix icon being cut off */
		padding-right: 10px;
	}
}
@media (max-width:490px)  {
	.slidecontainer {
		height: 700px;
	}
	.imgcontent img {
		width:150px;
	}
}
@media (max-width:335px)  {
	.slidecontainer {
		height: 620px;
	}
	.imgcontent img {
		width:120px;
	}
}

/* --- Booklist --- */
/* stylization of all text */
.center {
	align-items: center;
	text-align: center;
	padding: 0px 20px;
	padding-bottom: 30px;
}
.headtitle {
	text-transform: uppercase;
	font-size: 25px;
	font-family: Times New Roman, serif;
	padding-top: 12px;
}
.booktitle {
	font-size: 42px;
	line-height: 1.4em;
	font-family: Times New Roman, serif;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	margin: 0.5em 0px 8px 0px; /*top right bottom left*/
	padding: 0;
}
.bookdesc {
	font-size: 18px;
	line-height: 1.4em;
	font-family: Times New Roman, serif;
	font-style: normal;
	margin-top: 10px;
	margin-bottom: 10px;
}
.bookdesc-div {
	display: inline-block;
	max-width: 670px;
}
.learnbutton {
	font-size: 20px;
	line-height: 1.2em;
	font-family: Times New Roman, serif;
	text-decoration: none;
	color: #fcf8f7;
	padding: 12px 25px 12px 25px;
	background-color: #2e94a8;
	border-radius: 5px;
	
}
.learnbutton:hover {
	background-color: #51b6d3;
}
.learnbox {
	padding: 20px 0px 40px 0px; /*top right bottom left*/
	white-space: nowrap;
	overflow: hidden;
}

/* resizing font, margin, and images for smaller screens */
@media (max-width:900px)  {
	.column {
	  padding: 30px 15px;
	}
}
@media (max-width:650px)  {
	.column {
	  padding: 30px 5px;
	}
	.column img {
		max-height: 265px;
	}
	.headtitle {
		font-size: 22px;
	}
	.booktitle {
		font-size: 40px;
	}
	.bookdesc {
		font-size: 18px;
	}
	.learnbutton {
		font-size: 20px;
	}

}
@media (max-width:490px)  {
	.column {
	  padding: 20px 5px;
	}
	.booktitle {
		font-size: 28px;
		font-weight: bold;
	}
	.bookdesc, .learnbutton {
		font-size: 17px;
	}
	.column img {
		max-height: 185px;
	}
	.headtitle {
		font-size: 20px;
		padding-bottom: 5px;
	}
}
@media (max-width:335px)  {
	.booktitle {
		font-size: 20px;
	}
	.bookdesc, .learnbutton {
		font-size: 16px;
	}
	.headtitle {
		font-size: 19px;
		padding-bottom: 0px;
	}
	.column img {
		max-height: 135px;
	}
}

/* --- Author info --- */
/* stylization of all text */
#author-div h4 {
	font-size: 20px;
	margin-bottom: 20px;
	margin-top: 25px;
}
.authordiv {
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
}
.newsdiv {
	padding-left: 20px;
	padding-right: 20px; /* (bottom padding in viewport section) */
	border-bottom: 1px solid grey;
}

/* size profile picture */
.profilep {
	width: 170px;
	border-radius: 100%;
	margin-top: -8px;
}

/* stylization of social media icons */
.socialsdiv {
	border-top: 1px solid grey;
	border-bottom: 1px solid grey;
	padding: 13px 0px 8px 0px; /*top right bottom left*/
}
.socialsrow {
	display: flex;
	justify-content: space-evenly;
	padding: 5px 20px;
	max-width: 400px;
	margin: auto auto;
}
.socials {
	width: 35px;
	height: 35px;
	fill: #e9e9e9;
}

/* positioning of substack iframe */
#substack-iframe {
	min-width: 317px; 
	overflow: hidden;
}
#substack-iframe2 {
	border: 0; 
	background: transparent; 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
}
#substack-outerdiv {
	padding-top: 0px;
	padding-bottom: 15px;
}
#substack-innerdiv {
	position: relative; 
	height: 40px; 
	overflow: hidden;
}
#substack-p {
	font-size: 10px; 
	line-height: 12px; 
	color: #bfbfbf; 
	padding-top: 5px; 
	margin: auto; 
	max-width: 280px;
}
#substack-p a {
	color: #bfbfbf;
}

@media (min-width:1151px)  {
	.newsdiv {
		padding-bottom: 8px;
		overflow: hidden;
	}
	.newsdiv p {
		margin-top: 20px;
		margin-bottom: 11px;
	}
	#substack-iframe {
		transform: scale(0.85); 
		margin-left: -30px;
	}
	@media (max-width:1600px)  {
		#substack-outerdiv {
			padding-top: 8px;
			padding-bottom: 19px;
		}
		#substack-iframe2 {
			height: 116px;
		}
	}
}
@media (min-width:1601px)  {
	.newsdiv {
		padding-bottom: 13px;
	}
	.newsdiv p {
		margin-bottom: 20px;
	}
	#substack-iframe {
		min-width: auto;
		transform: scale(1);
		margin-left: 0px;
	}
}
@media (max-width:370px)  {
	#substack-iframe {
		transform: scale(0.9);
		margin-left: -1px;
		margin-top: -5px;
		margin-bottom: -5px;
	}
}
@media (max-width:363px)  {
	#substack-iframe {
		transform: scale(0.89);
		margin-top: -6px;
	}
}
@media (max-width:356px)  {
	#substack-iframe {
		transform: scale(0.88);
		margin-bottom: -6px;
	}
	#substack-iframe2 {
		height: 116px;
	}
}
@media (max-width:349px)  {
	#substack-iframe {
		transform: scale(0.87);
		margin-left: -4px;
		margin-top: -7px;
	}
}
@media (max-width:342px)  {
	#substack-iframe {
		transform: scale(0.86);
		margin-left: -8px;
		margin-bottom: -7px;
	}
}
@media (max-width:335px)  {
	#substack-iframe {
		transform: scale(0.85);
		margin-left: -11px;
		margin-top: -8px;
	}
}
@media (max-width:328px)  {
	#substack-iframe {
		transform: scale(0.84);
		margin-left: -14px;
		margin-bottom: -8px;
	}
}
@media (max-width:321px)  {
	#substack-iframe {
		transform: scale(0.83);
		margin-left: -18px;
		margin-top: -9px;
	}
}

/* resizing font, margin, and images for smaller screens */
@media (max-width:1150px)  {
	#author-div {
		margin-top: 20px;
		padding-top: 10px;
		background-image: linear-gradient(rgba(0,0,0,0.38), rgba(0,0,0,0.38)), url("../images/background_profile.jpg");
	}
	#author-div h4 {
		font-size: 22px;
		text-transform: uppercase;
		margin-top: 25px;
	}
	.newsdiv {
		padding-bottom: 14px;
	}	
	.newsdiv p {
		margin-top: -5px;
		margin-bottom: 19px;
	}	
	.newsdiv iframe {
		width: 100%;
		height: 100px;
	}
	.authordiv *, .newsdiv *, .patreondiv * {
		max-width: 330px;
		margin-left: auto;
		margin-right: auto;
	}
	.socialsdiv, .patreondiv {
		max-width: 100%;
	}
	.socials {
		width: 45px;
		height: 45px;
	}
	.profilep {
		width: 225px;
		border-radius: 5%;
	}
}
@media (max-width:650px)  {
	#author-div h4 {
		font-size: 22px;
	}
}
@media (max-width:490px)  {
	#author-div h4 {
		font-size: 20px;
	}
	#author-div {
		font-size: 17px;
	}
	.socials {
		width: 38px;
		height: 38px;
	}
	.profilep {
		width: 170px;
	}
}
@media (max-width:335px)  {
	#author-div h4 {
		font-size: 19px;
	}
	#author-div {
		font-size: 16px;
	}
	.socials {
		width: 35px;
		height: 35px;
	}
	.profilep {
		width: 150px;
	}
}

.patreondiv {
	border-bottom: 1px solid grey;
	padding-bottom: 25px;
}
.patreondiv p {
	margin-bottom: 20px;
	margin-top: 20px;
}
#kofi-div {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	width: 328px;
	margin: auto;
	padding: 10px;
	padding-top: 15px;
	min-width: 320px;
	transition: visibility 0s, opacity 0.3s linear;
}
#kofi-iframe {
	height: 712px;
	max-height: calc(100vh - 25px);
	max-width: calc(100vw - 20px);
	width: 100%;
	padding: 4px;
	background: #f9f9f9;
	border: none;
	border-radius: 16px;
	color: black;
	font-size: 18px;
}
#kofi-close-outer {
	position: absolute;
	right: 0px;
	top: 5px;
	height: 25px;
	width: 25px;
	z-index: 101;
	background: white;
	border-radius: 16px;
	box-shadow: 0 4px 20px #bdbdbd;
}
#kofi-close-outer:hover {
	cursor: pointer;
}
#kofi-button:hover {
	cursor: pointer;
}
@media (min-width:491px) and (max-width:1150px) {
	#kofi-div {
		padding-right: 91px;
		width: 409px;
	}
	#kofi-close-outer {
		right: 81px;
	}
}
@media (min-height:737px)  {
	#kofi-div {
		top: 50%;
		transform: translateY(-50%);
	}
}
@media (max-width:490px) {
	#kofi-div {
		padding-bottom: 60px;
	}
	#kofi-iframe {
		max-height: calc(100vh - 75px);
	}
}
@media (max-width:1150px) {
	.patreondiv p {
		margin-top: -5px;
	}
}



/* -------------- Basic page -------------- */
/* page margin and font size */
@media (min-width:1151px)  {
	.genMain {
		padding: 40px 50px 1px 50px; /*top right bottom left*/
		max-width:1020px;
		margin-left:auto;
		margin-right:auto;
	}
	
	.genMain h1 {
		margin-top: -12px;
	}
}
@media (max-width:1150px)  {
	.genMain {
		margin: 75px;
		margin-top: 65px;
	}
}
@media (max-width:650px)  {
	.genMain {
		margin: 50px;
		margin-top: 40px;
	}
}
@media (max-width:490px)  {
	.genMain {
		margin: 35px;
		margin-top: 25px;
		font-size: 17px;
	}
}
@media (max-width:335px)  {
	.genMain {
		margin: 25px;
		margin-top: 15px;
		font-size: 16px;
	}
}

/* special top margin for some pages*/
@media (max-width:1150px)  {
	.genLesstop {
		margin-top: 40px;
	}
	.genLessbottom {
		margin-bottom: 0px;
	}
}

/* line height and heading margins */
.genMain {
	line-height: 26px;
}
.genMain h1 {
	font-size: 36px;
	line-height: 36px;
	margin-bottom: 26px;
}
.genMain h2 {
	font-size: 30px;
	line-height: 26px;
	font-weight: bold;
	margin-top: 56px;
}
.genMain h3, .genMain h4 {
	font-size: 18px;
	line-height: 26px;
	font-weight: bold;
	margin-top: 32px;
	margin-bottom: -6px;
}

/* add line behind text (text must be between spans) */
.linethrough {
    overflow: hidden;
    span {
        display: inline-block;
        position: relative;
        padding: 0 20px;

        &:before, &:after {
            content: '';
            display: block;
            width: 100%;
            position: absolute;
            top: 0.55em;
            border-top: 1px solid white;
        }

        &:before { right: 100%; }
        &:after { left: 100%; }
    }
}
/*(same, for texts that I only want to become linethrough at lower screen sizes)*/
@media (max-width:1150px)  {
	.linethrough-1024 {
		overflow: hidden;
		span {
			display: inline-block;
			position: relative;
			padding: 0 20px;

			&:before, &:after {
				content: '';
				display: block;
				width: 100%;
				position: absolute;
				top: 0.55em;
				border-top: 1px solid white;
			}

			&:before { right: 100%; }
			&:after { left: 100%; }
		}
	}
}



/* -------------- Contact page -------------- */
/* stylization of box around the whole thing */
.contactblock {
	text-align:center;
	background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28));
	padding: 5px 5px;
	margin-left:auto;
	margin-right:auto;
	max-width:600px;
	border-radius: 5px;
}

/* stylization of text at top */
.contacttext {
	padding: 5px 20px 0px 20px;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}

/* stylization of text at bottom */
.smallnote {
	font-size: 10px;
	line-height: 14px;
	color: #bfbfbf;
	text-align: center;
	padding: 0 20px;
	margin-top: -23px;
}
.smallnote a {
	color: #bfbfbf;
}

/* position input fields */
.contactform {
	padding: 8px 20px 25px 20px;
	border-radius: 5px;
	background: none;
	width: 600px;
	max-width: 100%;
	display: inline-block;
	margin-left: auto;
    margin-right: auto;
}
.contactform form {
	display: flex;
	flex-wrap: wrap;
}
.contactform form div {
	margin-bottom: 0px;
	width: 100%
}
#contact-name, #contact-email {
	margin-bottom: 12px;
}

/* put name and email input next to each other (>640px screen only) */
@media (min-width:651px)  {
	#contact-namediv, #contact-emaildiv {
		width: 50%;
	}
	#contact-namediv {
		padding-right: 12px;
	}
}

/* stylization of input fields and submit button */
.contactform, .contact-input, .contact-submit {
	color: #fcf8f7;
	font-size: 16px;
}
.contactform, .contact-submit {
	font-weight: 600;
}
.contact-input {
	width: 100%;
	padding: 12px;
	margin-top: 6px;
	margin-bottom: 16px;
	border: none;
	border-radius: 5px;
	resize: vertical;
	background: linear-gradient(rgba(28, 34, 34, 0.60), rgba(28, 34, 34, 0.60));
	border: 1px solid #818a91;
	padding: 10px 12px;
	border-radius: 5px
}
.contact-submit {
	background-color: #2e94a8;
	padding: 12px 20px;
	margin-top: -3px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	width:100%
}
.contact-submit:hover {
	background-color: #51b6d3;
}