/*	Style sheet for the Mile-High Murder Game website */

/*	----------------------------------------------------------------------------------------------

	Custom Properties (Variables)	

	----------------------------------------------------------------------------------------------	
*/


:root {
  --color-brand-bg: rgb(5, 17, 26); /* slightly darker version was rgb(3, 9, 17); what was #06111f ? */ 
  --color-brand-cyan: rgb(74, 128, 142); /* #4a808e */
  --color-brand-red: #c01b1b;
  --color-footer-grey: rgb(156, 163, 175);
  --color-light-grey-text: hsl(216, 12%, 84%);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}


/*	-----------------------------------------------------------------------------------------------

	HTML Elements

*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Jura", sans-serif;
}

h1 {
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	margin: 0;
	margin-bottom: 2rem;
}

	@media (min-width: 768px) {
		
		h1 {
			font-size: 2.25rem;
			
		}
	}


html {
	/* font-size: 100%; /* Is this right? */
}


/*	----------------------------------------------------------------------------------------------
	
	Flexbox Classes

	----------------------------------------------------------------------------------------------
*/

.flex-child-with-fixed-height,
.flex-child-with-fixed-width {
	flex: none;
}

.flex-child-that-fills-available-height {
	flex: 1 0 0;
}

.flex-child-that-fills-available-width {
	flex: 1 0 0;
}

.flex-child-that-grows-as-needed {
	flex: 1 0 auto;
}

.flex-child-that-shrinks-as-needed {
	flex: 0 1 auto;
}

.flex-child-that-grows-or-shrinks-as-needed {
	flex: 1 1 auto;
}

.flex-parent-responsive {
	display: flex;
	flex-direction: column;
	overflow-y: hidden;
}
		
	@media screen and (min-width: 1200px) {

		.flex-parent-responsive {
			display: flex;
			flex-direction: row;
			overflow-x: hidden;	
		}
		
	}
	
.flex-parent-horizontal {
	display: flex;
	flex-direction: row;
	overflow-x: hidden;
}

.flex-parent-vertical {
	display: flex;
	flex-direction: column;
	overflow-y: hidden;
}

.justify-content-flex-start {
	justify-content: flex-start;
}

.justify-content-space-between {
	justify-content: space-between;
}

.with-optional-wrapping {
	flex-wrap: wrap;
}

	
/*	-----------------------------------------------------------------------------------------------

	Home Page

*/

#home-page-startup-content {
	margin-top: -5rem; /* 	compensate for top padding of #page-content so that the binary rain
							starts from the very top of the screen, not 5rem down */
	height: 100vh;
	overflow: hidden;
	display: flex;
	position: relative; /* so Denver skyline and mountains can be absolutely positioned inside */
	flex-direction: column;
	/* border: 10px solid red; */
}

#home-page-main-content {
	color: var(--color-light-grey-text);
	font-size: 1.25rem;
}

#background-layer-for-binary-rain {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

#home-page-skull-container {
	flex: none;
	height: 35vh;
	margin-top: 15vh;
	text-align: center;
	opacity: 0;
	transform: scale(0.9);
	filter: blur(10px);
	animation-duration: 1.2s;
	animation-timing-function: cubic-bezier(0, 0, 0.2, 1); /* standard ease-out */
	animation-delay: 0.2s;
	animation-fill-mode: forwards; /* keeps the final animated state */
	animation-name: skullEntrance;
}

	@keyframes skullEntrance {
		
		to {
			opacity: 1;
			transform: scale(1);
			filter: blur(0px);
		}
	}

	@media screen and (min-width: 1200px) {
		
		#home-page-skull-container {
			height: 40vh;
		}
	}
	
#home-page-skull {
	max-height: 100%;
	max-width: 100%;
}

#invitation-to-enter-for-mobile {
	margin-top: 5vh;
	color: white;
	letter-spacing: 0.025em;
	line-height: 1.5;
	font-weight: 500;
	font-size: 20px;
	text-align: center;
	
	/*	This layer needs a higher z-index than the div #background-layer-for-binary-rain to
		prevent it from getting dimmed when the "rain" starts falling. */
	position: relative;
	z-index: 2;
}

	@media screen and (min-width: 1200px) {

		#invitation-to-enter-for-mobile {
			display: none;
		}

	}
	
#button-at-bottom {
	position: absolute;
	width: 100%;
	bottom: 5vh;
}

#invitation-to-enter-for-mobile p {
	margin: 0;
}
	
