@charset "UTF-8";

:root {
	--main-text-color: #7b7b7b;
	--main-bg-color: #fff;
	--theme-text-color: #000;
	--theme-bg-color: #ffc600;
	--yellow: #ffc600;
	--white: #fff;
	--black: #000;
	--yellow-50: rgba(255,187,0,0.5);
	--black-50: rgba(0,0,0,0.5);
	--yellow-25: rgba(255,187,0,0.25);
}

body, html {
	height: 100%;
}

body {
	font-family: Poppins,sans-serif;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0;
	color: var(--main-text-color);
	background: var(--main-bg-color);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden!important;
}

section {
	position: relative;
}

/* GRID */

@media (min-width: 1200px) {
	.container {
		max-width: 1300px;
	}
}

/* TEXT */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: montserrat;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-weight: 800;
}

.text-date, .text-date:hover {
	font-size: 11px;
	line-height: 1.54em;
	letter-spacing: .2em;
	font-family: Montserrat,sans-serif;
	text-transform: uppercase;
}

/* POST DATE */

.post-date-square {
	display: block;
	background-color: var(--yellow);
	color: var(--black);
	position: absolute;
	top: 5px;
	line-height: 19em;
	z-index: 1;
	right: 5px;
}
.post-date-square .day {
	line-height: 1.1em;
	letter-spacing: .02em;
	text-transform: uppercase;
	font-weight: 800;
	font-size: 30px;
	text-align: center;
	padding-top: 14px;
}

.post-date-square .month {
	line-height: 1.54em;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-family: Montserrat,sans-serif;
	font-size: 12px;
	text-align: center;
}

/* LINK */

a {
	transition: color .2s ease-out;
	outline: none;
}

a img {
	outline: none;
}

a .instagram-icon {
    opacity: 0;
    z-index: 1;
    transition: opacity .2s ease-in-out;
	display: block;
	background: var(--black);
	height: 37px;
	width: 37px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

a .instagram-icon svg {
    height: 65px;
    width: 65px;
    transform: scale(.7);
    transition: .2s;
}

a .instagram-icon svg polygon {
    stroke: var(--white);
}

a:hover .instagram-icon {
    opacity: 1;
}

a:hover .instagram-icon svg {
    transform: scale(.7) translate3d(3px,-3px,0);
    transition: .2s .1s;
}

/* SOCIAL LINKS */

.social-icon-link,
.social-icon-link:visited {
	color: var(--black);
}

.social-icon-link:hover,
.social-icon-link:active {
	color: var(--white);
	text-decoration: none;
}

/* UTILITY CLASS */

.bg-theme-half-black {
	background-color: var(--black-50);
}

.bg-theme-half-yellow {
	background-color: var(--yellow-50);
}

.text-hover-white:hover {
	color: var(--white);
}

.text-hover-black:hover {
	color: var(--black);
}

/* HEADER BANNER */

.header-banner {
	background-attachment: fixed;
	background-position: center;
	background-size: 100% auto;
}

/* POST INFO */

.post-info {
	letter-spacing: .2em;
	font-size: 11px;
	line-height: 1.5em;
	text-transform: uppercase;
	font-family: Montserrat,sans-serif;
	color: var(--black);
}

.post-info a {
	color: var(--black);
}

/* TAG LIST */

#tag-list a {
	line-height: 1.54em;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-family: Montserrat,sans-serif;
	color: var(--black);
	margin: 0 10px 10px 0;
	font-size: 11px;
	display: inline-block;
	padding: 10px 25px;
}

#tag-list a:hover {
	color: #fff;
	text-decoration: none;
}

/* CARD */

.card-link {
	color: var(--black);
}

.card-link:hover {
	color: var(--black);
}

/* HEADER BANNER */

.header-banner {
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

/* SIDE PANEL */

.side-panel-open:hover,
.side-panel-open:focus,
.side-panel-open:active {
	text-decoration: none;
}

.side-panel {
	position: fixed;
	z-index: 1040;
	top: 0;
	right: -550px;
	height: 100%;
	width: 550px;
	background-color: var(--yellow);
	color: var(--black);
	-webkit-backface-visibility: hidden;
	transition: all .6s cubic-bezier(.77,0,.175,1);
}

.side-panel.visible {
	right: 0;
	-webkit-box-shadow: -2px 13px 13px 5px rgba(0,0,0,0.53);
	-moz-box-shadow: -2px 13px 13px 5px rgba(0,0,0,0.53);
	box-shadow: -2px 13px 13px 5px rgba(0,0,0,0.53);
}

.side-panel .side-panel-social {
	position: absolute;
	bottom: 3rem;
}

.side-panel .side-panel-bg-text {
    font-weight: 800;
    line-height: 1;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(104,104,104,.4);
    color: transparent;
    text-transform: uppercase;
    display: inline-block;
    width: auto;
    font-size: 191px;
    transform: rotate(90deg) translate(0,-367%);
    transform-origin: -.5em center;
    white-space: nowrap;
    transition: .7s .2s;
    position: absolute;
    right: 0;
    bottom: 0;
}

.side-panel .side-panel-bg-text.visible {
	transform: rotate(90deg) translate(-121%,-367%) !important;
}

/* LAST UPDATED */

#last-updated {
	text-align: right;
}

#last-updated strong {
	margin-right: 5px;
}

/* SOCIAL SQUARE */

.social-square {
	height: 40px;
	width: 40px;
	position: absolute;
	bottom: 5px;
	right: 5px;
	overflow: hidden;
}
 
.social-square .social-opener {
    color: var(--black); 
    background-color: var(--yellow);
    height: 40px;
    bottom: 0;
	position: absolute;
	width: 40px;
}
 
.social-square .social-opener > span {
    display: block;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 20px;
}
 
.social-square .social-holder {
	background-color: var(--yellow);
	transform: translateY(100%);
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;	
}
 
.social-square .social-holder a {
	width: 40px;
	height: 40px;
	display: block;
	position: relative;
}
 
.social-square .social-holder a span {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);	
	font-size: 20px;
}

.social-square:hover .social-holder {
	transform: translateY(0);
}

/* SCROLL UP */

#scroll-up {
	display: none;
	position: fixed;
	right: 23px;
	z-index: 2;
	bottom: 20px;
	box-shadow: 0 0 6px 0 #444;
}

#scroll-up .btn-theme-box-button {
	padding: 10px 16px;
}

/* XS */
@media only screen and (min-width : 0px) {
	
	body, html {
		font-size: 12px;
	}
	
	.post-date-square {
		height: 40px;
		width: 40px;
	}
	
	.post-date-square .day {
	    font-size: 14px;
	    padding-top: 8px;
	}
	
	.post-date-square .month {
	    letter-spacing: .1em;
	    font-size: 8px;
	}
	
	.header-banner {
		height: 275px;
	}
	
}

/* SM (landscape phones, 576px and up) */
@media (min-width: 576px) { 
		
	.header-banner {
	    height: 205px;
	}
	
}

/* MD (tablets, 768px and up) */
@media (min-width: 768px) {
	
	.header-banner {
		height: 275px;
	}
	
}

/* LG (desktops, 992px and up) */
@media (min-width: 992px) {
	
	.post-date-square {
		height: 70px;
		width: 70px;
	}
	
	.post-date-square .day {
	    font-size: 30px;
		padding-top: 14px;
	}
	
	.post-date-square .month {
	    letter-spacing: .2em;
	    font-size: 12px;
	}
	
	.header-banner {
		height: 355px;
	}
	
}

/* XL (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	
	.header-banner {
		height: 400px;
	}
	
	body, html {
		font-size: 15px;
	}
}
