/*
Theme Name: Love & Extinction
Template: twentyeleven
Text Domain: loveandextinction
Version: 1.0.58
*/
@import url("../twentyeleven/style.css");

@font-face {
    font-family: 'Eurostile Bold';
    src: url('fonts/eurostile-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Libron';
    src: url('fonts/Libron-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Libron';
    src: url('fonts/Libron-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Libron';
    src: url('fonts/Libron-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Libron';
    src: url('fonts/Libron-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('fonts/Times New Roman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('fonts/Times New Roman Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('fonts/Times New Roman Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('fonts/Times New Roman Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Comic Relief';
    src: url('fonts/ComicRelief-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Comic Relief';
    src: url('fonts/ComicRelief-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

.start-reading a {
	font-family: "Eurostile Bold", sans-serif;
	letter-spacing: 0.1rem;
	text-shadow: rgba(101,188,188,0.6) 0px 0px 10px;
}

.dinkus img {
	margin-bottom: 30px;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.end-chapter-dinkus img {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/*Site Background*/
.side-left {
	z-index: 10000;
	pointer-events: none;
}

.side-right {
	z-index: 10000;
	pointer-events: none;
}

#background-left {
	height: 100vh !important;
	float: right;
	-webkit-mask-image: 
		linear-gradient(to right, transparent 0%, black 25%),
		linear-gradient(to left, transparent 0%, black 5%);
  mask-image: 
		linear-gradient(to right, transparent 0%, black 25%),
		linear-gradient(to left, transparent 0%, black 5%);
	-webkit-mask-composite: source-in;
  mask-composite: intersect;
	pointer-events: none;
}

#background-right {
	height: 100vh !important;
	-webkit-mask-image: 
		linear-gradient(to left, transparent 0%, black 25%),
		linear-gradient(to right, transparent 0%, black 5%);
  mask-image: 
		linear-gradient(to left, transparent 0%, black 25%),
		linear-gradient(to right, transparent 0%, black 5%);
	-webkit-mask-composite: source-in;
  mask-composite: intersect;
	pointer-events: none;
}

#page {
	border-radius: 0 !important;
	margin-top: 0;
	margin-bottom: -3em !important;
}

#branding {
	z-index: auto !important;
}

#site-title a,
#site-description {
    color: #d6d6d6;
}

.boilerplate {
	margin-bottom: 1em;
}

/* Page Adjustments */
.book-header {
	font-family: "Eurostile Bold", sans-serif !important;
	margin: 0 !important;
	margin-left: 3.5em !important;
	font-size: 1.8em !important;
	font-weight: bold !important;
	margin: 0 0 .8125em;
	letter-spacing: normal !important;
	text-transform: none !important;
	line-height: 1.625 !important;
}


.part-header {
	font-family: "Eurostile Bold", sans-serif !important;
	margin: 0 !important;
	margin-left: 5.1em !important;
	font-size: 1.4em !important;
	color: #888;
	font-weight: bold !important;
	margin: 0 0 .8125em;
	letter-spacing: normal !important;
	text-transform: none !important;
	line-height: 1.625 !important;
}

h3:not(.block-editor-block-list__block) {
	font-size: 2em !important;
	color: #fff;
	font-weight: bold !important;
	margin: 0 0 .8125em;
	letter-spacing: normal !important;
	text-transform: none !important;
	line-height: 1.625 !important;
}

.wp-block-quote {
	margin-top: -1em;
	margin-bottom: 4em !important;
}

cite {
	text-indent: 3em;
}

.reading-mode-only {
	display: none;
}

/* Nav Buttons */
.nav-previous a:not(.top-nav-img-btn) {
	opacity: 0;
}

.nav-next a:not(.top-nav-img-btn) {
	opacity: 0;
}

.nav-button-disabled {
	pointer-events: none;
	filter: grayscale(100%) brightness(50%);
}

.top-nav-img-btn {
  display: block;
  width: clamp(8em, 33vw, 13em); 
  height: 60px;
  background-size: center;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: center;
}

.nav-img-btn {
  display: block;
  width: auto;
  height: 60px;
  background-size: center;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: center;
}

.prev-img-btn {
	float: left;
  background-image: url('https://loveandextinction.com/wp-content/themes/loveandextinction/media/art/ButtonPrevDarkMode.svg');
}
.prev-img-btn:hover {
  background-image: url('https://loveandextinction.com/wp-content/themes/loveandextinction/media/art/ButtonPrevDarkModeHOVER.svg');
}

.next-img-btn {
	float: right;
  background-image: url('https://loveandextinction.com/wp-content/themes/loveandextinction/media/art/ButtonNextDarkMode.svg');
}
.next-img-btn:hover {
  background-image: url('https://loveandextinction.com/wp-content/themes/loveandextinction/media/art/ButtonNextDarkModeHOVER.svg');
}

/* Header */
/*Header*/
#branding {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 0;
	border-top: none !important;
	padding-top: 50px;
}

#branding img {
    display: none;
}

.custom-logo {
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: center;
	display: block !important;
	height: 150px;
	width: 680px;
	z-index: 2;
	overflow: visible;
	position: relative;
	translate: 0px 1.6em;
	margin-bottom: 6.5em;
}

.custom-logo:hover {
    cursor: pointer;
}

.card-image {
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: center;
	display: block !important;
	height: 150px;
	width: 100%;
	z-index: 1;
	overflow: clip !important;
	position: absolute;
	pointer-events: none;
	translate: 0 8.4em;
}

.obelisk-image {
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: center top;
	display: block !important;
	height: 695px;
	min-width: 100vw;
	z-index: auto;
	overflow: clip !important;
	position: absolute;
	pointer-events: none;
	vertical-align: top !important;
	margin-top: -3.8em !important;
}

#author-text-anchor {
	margin-left: auto !important;
	margin-right: 10.4em;
}

#author-text {
	z-index: -1;
	font-size: 22px;
	font-weight: bold;
	font-family: 'Eurostile Bold', sans-serif;
	color: #FFFFFF;
	z-index: 1;
	pointer-events: none;
	position: absolute;
	letter-spacing: 0.05rem;
	width: 188px;
	height:120px;
	top: 0.8rem;
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: -37px -12px;
	overflow: clip !important;
}

#access {
	z-index: 999;
}

/* Tablet Styles */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.custom-logo {
		width: 600px;
	}
	
	.card-image {
		translate: 0 8.4em;
	}
	
	#author-text-anchor {
		margin-right: 7.7em !important;
	}
	
	#author-text {
		font-size: 20px !important;
		margin-bottom: 5.8em !important;
		top: 1rem !important;
	}
}