#scroll-down-to-book-summary-button {
	color: var(--color-brand-cyan);
	font-size: 48px;
	text-align: center;
	
	/*	This layer also needs a higher z-index than the div #background-layer-for-binary-rain. */
	position: relative;
	z-index: 2;
	display: none;
}

#book-cover-and-summary-anchor {
	position: relative;
	top: -4rem; /* compensate for height of #header (4rem), which has fixed positioning */
}


#book-cover-and-summary-of-novel {
	justify-content: center;
	align-items: center;
	padding: 5rem 0;
}

	@media screen and (min-width: 1200px) {
		
		#book-cover-and-summary-of-novel {
			gap: 4rem;
		}
		
	}

#book-cover-container {
	flex: none;
	max-width: 100%;
	padding: 0 2rem;
	margin-bottom: 1rem;
	position: relative; /* position light effect absolutely inside it */
}

#light-effect-around-book-cover {
	background-color: rgba(74, 128, 142, 0.2); /* brand cyan at 20% opacity */
	filter: blur(100px);
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	transform: matrix(1.5, 0, 0, 1.5, 0, 0);
}

#book-cover {
	box-shadow:
		rgba(0, 0, 0, 0) 0px 0px 0px 0px,
		rgba(0, 0, 0, 0) 0px 0px 0px 0px,
		rgba(74, 128, 142, 0.3) 0px 0px 40px 0px;
	
	max-width: 100%;
	max-height: 60vh;
	object-fit: contain;
	border-radius: 6px;
	position: relative; /* only so we can assign a z-index */ 
	z-index: 2;
}
	@media screen and  (max-width: 768px) {
		
		#book-cover {
			height: 300px;
		}			
	}
	
	@media screen and (min-width: 1200px) {
	
		#book-cover {
			max-height: none;
		}
		
	}
	
#summary-of-novel {
	width: 30em;
	padding: 2rem;
	max-width: 100%;
	line-height: 1.66;
}

#reading-links {
	padding-top: 2rem;
	gap: 2em;
	justify-content: center;
	align-items: center;
}

#read-first-chapter-button {
	font-size: 1rem;
	padding: 0.75rem 2.5rem;
	background-color: rgb(12, 22, 34);
	border: 1px solid rgb(26, 43, 60);
	color: white;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color 0.2s;
}

#read-first-chapter-button:hover {
	background-color: rgb(21 35 50);
}

#want-to-read-the-whole-novel {
	font-size: 1rem;
	color: var(--color-brand-cyan);
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.2s;
}

#want-to-read-the-whole-novel:hover {
	color: white;
}

#denver-city-image-for-mobile {
	position: absolute;
	bottom: 0;
	width: 100%;
}

#denver-city-image-for-mobile img {
	width: 100%;
}

	@media screen and (min-width: 1200px) {

		#denver-city-image-for-mobile {
			display: none;
		}	
		
	}

#parallax-layers-for-desktop {
	display: none;
}

	@media screen and (min-width: 1200px) {

		#parallax-layers-for-desktop {
			display: block;
		}
		
		.parallax-layer {
			position: absolute;
			bottom: 0;
		}
		
		.parallax-layer img {
			width: 100%;
			pointer-events: none;
		}
	}


/*	-----------------------------------------------------------------------------------------------

	Temporary home-page styles ("Coming soon...")

*/

#temporary-outer-container-for-home-page {
	height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: "Averia Libre", system-ui;
	font-weight: 400;
	font-style: normal;
	background-color: black;
	color: white;
	overflow: auto;
}

#temporary-inner-container-for-home-page {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: "Averia Libre", system-ui;
	font-weight: 400;
	font-style: normal;
	padding: 1vw;
}

#temporary-marquee {
	font-size: 3.5vw;
	text-align: center;
}

#temporary-marquee p {
	margin-top: 0;
}

#temporary-marquee h1 {
	/* font-family: "Protest Revolution", sans-serif; */
	font-family: "Special Elite", system-ui;
	font-size: 6vw;
	font-weight: normal;
	color: red;
}

#temporary-author-credit {
	font-size: 2vw;
}

#temporary-footer-for-home-page {
	flex: 0 0 5vh;
	font-size: 1vw;
}


/*	-----------------------------------------------------------------------------------------------

	Header

*/

#header {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4rem;
	filter: blur(0px); /* header gets blurred when a modal window opens */
	transition: filter 0.4s ease;	
	z-index: 2;
}

