:root{
  --bg1-light:hsl(0, 0%, 98%);
  --bg2-light:hsl(0, 0%, 100%);
  --bg3-light:hsl(0, 0%, 96%);
  --accent1-light:hsl(4, 100%, 40%);
  --accent2-light:hsl(45, 99%, 59%);
  --highlight1-light:hsl(0, 0%, 92%);
  --title1-light:hsl(0, 0%, 13%);
  --text1-light:hsl(0, 0%, 20%);
  --text2-light:hsl(0, 0%, 30%);
  --bg2-inverted-light:hsl(218, 15%, 10%);

  --bg1-dark:hsl(218, 15%, 7%);
  --bg2-dark:hsl(218, 15%, 10%);
  --bg3-dark:hsl(218, 15%, 12%);
  --accent1-dark:hsl(32, 73%, 90%);
  --accent2-dark:hsl(45, 99%, 59%);
  --highlight1-dark:hsl(0, 0%, 96%);
  --title1-dark: hsl(32, 73%, 90%);
  --text1-dark: hsl(217, 10%, 80%);
  --text2-dark:hsl(195, 20%, 80%);
  --bg2-inverted-dark:hsl(0, 0%, 100%);
   /*
   saturated yellow: #f5c056;
   chocolatey bg: #222222;
   chocolatey fw: #f9f9f9;
   chocolatey accent: #eba613;
  --bg1-dark:hsl(0, 0%, 7%);
  --bg2-dark:hsl(218, 15%, 10%);
  --bg3-dark:hsl(0, 0%, 15%);
  --accent1-dark:hsl(32, 73%, 90%);
  --accent2-dark:hsl(45, 99%, 59%);
  --highlight1-dark:hsl(0, 0%, 96%);
  --title1-dark: hsl(195, 30%, 95%);
  --text1-dark: hsl(217, 10%, 80%);
  --text2-dark:hsl(195, 20%, 90%);
*/
}

@media(prefers-color-scheme:dark){
  :root{
    --bg1:var(--bg1-dark);
    --bg2:var(--bg2-dark);
    --bg3:var(--bg3-dark);
    --accent1:var(--accent1-dark);
    --accent2:var(--accent2-dark);
    --highlight1:var(--highlight1-dark);
    --title1:var(--title1-dark);
    --text1:var(--text1-dark);
    --text2:var(--text2-dark);
    --bg2-inverted:var(--bg2-inverted-dark);
  }
}
@media(prefers-color-scheme:light){
  :root{
    --bg1:var(--bg1-light);
    --bg2:var(--bg2-light);
    --bg3:var(--bg3-light);
    --accent1:var(--accent1-light);
    --accent2:var(--accent2-light);
    --highlight1:var(--highlight1-light);
    --title1:var(--title1-light);
    --text1:var(--text1-light);
    --text2:var(--text2-light);
    --bg2-inverted:var(--bg2-inverted-light);
  }
}

[color-scheme="dark"]{
  --bg1:var(--bg1-dark);
  --bg2:var(--bg2-dark);
  --bg3:var(--bg3-dark);
  --accent1:var(--accent1-dark);
  --accent2:var(--accent2-dark);
  --highlight1:var(--highlight1-dark);
  --title1:var(--title1-dark);
  --text1:var(--text1-dark);
  --text2:var(--text2-dark);
  --bg2-inverted:var(--bg2-inverted-dark);
}
[color-scheme="light"]{
  --bg1:var(--bg1-light);
  --bg2:var(--bg2-light);
  --bg3:var(--bg3-light);
  --accent1:var(--accent1-light);
  --accent2:var(--accent2-light);
  --highlight1:var(--highlight1-light);
  --title1:var(--title1-light);
  --text1:var(--text1-light);
  --text2:var(--text2-light);
  --bg2-inverted:var(--bg2-inverted-light);
}

/* General */
html{
  overflow-y: auto;
  scroll-behavior: smooth;
  color:hsl(0, 0%, 93%);
}
body{
  min-height: 100vh;
  font-family: Raleway, sans-serif;
}

/* Fonts */
.tarjeta-title {
  line-height: 1.3;
  letter-spacing: -.7px;
}

/* Layout */
aside.section{
  background-color:var(--bg3) !important;
}
.container.articulo {
  max-width: 816px !important;
}

