
/* Global */

#ghost-portal-root {
  /* display: none; */
}
a.gumroad-button {
  background-color: #000000 !important;
  border-radius: 4px !important;
  color: white !important;
  display: inline-block !important;
  font-family: "Mabry Pro", -apple-system, ".SFNSDisplay-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  padding: 14px 16px !important;
  text-decoration: none !important;
  border: solid 1px #000000 !important;
  transition: all 0.14s ease-out !important;
}
.gumroad-button {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 99999;
}

.btn {
  animation-duration: 4s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover {
  filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));
  transform: translateY(-9px);
}
@keyframes HeroAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 3;
    transform: translateY(0);
  }
}
.fade {
  animation: HeroAnimation;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* header */
.header {
  z-index: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content:space-between;
  top:0;
  color: #000;
  border-bottom: solid #eeeeee 1px;
}
.header_inner {
  display: flex;
  align-items: center;
  justify-content:space-between;
  width:100%;
  padding-right:2rem;
  padding-left:2rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #fff;
  max-height:100%;
  position:static;
  z-index: 1;
  flex-direction:row;
}
.headerNavlink {
  /* flex-grow: 1; */
}
.headerNavlink ul {
  display: flex;
}
.headerNavlink li {
  display: flex;
  list-style: none;
  font-size: 15px;
}
.headerNavlink a {
  display: flex;
  align-items: center;
  font-weight:500;
  line-height: 2;
  border-radius:9999px;
  padding-left:1rem;
  padding-right:1rem;
  margin-bottom:0;
  text-decoration:none;
  color: #4e4e4e;
}
.headerNavlink a {
	position: relative;
}
.headerNavlink a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0.1em;
	background-color: var(--bg-color);
	opacity: 0;
	transition: opacity 300ms, transform 300ms;
}
.headerNavlink a:hover::after,
.headerNavlink a:focus::after {
	opacity: 1;
	transform: translate3d(0, 0.2em, 0);
}
#nav-ul.show {
  display: flex;
}
.logo {
  align-items: center;
  justify-content: center;
  cursor:pointer;
  color: #000;
  text-decoration:none;
  font-size: 1.5rem;
  font-weight: 700;
  padding-right: 1rem;
}
.logo img{
  height:30px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logoFooter {
  align-items: center;
  justify-content: center;
  cursor:pointer;
  color: #000;
  text-decoration:none;
  font-size: 1.5rem;
  font-weight: 700;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
}


/* main */
main {
  flex: 1 0 auto; /*Makes footer sticks to bottom. body is flexed.*/
}
.wrapper {
  padding: 2rem;
}
.flow-col-minMax {
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}

/* blog card */
.shadow-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.5s;
}
.shadow-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.shadow-card:active {
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.4);
}
.boxshadow {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}
.boxshadowLight {
  box-shadow: 0 2px 8px #e1e1e1;
}

.transition-transform {
  transition: transform 0.15s ease-out;
}
.transition-background-x {
  transition: background-position-x 0.5s cubic-bezier(.16,.7,.19,1.04);
}
.transform-scale-hover:hover {
  transform: scale(1.005);
  transition: transform 0.5s cubic-bezier(.16,.7,.19,1.04);
}
.transform-scale-active:active {
  transform: scale(1);
  transition: transform 0.15s cubic-bezier(.16,.7,.19,1.04);
}
.topCorners {
  border-top-right-radius:4px;
  border-top-left-radius:4px;
}
.tag a {
  text-decoration: none;
  color: var(--bg-color);
  font-weight:700;
  text-transform:uppercase;
  font-size:0.55rem;
  border: solid 1px var(--bg-color);
  border-radius: 4px;
  padding: .35rem;
  border-radius: 3px;
}
.tag a:hover {
  color: #fff;
  background-color: var(--bg-color);
}

/* Blog page */
.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  padding:0 0;
  list-style:none;
  font-size: 1rem;
}
.breadcrumb-item+.breadcrumb-item {
  padding-left:.5rem;
}
.breadcrumb-item+.breadcrumb-item::before {
  float:left;
  padding-right:.5rem;
  color:#6c757d;
  content:var(--bs-breadcrumb-divider, "/")
}
.breadcrumb-item.active {
  color:#6c757d
}
.aviBorder {
  border: solid 1px var(--bg-color);
}

/* footer */
.footer {
  border-top: solid #eeeeee 1px;
}
.footerLink li {
  list-style: none;
  color: #4e4e4e;
}
.footerLink a {
  color: #4e4e4e;
  font-weight:500;
  line-height: 2;
  font-size: 15px;
  text-decoration: none;
}
.footerLink a:hover {
  color: var(--bg-color);
}

/* Social */
.social svg {
  height: 22px;
  width: 22px;
  fill: var(--bg-color);
}