#header.blurred {
	filter: blur(2px);
}

	
#header.opaque {
	background-color: hsl(214, 70%, 4%);
}

#logo-in-header {
	margin: 0 1rem;
	justify-content: center;
	align-items: center;
}

	@media screen and (min-width: 1200px) {
		
		#logo-in-header {
			justify-content: flex-start;
		}
		
	}
	
#logo-in-header h1 {
	width: 375px; /* convert to rems? */
	margin: 0;
	padding-top: 0.4rem;
	padding-bottom: 0.5rem;
}

#logo-in-header h1 img {
	max-width: 100%;
}


/*	-----------------------------------------------------------------------------------------------

	Footer

*/

#footer {
	font-family: var(--font-mono);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 5rem;
	padding-bottom: 2rem;
}

#footer h2 {
	font-family: var(--font-mono);
	font-size: 1rem;
	font-weight: bold;
	letter-spacing: 0.1em;
}

#footer-tagline {
	text-align: center;
	font-size: 0.875rem;
	line-height: 1.625;
	width: 30rem;
	max-width: calc(100% - 2rem);
	margin: 0 auto;
	padding-top: 2rem;
	color: var(--color-footer-grey);
}

#logo-in-footer {	
	align-items: center;
}

#logo-in-footer {
	width: 30rem;
	max-width: calc(100% - 2rem);
	margin: 0 auto;	
}

#logo-in-footer img.skull {
	width: 4rem;	
	margin-bottom: 2rem;
	/*filter: drop-shadow(rgba(74, 128, 142, 0.3) 0px 0px 15px); */
}

#logo-in-footer img.book-title {
	width: 100%;
}

#footer-link-groups {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	overflow-x: hidden;
	justify-content: center;
	align-items: flex-start;
	gap: 15rem;
	margin-top: 5rem;
}

.footer-link-group ul {
	list-style-type: none;
	margin: 0;
	padding-left: 0;
	font-family: var(--font-mono);
	font-size: 0.875rem;
}

.footer-link-group ul li a {
	display: block; /* to extend clickable area above and below text */
	padding: 0.75rem 0;
	text-decoration: none;
	opacity: 0.9;
	transition: opacity 0.15s ease-out;
}

.footer-link-group ul li a,
.footer-link-group ul li a:visited {
	color: var(--color-footer-grey);
}	

.footer-link-group ul li a:hover {
	color: white;
}

#social-media-links {
	padding-top: 0.75rem;
	gap: 1.5rem;
}

#social-media-links > a {
	display: block;
	flex: 0 0 1.5rem;
}

#social-media-links > a,
#social-media-links > a:visited {
	color: var(--color-footer-grey);
}

#social-media-links > a:hover {
	color: white;
}

#copyright {
	margin-top: 4rem;
	text-align: center;
	font-family: var(--font-mono);
	color: rgb(107, 114, 128);
	font-size: 0.875rem;
}


/*	-----------------------------------------------------------------------------------------------

	Hamburger Button

*/

#hamburger-button {
	color: var(--color-brand-cyan);
	margin-left: 1rem;
	width: 2.25rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

	@media screen and (min-width: 1200px) {
		
		#hamburger-button {
			display: none;
		}
		
	}

#hamburger-button svg {
	width: 100%;
	padding: 0.2rem;
	border-radius: 4px;
	transition: all 100ms ease-out;
}

#hamburger-button svg:hover {
	color: white;
	background-color: rgb(255, 255, 255, 0.05);
	cursor: pointer;
}

/*	-----------------------------------------------------------------------------------------------

	Mobile navigation menu
	
*/

#close-mobile-menu-button {
	color: hsl(218, 10%, 65%);
	transition: color 100ms ease-out;
	width: 1.75rem;
}

#close-mobile-menu-button:hover {
	color: white;
}

#mobile-menu-header-bar {
	padding: 1rem;
	justify-content: space-between;
	align-items: center;
	background-color: #06181f;
	font-size: 0.9rem;
	letter-spacing: 0.2em;
}

#mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	background-color: #02060c;
	width: 20rem;
	max-width: 100%;
	z-index: 101;	
	border-right: 1px solid rgb(26, 50, 74, 0.6); /* rgba(26, 50, 74, 0.3); /* hsl(210, 48%, 20%); */
	transform: translateX(-20rem);
	transition: transform 0.25s ease-out;
}

#mobile-menu-overlay.active {
	transform: translateX(0);
}

