:root{
    --bg1-light:hsl(0, 3%, 84%);
    --bg2-light:hsl(195, 10%, 20%); 
    --bg3-light:hsl(210, 3%, 13%);   
    --title1-light:hsl(0, 3%, 94%);
    --title2-light:hsl(0, 0%, 100%);
    --subtitle1-light:hsl(0, 0%, 70%);
    --text1-light:hsl(0, 3%, 80%);
    --accent1-light:hsl(25, 98%, 82%);
    --highlight-light:hsl(195, 10%, 24%);
    --hr-light:hsl(223, 6%, 64%);
    --inverse-light:hsl(210, 3%, 53%);

    --bg1-dark:hsl(204, 10%, 10%);
    --bg2-dark:hsl(210, 3%, 13%); 
    --bg3-dark:hsl(200, 4%, 15%);
    --title1-dark:hsl(0, 0%, 93%);
    --title2-dark:hsl(0, 0%, 93%);
    --subtitle1-dark:hsl(0, 0%, 70%);
    --text1-dark:hsl(0, 0%, 80%);
    --accent1-dark:hsl(25, 98%, 82%);
    --highlight-dark:hsl(210, 3%, 17%);
    --hr-dark:hsl(223, 6%, 24%);
    --inverse-dark:hsl(210, 3%, 53%);
}
/*
lighter bg2: hsl(195, 10%, 23%); 
black text for white bg: --text1-light:hsl(210, 3%, 13%);
teal accent: hsl(191, 63%, 33%);
--inverse-light:hsl(210, 3%, 40%);
--inverse-dark:hsl(223, 6%, 64%);
*/
@media(prefers-color-scheme: dark){
    :root{
    --bg1:var(--bg1-dark);
    --bg2:var(--bg2-dark); 
    --bg3:var(--bg3-dark);   
    --title1:var(--title1-dark);
    --title2:var(--title2-dark);
    --subtitle1:var(--subtitle1-dark);
    --text1:var(--text1-dark);
    --accent1:var(--accent1-dark);
    --highlight:var(--highlight-dark);
    --hr:var(--hr-dark);
    --inverse:var(--inverse-dark);
    }
}
@media(prefers-color-scheme: light){
    :root{
    --bg1:var(--bg1-light);
    --bg2:var(--bg2-light); 
    --bg3:var(--bg3-light);   
    --title1:var(--title1-light);
    --title2:var(--title2-light);
    --subtitle1:var(--subtitle1-light);
    --text1:var(--text1-light);
    --accent1:var(--accent1-light);
    --highlight:var(--highlight-light);
    --hr:var(--hr-light);
    --inverse:var(--inverse-light);
    }
}
[color-scheme="dark"]{
    --bg1:var(--bg1-dark);
    --bg2:var(--bg2-dark); 
    --bg3:var(--bg3-dark);   
    --title1:var(--title1-dark);
    --title2:var(--title2-dark);
    --subtitle1:var(--subtitle1-dark);
    --text1:var(--text1-dark);
    --accent1:var(--accent1-dark);
    --highlight:var(--highlight-dark);
    --hr:var(--hr-dark);
    --inverse:var(--inverse-dark);
}
[color-scheme="light"]{
    --bg1:var(--bg1-light);
    --bg2:var(--bg2-light); 
    --bg3:var(--bg3-light);   
    --title1:var(--title1-light);
    --title2:var(--title2-light);
    --subtitle1:var(--subtitle1-light);
    --text1:var(--text1-light);
    --accent1:var(--accent1-light);
    --highlight:var(--highlight-light);
    --hr:var(--hr-light);
    --inverse:var(--inverse-light);
}