@media (max-width: 768px) {
  .section {
    
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

/* Navbar */
@media (max-width: 1023px) {
  body {
    padding-top: 3.25rem;
  }
  #main-navbar {
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    /*padding: 1rem 0rem;*/
  }
  .navbar > .container{
    display: flex;
  }
  .navbar-item img {
    max-height: 2.5rem !important;
  }
  .mode-toggle-container{
    padding: 0 1rem 0 0 !important;
  }
  .logo {
    padding: 0.25rem 0.75rem;
  }
}
@media (min-width: 1024px) {
  .navbar-item img {
    max-height: 2.5rem !important;
  }
}
.navigation-item {
  text-transform: uppercase;
  font-size: 14px;
}
.navigation-item:hover{
  text-decoration: underline;
}
.navbar-brand span.subtitle, .article-metadata time, .navbar-item, .navbar-link, .imagealt{
  color: var(--text2) !important;
}
a.search-icon svg path{
  fill:var(--text2);
}
.mode-toggle-container{
  display: flex;
  align-items: center;
  justify-content: right;
  margin:0 0 0 auto;
  padding: 0 0 0 1rem;
}
.navbar-burger:is(:hover, :focus){
  background-color: transparent;
}

/* Tarjetas */
.tarjeta:hover {
  transition: all 1s;
  box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0px 0 1px rgb(10 10 10 / 2%);
}

/* Post and Article Content*/
@media( min-width: 1024px) {
  figure.featured-image {
    margin: 0rem -3rem !important;
  }
}
@media(max-width: 768px) {
  figure.featured-image {
    margin: 1rem -0.75rem !important;
  }
}

/* Search */
#search-results {
  max-height: 250px;
  overflow-y: scroll;
}

/* Footer */
.footer-social-icons span, .share-buttons a {
  margin: 0 7px;
}
.footer-social-icons span:first-child, .share-buttons a:first-child {
  margin-left: 0;
}
.footer-social-icons span:last-child, .share-buttons a:last-child {
  margin-right: 0;
}

/* Share Buttons */
.social-flotante ul {
  margin-top: 7px;
  position: sticky;
  top: 20px;
  overflow: hidden;
}
.social-flotante li a {
  margin: 5px 0;
}

/********** TOGGLE BUTTON **********/
.navbar-toggle{
  display: flex;
  margin:0 0 0 1rem;
}

.mode-toggle{
  width: 34px;
  height: 34px;
  border:none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.45s ease-in-out;
  display: grid;
  align-self: center;
  place-items: center;
  padding: 0;
  background-color: var(--bg2);
}

.mode-toggle-color{
stroke:var(--title1);
}

.mode-toggle:is(:hover), .mode-toggle:is(:hover) .mode-toggle-color{
transition:all 0.45s ease-in-out;
}

.mode-toggle:is(:hover){
background-color: var(--title1);
opacity:.8;
}
.mode-toggle:is(:hover) svg{
stroke-width:2px;
stroke:var(--bg2);
}





/********** Custom CSS HERE **********/
/* GENERAL */
body{
  color:var(--text1);
  background-color: var(--bg1);
}

h2, a{
  color: var(--title1);
}
a{
  /*transition: all .2s ease-in-out;*/
}
a:hover, .tarjeta-title a:hover{
  color:var(--accent1);
  /*cb0e00
  028196*/
}
.navbar{
  background-color: var(--bg2);
}
.cage{
  max-width: 1200px;
  margin: 0 auto 0;
  position: relative;
  padding:0 1rem;
  background-color: var(--bg2);
}
.cage main.section{
  padding:0;
  margin: 0 0 3rem;
}
.main-section{
  padding: 0rem 0rem;
}

/* FONTS */
.entry h3, .excerpt-more{
  font-family: Raleway, sans-serif;
}
.articulo .imagealt, .articulo p, .articulo-content p, .tarjeta p, .entry-excerpt {
  font-family: 'Vollkorn';
  font-size: 1.1em;
}

/* HOME */
.entry{}
figure.image img{
  display: block;
  height: auto;
  max-width: 100%;
}
.entry-text{
  margin:2rem auto 3rem;
  max-width:800px;
}
.entry h3{
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
}
.entry-title::after, article.articulo h1::after{
  content: "";
  background-color: var(--accent1);
  display: block;
  height: 4px;
  margin: 2rem auto;
  width: 6rem;
}
.entry-metadata{
  text-align: center;
}
.entry-metadata .tarjeta-date{
  margin-bottom: .5rem;
}
.entry-metadata .tag{
  margin:0 .2rem;
}
.entry-excerpt{
  line-height: 180%;
  font-size: 1.3rem;
}
.excerpt-more{
  color: var(--title1);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.15;
  padding: .7rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid currentColor;
  margin: 1rem 0 0;
  transition: all .2s ease-in-out;
}
.excerpt-more:hover{
  color: var(--bg2);
  background-color: var(--accent1) ;
}


