/*
Theme Name: Pan-theme
Text Domain: Pan-theme
Version: 2.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description:
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Author: Pan Thera
Author URI: https://wordpress.org/
Theme URI: https://wordpress.org/themes/itheme/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-- GENERAL DESIGN --*/

body {
	font-family: 'Inter', sans-serif;
	background-color: #FFFFF2;
	color: #3F3E3E;
}

img {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
}

.divider {
	width: 100%;
	height: 1px;
	background-color: #ccccc1;
	margin: 24px 0;
}

/*-- COLORS --*/

/*-- FONTS & HEADINGS --*/

strong { font-weight: 500;}

/*-- NAVIGATION --*/

.main-nav {
	font-size: 24px;
	line-height: 140%;
	margin: 32px 0;
	padding-bottom: 32px;
	border-bottom: 1px solid #ccccc1;
}

.main-nav a {
	text-decoration: none;
	color: inherit;
}

ul li a {
	text-decoration: none;
	display: block;
	margin: 8px 0;
	color: inherit;
	font-size: 24px;
	color: #b2b2a9;
}

ul li a:hover {
	color: #3F3E3E;
}

#menu {
	width: 100%;
	display: none;
	border-bottom: 1px solid #ccccc1; 
	margin: -4px 0 32px 0;
	padding-bottom: 32px;
}

/*-- BUTTONS --*/

.btn-primary {
	padding: 8px 16px;
	margin: 24px 0 0 0;
	position: relative;
	display: block;
	border: 1px solid #ccccc1;
	background-color: #fffff2;
	font-size: 14px;
	border-radius: 24px;
	cursor: pointer;
}

.btn-primary:hover {
	background-color: #e5e5d9;
}

/*-- FRONT PAGE --*/

.entry-container {
	font-size: 24px;
	line-height: 140%;
	margin: 32px 0;
	padding-bottom: 32px;
	border-bottom: 1px solid #ccccc1;
}

.entry-container a {
	color: inherit;
}

.entry-container a:hover {
	text-decoration: none;
}

.grid-item {   width: calc( 33.3333333333%); margin-bottom: 10px; padding: 12px; }

.card {
	position: relative;
	display: block;
	width: 100%;
}

.card img {
	border-radius: 16px;
	transition: all 0.2s ease-out;

}

.card-body {
	background-color: black;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	line-height: 140%;
}

