/*
Theme Name: NCVCE
Theme URI: https://example.com
Description: NCVCE child theme for Twenty Twenty One.
Author: Jerimee Richir
Author URI: https://example.com/
Template: twentytwentyone
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * Root Media Query Variables
 * responsive layouts
 */
:root {
 	--button--border-radius: 6px;
	--primary-nav--font-size: var(--global--font-size-xs);
	--primary-nav--padding: calc(0.3 * var(--global--spacing-unit));
	--title--shadow: 3px 4px 0px rgba(0,0,0,0.8);
	--title--shadow-alt: 1px 1px 5px rgba(0,0,0,0.6);
	--title--font: 'Kumbh Sans', sans-serif;
	--global--spacing-vertical: 15px;
}

@media only screen and (max-width: 482px) {
	  	body.page { background-image: none; }
	 	#masthead .site-branding h1.site-title{
 			font-family: sans-serif;
 			font-size: 2em;
			opacity: 1.0;
		    padding: 1px;
    		letter-spacing: normal;
 		}
		#main .entry header.entry-header { display:none; }
		.site-header {	padding-bottom: 0; }
		.site-main { padding-top: 0; }
		.home .site-main .entry .entry-footer { padding-bottom: 0; }
		.entry-content p { line-height: normal; }
}
@media only screen and (min-width: 482px) {
		#masthead .site-branding {}
	 	#masthead .site-branding h1.site-title{ 
	 		font-family: var(--title--font);
	 		font-size: 3.6em;
			opacity: 0.8;
		    padding: 0 17px;
		    letter-spacing: 10px;
		    text-shadow: var(--title--shadow);
	 	}
		.home .entry-header figure figcaption.wp-caption-text { 
			font-family: var(--title--font);
			font-size: 1.8rem;
		}
		.site-header {	padding-bottom: 0; }
		/* nav */
		.primary-navigation > div > .menu-wrapper > li > .sub-menu {
			padding-top: 1px; 
    		transition: all 0.4s ease;
		}
		.entry-content {
	    	padding: 20px;
    		background-color: #ffffff;
    		border-radius: var(--button--border-radius);
    		color:#111111;
    		box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px;
    	}
    	.widget {
    		box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.2);
  			transition: all 0.4s cubic-bezier(.25,.8,.25,1);
    	}
    	.widget:hover {
    		box-shadow: 0 20px 35px rgba(0,0,0,0.5), 0 5px 18px rgba(0,0,0,0.6);
    	}
    	.site-footer > *, .widget-area > * {
    		margin-top: 0;
    	}
}
@media only screen and (min-width: 652px) {
		.home .entry-header figure figcaption.wp-caption-text { 
			font-size: var(--global--font-size-xl);
		}
		.home .site-main .entry .entry-footer { padding-bottom: var(--global--spacing-vertical); }
}
/* if thinner/smaller than 822 */
@media only screen and (max-width: 822px) {
	.primary-navigation { position: relative; }
}
/* if wider/bigger than 822 */
@media only screen and (min-width: 822px) {
	.home, .page-template-default, .post-template-default {
		--responsive--aligndefault-width: min(calc(100vw - 8 * var(--global--spacing-horizontal)), 1240px);
	}
	.site-header { padding-top: calc(var(--global--spacing-vertical) * 2);; }
	.primary-navigation { 
		--responsive--vw-extra: calc(100vw - 1240px);
		--responsive--vw-extra-half: calc(var(--responsive--vw-extra) / 2);
		--responsive--nav-right: max(var(--responsive--vw-extra-half), 100px);
		--responsive--vw: calc(100vw);
		position: absolute; 
		right: var(--responsive--nav-right);
		top: var(--global--spacing-vertical);
	}
	/* "glass" buttons */
	#site-navigation .primary-menu-container #primary-menu-list > li {
		padding: 0 5px 0;
    	margin: 0 3px 0;
		border: 1px solid rgba(25,25,25,0.4);
    	border-radius: 3px;
		background: var(--global--color-three);
    	box-shadow: 			0 2px 4px rgba(0,0,0,0.3), inset 0 1px rgba(255,255,255,0.3), inset 0 3px rgba(255,255,255,0.1), inset 0 4px 100px rgba(255,255,255,0.3), inset 0 -15px 35px rgba(0,0,0,0.2);
    	-o-box-shadow: 			0 2px 4px rgba(0,0,0,0.3), inset 0 1px rgba(255,255,255,0.3), inset 0 3px rgba(255,255,255,0.1), inset 0 4px 100px rgba(255,255,255,0.3), inset 0 -15px 35px rgba(0,0,0,0.2);
    	-webkit-box-shadow: 	0 2px 4px rgba(0,0,0,0.3), inset 0 1px rgba(255,255,255,0.3), inset 0 3px rgba(255,255,255,0.1), inset 0 4px 100px rgba(255,255,255,0.3), inset 0 -15px 35px rgba(0,0,0,0.2);
    	-moz-box-shadow: 		0 2px 4px rgba(0,0,0,0.3), inset 0 1px rgba(255,255,255,0.3), inset 0 3px rgba(255,255,255,0.1), inset 0 4px 100px rgba(255,255,255,0.3), inset 0 -15px 35px rgba(0,0,0,0.2);
	}
	.site-footer {
		box-shadow: 0 -300px 200px var(--global--color-three);
	}
}
/* if thinner/smaller than 1150 */
@media only screen and (max-width: 1150px) {
	#masthead .site-branding h1.site-title {font-size: 2em;}
}
/* if thinner/smaller than 1050 */
@media only screen and (max-width: 1050px) {
	[role="headersubtext"] { display:none; }
	#primary .entry-header { padding-bottom: 0; }
	header.entry-header { display:none; }
}
/* if wider/bigger than 1050 */
@media only screen and (min-width: 1050px) {
	#full-width-header-bg {
		position: absolute;
    	background-color: var(--global--color-two);
    	height: calc(105px + var(--global--font-size-base)); /* ~125px */
    	top: var(--global--admin-bar--height);
    	width: 100%;
    	z-index:-10;
		border-bottom: 2px solid var(--global--color-black);
		background-image: url('/wp-content/themes/twentytwentyone-child/assets/images/p05Trans.png');
		/* h-offset v-offset blur spread */
    	box-shadow: 0 5px 3px rgba(0, 0, 0, 0.4),
 					10px 2px 500px 40px var(--global--color-two);
	}
	[role="headersubtext"] { 
    	margin-top: 10px;
    	padding: 0 20px;
    	letter-spacing: 1px;
    	font-size: 0.7em;
    	font-family: var(--entry-content--font-family);
    	/*color: #111111;*/
    	color: var(--global--color-two-readable);
    	opacity: 0.8;
    	word-spacing: 0.8em;
	}
	.home .entry-header figure figcaption.wp-caption-text { 
		font-size: 4.3rem;
	}
	#primary .entry-header, #content #primary { 
		margin-top: calc(var(--global--spacing-vertical) * 1.7);
	}
}
@media only screen and (min-width: 1250px) {
	.home .entry-header figure figcaption.wp-caption-text { 
		font-size: 5.5rem;
	}
}


