@import url('bespoke-serif.css');

/* NORMALIZE */

/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}summary{display:list-item}

/* https://mattbrictson.com/blog/css-normalize-and-reset */
:root{line-height:1.5}h1,h2,h3,h4,h5,h6,figure,p,ol,ul{margin:0}ol[role="list"],ul[role="list"]{list-style:none;padding-inline:0}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}img{display:block;max-inline-size:100%}video{outline:none;}


:root {
  /* --font-sans: "BespokeSans-Variable", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --font-sans-italic: 'BespokeSans-VariableItalic', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif; */
  --font-serif: "BespokeSerif-Variable", Georgia, Times, serif;
  --font-serif-italic: "BespokeSerif-VariableItalic", Georgia, Times, serif;
}


/* SKIP LINK */

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.5em;
  left: 0.5em;
  width: auto;
  height: auto;
  padding: 0.5em 1em;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 999;
  background: #333;
  color: #fff;
}


/* TYPOGRAPHY */

body {
  font-size: 18px;
  font-weight: 300;
  font-family: var(--font-serif);
  color: #222;
  line-height: 1.5;
}

em {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 300;
}

strong, strong em { font-weight: 600; }
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em { font-family: var(--font-serif-italic); font-weight: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 { margin: 1.5em 0 0.67em; font-size: 2.00em; }
h2 { margin: 1.5em 0 0.83em; font-size: 1.63em; }
h3 { margin: 1.5em 0 1.00em; font-size: 1.25em; }
h4 { margin: 1.5em 0 1.33em; font-size: 1.00em; }
h5 { margin: 1.5em 0 1.67em; font-size: 0.83em; }
h6 { margin: 1.5em 0 2.33em; font-size: 0.67em; }

p { margin-bottom: 1em; line-height: 1.65;}

a {
  color: rgba(35, 113, 168, 1.0);
}
a:focus, a:hover {
  color: rgba(35, 113, 168, 0.8);
}


/* LAYOUT */

body {
  max-width: 60rem; /* width_full */
  width: 100%;
  margin: 0 auto;
  padding: 0 0.75rem;
  background-color: #f9f7f2;
  background-color: #FFF9EF;
  display: flex;
  flex-direction: column;
  min-height: 110vh;
}

.site-header {
  margin: 0 auto;
  width: 100%;
}

.content {
  width: 100%;
  flex: 1;
  margin: 0 auto 2rem;
}

.site-footer {
  width: 100%;
  margin: 8rem auto 0;
}


/* NAVIGATION */

.site-header {
  opacity: 1;
}
/* .site-header:hover {
  opacity: .;
} */
.site-nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.site-nav a {
  font-family: var(--font-serif);
  font-weight: 300;
  text-decoration: none;
  display: block;
  color: #333;
  opacity: 0.6;
}
.site-nav a:hover,
.site-nav a:focus {
  opacity: 0.7;
}

.main-menu li {
  padding-left: 1rem;
}

.main-menu a {
  padding: .75rem 0 .5rem 1rem;
  opacity: .7;
}
.main-menu a:focus,
.main-menu a:hover {
  color: #333;
  opacity: 1;
}

.site-nav .logo {
  flex: 1;
  font-weight: 600;
  font-size: 1.5em;
  padding: .75rem 0 .5rem 84px;
  background-image: url(/img/theme/swallow1.png);
  background-repeat: no-repeat;
  background-position: -2px 65%;
  background-size: 74px 40px;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* SITE FOOTER */

.footer-inner {
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0.25rem auto;
}
.footer-text {
  text-align: left;
  padding-right: 2rem;
  font-size: 0.85em;
}
.footer-img {
  height: 110px;
  opacity: .6;
  padding-bottom: 10px;
}
.site-footer {
  opacity: 0.8;
}
.site-footer a {
  color: #333;
  text-decoration: underline;
}
.site-footer a:focus,
.site-footer a:hover {
  color: #333;
  text-decoration: none;
}

/* POST CONTENT */

.entry {
  margin: 5rem auto 0;
  position: relative;
  max-width: 40rem;
  width: 100%;
}

.entry-header {
  padding: 2.5rem 0;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.entry-header .entry-title {
  font-size: 2.75rem;
  margin: 0 0;
}
.entry-header .entry-subtitle {
  font-weight: 300;
  font-size: 1.2em;
  margin: 0.75rem 0 0;
}

.entry-hr {
  height: 10px;
  width: 100%;
  margin: 0 auto 2rem;
}

.entry-content {
  width: 100%;
  padding: 0;
  margin: 1em auto 0;
}

.entry-content .alignright {
  float: right;
  padding: 4px 0 0.75rem 1rem;
  width: 250px;
  height: auto;
}

.entry-bird {
  display: block;
  position: absolute;
  width: 8.75rem;
  left: -10rem; /* width_margin */
}
.entry-bird img {
  width: 100%;
  opacity: 1;
}
.entry-bird .bird-text {
  text-align: center;
  color: #777;
  margin-right: 1em;
  font-size: .92em;
  margin-top: -0px;
}

.entry-footer {
  margin-top: 5rem;
}
.entry-footer h2 {
  margin-bottom: 3rem;
}
.entry-footer .email-signup p {
  text-align: left;
}

/* Content Styles */

.entry blockquote {
  margin: 1.5em 0;
  padding-left: 1.25em;
  border-left: 4px solid rgba(50,50,50,0.4);
}

.entry-content .alignwide {
  margin-left: -10rem;
  margin-right: -10rem;
}

.entry-content iframe {
  margin-top: 0.5em;
}

.entry-content > div:has(> iframe) {
  margin-bottom: 1.5em;
}

.entry-content figure {
  margin: 2em auto;
  display: table;
  max-width: 100%;
}

.entry-content figure img {
  max-width: 100%;
}

.entry-content figcaption {
  display: table-caption;
  caption-side: bottom;
  font-family: var(--font-serif-italic);
  font-size: 0.875em;
  color: rgba(50, 50, 50, 0.7);
  margin-top: 0.5em;
  text-align: center;
}

/* Lists */

.content ol, .content ul {
  margin-left: -1.25em;
  margin-bottom: 1em;
}

/* Dropcap */

.dropcapp:first-letter,
.dropcap > p:first-child:first-letter {
  float: left;
  font-size: 4em;
  font-weight: 400;
  line-height: 1;
  padding-top: .08em;
  padding-right: 8px;
  padding-left: 0px;
}
.dropcap-small > p:first-child:first-letter {
  float: left;
  font-size: 2.5em;
  font-weight: 450;
  line-height: 1;
  padding-top: .16em;
  padding-right: 5px;
  padding-left: 0px;
}

.line-with-text {
  text-align: center;
  line-height: 1;
  font-weight: 300;
  font-variant: small-caps;
  font-size: 1.25rem;
  letter-spacing: 0.025em;
  opacity: 0.8;
}


hr {
  border:none;
  padding:0;
}

hr,
.pen-line {
  width: 100%;
}

.line-with-text {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
}
.line-with-text::before,
.line-with-text::after {
  content: "";
  flex: 1;
  opacity: 0.75;
}

hr,
.pen-line,
.line-with-text::before,
.line-with-text::after {
  opacity: 0.4;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 10'%3E%3Cpath d='M0,5 L50,4.9 L100,5.1 L150,4.95 L200,5.05 L250,4.85 L300,5.15 L350,4.95 L400,5.1 L450,4.9 L500,5.05 L550,4.95 L600,5.1 L650,4.9 L700,5.05 L750,4.95 L800,5 L850,5.1 L900,4.9 L950,5.05 L1000,4.95' stroke='%232b2b2b' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 1000px 100%;
}

a.footnote-ref {
  text-decoration: none;
}
a.footnote-ref::before {
  content: '[';
  margin-right: 1px;
}
a.footnote-ref::after {
  content: ']';
  margin-left: 1px;
}

/* Footnote hover tooltip */
.fn-tooltip {
  position: absolute;
  margin-top: 5px;
  background: var(--bg, #fffdf7);
  border: 1px solid #ccc;
  padding: .6rem .9rem;
  font-size: .9rem;
  line-height: 1.45;
  max-width: 400px;
  max-width: min(450px, calc(100vw - 16px));
  width: max-content;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 100;
  pointer-events: none;
}

.footnotes hr {
  max-width: 100px;
  margin-left: 0;
  margin-right: 0;
}
.footnotes {
  font-size: 1rem;
  margin: 3rem 0;
  counter-reset: footnote;
}
/*
.footnotes ol {
  padding-left: 0;
  list-style-position: inside;
}
.footnotes ol li p {
  display: inline;
}
*/
a.footnote-backref {
  text-decoration: none;
  font-size: .85rem;
}

.origin-credit {
  font-size: 1rem;
  margin: 3rem 0;
}
.origin-credit hr {
  max-width: 100px;
  margin-left: 0;
  margin-right: 0;
  display: none;
}
.origin-credit li {
  list-style-type: "» ";
}
.origin-credit p {
  --margin-left: 1em;
}

/* HOME PAGE */

.home section {
  margin: 0 auto 5rem;
}
.home section h2 {
  margin-bottom: 4rem;
  margin-top: 0;
}

/* Home Header */

.home .home-heading {
  margin: 6rem auto 6rem;
  width: 100%;
  text-align: left;
  align-items: center;
  display: flex;
  gap: 3rem;
}
.home-heading .home-head-text {
  flex: 1;
}
.home-heading .home-head-image {
  width: 19rem;
  opacity: .8;
  transform: rotate(2deg);
}
.home-title {
  margin: 0.25rem 0 1.25rem;
  font-size: 2.25rem;
  font-weight: 500;
  opacity: .85;
}
.home-description {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 400;
  opacity: .8;
}

/* Content in a List */

.home .home-recent > h2 {
  margin-bottom: 5rem;
}

.recent-posts {
  margin: 0 auto;
  max-width: 50rem;
}
.recent-posts .small-bird {
  margin: 0 0 3rem;
}

.recent-posts .small-bird .bird-image {
  width: 7rem;
}

.recent-posts .recent .entry-title a {
  background-color: #EEEEE9;
  padding: 0.05em 0.15em;
  margin: 0em -0.15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.recent-posts .recent .entry-title::after {
  content: " [New]";
  font-variant: small-caps;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(35, 113, 168, 0.6);
  vertical-align: top;
  position: relative;
  top: 0.3rem;
  margin-left: 0.4rem;
  line-height: 1;
}

.recent-posts .entry-header {
  padding: 0;
  max-width: 100%;
  margin: 0 0 1rem;
  text-align: left;
}
.recent-posts .entry-header .entry-title {
  font-size: 1.5rem;
  margin: 0;
}
.recent-posts .entry-header .entry-title a {
  color: rgba(35, 113, 168, 0.8);
  text-decoration: none;
}
.recent-posts .entry-header .entry-title a:focus,
.recent-posts .entry-header .entry-title a:hover {
  color: rgba(35, 113, 168, 1.0);
}
.recent-posts .entry-header .entry-subtitle {
  font-weight: 300;
  font-size: 1.125rem;
  margin: 0.375rem 0 0;
  opacity: .8;
  font-style: italic;
}
.recent-posts .entry-continue {
  margin-bottom: 1.25rem;
  
}
.recent-posts .entry-summary {
  margin-bottom: 1rem;
}
.recent-posts > a {
  text-align: right;
  display: block;
}

/* Homepage Projects */

.projects {
  display:flex; 
  gap: 1.5rem;
}
 .project {
  width: 33%;
  flex: 1;
}
.project h3 {
  font-size: 1.125rem;
  margin: 1rem 0 0.5rem;
  padding: 0 2%;
  opacity: 0.8;
}
.project a {
  text-decoration-color: #333;
  color: #333;
}
.project a:focus,
.project a:hover {
  opacity: 0.7;
}
.project a:focus h3,
.project a:hover h3 {
  opacity: 0.65;
}
.project p {
  line-height: 1.5;
  padding: 0 2%;
  margin-bottom: 0;
}

/* Footnotes Homepage */

.home-footnotes .small-bird {
  align-items: center;
  max-width: 50rem;
  margin: 0 auto;
}
.home-footnotes ol {
  margin-bottom: 0;
  margin-top: 1em;
}

/* FORM FIELDS */

textarea,
input,
input[type="submit"],
button {
  font-size: 0.9rem;
  line-height: 1.15 !important;
}

textarea,
input {
  padding: 0.5rem .5rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: 300;
}
input::placeholder,
textarea::placeholder {
  color: #888888;
}

textarea:focus,
input:focus {
  border-color: #8f8f8f;
  box-shadow: 0 0 0 1px rgba(143, 143, 143, 0.3);
}

input[type="submit"],
button {
  padding: 0.5rem 0.75rem;
  background-color: rgba(51, 51, 51, 0.75);
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
button:hover,
button:focus {
  opacity: 0.8;
  box-shadow: none;
}

/* Email Form */

.email-signup {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.email-signup h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.email-signup p {
  line-height: 1.4;
}
.signup-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}
.signup-form .signup-field {
  min-width: 200px;
  flex: 1;
}
.signup-form input[type="submit"] {
  min-width: 100px;
  max-width: 150px;
  flex: 1;
}
.signup-message {
  margin-top: 0.75rem;
  font-style: italic;
}

/* Contact Form */

.contact-form-wrap {
  margin: 2rem auto;
}
.contact-form-wrap h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-fields {
  display: flex;
  gap: 0.5rem;
}
.contact-fields .contact-field {
  flex: 1;
}
textarea.contact-field {
  resize: vertical;
  min-height: 6rem;
}
.contact-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.contact-bottom input[type="submit"] {
  padding: 0.9em 1em;
  width: 100%;
}
.contact-message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-style: italic;
}
.contact-message.success {
  background: rgba(83,135,44,0.2);
  color: #18270D;
  border: 1px solid rgb(83,135,44);
}
.contact-message.error {
  background: rgba(195,55,49,0.2);
  color: #280B0A;
  border: 1px solid rgb(195,55,49);
}

@media screen and (max-width: 41.5rem) {
  .contact-fields {
    flex-direction: column;
  }
}

/* ARCHIVE/LIST */

.content-split-section {
  margin-top: 5rem;
}

.archive-year {
  margin: 2rem 0 1rem;
  font-size: 1.5em;
}

.archive-item {
  display: flex;
  align-items: flex-end;
  justify-content: baseline;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.archive-item .archive-title {
  position: relative;
  text-decoration: none;
  padding-right: 0.4rem;
  display: inline-block;
}

.archive-item .pen-dots {
  text-align: right;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 0.9em;
  color: #666666;
}

.archive-item .archive-date {
  padding-left: 0.4rem;
  font-size: 0.9em;
  white-space: nowrap;
  text-align: right;
  width: 3rem;
}


/* Columns */

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.columns .col-2 {
  width: 50%;
  flex: 1;
}

/* Gallery & Lightbox */

.gallery .grid {
  gap: 0.75rem;
}
.gallery .grid-item img {
  margin-bottom: 0.75rem;
}

.gallery .grid {
  display: flex;
  flex-wrap: wrap;
}

.gallery .grid-col {
  width: 33%;
  flex: 1;
}

.gallery .grid-item {
  display: block;
}
.gallery .grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.gallery .grid-item img:hover {
  opacity: 0.8;
}

.gallery.doc-view .grid-item img {
  border: 1px solid #ccc;
}

/* Small Bird Shortcode */

.small-bird {
  margin: 1rem auto;
  width: 100%;
  display: flex;
}
.small-bird .bird-content {
  flex: 1;
}
.small-bird .bird-image {
  width: 10rem; /* width_margin */
  left: 0em;
  padding-top: 0em;
  padding-right: 1.25rem;
}
.small-bird .bird-image img {
  width: 100%;
  opacity: 1;
}
.small-bird .bird-image .bird-text {
  text-align: center;
  color: #666;
  font-size: .92em;
  margin-top: -0px;
}
.right-bird.small-bird .bird-image {
  order: 1;
  padding-left: 1.25rem;
  padding-right: 0;
}
.right-bird.small-bird .bird-image img {
  transform: scaleX(-1);
}


.mobileshow {
  display:none
}
.tabletshow {
  display:block;
}


@media screen and (max-width: 61.5rem) {
  .bird.entry {
    margin-left:9.5rem;
  }
  .entry-content .alignwide {
    margin-left: calc(53% - 50vw + 0.75rem);
    margin-right: calc(53% - 50vw + 0.75rem);
  }
  .bird .entry-content .alignwide {
    margin-left: -9.25rem;
    margin-right: calc(50.75rem - 100vw);
  }
  .home .home-heading {
    padding: 0 1rem;
    gap: 3rem;
  }
  .home-heading .home-head-image {
    width: 16rem;
  }
  .home-title {
    font-size: 2rem;
  }
  .home-description {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 51.5rem) {

  .bird.entry {
    margin-left: auto;
  }
  .center.entry.bird {
    padding-left: 0;
  }
  .entry-bird {
    position: relative;
    float: right;
    left: 0;
    padding: 0 0 0.5rem 0.5rem;
    width: 8rem;
  }
  .entry-bird img {
    transform: scaleX(-1);
  }
  .bird .entry-content .alignwide,
  .entry-content .alignwide {
    margin-left: calc(50% - 50vw + 0.75rem);
    margin-right: calc(50% - 50vw + 0.75rem);
  }

  .gallery .grid {
    gap: 0.5rem;
  }
  .gallery .grid-item img {
    margin-bottom: 0.5rem;
  }

  .home .home-heading {
    gap: 2rem;
  }
  .home-heading .home-head-image {
    width: 14rem;
  }
  .home-title {
    font-size: 1.9rem;
  }
  .home-description {
    font-size: 1.1rem;
  }
  .recent-posts .recent .entry-title::after {
    display:none;
  }

}


@media screen and (max-width: 41.5rem) {
  
  .site-header,
  .site-nav {
    display: block;
    width: auto;
    text-align: center;
  }
  
  .site-nav {
    padding-top: 0.5rem;
  }
  .site-nav .logo,
  .site-nav .main-menu {
    display: block;
  }
  .site-nav .logo {
    font-size: 1.4em;
    padding-top: .15rem;
    padding-bottom: .05rem;
    padding-left: 75px;
    background-position: -2px 75%;
    background-size: 65px 35px;
  }

  .main-menu li {
    padding: 0;
    display: inline-block;
  }

  .site-nav a {
    padding: 0.25rem 0.5rem;
    font-size: 17px;
  }

  .signup-form {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .signup-form input[type="submit"],
  .signup-form .signup-field {
    width: 50%;
    max-width: inherit;
    min-width: inherit;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .home .home-heading {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    padding: 0;
  }
  .home-heading .home-head-image {
    width: 98%;
    max-width: 28rem;
    order: 0;
    transform: none;
  }
  .home-heading .home-head-text {
    order: 1;
  }
  .home-title {
    font-size: 1.45rem;
    text-align: left;
  }
  .home-description {
    font-size: 1.0rem;
  }

  .projects {
    flex-direction: column;
  }
  .project {
    width: 100%;
  }
  .small-bird {
    display: block;
  }
  .small-bird .bird-image {
    float: right;
    margin: 0 0 1rem 1rem;
    padding: 0;
    width: 8rem;
  }
  .recent-posts .small-bird .bird-image {
    width: 5.5rem;
  }
  .recent-posts .small-bird .bird-image img {
    transform: scaleX(-1);
  }

  .archive-item .archive-title {
    max-width: 15rem;
  }

  .entry {
    margin-top: 3rem;
  }

  .entry-header .entry-title {
    font-size: 2rem;
  }
  .entry-header .entry-subtitle {
    font-size: 1.15rem;
  }

  .footer-inner {
    flex-direction: column-reverse;
  }
  .footer-text {
    text-align: center;
    padding-right: 0;
  }
  .mobileshow {
    display:block
  }
  .tabletshow {
    display:none;
  }


}

/* LISTS */

.post-snippet {
  margin-bottom: 1rem;
}

.post-snippet h3 {
  margin-bottom: 0.25rem;
}

/* SimpleLightbox */

.slbOverlay, .slbWrapOuter, .slbWrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.slbOverlay {
  overflow: hidden;
  z-index: 2000;
  background-color: #000;
  opacity: 0.9;
  animation: slbOverlay 0.5s;
}

.slbWrapOuter {
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 2010;
}

.slbWrap {
  position: absolute;
  text-align: center;
}

.slbWrap:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.slbContentOuter {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0px auto;
  padding: 0rem 3rem;
  box-sizing: border-box;
  z-index: 2020;
  text-align: left;
  max-width: 100%;
}

.slbContentEl .slbContentOuter {
  padding: 5em 1em;
}

.slbContent {
  position: relative;
}

.slbContentEl .slbContent {
  animation: slbEnter 0.2s;
}

.slbImageWrap {
  animation: slbEnter 0.2s;
  position: relative;
}

.slbDirectionNext .slbImageWrap {
  animation: slbEnterNext 0.2s;
}

.slbDirectionPrev .slbImageWrap {
  animation: slbEnterPrev 0.2s;
}

.slbImage {
  width: auto;
  max-width: 100%;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 3rem 0;
  margin: 0 auto;
}

.slbCaption {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  font-size: 1.4em;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.71429em 3rem;
  color: #fff;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.slbCloseBtn, .slbArrow {
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  opacity: 0.7;
}

.slbCloseBtn::-moz-focus-inner, .slbArrow::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.slbCloseBtn:hover, .slbArrow:hover {
  opacity: 0.5;
}

.slbCloseBtn:active, .slbArrow:active {
  opacity: 0.8;
}

.slbCloseBtn {
  animation: slbEnter 0.3s;
  font-size: 50px;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  position: fixed;
  right: 0;
  top: -0.5rem;
  color: #fff;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  z-index: 2030;
}

.slbLoading .slbCloseBtn {
  display: none;
}

.slbLoadingText {
  font-size: 1.4em;
  color: #fff;
  color: rgba(255, 255, 255, 0.9);
}

.slbArrows {
  position: fixed;
  top: 3rem;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 2030;
}

.slbLoading .slbArrows {
  display: none;
}

.slbArrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3rem;
  opacity: 0.7;
  font-size: 40px;
  text-align: center;
  text-indent: -9999px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slbArrow.next {
  right: 0
}

.slbArrow.prev {
  left: 0;
}

.slbArrow:before {
  display: none;
}

.slbArrow.next:after {
  content: "»";
  text-indent: 0;
  text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.8);
}

.slbArrow.prev:after {
  content: "«";
  text-indent: 0;
  text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 51.5rem) {
  .slbContentOuter {
    padding: 0;
  }
  .slbImage {
    max-height: 95vh;
    padding: 3.0rem 0;
  }
  .slbArrows {
    opacity: 0;
    transition: opacity 0.2s;
  }
  .slbArrows:hover {
    opacity: 1;
  }
  .slbArrow.next {
    right: 0;
  }
  .slbArrow.prev {
    left: 0;
  }
}

.slbIframeCont {
  width: 80em;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
  margin: 5em 0;
}

.slbIframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6);
  background: #000;
}

@keyframes slbOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.7;
  }
}

@keyframes slbEnter {
  from {
    opacity: 0;
    transform: translate3d(0, -1em, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slbEnterNext {
  from {
    opacity: 0;
    transform: translate3d(4em, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slbEnterPrev {
  from {
    opacity: 0;
    transform: translate3d(-4em, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}




@media (prefers-color-scheme: dark) {
  a {
    color: rgba(32, 102, 151, 1.0);
  }
  a:focus, a:hover {
    color: rgba(32, 102, 151, 0.8);
  }

  body {
    background-color: #e6e0d7;
  }

  body,
  .site-nav a, .site-footer a,
  .site-footer a:focus, .site-footer a:hover,
  .project a:focus, .project a:hover {
    color: #111;
  }
  
  .archive-item .pen-dots {
    color: #444;
  }
  
  input[type="submit"], button {
    background-color: rgba(51, 51, 51, 0.75);
    color: #FFF9EF;
  }
  
  input::placeholder, textarea::placeholder {
    color: #777777;
  }
  
  .small-bird .bird-image .bird-text,
  .small-bird .bird-text, 
  .entry-bird .bird-text {
    color: #666;
  }
  
  .project img,
  .home-heading img,
  .entry-bird img,
  .bird-image img {
    filter: brightness(93%);
  }

  .entry-content figcaption {
    color: rgba(50, 50, 50, 0.6);
  }
  .recent-posts .recent .entry-title a {
    background-color: #F0ECE7;
  }
  .recent-posts .recent .entry-title::after {
    color: rgba(35, 113, 168, 0.8);
  }
}