.card-title { font-weight: 400; color: #3F3E3E; }
.card-content { font-weight: 400; color: #b2b2a9; }

.card img:hover {
	filter: brightness(90%);
}

.card-standard-body {
	font-size: 14px !important;
	font-family: 'Inter', sans-serif;
	line-height: 140%;
	color: #AAAAAA;
	margin-top: 16px;
}

.tags a {
	font-size: 12px;
	color: #4c4c48;
	background-color: #e5e5d9;
	padding: 8px 12px;
	border-radius: 16px;
	text-decoration: none;
	transition: all 0.2s ease-out;
}

.tags a:hover {
	background-color: #ccccc1;
}

.tags {
	margin-top: 16px;
}

.card-quote {
	border-radius: 16px;
	background-color: #333330;
	padding: 16px;
}

.card-quote-body {
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	line-height: 140%;
	color: silver;
}

.card-quote-title { color: #fffff2; }
.card-quote-content { margin: 16px 0; color: #b2b2a9; }
.card-quote-date { font-size: 12px; color: #666660; }


.card-aside {
	border-radius: 16px;
	background-color: #ccccc1;
	padding: 16px;
}

.card-aside-body {
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	line-height: 140%;
}

.card-aside-title { color: #333330; }
.card-aside-content { margin: 16px 0; color: #333330; }
.card-aside-date { font-size: 12px; color: #666660; }

.card-aside-content a { color: inherit; }
.card-aside-content a:hover { text-decoration: none; }

.card-image-body {
	font-size: 12px;
	font-family: 'Inter', sans-serif;
	line-height: 140%;
	color: #AAAAAA;
	margin-top: 16px;
}

.card-image-body a {
	text-decoration: underline;
	color: inherit;
}

.card-image-body a:hover {
	text-decoration: none;
}

.card-video {
	display: block;
	position: relative;
	height: 600px;
	width: auto;
}

video {
	border-radius: 16px;
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: relative;
}


/*-- SINGULAR TEMPLATE --*/

.singular-nav {
	font-size: 14px;
	margin: 32px 0;
}

.singular-nav a {
	text-decoration: none;
	color: inherit;
}

.singular-header {
	font-size: 24px;
	padding-bottom: 32px;
	line-height: 140%;
}

.singular-title { color: #3F3E3E; }
.singular-excerpt { color: #b2b2a9; }

.singular-metadata {
	font-size: 14px;
	margin-bottom: 32px 0;
	padding-bottom: 32px;
	color: #b2b2a9;
	line-height: 140%;
}

.singular-content p {
	font-size: 14px;
	line-height: 140%;
	margin-bottom: 20px;
}

.singular-content img {
	margin-bottom: 32px;
	border-radius: 16px;
}

/*-- ABOUT TEMPLATE --*/

.about-content h6, .about-diary h6, .about-logs h6 {
	font-size: 24px;
	line-height: 140%;
	margin: 32px 0;
}

.about-content p {
	font-size: 14px;
	line-height: 140%;
	margin-bottom: 20px;
}

.about-content a { color: inherit; text-decoration: underline; }
.about-content a:hover { text-decoration: none; }

code a {
	color: #4c4c48;
	background-color: #e5e5d9;
	padding: 8px 16px;
	border-radius: 32px;
	font-size: 16px;
	position: relative;
	top: -2px;
	cursor: pointer;
	transition: all 0.2s ease-out;
	color: inherit;
	text-decoration: none;
}

code a:hover {
	background-color: #ccccc1;
}

.about-diary {
	margin-bottom: 64px;
}

.diary {
	font-size: 14px;
	line-height: 140%;
	background-color: #FFFFF2;
	color: #b2b2a9 !important;
}

.diary a, .logs a {
	color: inherit !important;
	text-decoration: none;
}

.linked {
	color: #3F3E3E !important;
	cursor: pointer;
}

.diary:hover, .logs:hover {
	background-color: #e5e5d9;
}

.logs {
	font-size: 14px;
	line-height: 140%;
	background-color: #FFFFF2;
	color: #3F3E3E !important;
}



@media screen and (max-width: 800px) {
	.grid-item {   width: calc( 50%); margin-bottom: 10px; padding: 12px; }
  }


@media screen and (max-width: 640px) {
	.grid-item {   width: calc( 100%); margin-bottom: 10px; padding: 12px; }
  }



  .blink {
	margin-right: 8px;
    -webkit-animation: blink 2s infinite both;
            animation: blink 2s infinite both;
}

@-webkit-keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

/* -------- Contact Form Style -------- */

.wpcf7 {
	margin-top: 32px !important;
}

input[type=text], [type=email], input[type=tel] {
	width: 100%;
	padding: 12px;
	margin: 0px 8px 0 0;
	border: 1px solid #ccccc1;
	border-radius: 8px;
	background-color: transparent;
	font-size: 14px;
	color: #3F3E3E;
	transition: 0.3s;
	margin-bottom: 16px;
	font-family: 'Inter', sans-serif;
  }
  
  input[type=text]:focus, [type=email]:focus, [type=tel]:focus {
	border: 1px solid #3F3E3E;
	outline: none;
  }
  
  textarea {
	width: 100%;
	padding: 12px;
	margin: 0px 8px 0 0;
	border-radius: 8px;
	border: 1px solid #ccccc1;
	background-color: transparent;
	font-size: 14px;
	color: #3F3E3E;
	transition: 0.3s;
	margin-bottom: 16px;
	font-family: 'Inter', sans-serif;
	height: 100px;
  }
  
  textarea:focus {
	border: 1px solid #3F3E3E;
	border-radius: 8px;
	outline: none;
  }
  
  input[type=button], input[type=submit], input[type=reset] {
	padding: 12px 20px;
	border-radius: 30px;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	margin: 0;
	border: none;
	cursor: pointer;
	color: #FFFFFF;
	background-color: #333333;
	transition: all 0.1s linear;
  }
  
  input[type=submit]:hover {
	background-color: #000000;
	color: #FFFFFF;
  }
  
  input[type=text]:focus, [type=email]:focus, input[type=tel]:focus {
	outline: none;
  }