#mobile-navigation-menu {
	font-family: var(--font-mono);
	text-transform: uppercase;
}

#mobile-navigation-menu ul {
	list-style-type: ">";
}

#mobile-navigation-menu ul li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mobile-navigation-menu ul li a {
	display: block;
	padding: 1.25rem 1rem 1.2rem 1rem;
}


/*	-----------------------------------------------------------------------------------------------

	Desktop navigation menu

*/

#desktop-navigation-menu {
	display: none; /* in mobile view */
}

@media screen and (min-width: 1200px) {

	#desktop-navigation-menu {
		display: block;
		/* font-size: 1.1rem; */
		/* text-transform: uppercase; */
		font-family: var(--font-mono);
	}
	
	#desktop-navigation-menu nav {
		height: 100%; /* for vertical centering of menu items */
	}
	
	#desktop-navigation-menu nav ul {
		list-style: none;
		margin: 0;
		padding-left: 0;
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		height: 100%; /* for vertical centering of menu items */
	}

	#desktop-navigation-menu nav ul a {
		margin: 0 0.33em;
		padding: 1em;
	}
		
}


/*	-----------------------------------------------------------------------------------------------

	Mobile and desktop navigation menus: styling common to both

*/

.site-navigation-menu {

}

.site-navigation-menu ul li a,
.site-navigation-menu ul li a:visited {
	display: block; /* to extend clickable area above and below text */
	color: white;
	text-decoration: none;
	opacity: 0.9;
	transition: opacity 0.15s ease-out;
}

.site-navigation-menu ul a:hover {
	opacity: 1.0;
	text-shadow: 0 0 20px white, 0 0 25px var(--color-brand-cyan);
}

.site-navigation-menu ul a span {
	border-bottom: 3px solid transparent;
	padding: 0.25em 0;
	transition: border-color 0.15s ease-out;
}

.site-navigation-menu ul a:hover span {
	opacity: 1;
	border-bottom: 3px solid var(--color-brand-cyan);
}


/*	-----------------------------------------------------------------------------------------------

	Modal Windows

*/

#modal-windows {
	display: none;
}

#modal-window-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow-y: hidden;
	z-index: 101;
	/*	also see below, under "Animations" */
}

#modal-window-container > * {
	margin: 3rem;
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	overflow-y: hidden;
	/* max-width: 800px; */
	animation-name: expand;
	animation-duration: 0.5s;
}

	@keyframes expand {
		
		from {
			transform: scale(0);
		}
		
		to {
			transform: scale(1.0);
		}
		
	}

#modal-window-container > *.closing {
	animation-name: shrinkAway;
	animation-duration: 0.3s;
}

	@keyframes shrinkAway {
		
		from {
			transform: scale(1.0);
		}
		
		to {
			transform: scale(0);
		}
		
	}

.modal-window-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	background-color: #061C23;
}



/*	-----------------------------------------------------------------------------------------------

	Modal Window: Sign-up Form

*/

#sign-up-modal-window {
	font-family: "Share Tech Mono", monospace;
	border: 2px solid white;
	box-shadow: 0 4px 44px #91CBDF;
}

#sign-up-modal-window .modal-window-header {
	background-color: #061C23;
	color: #889BA1;
	font-size: 1.5rem;
	padding: 0.5em 1em;
}

#sign-up-modal-window .modal-window-body {
	background-color: #0C3441;
	color: white;
	padding: 3rem 4rem;
	overflow-y: auto;
}

#sign-up-modal-window .close-modal-window-button {
	background-color: transparent;
	border: none;
	cursor: pointer;
}

#sign-up-modal-window a {
	color: #91CBDF;
}

#top-message {
	font-size: 1.3rem;
	padding-bottom: 1rem;
}

#sign-up-fields {
	width: 25rem;
	margin-right: 5rem;
	flex: none;
	font-family: "Jura", sans-serif;
}

#sign-up-fields .labeled-field {
	position: relative; /* so that the label can be absolutely positioned inside it */
}

#sign-up-fields .labeled-field :is(input[type=text], input[type=email], select) {
	width: 100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-size: 1.3rem;
	padding-top: 1.5rem;
	padding-bottom: 0.4rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	color: #333; /* or #0C3441 ? */
}

#sign-up-fields .labeled-field :is(input[type=text], input[type=email], select).invalid {
	border: 0.15em solid #FF6B6B;
	box-shadow: 0 0 0 3px rgba(255,107,107,.18) !important;
	animation: shake .3s ease;
}