/**
 * Custom
 */

.primary-navigation > div > .menu-wrapper .sub-menu-toggle {
    height: calc(2 * var(--primary-nav--padding) + 	var(--primary-nav--font-size) + 1px);
    width: 15px;
}

.home .entry-content, .content-area #main .entry-content {
	max-width: var(--responsive--aligndefault-width);
}

.content-area .entry-content h2 {
	color:var(--global--color-three);
	font-size:calc(var(--global--font-size-xxl)*0.7);
  	text-transform: uppercase;
    font-weight: bold;
    text-shadow: var(--title--shadow-alt);
}

.xribbon {
  width: 48%;
  height: 188px;
  position: relative;
  float: left;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: white;
}

.xribbon .title-ribbon {
  width: 150px;
  height: 50px;
  line-height: 50px;
  padding-left: 15px;
  position: absolute;
  left: -8px;
  top: 20px;
  background: #59324C;
}
.xribbon .title-ribbon:before, .xribbon .title-ribbon:after {
  content: "";
  position: absolute;
}
.xribbon .title-ribbon:before {
  height: 0;
  width: 0;
  top: -8.5px;
  left: 0.1px;
  border-bottom: 9px solid black;
  border-left: 9px solid transparent;
}
.xribbon .title-ribbon:after {
  height: 0;
  width: 0;
  right: -14.5px;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 15px solid #59324C;
}

.entry-content a {
	color:var(--global--color-background);
}
.entry-content a:hover {
	color:var(--global--color-two);
}

/* hero image */
.home .entry .entry-header .post-thumbnail {
	position: relative;
	border: 4px solid;
	border-color: rgba(255, 255, 210, 0.4);
}
.home .entry .entry-header .post-thumbnail img {
	margin-top: 0;
	margin-bottom: 0;
}
.home .hero {
	background-color:var(--global--color-three);
}
.home .hero img.wp-post-image {
  	opacity: 0.65;
}
.home figure figcaption.wp-caption-text {
	color: #FFFFFF;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
	font-size: var(--global--font-size-xs);
    min-width: 78%;
    max-width: 86%;
    display: inline-block;
    text-shadow: 4px 1px 6px #00000073;
}

