/*
Theme Name: You Can WP!
Description: Promotes my free WordPress articles, ebook, and mailing list.
Template: karuna
Author: Nicholas Howe
Version: 1.5.0
*/

a, a.more-link {
  font-weight: 600;
  transition: color 0.3s;
}

.address img {
  max-width: 210px;
  background-color: #333333;
  border-radius: 3px;
  padding: 3px;
}

.advantages {
  margin-bottom: 0.8em;
}

.advantages img { opacity: 0; }
.advantages.visible img { animation: pop_in 0.6s forwards; }
.advantages > div:nth-child(2) img { animation-delay: 0.2s; }
.advantages > div:nth-child(3) img { animation-delay: 0.4s; }

.advantages img,
.representative img {
  display: block;
  background-color: #EFEFEF;
  border-radius: 50% !important;
  margin: 0 auto;
}

.aligncenter {
  text-align: center;
}

body,
button,
input,
select,
textarea {
  font-family: 'Work Sans', sans-serif;
}

body.blog .post .post-thumbnail,
body.home .post .post-thumbnail {
  margin: 0 0 1.8em;
}

body.home { }

  body.home h1 {
    margin-top: 0;
  }

  body.home h2.recent-posts-title {
    margin-bottom: 1.2em;
  }

  body.home #page {
    overflow-x: hidden;
  }

  body.home .site-content {
    padding-top: 0 !important;
  }

body.single-post .post h2,
body.single-post .post h3 {
  margin: 1.2em 0 0.6em;
}

body.single-post .post .wp-block-image {
  margin: 1.6em 0;
}

.bullets {
  max-width: 580px;
  box-sizing: border-box;
  margin: 0 auto 1.4em;
}

  .bullets ul {
    font-size: 1.2rem;
    list-style: none;
  }
  
    .bullets ul li {
      position: relative;
    }
    
    .bullets ul li::before {
      position: absolute;
      top: 0;
      left: -2em;
      width: 1.8em;
      height: 1.8em;
      line-height: 1.8em;
      text-align: center;
      font-weight: 700;
      font-style: normal;
      font-variant: normal;
      font-family: 'Font Awesome 5 Free';
      -webkit-font-smoothing: antialiased;
      content: "\f00c";
    }

.bullets ul li::before { opacity: 0; }
.bullets.visible ul li::before { animation: pop_in 0.6s forwards; }
.bullets.visible ul li:nth-child(2)::before { animation-delay: 0.2s; }
.bullets.visible ul li:nth-child(3)::before { animation-delay: 0.4s; }
.bullets.visible ul li:nth-child(4)::before { animation-delay: 0.6s; }
.bullets.visible ul li:nth-child(5)::before { animation-delay: 0.8s; }
.bullets.visible ul li:nth-child(6)::before { animation-delay: 1.0s; }
.bullets.visible ul li:nth-child(7)::before { animation-delay: 1.2s; }
.bullets.visible ul li:nth-child(8)::before { animation-delay: 1.4s; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link {
  text-transform: none;
  font-size: 1em;
  font-weight: 600;
  border: none;
  border-radius: 99px;
  padding: 1em 2em;
}

.comments-area {
  background-color: #EFEFEF;
}

.confirmation-wrapper,
.download-wrapper {
  margin: 0 auto 2em;
}

.confirmation-wrapper h2 {
  margin-top: 0;
}

.download-wrapper .download {
  text-align: center;
}

.earnings {
  line-height: 1.8em;
  color: #626262;
}

.entry-content {
  position: relative;
  margin-bottom: 0;
}

  .entry-content > #social-share {
    top: 0;
    padding-top: 2em;
  }

    .entry-content > #social-share p {
      display: none;
    }

    .entry-content > #social-share ul {
      font-size: 110%;
    }

      .entry-content > #social-share ul li {
        display: block;
        margin: 0 0 0.7em;
      }

.entry-header {
  margin-bottom: 1.8em;
}

  .entry-header > * {
    margin: 0;
  }

  .entry-header > .entry-meta {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.4em;
  }

.entry-meta,
.entry-footer {
  text-transform: none;
  color: #636363;
}

