/*
Theme Name: Carbonate
Theme URI: https://www.moneylab.co
Author: Matt Giovanisci
Author URI: https://www.moneylab.co
Description: A super lightweight WordPress theme built for speed and comfort.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carbonate
Tags: flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/*********************************************************
    RESET
*********************************************************/
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section{display: block;}
[tabindex="-1"]:focus{outline: 0 !important;}
input[type="radio"], input[type="checkbox"]{box-sizing: border-box; padding: 0;}
input, button, select, optgroup, textarea{margin: 0; font-family: inherit; font-size: inherit; line-height: inherit;}
table{border-collapse: collapse;}
fieldset{border: none; padding: 0;}
pre { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; background: #f5f5f5; box-shadow: 0 2px 0 rgba(0,0,0, .15); padding: .25em 1.5em .4em; border-radius: 7px;}
code { font-size: 16px; }


/*********************************************************
    GLOBAL
*********************************************************/
html{font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; width: 100%; min-height: 100%; height: 100%;}
body{font-family: 'Zilla Slab', serif !important; font-weight: normal; font-size: 21px; line-height: 32px; color: var(--black); text-align: left; background-color: var(--white); text-shadow: 1px 1px 1px rgba(0,0,0,0.004); position: relative; text-rendering: optimizelegibility; -moz-osx-font-smoothing: grayscale; -moz-font-feature-settings: "liga"; min-height: 100%; height: 100%; padding: 0; margin: 0; background:#DEF4FB; background-attachment: fixed; font-style: normal;}
@-ms-viewport{width: device-width;}


/*********************************************************
    ASSETS
*********************************************************/
h1.loud { font-size: 4rem; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{font-weight: 600 !important; line-height: 1.17; color: var(--black); font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important; margin-top: 2em; margin-bottom: 0; font-weight: 800 !important;}
h1, .h1{font-size: 2.61rem; line-height: 1.05; letter-spacing: -.05rem !important;}
h2, .h2{ font-size: 2rem; }
h3, .h3{ font-size: 1.35rem; color: #E23B78; }
h4, .h4{font-size: 1rem;}
h1 + p, h2 + p, h3 + p, h4 + p { margin-top: .75em; }
a{color: var(--pink); outline: none; transition: 0.2s ease; text-decoration: none;}
a:hover{opacity: 0.75;}
.underline{text-decoration: underline !important;}
.text-left{text-align: left !important;}
.text-right{text-align: right !important;}
.text-center{text-align: center !important;}
.small{font-size: 1rem !important; line-height: 1.5 !important;}
.circle{border-radius: 50rem !important;}
.border{border: 1px solid var(--gray) !important;}
.paper {background: white !important; border-top: 11px solid #FE5490; padding: 0 3.75em 1em; max-width:800px; margin: 0 auto; }
.paper.off-white { background: #f5f5f5 !important; border-top: 0 !important; }
.franklin {font-family: 'Libre Franklin', 'Open Sans', Helvetica, Arial, sans-serif;}
.row .post-card { transform: rotate(-1deg); }
.nav div:nth-child(odd) { transform: rotate(1deg); }
.nav div:nth-child(even) { transform: rotate(-1deg); }
.nav a {box-shadow: 0 1px 0 rgba(0,0,0,.16);}
.rounded { border-radius:7px; }
button { background: #E23B78; border: 0; color: white; font-weight: 700 !important; line-height: 1;  }
.inner { position:relative; float: right; right: 50%; }
.hero-image {max-width:43em; position: relative; right:-50%; border: 6px solid #fff; border-radius: 11px; transform: rotate(-2deg); margin: 2rem 0 2rem;}

/*********************************************************
    COLORS
*********************************************************/
:root{
    --black: #000;
    --white: #FFFFFF;
    --gray: #aaa;
    --darker-gray: #3A3A3A;
    --dark-gray: #444;
    --red: #CC3333;
    --orange: #F6BD60;
    --yellow: #FAF34E;
    --green: #33CC99 ;
    --blue: #34C8FA;
    --purple: #5E36CA;
    --pink: #E23B78;
    --light-blue: #DBF7FB;
}

.black{color: var(--black) !important;}
.black-bg{background-color: var(--black) !important;}

.white{color: var(--white) !important;}
.white-bg{background-color: var(--white) !important;}

.gray{color: var(--gray) !important;}
.gray-bg{background-color: var(--gray) !important;}

.dark-gray{color: var(--dark-gray) !important;}
.dark-gray-bg{background-color: var(--dark-gray) !important;}

.darker-gray{color: var(--darker-gray) !important;}
.darker-gray-bg{background-color: var(--darker-gray) !important;}

.red{color: var(--red) !important;}
.red-bg{background-color: var(--red) !important;}

.orange{color: var(--orange) !important;}
.orange-bg{background-color: var(--orange) !important;}

.yellow{color: var(--yellow) !important;}
.yellow-bg{background-color: var(--yellow) !important;}

.green{color: var(--green) !important;}
.green-bg{background-color: var(--green) !important;}

.blue{color: var(--blue) !important;}
.blue-bg{background-color: var(--blue) !important;}

.light-blue{color: var(--light-blue) !important;}
.light-blue-bg{background-color: var(--light-blue) !important;}

.purple{color: var(--purple) !important;}
.purple-bg{background-color: var(--purple) !important;}

.pink{color: var(--pink) !important;}
.pink-bg{background-color: var(--pink) !important;}


ul {
  list-style: none;
  padding: .5em 1.5em;
}
ul li {
    position: relative;
    line-height: 1.2;
    padding-left: .75em;
    margin-bottom: .75em;
}
 ul li:before {
      content: '';
      position: absolute;
      top: .4em;
      left: -0.7em;
      width: 0.53em;
      height: 0.53em;
      background: #51D0FF;
      border-radius: 100%;
}

ul li a {
    color: var(--black);
}

/*********************************************************
    HELPERS
*********************************************************/
.img-fluid{max-width: 100%; height: auto;}
.min-height{min-height: 1000px;}

.p-0{padding: 0rem !important;}
.p-1{padding: 0.25rem !important;}
.p-2{padding: 0.5rem !important;}
.p-3{padding: 1rem !important;}
.p-4{padding: 2rem !important;}
.p-5{padding: 3rem !important;}

.px-0{padding-left: 0rem !important; padding-right: 0rem !important;}
.px-1{padding-left: 0.25rem !important; padding-right: 0.25rem !important;}
.px-2{padding-left: 0.5rem !important; padding-right: 0.5rem !important;}
.px-3{padding-left: 1rem !important; padding-right: 1rem !important;}
.px-4{padding-left: 2rem !important; padding-right: 2rem !important;}
.px-5{padding-left: 3rem !important; padding-right: 3rem !important;}

.py-0{padding-top: 0rem !important; padding-bottom: 0rem !important;}
.py-1{padding-top: 0.25rem !important; padding-bottom: 0.25rem !important;}
.py-2{padding-top: 0.5rem !important; padding-bottom: 0.5rem !important;}
.py-3{padding-top: 1rem !important; padding-bottom: 1rem !important;}
.py-4{padding-top: 2rem !important; padding-bottom: 2rem !important;}
.py-5{padding-top: 3rem !important; padding-bottom: 3rem !important;}

.m-0{margin: 0rem !important;}
.m-1{margin: 0.25rem !important;}
.m-2{margin: 0.5rem !important;}
.m-3{margin: 1rem !important;}
.m-4{margin: 2rem !important;}
.m-5{margin: 3rem !important;}

.mx-0{margin-left: 0rem !important; margin-right: 0rem !important;}
.mx-1{margin-left: 0.25rem !important; margin-right: 0.25rem !important;}
.mx-2{margin-left: 0.5rem !important; margin-right: 0.5rem !important;}
.mx-3{margin-left: 1rem !important; margin-right: 1rem !important;}
.mx-4{margin-left: 2rem !important; margin-right: 2rem !important;}
.mx-5{margin-left: 3rem !important; margin-right: 3rem !important;}

.my-0{margin-top: 0rem !important; margin-bottom: 0rem !important;}
.my-1{margin-top: 0.25rem !important; margin-bottom: 0.25rem !important;}
.my-2{margin-top: 0.5rem !important; margin-bottom: 0.5rem !important;}
.my-3{margin-top: 1rem !important; margin-bottom: 1rem !important;}
.my-4{margin-top: 2rem !important; margin-bottom: 2rem !important;}
.my-5{margin-top: 3rem !important; margin-bottom: 3rem !important;}

.mb-0{margin-bottom: 0rem !important;}
.mb-1{margin-bottom: 0.25rem !important;}
.mb-2{margin-bottom: 0.5rem !important;}
.mb-3{margin-bottom: 1rem !important;}
.mb-4{margin-bottom: 2rem !important;}
.mb-5{margin-bottom: 3rem !important;}

.rot-1{transform: rotate(45deg); /* Equal to rotateZ(45deg) */}
.-rot-1{transform: rotate(-2deg) !important;}


/*********************************************************
    FORMS
*********************************************************/
.btn{display: inline-block; font-weight: 800; text-align: center; white-space: normal; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .45rem 1.2rem .5rem; font-size: 1.3rem; line-height: 1.5; border-radius: 0.5rem; transition: 0.2s ease; margin: 0 0 0.5rem 0; text-decoration: none; cursor: pointer;}
.btn:hover, .btn:focus{box-shadow: none; transform: translateY(0.5rem); opacity: 1 !important;}



/*********************************************************
    HEADER & NAVIGATION
*********************************************************/
header { position: fixed !important; right: .75rem; top: .75rem; text-align: right; font-size: 85%; font-weight: 600; z-index: 10; }
header div {margin: .25em;}

/*********************************************************
    HOMEPAGE (index.php)
*********************************************************/
.post-card{position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-clip: border-box; padding: 1rem; transition: 0.2s ease;}
.post-card:hover{transform: translateY(5px);}


/*********************************************************
    ARTICLE
*********************************************************/
.article{margin: 0 auto 100px auto; width: 100%; max-width: 920px; background: white;}
.article h1 {  }
.article h2, h3, h4 {  }
.article p{  }
.article ol,ul,dl{margin-top: 0; margin-bottom: 2rem;}
.article ol ol,ul ul,ol ul,ul ol{margin-bottom: 0;}
.article li{margin-bottom: 1rem; line-height: 1.4;}
.article li:last-child { margin-bottom: .5rem; }
.article iframe{margin-bottom: 2rem;}
.article blockquote{padding-left: 2.5rem; margin: 0; color: #555; border-left: 5px solid var(--pink); font-style: italic;}
.article img { max-width: 100%; }
.article .byline{margin: 1.5rem 0; font-size: 1rem; text-align: center;}
.article .byline a{text-decoration: none;}
.article .recommended-post{list-style: none; padding: 0 1rem 0.5rem; margin-bottom: 1rem; display: block; width: 100%;}


/*********************************************************
    WORDPRESS DEFAULT
*********************************************************/
.alignnone{margin: 0; max-width: 100%; width: 100%; height: auto;}
.aligncenter, div.aligncenter{display: block; margin: auto; max-width: 100%; width: 100%; height: auto;}
.alignright{float: right; margin: 0 0 20px 20px;}
.alignleft{float:left; margin: 0 20px 20px 0;}
.aligncenter{margin: auto;}
a img.alignright{float: right; margin: 0 0 20px 20px;}
a img.alignnone{max-width: 100%; width: 100%; height: auto;}
a img.alignleft{float: left; margin: 0 20px 20px 0;}
a img.aligncenter{display: block; margin: auto;}
.wp-caption{background: none; border: none; max-width: 100%; text-align: left; margin: 0 0 40px 0 !important; padding: .65em !important;}
.wp-caption.alignnone{margin: 0 0 40px 0;}
.wp-caption.alignleft{margin: 5px 20px 20px 0;}
.wp-caption.alignright{margin: 5px 0 20px 20px;}
.wp-caption img{border: 0 none; height: auto; margin: 0; max-width: 100%; padding: 0; width: 100%;}
.wp-caption p.wp-caption-text{font-size: 16px !important; line-height: 21px !important; padding: 0;  margin: 0px !important;}


/*********************************************************
    RESPONSIVE CLASSES
*********************************************************/
@media (max-width: 1199.98px){

}

@media (max-width: 991.99px){
  .container{max-width: 100%;}
  .text-lg-center{text-align: center !important;}
  .inner { display: inline-block; max-width: 100%; clear:both; }
  .inner img {max-width: 100%;}
}

@media (max-width: 767.98px){
  body { font-size: 17px; line-height: 25px; }
  .text-md-center{text-align: center !important;}
  h1, .h1, h1.loud {font-size: 2rem;}
  h2, .h2{font-size: 2.1rem;}
  h3, .h3{font-size: 1.5rem;}
  .btn{font-size: 1rem; line-height: 1;}
  .paper {padding: .25em .5em;}
}

@media (max-width: 575.99px){
  header{right: .5rem; top: .5rem;}
}