/********** Custom CSS HERE (COLUMN DESIGN)  **********/
figure.featured-image{
  margin:0 !important;
  padding-bottom:1.5rem;
}
.container.articulo{
  max-width: 1200px !important;
}
a:hover, .navbar-link.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, a.navbar-item.is-active, a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover{
  color:var(--accent1) ;
}
.navbar.has-shadow{
  box-shadow: none;
}
.navbar-brand{
  padding:0.65rem 0;
  margin:0 !important;
  padding:0;
}
.navbar-titles{
  align-items: stretch;
  display: flex;
  flex-flow: column;
}
.navbar-brand a.title{
  font-size:1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  /*margin: 0 0 .2rem;*/
  margin:0;
  color:var(--accent1) !important;
  padding:0;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}
.navbar-brand span.subtitle{
  width: 100%;
  font-size: .8rem;
  text-transform: uppercase;
  cursor:default;
  text-align: center;
  display: inline;
  padding: 0;
  margin:0 !important;
  font-family: Raleway, sans-serif;
}
.navbar-brand span{}
#search-mobile{
  display: none;
}
.navbar-link.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, a.navbar-item.is-active, a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover{
  background:none;
  /*
  box-shadow: 0 0.5em 0.5em -0.125em rgb(10 10 10 / 10%), 0 0px 0 1px rgb(10 10 10 / 2%);
  background: none;
  */
}
.tarjeta, .tarjeta p{
  cursor:default;
  color:var(--text2) !important; 
}
.tarjeta:hover{
  border-bottom: 3px solid var(--accent1);
  margin-bottom:-3px;
  transition: all 0.1s ease-in-out 0s;
}
.tarjeta:hover h3 a{
  color:var(--accent1) !important;
}
.tarjeta .tarjeta-title{
  margin:.6rem 0 .2rem !important;
}
.tarjeta .tarjeta-title a{
  color:var(--title1) !important;
}
.tarjeta .tag{
  float:right;
  align-items:center;
  border-radius: 4px;
  height: 1.75em;
  justify-content: center;
  line-height: 1.5;
  padding-left: .65em;
  padding-right: .65em;
  white-space: nowrap;
}
.tarjeta-date{
  display: inline-block;
  font-size: .8rem;
}
.tarjeta p{
  margin:1rem 0 0;
}
.container.tag-pages-layout .tarjeta .tag{
  
}
.imagealt{
}
.articulo h1, h1.title, p.title{
  text-align: center;
  cursor:default;
  color: var(--title1);
}
p.title, .container.tag-pages-layout h1{
  text-transform: capitalize;
  color:var(--title1);
}
a.tag{
  text-transform: uppercase;
  background-color: var(--highlight1);
}
.articulo .imagealt{
  margin:0 0 1rem;
  text-align: center;
  font-style:italic;
  font-size: 1rem;
}
.articulo-content{
  max-width: 80%;
  margin: 0 auto;
}
.articulo p, .articulo-content p{
  font-size: 1.3em;
  font-weight: 400;
  line-height: 180%;
}
.article-metadata{
  margin:3rem 0 0;
}
.article-metadata time{
  display: block;
  width: 100%;
  margin:0 0 0.5em;
}
.article-metadata p{
  /*font-family: BlinkMacSystemFont,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;*/
}
span.icon{
  display:none
}
footer.section{
  border-top:0;
  /*border-top: 1px solid hsl(0, 0%, 93%);*/
  padding: 2rem 2rem;
  font-size: 0.8rem;
}
footer.section .level{
  margin:0;
}
footer .signature{
  margin-left: auto
}
#mobile-navbar{
  background-color: var(--bg2);
}
#mobile-navbar.is-active{
  background-color: var(--bg3);
  color:var(--text1);
  margin:1rem 0 -1rem;
}

/* MIXINS */
@media( min-width: 768px) {
  .cage {
    padding:0;
  }
  .main-section{
    padding: 0rem 0rem;
  }
  .entry h3{
    font-size: 3rem;
  }
  .articulo .imagealt{
    margin: 0 0 2rem;
  }
  .entry-text{
    margin: 3rem auto 3rem;
  }
}
@media( min-width: 1024px) {
  .articulo-content{
    max-width: 70%;
    margin: 0 auto;
  }
}
@media( max-width: 640px) {
  .navbar-brand span.subtitle{
    display: none;
  }
  .navbar-brand a.title{
    height: 100%;
  }
  .navbar-brand a.title{
    font-size: 1.1rem;
  }
}
  @media( max-width: 1023px) {
  .navbar > .container{
    flex-wrap: wrap;
  }
  .navbar-brand{
    order:-1;
  }
  #mobile-navbar.is-active{
    order:2;
    flex:1;
    min-width: 1023px;
    margin:0;
  }
  .mode-toggle-container{
    order:1;
  }
}
@media( max-width: 320px) {
  #search-mobile{
    display: none;
  }
}