/* bg */
body {
	background-color: var(--global--color-background);
  	/*background-image: url('/wp-content/themes/twentytwentyone-child/assets/images/p13Trans.png');*/
  	background-repeat: repeat;
  	box-shadow: 0 -240px 150px -160px var(--global--color-three) inset;
 }

 body.custom-background {   background-color: var(--global--color-background); }

 /* title */
 #masthead h1.site-title {
	font-family: var(--title--font);
	font-size: 3.6em;
	opacity: 0.8;
    color: var(--global--color-two-readable);
    padding: 0 17px;
    letter-spacing: 10px;
	line-height: 0.5em;
	text-shadow: var(--title--shadow);
	padding-top: 14px;
}
#masthead h1.site-title:hover {
	opacity: 1;
}
#masthead h1.site-title a {
	text-decoration: none;
}
hr.hrFade {
    height: 0;
    width: 100%;
    border-bottom: 2px;
    border-bottom-style: groove;
    height: 0px;
    border-width: 2px;
    border-color: rgba(255, 255, 210, 0.2);
    width: 100%;
    line-height:1em;
}

aside.widget-area {
    margin-top: calc(var(--global--spacing-vertical) / 2);
}

.widget {
    background-color: var(--global--color-three);
    padding: var(--global--spacing-unit);
    border-radius: var(--button--border-radius);
    border: 2px solid var(--global--color-white-90);
    font-size: 0.9rem;
}

/* front display */
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1190 h2 {
  font-family: 'Raleway', Arial, sans-serif;
}
figure.snip1190 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 220px;
  max-width: 1125px;
  max-height: 500px;
  width: 100%;
  background: #000000;
  text-align: center;
  border: 4px #FFFFFF solid;
  /* below is questionable */
  margin-left: auto;
  margin-right: auto;
}
figure.snip1190 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
figure.snip1190 img {
  opacity: 0.8;
  width: 100%;
}
figure.snip1190 figcaption {
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
figure.snip1190 h2 {
  font-weight: 400;
  left: 0;
  right: 0;
  letter-spacing: 16px;
  margin: 0 auto;
  position: absolute;
  text-transform: uppercase;
  bottom: 50%;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  font-size: 84px;
}
figure.snip1190 h2 span {
  font-weight: 800;
}
figure.snip1190 p span {
  font-weight: 800;
  text-transform: uppercase;
}
figure.snip1190 p {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 50%;
  opacity: 0;
  font-size: 24px;
  -webkit-transform: translateY(-20%) scale(0.7);
  transform: translateY(-20%) scale(0.7);
}
figure.snip1190 .square {
  height: 240px;
  width: 240px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  -webkit-transform: rotate(45deg) translate(-50%, -50%);
  transform: rotate(45deg) translate(-50%, -50%);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
figure.snip1190 .square:before,
figure.snip1190 .square:after,
figure.snip1190 .square div:before,
figure.snip1190 .square div:after {
  background-color: #ffffff;
  position: absolute;
  content: "";
  display: block;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
figure.snip1190 .square:before,
figure.snip1190 .square:after {
  width: 65%;
  height: 6px;
}
figure.snip1190 .square div:before,
figure.snip1190 .square div:after {
  width: 6px;
  height: 65%;
}
figure.snip1190 .square:before,
figure.snip1190 .square div:before {
  left: 0;
  top: 0;
}
figure.snip1190 .square:after,
figure.snip1190 .square div:after {
  bottom: 0;
  right: 0;
}
figure.snip1190 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
}
figure.snip1190:hover img,
figure.snip1190.hover img {
  opacity: 0.3;
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
figure.snip1190:hover h2,
figure.snip1190.hover h2 {
  opacity: 0.85;
  -webkit-transform: translateY(15px);
  transform: translateY(15px);
}
.is-dark-theme .site figure.snip1190 a:focus:not(.wp-block-button__link):not(.wp-block-file__button){
	background: rgba(5, 5, 5, 0.2);
}
figure.snip1190:hover p,
figure.snip1190.hover p {
  opacity: 1;
  -webkit-transform: translateY(20px) scale(2);
  transform: translateY(20px) scale(2);
}
figure.snip1190:hover .square:before,
figure.snip1190.hover .square:before {
  width: 40%;
  background-color: #a528ae;
}
figure.snip1190:hover .square div:before,
figure.snip1190.hover .square div:before {
  height: 40%;
  background-color: #bb031c;
}
figure.snip1190:hover .square:after,
figure.snip1190.hover .square:after {
  width: 40%;
  background-color: #a528ae;
}
figure.snip1190:hover .square div:after,
figure.snip1190.hover .square div:after {
  height: 40%;
  background-color: #0520b6;
}