/* Forms */
.subscription-form {
  width: 100%;
}
.subscription-form input {
  padding: 10px;
  box-shadow: none;
  border: 1px solid #cecece;
  border-right: none;
}
.subscription-form button {
  cursor: pointer;
}
.subscription-form .success-message,
.subscription-form .error-message {
  display: none;
}
.subscription-form.error .error-message,
.subscription-form.success .success-message {
  display: block
}
.subscription-box {
  background-color: lightyellow;
  padding: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 5px;
}
.emailInput {
  border-top-left-radius:4px;
  border-bottom-left-radius:4px;
  border-right: none;
}
.emailSubmit {
  border-top-right-radius:4px;
  border-bottom-right-radius:4px;
}


/* Posts & Pages */
.kg-card.kg-header-card {
  margin-bottom: 2rem;
}

.kg-card.kg-image-card img {
  display: block;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  margin-bottom: 2rem;
  max-width: 100%;
  width: 48rem;
}
.kg-card.kg-image-card.kg-width-wide img {
  display: block;
  height: auto;
  margin: 0 auto;
  margin-bottom: 2rem;
  max-width: 100%;
  width: 58rem;
}
.kg-card.kg-image-card.kg-width-full img {
  display: block;
  height: auto;
  margin: 0 auto;
  border-radius: 0px;
  margin-bottom: 2rem;
  max-width: 100%;
  width: 100%;
}
.kg-gallery-image img {
  border-radius: 4px;
}
.kg-gallery-container {
  max-width:48rem;
  margin-bottom: 2rem;
}
.kg-card.kg-callout-card {
  max-width:48rem;
  margin-bottom: 2rem;
}
.kg-bookmark-card {
  max-width:48rem;
  margin-bottom: 2rem;
}
.kg-bookmark-container {
  
}
.kg-card.kg-toggle-card {
  max-width:48rem;
  margin-bottom: 2rem;
}
.content h1, h2, h3, h4, h5, h6 {
  margin-bottom: 2rem;
  
  max-width:48rem;
}
.content p {
  margin-bottom: 2rem;
  max-width:48rem;
}
.content ul {
  display: block;
  margin: 0 auto;
  padding: 0 2rem;
  max-width:48rem;
  margin-bottom: 2rem;
}
.content ol {
  padding: 0 2rem;
  max-width:48rem;
  margin-bottom: 2rem;
}
.content hr {
  margin: 2rem 0 2rem 0;
  border: solid #eeeeee 1px;
}
.content pre[class*=language-] {
  margin-bottom: 2rem;
}
.content code {
  margin-bottom: .4rem;
  padding: .1rem .6rem;
  border-radius: 4px;
  background-color: #eeeeee;
  color: var(--bg-color);
  font-weight: bold;
}
.content blockquote {
 
}
.content blockquote p {
  padding-left: 2rem;
  font-style: italic;
  font-size:  20px;
  line-height: 2rem;
  border-left: solid var(--bg-color) 3px;
}
.kg-embed-card figure {
  display: block;
  margin: 0 2rem;
  max-width:48rem;
  margin-bottom: 1rem;
}
.kg-embed-card {
  
  display: flex;
  flex-direction: column;
  margin: 0 0 2em;
  margin: 0 0 var(--gap-lg);
  max-width: 100%;
  min-width: 100%;
}
.kg-card.kg-embed-card iframe {
  display: block;
  margin: 0 auto;
  height: 100%;
  width: 100%;
  max-width:48rem;
  margin-bottom: 2rem;
}
.kg-card.kg-embed-card {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  margin-bottom: 2rem;
}
.kg-button-card {
  margin-bottom: 2rem;
}

.kg-card.kg-embed-card iframe,
.kg-card.kg-embed-card object,
.kg-card.kg-embed-card embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.kg-audio-card {
  width: 100%;
  max-width:48rem;
  margin-bottom: 2rem;
}
.kg-card.kg-file-card {
  max-width:48rem;
  margin-bottom: 2rem;
  width: 100%;
}
.kg-card.kg-product-card {
  margin-bottom: 2rem;
}
.kg-product-card-container {
 
}

/* 48em = 768px */

@media (max-width: 48rem) {
  .header {
    position: sticky;
  }
  .nav {
    display: none;
    padding-top:10rem;
    padding-bottom:10rem;
    padding-right:0.422rem;
    padding-left:0.422rem;
    justify-content: center;
    position:absolute;
    flex-direction:column;
    height:100%;
  }
  .headerNavlink ul{
    display: block;
  }
  .headerNavlink li {
    display: block;
  }
  .headerNavlink a {
    display: block;
    text-align: center;
    margin-bottom:1.5rem;
  }
  .footerLink {
    margin-top: 1rem;
  }
  .logo img{
    height:20px;
  }
  .content blockquote p {
    font-size:  16px;
  }
} 