@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@0,700;1,400;1,600;1,700&display=swap');

html {

--primary-color:#49944d;
--bg-color: #fbfbfb;
--text-color: #2b2b2b;
--link-hover: var(--text-color);
--whoami-text:#f5f5f5;
--pic-frame-color: var(--text-color);
--shape-color:#db5353;
--dotted-bg: #222;
--thumbnail-text: #f5f5f5;
--categories: #f5f5f5;
--filter-bg: #f1f1f1;
--filter-active: #f5f5f5;
--details-block:#f9f9f9;
--details-block-border:#dbdbdb;
--dark-gray: #222;
--lighter-color:rgb(255 255 255 / 100%);
--shop-item-bg: #f5f5f5;
--pattern-color:#e7e6e6;
--footer-bg: #f4f4f4;
}


html[data-theme='dark'] {
--primary-color:#85b489;
--bg-color: #252525;
--text-color: #f5f5f5;
--link-hover: var(--primary-color);
--whoami-text:#f5f5f5;
--pic-frame-color: #827b68;
--shape-color:#db5353;
--dotted-bg: #585858;
--thumbnail-text: #f5f5f5;
--categories: #f5f5f5;
--filter-bg: #322d2d;
--filter-active: #f5f5f5;
--details-block:#322d2d;
--shop-item-bg: #2a2a2a;
--details-block-border:#505050;
--dark-gray: #505050;
--lighter-color:rgb(37 37 37 / 100%);
--pattern-color: #3e3e3e;
--footer-bg: #2a2a2a;
}


html {
  scroll-behavior: smooth;
  min-height: 100%;
}
html {
    transition: color 500ms, background-color 500ms;
}

html[data-theme='dark'] .icon-theme-switcher {
  filter: invert(1) hue-rotate(180deg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: var(--text-color);
  font-weight: 400;
  letter-spacing: .05em;
  background:var(--bg-color);
}

main[role="main"] {
  flex: 1;
}

::-webkit-selection {
  color: var(--selection-text);
  background: var(--primary-color);
}

::-moz-selection {
  color: var(--selection-text);
  background: var(--primary-color);
}

::selection {
  color: var(--selection-text);
  background: var(--primary-color);
}

a {
  color: var(--primary-color);
  font-weight: 500;
}
a:hover, a:active, a:focus {
  color: var(--primary-color);
  outline: none;
  text-decoration: none;
}


h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin: 0 0 20px 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
  color: var(--text-color);

}
h5 {font-weight:bold;}

h1, .h1 {
  font-size: 70px;
  line-height: 80px;
}
@media screen and (max-width: 768px) {
  h1, .h1 {
    font-size: 40px;
    line-height: 52px;
  }
}

h2, .h2 {
  font-size: 50px;
  line-height: 68px;
}
@media screen and (max-width: 768px) {
  h2, .h2 {
    font-size: 30px;
    line-height: 48px;
  }
}

h3, .h3 {
  font-size: 40px;
  line-height: 52px;
}
@media screen and (max-width: 768px) {
  h3, .h3 {
    font-size: 20px;
    line-height: 32px;
  }
}

h4, .h4 {
  font-size: 30px;
  line-height: 38px;
}
@media screen and (max-width: 768px) {
  h4, .h4 {
    font-size: 24px;
    line-height: 40px;
  }
}

@media screen and (max-width: 430px) {
  h4, .h4 {
    font-size: 22px;
    line-height: 36px;
  }
}


@media screen and (max-width: 360px) {
  h4, .h4 {
    font-size: 18px;
    line-height: 32px;
  }
}


ul, ol {
  padding-left: 15px;
  line-height: 32px;
  margin-left: 15px;
  list-style-type:circle;
}
ul ul, ul ol, ol ul, ol ol {
  padding-left: 25px;
}

p, img {
  margin: 0 0 20px 0;
}

ul ul, ul ol, ol ul, ol ol {
  padding-left: 25px;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* override bootstrap's row margin */
.row {margin-left:0;margin-right:0;}


@media screen and (min-width: 769px) {
    #fh5co-menu-toggle {
        display: none;
    }
    #fh5co-main-nav {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: none;
        overflow: visible;
    }
}

