@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,600;1,300;1,600&display=swap');


/*
Theme Name: Authorial
Theme URI: 
Author: New Perspectives
Author URI: http://newperspectives.eu
Description: An online typewriter
Version: 1.0

*/
/* Variables - Change the look of your site simply.
-------------------------------------------------------------- */


:root {
  --darkmodecolor: #ffffff;
  --darkmodelink: #ffffff;
  --darkmodebackground: #2A3135;
}


/* Reset
-------------------------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */

  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */

  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */

}

button,
input,
select,
textarea {
  font-size: 100%;
  background: transparent;
  color: #ffffff;
  /* Corrects font size not being inherited in all browsers */

  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */

  vertical-align: baseline;
  *vertical-align: middle;
  /* Improves appearance and consistency in all browsers */

}

button,
input {
  line-height: normal;
  /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */

  *overflow: visible;
  /* Corrects inner spacing displayed oddly in IE6/7 */

}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid #dddddd;
  border-color: #ccc #ccc #bbb #ccc;
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */

  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */
  font-size: 12px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 1.12em 1.5em 1em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa #bbb;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  border-color: #aaa #bbb #bbb #bbb;
  -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* Addresses box sizing set to content-box in IE8/9 */

  padding: 0;
  /* Addresses excess padding in IE8/9 */

}
input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */

  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */

  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */

  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */

  border: 0;
  padding: 0;
}
input[type=text],
input[type=email],
textarea {
  color: #888888;
  background: transparent;
  border: 1px solid #dddddd;
  border-radius: 5px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  font-color: #efefef;
}
input[type=text],
input[type=email] {
  padding: 3px;
}
textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */

  padding: 10px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */

  width: 98%;
}

#post_excerpt {
    width: 300px;
      color: #ffffff;
  background: transparent;
  border: 1px solid #dddddd;
  border-radius: 0px;
    
}
/* styles
-------------------------------------------------------------- */

body,
button,
input,
select {
  padding: 0;
  margin: 0;
  color: var(--darkmodecolor);
  background: var(--darkmodebackground);
  font-family: 'IBM Plex Mono', monospace;
  line-height: 26.64px;
  font-size: 1.8rem;
}



/* typography
-------------------------------------------------------------- */
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: 'IBM Plex Mono', monospace;
}
h1 {
  line-height: 41.44px;
  font-size: 26px;
  font-size: 2.6rem;
}
h2 {
  line-height: 50.32px;
  font-size: 24px;
  font-size: 2.4rem;
}
h3 {
  line-height: 41.44px;
  font-size: 22px;
  font-size: 2.2rem;
}
h4 {
  line-height: 26.64px;
  font-size: 18px;
  font-size: 1.8rem;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
/* Text elements */
p {
}
/* Links */
a {
  color: var(--darkmodelink);
  -webkit-transition: color 0.25s ease-in-out;
  -moz-transition: color 0.25s ease-in-out;
  -o-transition: color 0.25s ease-in-out;
  -ms-transition: color 0.25s ease-in-out;
  transition: color 0.25s ease-in-out;
  text-decoration: none;
}
a:hover,
a:focus,
a:active {
  color: rgba(0, 121, 152, 0.5);
}
/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}



/* Header
-------------------------------------------------------------- */
#masthead {
  background-color: var(--darkmodebackground);
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  display: block;
  transition: top 0.8s;
}

#brand {
  float: left;
  width: 45%;
  margin: 0;
  padding: 0;
}
header #brand h1  {
    line-height: 0; 
      font-size: 14px;
    font-size: 1.4rem;
}

header #brand h1 a {
  text-decoration: none;
    color: #efefef;
}

header nav {
  float: right;
    width: 45%;
}

header nav ul {
  list-style: none;
  margin: 0;
text-align: right;

}
header nav ul li {
  display: inline-block; /* This ensures the list items appear horizontally */
    margin-left: 10px; /* Adjust the margin as needed */
}
header nav ul li a {
  color: #efefef;
  font-size: 14px;
}
.container {
  max-width: 640px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}