/********** GENERAL **********/
body{
    background-color: var(--bg1);
    font-family: 'PT Serif', serif;
}
main{

}
h1, h2, h3, h4, h5, .navbar, .label-sticky, .pagination-links{
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
p{
    font-size: 1.3rem;
    color:var(--text1);
}
ul li, ol li{
    color:var(--text1);
    /*list-style:inside;*/
    list-style-type: inherit;
}
ul li{
    list-style-type: disc;
    list-style-position: inside;
}
ul li a{
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
div.highlight ol li{
    list-style:inside;
    list-style-type: inherit;
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    padding: 0rem 0rem 0rem 2rem;
}
div.highlight ol li::marker{
    font-weight: 700;
    color:var(--accent1);
}
div.highlight{
    border-radius: 14px;
    padding: 1.8rem 2.5em .75rem 0.5rem;
    padding:1.6rem 2.5em .2rem 0.5rem;
    margin: 2.4rem 0;
    background-color: var(--highlight);
}
.cage{
    max-width: 1200px;
    margin: 0 auto 1rem;
    overflow: hidden;
}
.padded{
    padding: 0 4rem 4rem !important;
    /*padding: 0 2rem 3rem !important;*/
}
.centered{
    text-align: center;
}
.post a, .page a{
    color:var(--accent1);
}
.post a:hover, .page a:hover{
    text-decoration: underline;
}
strong{
    font-weight: 700;
    color:var(--text1);
}
.navbar{
    /*border-radius: 14px 14px 0 0;*/
}
hr{
    background-color: var(--hr);
    height:0.5px;
}
hr.footnotes-sep{
    display: none;
}

/********** NAV **********/
.navbar{
    /*max-width:90%;*/
    display: flex;
    margin: 0rem auto 0rem;
    padding:0 2rem;
    background-color: var(--bg2);
}
.navbar-brand .navbar-logo{
    font-size:1.1em;
    font-weight:400;
    color:var(--title1);
    text-transform: lowercase;
    padding:0;
}
.navbar-brand .navbar-logo:is(:hover, :focus){
    color:var(--title1);
}
.navbar-end li{
    display: flex;
}
.navbar-end li a:hover{
   background: none;
}
.navbar-end .navbar-item{
    font-size:.8em;
    color:var(--title1);
}
.navbar-end .navbar-item:is(:hover, :focus){
    color:var(--accent1);
}
.navbar-burger{
    color:var(--title1);
}
.navbar-burger.is-active, .navbar-burger:hover{
    z-index: 2;
    color:var(--title2);
}
.navbar-menu.is-active{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 1;
}
.navbar-menu.is-active .navbar-end{
    height:100vh;
    background: var(--bg2);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}
.navbar-menu.is-active li{
    display: block;
}
.navbar-menu.is-active .navbar-end a{
    color:var(--title2);
    text-align: center;
    font-size: 1.2rem;
}
.navbar-menu.is-active > ul > li:first-of-type:before {
    background: transparent;
    margin-top: 0;
	}
.navbar-menu.is-active  > ul > li:before {
    content: '';
    display: block;
    background:var(--hr);
    width: 80px;
    height: 2px;
    margin: 1rem auto;
	}

/********** 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);
}

/********** FOOTER **********/
footer{
    color:var(--title1);
    background: var(--bg2);
    /*padding: 7rem 0 0rem;*/
    padding:1rem 1rem;
    font-size:1.1rem;
    border-top:0px solid var(--hr);
    border-radius: 0 0 14px 14px;
}
footer p{
    font-size:1.1rem;
    line-height: 1.8;
}
footer span{
    display: block;
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight:700;
    cursor:default;
}
footer ul li{
    margin-bottom: .5rem;
}
footer ul li a{
    color: var(--title2);
}
footer ul li a:hover{
    color: var(--title2);
    text-decoration: underline;
}
.footer-signature{
    /*display: flex;
    justify-content: right;*/
    padding: 1.5rem 1rem 0rem;
    text-align: right;
}
.footer-signature span{
    margin:0;
    font-weight: 300;
    font-size: 0.7rem;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color:var(--inverse);
    cursor: default;
}

/********** PAGINATION **********/
.pagination-links{
    display: flex;
    margin:0;
    padding:0 2rem 0;
    padding:.4rem 1rem 0;/*Pagination outside Footer*/
    }
.pagination-links li{
    margin:0;
    width: 50%;
    height: auto;
    border:0;
    font-weight: 700;
    padding:0;
}
.pagination-links a{
    color:var(--title1);
    font-size: .8rem;
    font-weight: 400;
    color:var(--title2);/*Pagination outside Footer*/
}
.pagination-links a:hover{
    text-decoration: underline;
}
.pagination-previous{
    justify-content: left;
}
.pagination-next{
    justify-content: right;
}
.pagination-previous span, .pagination-next span{
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    transform: scale(var(--ggs,1));
    width: 22px;
    height:6px;
    /*height: 25px;*/
    border: 2px solid transparent;
    border-radius: 100px;
    color:var(--accent1);
}
.pagination-previous span::after, .pagination-next span::after{
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    transform: rotate(45deg);
    left: 2px;
    top: 5px;
}
.pagination-next span::after{
    transform: rotate(-135deg);
}

/********** HOME **********/
section.home{
    background-color: var(--bg2);
}
.post-hero{    
    position:relative;
    overflow: hidden;
    width:100%;  
    display:flex;
    align-items:end;
    color:var(--title2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate3d(0, 0, 0);    
}
.post-hero-max{
    height:100vh;
    max-height:600px;
}
.post-hero-min{
    min-height:600px;
}
.overlay{
    position:absolute;
    width:100%;
    height:100%;    
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .65));
    transition: all 300ms;
}
.hero-overlay:hover .overlay{
    background: rgba(0, 0, 0, .60);
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .65));*/
    transition: all 300ms;   
}
.label-sticky{
    font-size: .9rem;
    display: inline-block;
    width:fit-content;
    margin-bottom: 2.8em;
    padding: .6rem .8rem;
    text-transform: uppercase;
    border: 2px solid var(--title2);
    cursor:default;
}
.post-metadata{
    width:100%;
    font-size:1.2rem;
    font-style:italic;
}
.post-metadata::before{
    display: block;
    width: 80px;
    height: 2px;
    margin: 40px 0;
    content: "";
    background: var(--title2);
}    
.hero-text{
    z-index:1;
}
.hero-text h2, .hero-text a, .hero-text p, h1.title{
    color:var(--title2);
}
h2{
    font-size:2.6rem;    
    font-weight:700;
    text-transform: uppercase;
}
.subtitle{
    font-style: italic;
    font-size: 1.6rem;
}
.hero-text h2, .post h1{
    font-size:3.6rem;    
}
.hero-text .subtitle{
    font-size:1.8rem;
    /*margin-top:1.5rem !important;*/
    cursor:default;
    margin:0;
}
.post-hero h2 > a:hover{
    position: relative;  
	text-decoration: none;
    color:var(--title2);
}
.post-hero h2 > a:before{
    content: "";
	position: absolute;
	width: 100%;
	height: 2px;
 	bottom: 0;
 	left: 0;
 	background-color: var(--title2);
 	visibility: hidden;
 	-webkit-transform: scaleX(0);
 	transform: scaleX(0);
 	-webkit-transition: all 0.3s ease-in-out 0s;
 	transition: all 0.3s ease-in-out 0s;
}
.post-hero h2 > a:hover:before{
    visibility: visible;
 	-webkit-transform: scaleX(1);
 	transform: scaleX(1);
}
.home .columns.is-gapless > .column{
    margin:0 !important;
}