/*	"Shake" animation from Yavin's script */
@keyframes shake {
	0%,100% {transform:translateX(0)}
	20% {transform: translateX(-5px)}
	40% {transform: translateX(5px)}
	60% {transform: translateX(-4px)}
	80% {transform: translateX(3px)}
}
	
#sign-up-fields .labeled-field label {
	font-family: "Jura", sans-serif;
	font-size: 0.9rem;
	color: #889BA1; /* #0C3441; /* NOT SURE ABOUT THIS! */
	position: absolute;
	margin-top: 1rem;
	padding-top: 0.5rem;
	padding-left: 0.75rem;
	font-weight: bold;
	transition: all 0.2s; /* EXPERIMENTING!!! */
}

#sign-up-fields .labeled-field:has(input:focus) label,
#sign-up-fields .labeled-field:has(select:focus) label {
	font-size: 1rem;
	color: #0C3441;
}

#sign-up-fields select {
	padding-top: 0.5rem;
}

#sign-up-fields select option {
	font-size: 1rem;
}

#sign-up-fields #first-name {
	width: calc(100% - 0.5em);
}

#sign-up-fields #city {
	width: 12em;
	margin-right: 0.5em;
}

#sign-up-fields #country {
	padding-top: 1.7rem;
	padding-left: 3.25rem;
}

#sign-up-fields #flag-of-chosen-country {
	position: absolute;
	top: 3rem;
	left: 0.75rem;
	width: 2rem;
	height: 1.25rem;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

#sign-up-fields #flag-of-chosen-country img {
	box-shadow: 0 0 0.25em #999;
	max-width: calc(100% - 0.25em); /* don't cut off box shadow */
	max-height: calc(100% - 0.25em); /* ditto */
}

#sign-up-fields #flag-of-chosen-country.user-is-typing {
	/*	Un-comment the style below if you want a light-grey rectangle to appear in place of a flag
		while the user is typing. */
	/* background-color: #CCC; */
}

#sign-up-fields #flag-of-chosen-country.user-is-typing img {
	display: none;
}

#sign-up-fields #matching-country-names {
	display: none;
	position: absolute;
	margin-top: -1rem;
	max-height: 13rem;
	width: 100%;
	background-color: white; /* #EEE; */
	color: black;
	font-size: 1.3rem;
	overflow-y: auto;
	z-index: 3;
	border: 1px solid black;
	border-top: none;
}

#matching-country-names .country-suggestion {
	display: flex;
	flex-direction: row;
	padding: 0.5rem 0.75rem;
	user-select: none;
}

#matching-country-names:not(.under-keyboard-control) .country-suggestion:hover,
#matching-country-names .country-suggestion.highlighted {
	background-color: #1967D2;
	color: white;
}

#matching-country-names .country-suggestion .country-flag {
	flex: 0 0 2rem;
	margin-right: 0.75rem;
}

#matching-country-names .country-suggestion .country-flag img {
	max-width: 100%;
	box-shadow: 0 0 0.25em #999;
}

#matching-country-names .country-suggestion .country-name {
	flex: 1 1 auto;
}

#matching-country-names .no-matches-found,
#matching-country-names .start-typing-prompt {
	font-style: italic;
	padding: 1rem 0.75rem;
}

#matching-country-names .start-typing-prompt {
	display: none;
}

#sign-up-button {
	width: 100%;
	font-size: 1.25rem;
	margin-top: 1em;
	margin-bottom: 2em;
	padding-top: 0.75em;
	padding-bottom: 0.75em;	
	background-color: transparent;
	border: 1px solid white;
	color: white;
}

#sign-up-button:hover {
	box-shadow: 0 4px 44px #91CBDF;
}

#sign-up-button:active span {
	position: relative;
	top: -0.1em;
	left: 0.1em;
}

#email-usage-container {
	position: relative; /* position pop-up absolutely inside it */
}

#show-info-on-email-address-usage {
	padding: 0.5em 1em;
	text-decoration: underline;
	cursor: pointer;
}

#how-will-my-email-address-be-used {
	display: none;
	position: absolute;
	top: -13rem;
	left: 3rem;
	width: 25rem;
	padding: 0.5rem 1.5rem;
	background-color: rgba(6, 28, 35, 0.95);
	border-radius: 1rem;
	z-index: 4;
}

#email-usage-container:has(a:hover) #how-will-my-email-address-be-used {
	display: block;
}