/* Mobile Styles */
@media only screen and (max-width: 767px) {
  .custom-logo {
		width: 600px;
	}
	
	.card-image {
		translate: 0 8.4em;
	}
	
	#author-text-anchor {
		margin-right: 7.7em !important;
	}
	
	#author-text {
		font-size: 20px !important;
		top: 0.65rem !important;
	}
	
	.obelisk-image {
		margin-top: -3.9em !important;
	}
}

/* Super Small */
@media only screen and (max-width: 580px) {
	#author-text-anchor {
		display: none;
	}
	
	.custom-logo {
		margin-top: -2.3em;
		width: 300px;
		translate: 0px -2.5em;
	}
	
	.card-image {
		height: 100px;
		translate: 0 1.3em;
	}
	
	#access {
		margin-top: -55px;
	}
	
	.obelisk-image {
		width: 340px;
		margin-top: -3.9em !important;
	}
}

/* Menu */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	#latest-chapter a {
		margin-left: -5.97rem !important;
  	top: 1rem !important;
		font-size: 1rem !important;
	}
}

@media only screen and (max-width: 767px) {
	#latest-chapter a {
		display: inline-block !important;
		margin-left: -5.92rem !important;
  	top: 0.75rem !important;
		font-size: 0.74rem !important;
	}
}