/********** PAGE: POST **********/
.post, .page{
    background:var(--bg2);
}
.post .overlay{
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .85));
}
.post .overlay:hover{
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .85));;
    
}
.post-content, .page{
    position: relative;
    padding: 3rem 4rem 5rem;
/*    
    margin: 3rem auto 5rem;
    padding:0 3rem;
*/
}
.post-content p{
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text1);
    margin-bottom:1.8rem;
}
.post-content a{
    color: var(--accent1);
}
.post-content a:hover{
    text-decoration: underline;
}
.post-content img{
    display: flex;
    width: 100%;
}
.post-content p iframe{
    width:100%;
}
.caption, .post-content .caption{
    text-align:center;
    font-size: .9rem;
    font-style: italic;
    margin:1rem 0 0;
    color: var(--subtitle1);
    padding: 0 2rem;
}
.post-content .caption{
    margin:0 0 3.6rem;
}
.dropcap{
    display: block;
    float: left;
    text-align: center;
    margin: 5px 15px 15px 0;
    font-size: 150px;
    line-height: 150px;
    width: 150px;
    height: 150px;
}
blockquote{
    margin: 3rem 0;
    border-left: 2px solid var(--accent1);
    padding: 0rem 0rem 0rem 2rem;
    color:var(--text1);
}
.post-content blockquote p, blockquote p{
    font-size: 2rem;
    font-style: italic;
    margin:0;
    line-height: 1.5;
}
hr.footnotes-sep{
    margin:0;
}
ol.footnotes-list p{
    margin:0;
    font-size: .9rem;
}
.footnote-item::marker{
    color: var(--text1);
}