#fh5co-header > .container {
    display: flex;
    align-items: center;
    gap: 24px;
}
#fh5co-header {
  margin-top: 2em;
  margin-bottom: 3em;
}
@media screen and (max-width: 768px) {
  #fh5co-header {
    margin-top: 1em;
  }
}
#fh5co-header #fh5co-logo {
  position: relative;
  z-index: 102;
  display: block;
  width:80px;
  height:80px;
  box-shadow: 0px 0px 0px 1px #2e2e2e;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  #fh5co-header > .container {
    gap: 12px;
    padding-right: 0;
  }
}

#fh5co-main-nav ul {
  padding: 25px 0 10px 20px;
  margin: -23px 0 7px 0;
  text-transform: uppercase;
}
@media screen and (max-width: 992px) {
  #fh5co-main-nav ul {
    text-align: left;
    width: 100%;
    margin-left: inherit;
    margin-right: inherit;
    text-align: left;
  }
}
  #fh5co-main-nav ul > li {
  padding: 0;
  margin: 0 0 7px 0;
  list-style: none;
  display: inline-block;
}
#fh5co-main-nav ul > li > a {
    color: var(--text-color)!important;
}

#fh5co-main-nav ul > li:last-child {
  margin: 0;
}
#fh5co-main-nav ul > li > a {
  padding: 5px 0;
  margin: 0  10px;
  border-bottom: none;
  font-size: 1.3em;
  font-family: 'Quicksand', sans-serif;
}
@media screen and (max-width: 768px) {
  #fh5co-main-nav ul > li > a {
    margin: 0  0px;
  }
}
@media screen and (max-width: 430px) {
  #fh5co-main-nav ul > li > a {
      font-size:0.9em;
  }
}
@media screen and (max-width: 360px) {
  #fh5co-main-nav ul > li > a {
      font-size:0.8em;
  }
}


#fh5co-main-nav ul > li > a {
    color:#000;
}
#fh5co-main-nav ul > li > a:hover, #fh5co-main-nav ul > li > a:active, #fh5co-main-nav ul > li > a:focus {
    color:var(--primary-color);
}
@media screen and (max-width: 768px) {
  #fh5co-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 1em;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  #fh5co-main-nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
  }
  #fh5co-main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  #fh5co-main-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
  }
  #fh5co-main-nav ul > li {
    display: block;
    margin: 0.8em 0;
  }
  #fh5co-main-nav ul > li > a {
    font-size: 1.5em;
    color: var(--text-color);
  }
  #fh5co-main-nav #theme-switcher {
    margin-left: 0;
    padding: 0;
    text-align: center;
  }
}

.fh5co-intro .container h1 {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight:700;
    font-size:80px;
    line-height:90px;
    font-style: italic;
}
@media screen and (max-width: 768px) {
.fh5co-intro .container h1 {
    font-size: 60px;
    line-height:70px;
  }
}

@media screen and (max-width: 430px) {
.fh5co-intro .container h1 {
    font-size: 36px;
    line-height:36px;
  }
}
@media screen and (max-width: 360px) {
.fh5co-intro .container h1 {
    font-size: 28px;
    line-height:28px;
  }
}
@media screen and (max-width: 320px) {
.fh5co-intro .container h1 {
    font-size: 24px;
    line-height:24px;
  }
}



.fh5co-intro {
  margin-bottom: 4em;
}

#fh5co-footer {
  padding: 1em 0;
  background: var(--footer-bg);
}

#fh5co-footer .fh5co-footer-social {
  padding: 0;
  margin: 0 0 2em 0;
}
#fh5co-footer .fh5co-footer-social li {
  display: inline;
  font-size: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 480px) {
  #fh5co-footer .fh5co-footer-social li {
    display: block;
    margin-bottom: 10px;
  }
}
#fh5co-footer .fh5co-footer-social li a {
  color:var(--text-color);
  padding: 4px 0;
  margin: 0 10px 0 0;
  border:none;
}
.fh5co-footer-social li a:hover {
    color:var(--primary-color)!important;
}
#fh5co-footer .fh5co-copyright {
  color: var(--text-color);
  font-size: 15px;
}