/* Index Page -------------------------------------------------------------- */


.overview-post {
  background: var(--darkmodebackground);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 0.8rem 1.6rem;
  margin-bottom: 0;
  font-size: 80%;
}

.overview-title a:link,
.overview-title a:activer {
     color: var(--darkmodelink);   
  font-size: 12px;
  font-weight: 200;
}

.overview-title a:hover {
     color: var(--darkmodelink);   
     text-decoration: underline;
}



/* Posts/Articles
-------------------------------------------------------------- */
#primary {
    Z-index: 0;
    padding-top: 100px;
}

article {
  padding: 0;
  margin: 10px 0;
}
article .title {
  line-height: 56.24px;
  font-size: 28px;
  font-size: 2.8rem;
  font-weight: 300;
}
article .title a {
  text-decoration: none;
  color: #ffffff;
}
article .title a:hover {
}
article .post-meta {
  font-size: 14px;
  margin-bottom: 20px;
  clear: both;
}
article .post-meta a {
  color: #888888;
  text-decoration: none;
}
article .post-meta a:hover {
  color: rgba(136, 136, 136, 0.5);
}
article .the-content a {
  font-weight: 900;
  text-decoration: none;
}
article .the-content img {
  width: 100%;
  height: auto;
}
article .meta {
  line-height: 14.8px;
  font-size: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .9px;
}
article .meta div {
  float: left;
}
article .meta .post-categories {
  list-style: none;
  margin: 0 0 10px 0;
}
article .meta .post-categories li {
  display: inline-block;
  margin-right: 10px;
}

/* Remove focus outline/border highlight */
div[contenteditable]:focus {
    outline: none;      /* removes the focus outline */
    border: none;       /* removes any visible border (optional) */
  box-shadow: none;
    }

/* Page loop styling */
.page article {
}
.page article .title {
}
/* Pagination */
#pagination {
  margin-bottom: 40px;
  width: 100%;
}
#pagination .past-page {
  float: right;
}
#pagination .next-page {
  float: left;
}



/* Footer ------------------------------------------------------------------ */


footer {
  text-align: center;
  font-size: 12px;
}


/* Panel styles -------------------------------------------- */


  /* --- Overlay --- */
  .overlay {
    position: fixed;
    inset: 0;
  background: var(--darkmodebackground);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 5;
  }
  .overlay.active {
    opacity: 0.7;
    visibility: visible;
    transition-delay: 0s;
  }

  /* --- Panel base --- */
  
  .pointer { cursor: pointer; }
  
  .panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    color: var(--darkmodecolor);
  background: var(--darkmodebackground);
    box-shadow: 0 -4px 25px rgba(0,0,0,0.3);
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
      opacity 0.5s ease;
    z-index: 6;
    display: flex;
    flex-direction: column;
    padding: 1.5em;
    max-height: 90vh;          /* flexible height */
    overflow-y: auto;          /* scroll within if content long */
  }

  .panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* panel header with close icon */
  .panel-header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }

  .panel-header .close-icon {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25em;
    color: #333;
    transition: opacity 0.2s, transform 0.1s;
  }
  .panel-header .close-icon:hover {
    opacity: 0.6;
    transform: rotate(90deg);
  }

  .panel p {
    margin: 0.6em 0;
    font-size: 1em;
    line-height: 1.5;
  }

  .panel button.bottom-close {
    margin-top: 1.5em;
    align-self: center;
    padding: 0.6em 1.2em;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .panel button.bottom-close:hover {
    background: #000;
  }


/* Misc & mixens
-------------------------------------------------------------- */

.hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.clear {
  clear: both;
}
/* clear floats */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix {
  display: inline-block;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}



/* Media Queries for responsivenes
-------------------------------------------------------------- */
@media (max-width: 767px) {
  header {
    padding: 0;
  }
  header .gravatar {
    float: none;
  }
  header hgroup {
    width: 100%;
  }
}