.entry-title {
  line-height: normal;
}

  .entry-title a {
    font-weight: 600;
  }

  .entry-title a,
  .entry-title a:visited {
    color: #333333;
  }

.grecaptcha-badge {
  z-index: 99;
}

h1,
h2,
h3 {
  line-height: normal;
  text-transform: none;
  font-weight: 600;
  font-family: 'Work Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

img {
  vertical-align: middle;
}

input,
select,
textarea {
  max-width: 100%;
  box-sizing: border-box;
}

.main-navigation a {
  font-weight: 400;
  opacity: 0.7;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:visited:hover,
.main-navigation a:visited:focus,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
  outline: none;
  opacity: 1.0;
}
  
.mc-field-group input {
  display: inline-block;
  width: 100%;
  padding: 0.6em;
}

.mc-wrapper {
  padding: 1.8em 1.8em 1em;
  margin: 2em 0;
}
  
  .mc-wrapper h2,
  .mc-wrapper p.mc-heading {
    line-height: normal;
    text-align: center;
    font-weight: 600;
    margin: 0 0 0.6em;
  }

  .mc-wrapper #mc_embed_signup {
    margin-bottom: 1.4em;
  }

  .mc-wrapper #mc_embed_signup + p {
    color: #626262;
  }

#mce-responses {
  display: none;
}
  
p:empty {
  display: none;
}

p.has-text-color a {
  text-decoration: underline;
}

.page-free-wordpress-guide { }

  .page-free-wordpress-guide h1 {
    text-align: center;
  }
  
  .page-free-wordpress-guide h2:first-child {
    font-weight: 400;
    margin: 0;
  }

.page-template-front-page .site-main > .hentry:first-of-type .entry-content {
  font-size: 1rem;
}

.page-template-front-page .site-main > .hentry:first-of-type .entry-title {
  text-align: left;
}

.recent-posts-button-wrapper {
  text-align: center;
  margin-bottom: 0.6em;
}

.representative img {
  max-width: 75%;
}

.score-bar {
  box-sizing: border-box;
  padding: 1em 2em 0 0;
}

  .score-bar div {
    position: relative;
    height: 2.4em;
    border-radius: 0.6em;
    background-color: #EFEFEF;
    overflow: hidden;
    margin-bottom: 0.4em;
  }

    .score-bar div span {
      position: absolute;
      top: 0;
      left: 0;
      height: inherit;
      background-color: #636363;
      transition: width 1s;
    }

  .score-bar p {
    margin: 0;
  }

.score-bar + *:not(.score-bar){
  clear: both;
}

.score-bar + .score-bar div span { transition-delay: 0.2s; }
.score-bar + .score-bar + .score-bar div span { transition-delay: 0.4s; }
.score-bar + .score-bar + .score-bar + .score-bar div span { transition-delay: 0.6s; }

.score-bar.fifths-0 div span { background-color: #B3483C; }
.score-bar.fifths-1 div span { background-color: #B3483C; }
.score-bar.fifths-2 div span { background-color: #D9A01E; }
.score-bar.fifths-3 div span { background-color: #F9E20B; }
.score-bar.fifths-4 div span { background-color: #C4D41E; }
.score-bar.fifths-5 div span { background-color: #88AF3C; }

.score-bar.large p {
  font-weight: 600;
}

.score-bar.waiting div span {
  width: 0% !important;
}

.site-footer {
  position: relative;
  z-index: 40;
}
  
  .site-footer .site-info {
    background-color: #EFEFEF;
  }

.site-main { }

  .site-main p,
  .site-main ul {
    line-height: 1.8em;
    margin-top: 0;
    margin-bottom: 1.2em;
  }

  .site-main ul ul {
    margin-bottom: 0;
  }

.site-title {
  text-transform: none;
	font-family: 'Pacifico', cursive;
  white-space: nowrap;
}

  .site-title a {
    font-weight: 400;
  }
  
.sticky-wrapper {
  background-color: #EFEFEF;
}

#social-share {
  position: relative;
  margin: 0 0 1.2em;
}

  #social-share p {
    color: #333333;
    font-weight: 700;
  }

  #social-share ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

    #social-share ul li {
      display: inline-block;
      margin: 0 0.7em 0 0;
    }

      #social-share ul li a {
        position: relative;
        display: block;
        width: 1.8em;
        line-height: 1.8em;
        text-align: center;
        text-indent: -9999px;
        color: #FFFFFF;
        font-size: 1.5em;
        border-radius: 5px;
      }

      #social-share ul li a::before {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: inherit;
        line-height: inherit;
        text-rendering: auto;
        text-indent: 0;
        font-weight: 400;
        font-style: normal;
        font-variant: normal;
        font-family: 'Font Awesome 5 Brands';
        -webkit-font-smoothing: antialiased;
      }

    #social-share ul li.facebook a::before {
      content: "\f39e";
    }

    #social-share ul li.linkedin a::before {
      content: "\f0e1";
    }

    #social-share ul li.reddit a::before {
      content: "\f281";
    }

    #social-share ul li.twitter a::before {
      content: "\f099";
    }