.entry-title {
	font-family: "Eurostile Bold", sans-serif !important;
	text-transform: uppercase;
}

.chapters-list {
	margin-top: 5px;
	padding-bottom: 3rem;
}

.chapters-list li {
	font-family: "Eurostile Bold", sans-serif !important;
	font-size: 20px;
	margin: 0 auto;
	width: 68.9%;
	line-height: 1.7rem;
}

#start-reading a {
	text-shadow: rgba(111,137,232,0.6) 0px 0px 10px;
}

#latest-chapter a:not(.patreon) {
	text-shadow: rgba(111,137,232,0.6) 0px 0px 10px;
}
	
.chapters-list li a:not(.patreon) {
	text-shadow: rgba(111,137,232,0.6) 0px 0px 10px;
}

#latest-chapter a.patreon {
	text-shadow: rgba(254,112,0,0.6) 0px 0px 10px;
}

.chapters-list li a.patreon {
	text-shadow: rgba(254,112,0,0.6) 0px 0px 10px;
}

#latest-chapter > a:nth-child(1) {
	font-size: 22px;
}


.wpnm-button {
	margin: 0 !important;
	height: 1.85em
}

.wpnm-button-inner-left {
	vertical-align: center !important;
}

.menu-option {
	margin-left: 0.2em !important;
	margin-right: 0.2em !important;
}

.menu-option a {
	font-family: "Eurostile Bold", sans-serif !important;
	font-size: 22px !important;
	letter-spacing: 0.03rem;
}

#access ul{
    text-align: center;
}

#access li{
    float: none;
    display: inline-block;
    *display: inline;
    *vertical-align: middle;
}

#access ul li:not(:has(ul)):hover > a,
#access ul li:not(:has(ul)).current_page_item > a,
#access ul li:not(:has(ul)).current-menu-item > a {
    border-radius: 6px;
}

#access ul ul {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: inherit;
}

#access ul ul li {
    text-align: center;
    width: auto;
}

#access ul ul a {
    width: max-content;
    padding-left: 15px;
    padding-right: 15px;
    min-width: 6rem;
	  font-size: 16px !important;
}

#access ul ul li:first-child a {
    margin-top: -1px;
    border-radius: 6px 6px 0 0;
}

#access ul ul li:last-child a {
    border-radius: 0 0 6px 6px;
}

#access ul ul li:only-child a {
    border-radius: 6px;
}

/* Block Dropdowns */
.wp-block-details {
	border-left: 2px solid transparent;
}

.wp-block-details > :where( :not( summary ) ) {
	margin-left: 2rem;
	margin-right: 2rem;
	padding-left: 1rem;
}

.wp-block-details > :where( :not( summary ) ):first-of-type {
    margin-top: 1.5rem;
}

.wp-block-details[open] {
	border-color: lightgray;
	border-top-left-radius: 20px;
}

.wp-block-details summary {
	font-weight: 500;
	font-size: 1.1em;
	width: fit-content;
	padding: .3rem .5rem .3rem;
	border-radius: 20px;
	list-style: none;
	text-decoration: underline;
}

.wp-block-details[open] summary,
.wp-block-details summary:hover,
.wp-block-details summary:focus {
	background: lightgray;
	color: black;
	text-decoration: none;
}

.wp-block-details[open] summary {
	border-bottom-left-radius: 0;
}

.wp-block-details[open] .wp-block-heading {
	margin-left: 0;
}

.wp-block-details[open] p {
	padding-left: 0;
}

.wp-block-details summary::before {
    content: "❯";
    margin-right: 8px;
    display: inline-block;
    transition: transform 0.2s;
}

.wp-block-details summary::-webkit-details-marker,
.wp-block-details summary::marker {
    display: none;
}

.wp-block-details[open] summary::before {
    transform: rotate(90deg);
}