.fh5co-spacer {
  clear: both;
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
}

.fh5co-spacer-sm {
  height: 50px;
}
@media screen and (max-width: 768px) {
  .fh5co-spacer-sm {
    height: 20px;
  }
}

.fh5co-gotop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  color: #ffffff !important;
  background: #222;
  padding: 10px;
  border-radius: 6px;
  z-index: 18;
  box-shadow: 0px 4px 0px 0px var(--primary-color);
  cursor:pointer;
}
.fh5co-gotop > i {
  position: relative;
  display: block;
  font-size: 20px;
}

#donate-buttons li {
    list-style:none;
   line-height: 4em;
}
span.copyToClipboard {
    margin-left:0.5em;
}
span.copyToClipboard:hover {
  cursor: pointer;
}

/* --------------------------------------------------------------------------*/
/* ADDED */
/* --------------------------------------------------------------------------*/
#fh5co-main-nav #theme-switcher {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
    padding: 0;
}
div#theme-switcher img {
    cursor:pointer;
}
@media screen and (max-width: 768px) {
    div#theme-switcher img {
        width:18px;
        height:18px;
    }
}
#icon-light,#icon-dark {
    display:none;
}

#hero-wrap {
    display:flex;
}
#hero-left {
    background:var(--bg-color);
}
.hero-sub {
    font-weight:600;
    color: var(--text-color);
    padding: 0.1em;
}
.sidecol {
    flex:50%;
}

#contact {margin-top:1.5em;}

.img-responsive {
    padding:1em;
}

.wp_collage {
    width: 700px;
    max-width: 700px;
}

@media screen and (max-width: 768px) {
    .wp_collage {
      width: 350px;
      max-width: 350px;
    }
}


#hero-whoami {
    box-decoration-break: clone;
    color:var(--text-color);
    font-size: 30px;
    line-height: 38px;
    margin: 0.1em 0 2em 0;
}
#hero-whoami:hover {
    cursor:default;
}
@media screen and (max-width: 570px) {
    #hero-whoami {
      font-size: 20px;
    }
}





.img-details {
    cursor:pointer;
}

/* SHOP & WORKS */

.works-poster { max-width:500px;}
.works-banner { max-width:700px;}
.works-petscii { max-width:700px;}

#pageTitle {
    font-weight:600;
    margin-bottom: 0.75em;
    font-size:1.5em;
    line-height: 1.5em;
    background-color: var(--bg-color);
    opacity: 0.8;
    background-size: 22px 22px;
    color: var(--text-color);

}
#pageTitleLink {color:var(--primary-color); font-weight:600;}


@media screen and (max-width: 768px) {
    #pageTitle {font-size:2em;}
    .works-banner, .works-petscii {max-width:500px;}
}
@media screen and (max-width: 640px) {

    #pageTitle {font-size:1.5em;}
}



#shopGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
#shopGrid div {
    width:300px;
    background:var(--shop-item-bg);
    text-align:center;
    padding: 0 2px 10px 2px;
    margin: 10px auto;
}
#shopGrid div img {
    max-width: 100%;
    max-height: 100%;
    display: block; /* remove extra space below image */
}
#shopGrid div ul {
    padding:0;
    margin:0;
    list-style-type:none;
}

#shopGrid div ul li {
    padding-bottom:8px;
}
#shopGrid div ul li a {
    color:var(--text-color);
    border-bottom:1px solid var(--text-color);
}
.buyItOn {
}
.shopItemTitle {
    font-weight:bold;
}

@media screen and (max-width: 988px) {
    #shopGrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 640px) {
    #shopGrid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}


.iframe-container {
        display: flex;
        justify-content: center;
    }
iframe {
        aspect-ratio: 16 / 9;
        width: 100% !important;
    }