/********** PAGES **********/
.page{
    display: block;
    background: var(--bg2);
    position: relative;
}
.page h1{
    font-size: 4.5rem;
    font-weight: 700;
    color:var(--title1);
    margin: 0 0 2rem;
    cursor: default;
}
.page ul.archive-list li{
    border-bottom: 1px solid var(--hr);
    padding: 1rem .5rem;
    display: inline-block;
    width: 100%;
}
.page ul.archive-list li:hover{
    /*background: #fbfbfb;*/
}
/*
.page ul.archive-list li:hover a{
    text-decoration: underline;
}*/
.page ul.archive-list li a{
    width: 50%;
    display: inherit;
    font-size: 1.2rem;
}
.page ul.archive-list li span{
    width: 50%;
    float:right;
    text-align: right;
    cursor:default;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: .9rem;
    line-height: 2;
    color:var(--subtitle1);
}
/*
.page ul.archive-links li, .page ul.archive-date li{
    width: 100%;
    list-style-type: none;
    border-bottom: 1px solid #1f2021;
    padding: 1rem .5rem;
}
.page ul.archive-date li{
    text-align: right;
}
*/
.page ul.archive-links li a{

}
.page ul.archive-links li span{}

/********** MIXINS **********/
@media screen and (max-width: 768px) {
    footer{
        border-radius: 0;
    }
    .footer-signature{
        padding: 1.5rem 1rem 0rem;
    }
    .page h1{
        font-size: 2.5rem;
    }
    p{
        word-wrap: anywhere;
    }
    ul li{
        list-style-position: inherit;
    }
    .label-sticky {
        display: none;
    }
    .padded{
        padding: 0 2rem 2rem !important;
    }
    .navbar{
        padding:0;        
    }
    .navbar-logo{
        margin-left:1rem;
    }
    .navbar-toggle{
        margin:0 .75rem 0 0;
    }
    .post-hero h2{
        font-size: 3rem;
        line-height: 1;
        margin:0 0 1rem;
    }
    .post-hero .subtitle{
        font-size: 1.4rem;
    }
    .post-metadata::before{
        display: none;
    }
    .post-content, .page{
        padding: 3rem 2rem 5rem;
    }
    .post-content blockquote p, blockquote p{
        font-size: 1.3rem;
    }
    /*
    .column.is-half{
        flex: none;
        width: 50%;
    }
    */
}
@media screen and (min-width: 1024px) {
    .navbar-menu  > ul > li:hover > a:before,
    .navbar-menu  > li:hover > a:before {
        background: var(--bg3);
    }
    .navbar-menu  > ul > li > a,
    .navbar-menu  > li > a {
        transition: background, color 200ms ease-out;
    }
    .navbar-menu  > ul > li > a:before,
    .navbar-menu  > li > a:before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        content: "";
    }
    .navbar-menu > ul > li > a:hover:before,
    .navbar-menu > li > a:hover:before {
        background: var(--title1);
    }
    .navbar-menu  > ul > .back-to-site:hover > a:before,
    .navbar-menu  > .back-to-site:hover > a:before {
        background:var(--accent1);
    }
}