.wp-block-quote {
/*	border: 3px dotted #333 !important; TODO: keep? */
	padding: 20px !important;
	padding-bottom: 0px !important;
	margin-bottom: 10px !important;
	margin-left: -10px !important;
	margin-right: -10px !important;
}

/* Header */
#site-title,
#site-description {
    display: none !important;
}

.custom-logo {
	background-image: url('media/art/BookLogoDarkMode.svg');
}

.custom-logo:hover {
	background-image: url('media/art/BookLogoLightMode.svg');
	-webkit-filter: drop-shadow(0 0 15px rgba(191,103,249,0.6));
    filter: drop-shadow(0 0 15px rgba(191,103,249,0.6));
}

.card-image {
	background-image: url('media/art/BranchCard.svg');
}

.obelisk-image {
	background-image: url('media/art/SplashImageDarkMode.png');
}

#author-text {
	background-image: url('media/art/AuthorNameDarkMode.svg');
}

/*
.entry-title {
	background-image: url('media/art/PageTitleBarWebVector.svg');
}
*/

/*
.nav-previous a {
	background-image: url('media/art/ButtonPrevDarkMode.svg');
}

.nav-next a {
	background-image: url('media/art/ButtonNextDarkMode.svg');
}
*/

/* chapter boilerplate (?) */

.boilerplate-column p:first-of-type {
  margin-bottom: 0.25rem;
}

#hiatus-announcement {
	font-size: 20px;
	font-weight: bold;
	color: #EFEFEF;
}

#searchform {
	display: none;
}

/* homepage stuff
 * 
 * */
#start-reading {
	font-size: 1.5rem;
	vertical-align: middle;
}
	
/* brackets */
.brackets:before,
.brackets:after {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	z-index: 1;
	font-size: 2rem;
	font-family: "Georgia";
	transform: translateY(-5px) scaleY(2);
}
.brackets:before {
	content: '{';
}
.brackets:after {
	content: '}';
}

.synopsis { /* also used in table of contents */
	margin-top: 1rem;
	font-style: italic;
	text-align: left;
}

/* disclaimers
 * home and toc*/
.disclaimer {
	font-size: .8rem;
	font-style: italic;
	font-variant: normal;
	font-weight: 300;
	opacity: 60%;
}

/* discord+patreon buttons */
figure.patreon-button,
figure.discord-button {
	padding: 0;
}

/* Patreon decorators */

.patreon {
	--orange: #fe7000; /* patreon orange */
	text-decoration: none;
	color: var(--orange);
	font-weight: 600;
}

#latest-chapter-link a.patreon {
	text-decoration: underline dotted var(--orange) !important;
}

a.patreon {
	text-decoration: underline dotted var(--orange) !important;
}

/* External Links */

a[href*="//"]:not([href*="eesharp.com"]):not([href*="baronandzombie.com"]):not([href*="loveandextinction.com"]):not([href*="discord.gg"]) {
	
}

/* indicator symbol */
a[href*="//"]:not([href*="eesharp.com"]):not([href*="baronandzombie.com"]):not([href*="loveandextinction.com"]):not([href*="discord.gg"]):after {
	float: none;
	display: inline-flex;
	vertical-align: 35%;
	font-size: .6rem;
	font-style: italic;
	content: 'ext';
}

/* Home Page Changes */
body.home .entry-title {
	display: none !important;
}

body.home #access {
	margin-bottom: -3rem !important;
}

body:not(.single-post):has(.entry-title) #access {
    margin-bottom: -3rem !important;
}

/* Footer Changes */
#site-generator {
	color: #FFFFFF;
}

footer a[href*="privacy-policy"]:not(:hover) {
	color: #46c3d6 !important;
}

/* Comment Section Changes */
input[type="submit"][name="submit"] {
	text-align: center !important;
  padding-left: 20px !important;
	padding-right: 20px !important;
}

input[type="submit"][name="submit"]:hover {
	background-color: #A2A2A2 !important;
}

/* CHAPTER STYLING */

/* section separator flame */
img.section {
	width: 64px;
	margin: auto;
	display: block;
}