strong {
  font-weight: 600;
}

#table-of-contents {
  position: relative;
}

  #table-of-contents a {
    font-weight: 400;
  }

  #table-of-contents ol,
  #table-of-contents ul {
    position: relative;
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  #table-of-contents ol ol,
  #table-of-contents ul ul {
    margin-left: 1.5em;
  }

  #table-of-contents ul ul {
    list-style-type: circle;
  }

    #table-of-contents ul ul ul {
      list-style-type: disc;
    }

      #table-of-contents ul ul ul ul {
        list-style-type: circle;
      }

#table-of-contents.anchored {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0.7;
  overflow-y: auto;
  padding: 0.8em;
  margin: 0.8em;
  z-index: 20;
}

  #table-of-contents.anchored li.active > a {
    color: #333333 !important;
    font-weight: 700;
  }

  #table-of-contents.anchored ol,
  #table-of-contents.anchored ul {
    font-size: 16px;
  }

#table-of-contents.anchored::before {
  display: block;
  content: 'Table of Contents';
  font-weight: 700;
  margin-bottom: 1.2em;
}

#table-of-contents.anchored:hover {
  opacity: 1;
}

#table-of-contents.anchored::-webkit-scrollbar {
  width: 8px;
}

#table-of-contents.anchored::-webkit-scrollbar-thumb {
  background: #ECECEC; 
}

#table-of-contents.anchored::-webkit-scrollbar-thumb:hover {
  background: #E3E3E3; 
}

#table-of-contents.anchored::-webkit-scrollbar-track {
  background: transparent; 
}

#table-of-contents-wrapper {
  margin-bottom: 1.2em;
}

.to-top {
  position: fixed;
  bottom: 1.2em;
  right: 1.2em;
  opacity: 0;
  visibility: hidden;
  transition: visibility 1s, opacity 1s;
  z-index: 30;
}

  .to-top a {
    position: relative;
    display: block;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    text-align: center;
    text-indent: -9999px;
    color: #333333 !important;
    font-size: 2em;
    background-color: #EFEFEF;
  }

  .to-top a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    line-height: inherit;
    text-rendering: auto;
    text-indent: 0;
    font-weight: 700;
    font-style: normal;
    font-variant: normal;
    font-family: 'Font Awesome 5 Free';
    -webkit-font-smoothing: antialiased;
    content: "\f062";
    transition: opacity 0.3s;
    opacity: 1.0;
  }

  .to-top a:hover::before {
    opacity: 0.7;
  }

.to-top.visible {
  opacity: 1;
  visibility: visible;
}

.welcome {
  position: relative;
  padding-top: 2em;
  margin-bottom: 2.1em;
}

  .welcome > * {
    position: relative;
  }

  .welcome figure {
    padding: 0 8px;
    margin: 0;
  }

  .welcome p:first-child {
    line-height: 1.2em;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.6em;
  }

.welcome::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -9999px;
  right: -9999px;
  content: "\00a0";
  background-color: inherit;
}