#sign-up-supporting-text {
	font-size: 1.1rem;
	line-height: 1.75;
	width: 30rem;
	margin-top: 1rem;
	margin-left: 2rem;
	border-left: 2px solid white;
	padding-left: 2rem;
}

#sign-up-supporting-text ul {
	padding-left: 1.5em;
}

#sign-up-supporting-text li {
	padding-left: 1em;
	margin-bottom: 1em;
}

#sign-up-supporting-text li::marker {
	content: ">";
}

.invalid-input-message {
	display: none;
	font-size: 1rem;
	color: #FF6B6B;
	margin-top: -0.5em;
}


@media screen and (max-width: 1199px) {

	/*	NEED TO REDO THIS */
	#sign-up-modal-window .flex-parent-horizontal.on-wide-screens-only {
		display: block;
	}
}


/*	-----------------------------------------------------------------------------------------------

	Miscellaneous IDs and Classes

*/

.absolutely-positioned {
	position: absolute;
}

.align-self-center {
	align-self: center;
}

.alt-logo {
	display: none;
}

.animate-pulse {
  animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-slow-pulse {
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

	@keyframes pulse {
	  0%, 100% {
		opacity: 1;
	  }
	  50% {
		opacity: .5;
	  }
	}

#app-simulator {
	margin: 0 auto;
	width: 270px;
	height: 600px;
	overflow-y: scroll;
}

#app-simulator img {
	max-width: 90%;
}

#app-simulator-wrapper {
	background-image: url("images/phone-background-rough.jpg");
	background-position: center;
	background-repeat: no-repeat;
	height: 829px;
	padding-top: 150px;
}

button.custom {
	font-family: "Jura", sans-serif;
	
	/*	Override browser defaults for buttons. See:
		https://css-tricks.com/overriding-default-button-styles/
	*/
	display: inline-block;
	background-color: transparent;	
	border: none;
	padding: 0;
	margin: 0;
	text-decoration: none;
	font-size: 1rem;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.container-for-columns-of-equal-width {
	display: flex;
	flex-direction: row;
}

.container-for-columns-of-equal-width > * {
	flex: 1 1 0;
}

#details-on-novel,
#teaser {
	display: none;
}

.center-contents-vertically-and-horizontally {
	display: flex;
	justify-content: center;
	align-items: center;
}

.centered {
	text-align: center;
}

.centered-container-with-64rem-max-width {
	max-width: 64rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.dialog-buttons {
	margin-top: 25px;
	text-align: right;
}

#error-message-modal-window,
#modal-window-container #error-message-modal-window {
	max-width: 800px;
	background-color: white;
	color: black;
	padding: 2rem;
	border-radius: 1rem;
	overflow-y: auto;
}

.typed-text {
	display: none;
}

.information-circle {
	border: 2px solid white;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	font-weight: bold;
}

.overflow-hidden {
	overflow: hidden;
}

#page-content {
	background-color: var(--color-brand-bg);
	filter: blur(0px); /* page content gets blurred when a modal window opens */
	transition: filter 0.4s ease;
	padding-top: 5rem;
}

	/* TEMPORARY FIX FOR VERY NARROW CELL-PHONE SCREENS
	@media screen and (max-width: 1080px) {
		
		#page-content {
			width: 100%;
			border: 10px solid orange;
			overflow-x: scroll;
		}
	}
	*/

#page-content.blurred {
	filter: blur(2px);
}

#screen-dimmer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: black;
	visibility: hidden;
	opacity: 0;
	transition: all 0.4s ease;
	z-index: 100;
}

#screen-dimmer.active {
	visibility: visible;
	opacity: 0.7;
}

#simulated-cursor {
	margin-left: 2px;
	border-left: 2px solid var(--color-brand-cyan);
	animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
	position: absolute; /* so it won't throw off centering when it disappears at end of animation */
}

	@keyframes pulse {
		0%, 100% {
			opacity: 1;
		}
		50%	{
			opacity: 0.5;
		}
	}
	
#temporary-local-storage-dump {
	width: 1000px;
	height: 500px;
}

#temporary-skull-container {
	text-align: center;
	background-color: white;
	padding: 20px 0;
}

#temporary-skull-container img {
	width: 150px;
}

.thin-gradient-divider {
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(74, 128, 142, 0.5), rgba(0, 0, 0, 0));
	height: 10px;
	border-left: 10px solid red;
	border-right: 10px solid red;
}
