/* PharoidFILM */
@font-face {
  font-family: 'logo';
  src: url('font/logo.woff2') format('woff2'),
       url('font/logo.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ui';
  src: url('font/ui.woff2') format('woff2'),
       url('font/ui.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'pharoid1';
  src: url('font/pharoid1.woff2') format('woff2'),
       url('font/pharoid1.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'pharoid2';
  src: url('font/pharoid2.woff2') format('woff2'),
       url('font/pharoid2.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: '777';
  src: url('font/777.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
	--page-width: 900px;
	--page-background: hsl(57, 38%, 89%);

	--navbar-color: hsl(0, 10%, 24%);

	--font-color: hsl(60, 2%, 8%);
	--font-muted-color: hsl(258, 9%, 71%);
	--font-darker-color: hsl(60, 2%, 37%);
	--hyperlink-color: #35496b;

	--separator-color: hsl(0, 20%, 72%);
	--primary-color: #5e5c51;
}


html, body, #wrapper, #main-container {
	margin: 0; padding: 0;
	height: 100%;
	min-height: 100%;
	position: relative;
}

body {
	/* Padding top for navbar */
	/* padding-top: 110px; for fixed-top added to nav class option only */
    margin: 0; padding: 0;
	background-color: var(--page-background);
    background-image: url(../img/bg.webp);
	/*Font stuff*/
	font-family: "pharoid2", Tahoma, Geneva, sans-serif;
	font-style: normal;
	font-size: 1em;
	color: var(--font-color);
	position: relative;
}
html {
	scroll-behavior: smooth;
}
section {
	padding: 150px 0;
}

img {
	max-width: 100%;
}

#beggaring { display: block; float: right; margin: 0 18px 8px 18px; width: 92px; text-align: right; font: normal 14px "pharoid1", "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #232323; }
#donate { list-style-type: none; text-align:right; margin: 0 18px 18px 18px; }

p code {
	color: hsl(303, 30%, 50%);
	background-color: hsl(305, 16%, 15%);
	padding: 0 3px;
}

pre code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title,
h3.title,
h4.title,
h5.title {
	margin: 0;
	padding: 0;
    font-family: "pharoid1", "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #232323;
}

#page-end-section h2 {  }

h1.title { font-size: 1.8em; }
h2.title { font-size: 1.4em; }
h3.title { font-size: 1.3em; }
h4.title { font-size: 1.2em; }
h5.title { font-size: 1.1em; }
h6.title, h6 { font-size: .9em; }

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

a {
	color: var(--hyperlink-color);
	text-decoration: none !important;
}

a:hover {
	color: inherit;
}

/*Classes*/
.vr {
	display: inline-block;
	align-self: center;
	width: 1px;
	min-height: 1em;
	background-color: #fff;
	opacity: .25;
}

#main-container {
	max-width: var(--page-width);
	margin: 0 auto;
}
.main-content {
	display: flex;
	flex-direction: row;
}

@media (max-width: 605px) {
	.main-content {
		display: flex;
		flex-direction: column;
	}
}

.main-content-posts {
	margin: 1em; padding: .5em; margin-top: 3.5em;
	width: 600px; max-width: 92%; 
	flex-grow: 2;
}
.sidebar {
	margin: 1em; padding: .5em;
	width: 300px; max-width: 90%;
	flex-grow: 1;
}

#site-footer {
    position: absolute; bottom: .5em; right: .5em;
	color: hsl(0, 10%, 36%); text-align: right;
}
#site-footer .powered {
	background-color: #5e5c51; color: #FDFDFD;
	border-radius: 4px;
	font-weight: bold;
	font-size: 12px;
	padding: 4px 8px;
}

.text-muted {
	color: var(--font-muted-color) !important;
}

.text-primary {
	color: var(--primary-color) !important;
}

.text-darker {
	color: var(--font-darker-color);
}
/* Navbar */
.navbar {
	display: block; width: 100%; margin: 0; padding: 0;
	background-color: var(--navbar-color);
	height: 102px;
}

.navbar-brand {
	display: flex;
	align-items: baseline;
	gap: 6px;
	position: relative;
}

.navbar-brand img.logo, .navbar-brand img {
	width: auto; height: 64px; max-width: 261px; max-height: 64px; position: absolute; top: -24; left: 14px;
}

a.navbar-brand { display:inline-flex; align-items: center; justify-content: center; }
h1.site-title, .slogan, .plugin-label {
	font: bolder 1em "ui", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #FDFDFD;
}
.slogan { max-width: 220px;}
h1.site-title { display: block; position: absolute; top: 18px; left: 92px; }
h1.site-title-only { display: block; font: normal 12px "logo", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 1px; color: #FDFDFD; }
h2.plugin-label { font-size: 1.1em; color: #111111; }
.plugin-content { font-size: .93em; color: #433737; }

.navbar-brand .slogan {
	font-size: 0.9em;
}
.slogan { position:absolute; right: 50px !important; }
.nav-link {
	font-size: 1em;
	gap: 8px;
}

.navbar-toggler {
	border: none;
}

/* Plugins */
.plugin {
	margin-bottom: 1rem;
}

.plugin-label {
	font-size: 1em;
	margin: 0;
}

.plugin ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Page disp */

/* Cover image*/
.cover {
	width: 500px;
	max-width: 98%;
	height: auto;
	/* height: 200px; */
	/* object-fit: cover; */
}

#film_page_data { margin: 0; padding: 0; display: block; }

ul#film_data, ul#film_data li span.fdlabel { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif; color: rgb(53, 115, 165); }
ul#film_data { list-style-type: none; margin: 0; padding: 0; }
ul#film_data li span.fdlabel { font-weight: bolder; color: #232323; }

/* Home Posts*/
.post {
	margin: 0; padding: 0;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--separator-color);
	position: relative;
}

.post img.cover {
    margin: 0 auto; padding: 0;
	height: auto;
	height: 200px; 
	object-fit: cover;
	/* object-position: 5px 10%; */
}

.post_author, .author_name { font: italic 16px "ui", "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #232323; }
.author_name { font-weight: bolder !important; }

.post .head {
	color: var(--primary-color);
}

.post .date { min-width: 120px; text-align: right; }


/* pharoid's infamous taggywag */
.post .taggywag {
  appearance: none;
  background-color: #433737;
  border: 1px solid rgba(27, 31, 35, .15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin: 2px 1px;
  padding: 3px 12px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
}

.post .taggywag:focus:not(:focus-visible):not(.focus-visible) {
  box-shadow: none;
  outline: none;
}

.post .taggywag:hover {
  background-color: #5c4a4a;
}

.post .taggywag:focus {
  box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
  outline: none;
}

.post .taggywag:disabled {
  background-color: #4d4141;
  border-color: rgba(27, 31, 35, .1);
  color: rgba(255, 255, 255, .8);
  cursor: default;
}

.post .taggywag:active {
  background-color: #433737;
  box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

.post .date {
	font-size: 0.8rem;
	margin: 0;
}

.review-section {}

/*Post list*/
.pag .pag-link {
	margin-right: 8px;
}

.pag-link.disabled {
	pointer-events: none;
}

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Plugs */

#page-end-section { font: bolder 16px "ui", "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #232323; }
#page-end-section h2 { font: bolder 24px "pharoid1", "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #232323; }

.plugin-content img { border-radius: 4px;}

  #backtotop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 99;
    font-size: 18px;
    border: 1px solid #999999;
    outline: none;
    background-color: #FDFDFD;
    color: #565656;
	opacity: .6;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    }
  #backtotop * { border: 0; outline: none; }
  #backtotop:hover {
    background-color: #ebe9e0; 
    color: #565656;
    }


@media only screen and (max-width: 600px) {

.sidebar {
	margin: 1em; padding: .5em;
	width: 100%; max-width: 96%;
	flex-grow: 1;
}

}