@keyframes pop_in {
  
  0% {
    opacity: 0;
    transform: scale(0);
  }
  
  66% {
    opacity: 1;
    transform: scale(1.3);
  }
  
  100% {
    opacity: 1;
    transform: scale(1);
  }
  
}

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

  body.single-post .post h2 {
    font-size: 2rem;
  }

  .bullets {
    padding: 1.5em 1.5em 0.5em;
  }

  h1,
  h2,
  h3 {
    overflow-x: hidden;
  }

  h3 {
    font-size: 1.875rem;
  }
  
  .main-navigation {
    padding-bottom: 1.2em;
  }
  
  #mc_embed_signup .button {
    display: block;
    width: 100%;
  }
  
  .mc-field-group {
    margin-bottom: 1.2em;
  }
  
  .mc-wrapper h2,
  .mc-wrapper p.mc-heading {
    font-size: 1.875rem;
  }

  #post-footer {
    font-size: 1rem;
  }

  .recent-posts-wrapper {
    padding: 0 5%;
  }

  .site-content {
    padding-top: 2.7em;
  }

  .site-title a {
    color: #333333 !important;
  }
  
}

@media screen and (min-width: 768px){

  body.home { }

    body.home #mc_embed_signup .button {
      display: block;
      width: 100%;
    }
    
    body.home .mc-field-group {
      margin-bottom: 1.2em;
    }

  body:not(.home) { }
  
    body:not(.home) #mc_embed_signup .clear {
      display: inline-block;
    }
    
    body:not(.home) .mc-field-group {
      display: inline-block;
      width: 30%;
      vertical-align: middle;
      margin-right: 0.6em;
    }
    
    body:not(.home) .mc-field-group.double {
      width: 50%;
    }

    body:not(.home) .mc-wrapper .button {
      font-size: 0.85em;
    }

  body.single-post .post h2 {
    font-size: 2.625rem;
  }

  .bullets {
    padding: 2.4em 2.4em 1em;
  }

  .confirmation-wrapper,
  .download-wrapper {
    max-width: 720px;
  }
  
    .confirmation-wrapper .button,
    .download-wrapper .download .button,
    .download-wrapper .download input[type="submit"] {
      font-size: 1.25em;
    }
  
  h3 {
    font-size: 2rem;
  }
  
  .main-navigation {
    margin-left: 0;
  }
  
  .mc-wrapper h2,
  .mc-wrapper p.mc-heading {
    font-size: 2rem;
  }
  
  .no-sidebar:not(.page-template-full-width-page):not(.page-template-front-page) .content-area,
  .page-template-full-width-page .site-content {
    max-width: 1040px;
    padding-bottom: 0;
  }
  
  .page-free-wordpress-guide .preview img {
    max-width: 420px;
  }

  .page-template-front-page .site-main > .hentry:first-of-type .entry-content {
    font-size: 1.125rem;
  }

  #post-footer {
    font-size: 1.125rem;
  }

  .site-main {
    margin: 0;
  }
  
}

@media screen and (min-width: 768px) and (max-width: 1099px){

  .recent-posts-wrapper {
    padding: 0 10%;
  }

}

@media all and (max-width: 781px){

  .welcome {
    padding-bottom: 1em;
  }

    .welcome .wp-block-columns {
      flex-direction: column-reverse;
    }

  .wp-block-column {
    flex-basis: 100% !important;
    margin-left: 0 !important;
  }

}

@media all and (min-width: 782px){

  .welcome {
    padding-bottom: 1.6em;
  }

    .welcome .wp-block-image {
      margin-bottom: 0;
    }

}
  
@media screen and (min-width: 1100px){
  
  body:not(.home) .mc-field-group {
    width: 33%;
  }
  
  body:not(.home) .mc-field-group.double {
    width: 66%;
  }

  .main-navigation {
    font-size: 1em;
  }

  .page-free-wordpress-guide .entry-header {
    margin-bottom: 0.6em;
  }
  
  .page-template-full-width-page .site-content {
    padding-left: 0;
    padding-right: 0;
  }

  .score-bar {
    float: left;
    width: 33.33%;
  }

  .score-bar.large {
    float: none;
    width: 100%;
    clear: both;
  }

    .score-bar.large div {
      height: 3.2em;
    }

  .sticking.sticky-wrapper {
    box-shadow: none;
  }
  
}

@media screen and (min-width: 1500px){
  
  body.blog .post h2,
  body.home .post h2,
  body.single-post .post h1 {
    white-space: nowrap;
  }

}
