/*
Theme Name: PS3d Theme
Author: Mark Foley
Author URI: https://formalkey.com
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: ps3d-theme
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.3

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.ps3d-logo-container{
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-right: 1rem;
	padding-left: 1rem;
	border-color: var(--wp--preset--color--primary);
	border-width: var(--wp--custom--header--border-width)!important;
}

header .has-secondary-background-color {

  background: rgba(255, 255, 255, 0.4)!important;
  background: rgba(240, 252, 255, 0.6)!important;

  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 20px;
  border: var(--wp--custom--header--border-width) solid rgba(0, 173, 238, 0.15);
  box-shadow: 
	0 8px 32px rgba(0, 0, 0, 0.1),
	inset 0 1px 0 rgba(255, 255, 255, 0.5),
	inset 0 -1px 0 rgba(255, 255, 255, 0.1),
	inset 0 0 0px 0px rgba(255, 255, 255, 0);
	box-shadow: 
	0 8px 32px rgba(0, 0, 0, 0.1),
	inset 0 1px 0 rgba(255, 255, 255, 0.15),
	inset 0 -1px 0 rgba(255, 255, 255, 0.5),
	inset 0 0 40px 20px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}
header .wp-block-navigation .menu-item-home{
	
	display: none;
}
@media (min-width: 40rem) {
	header .wp-block-navigation .menu-item-home {
		display: block;
	}
}

header .has-secondary-background-color::before {
  content: '';
  position: absolute;
  top: calc(var(--wp--custom--header--border-width) / 2);
  left: 0;
  right: 0;
  height: var(--wp--custom--header--border-width);
  background: linear-gradient(
	90deg,
	transparent,
	rgba(0, 173, 238, 0.8),
	transparent
  );
}

header .has-secondary-background-color::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
	180deg,
	rgba(0, 173, 238, 0.8),
	transparent,
	rgba(0, 173, 238, 0.3)
  );
}


.ps3d-logo-container {

  background: rgba(255, 255, 255, 0.4)!important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border:  var(--wp--custom--header--border-width) solid rgba(255, 255, 255, 0.3)!important;
  border: var(--wp--custom--header--border-width) solid rgba(0, 173, 238, 1)!important;
  box-shadow: 
	0 8px 32px rgba(0, 0, 0, 0.1),
	inset 0 var(--wp--custom--header--border-width) 0 rgba(255, 255, 255, 0.5),
	inset 0 calc(var(--wp--custom--header--border-width) * -1) 0 rgba(255, 255, 255, 0.1),
	inset 0 0 60px 30px rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

.ps3d-logo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wp--custom--header--border-width);
  background: linear-gradient(
	90deg,
	transparent,
	rgba(255, 255, 255, 0.8),
	transparent
  );
  background: linear-gradient(
	  90deg,
	  transparent,
	  rgba(0, 173, 238, 0.2),
	  transparent
	);
}

.ps3d-logo-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: var(--wp--custom--header--border-width);
  height: 100%;
  background: linear-gradient(
	180deg,
	rgba(255, 255, 255, 0.8),
	transparent,
	rgba(255, 255, 255, 0.3)
  );
  background: linear-gradient(
	  180deg,
	  rgba(0, 173, 238, 0.8),
	  transparent,
	  rgba(0, 173, 238, 0.3)
	);
}

.wp-block-navigation-item.current-menu-item{
	color: var(--wp--preset--color--primary);
}


.wp-block-navigation .wp-block-navigation-item__content {
	/* position: relative;
	margin: 0 1em;
	padding-right: 0;
	padding-left: 0;
	color: #b5b5b5; */
	-webkit-transition: color 0.1s;
	transition: color 0.1s;
}

.wp-block-navigation .current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.wp-block-navigation .current-menu-item .wp-block-navigation-item__content::after,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content::before {
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}

.wp-block-navigation .current-menu-item .wp-block-navigation-item__content::before {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus {
	//color: #b5b5b5;
	text-decoration: none;

}

.wp-block-navigation .wp-block-navigation-item__content:hover::before,
.wp-block-navigation .wp-block-navigation-item__content:focus::before {
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.wp-block-navigation .wp-block-navigation-item__content::before,
.wp-block-navigation .wp-block-navigation-item__content::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: calc(50% - 2px);
	width: 4px;
	height: 4px;
	-webkit-transform: scale3d(0, 1, 1);
	transform: scale3d(0, 1, 1);
	-webkit-transform-origin: center left;
	transform-origin: center left;
	-webkit-transition: transform 0.1s cubic-bezier(0.22, 0.61, 0.36, 1);
	transition: transform 0.1s cubic-bezier(0.22, 0.61, 0.36, 1);
	border-radius: 4px;
}

.wp-block-navigation .wp-block-navigation-item__content::before {
	background: var(--wp--preset--color--contrast);
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.wp-block-navigation .wp-block-navigation-item__content::after {
	background: var(--wp--preset--color--primary);
}

.employment-carousel .wp-block-group {
		width: 100%; /* full width */
		 /* max-width: 48rem;
		 margin-right: calc(clamp(0.5rem, -2.75rem + 10.8333vw, 7rem) * -1); */
}

   .wide-carousel {
	   --carousel-blur-small: 0.25rem;
	   --carousel-blur-large: 0.5rem;
	   //outline: 5px solid red;
	   
   }
   
   .wide-carousel .wp-block-image img{
/* opacity: 0.7;
	 -webkit-transform: scale(0.85);
			 transform: scale(0.85);
	 //-webkit-filter: blur(0.25rem);
			 filter: blur(var(--carousel-blur-small));
	 -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
			 transition: opacity 0.3s, transform 0.3s, filter 0.3s; */
   }
   .flickity-slider .wp-block-image img{
	opacity: 1;
	  -webkit-transform: scale(1);
			  transform: scale(1);
	  -webkit-filter: none;
			  filter: none;
   }
   
   .wide-carousel .wp-block-image {
	 width: 45%; /* full width */
	 max-width: 48rem;
	 margin-right: calc(clamp(0.5rem, -2.75rem + 10.8333vw, 5rem) * -1);
	 //outline: 3px solid red;
   }
   
    @media (min-width: 55rem) {
	  .wide-carousel .wp-block-image {
		  width: 40%; /* full width */
		   max-width: 48rem;
		//margin-right: -5rem;
		//width: calc(33% + clamp(0.5rem, -2.75rem + 10.8333vw, 7rem)); /* full width */
		//outline: 3px solid blue;
		}
		.wide-carousel .wp-block-image img{
			//-webkit-filter: blur(0.5rem);
			// filter: blur(var(--carousel-blur-large));
		}
	  }
   
   
   @media (min-width: 90rem) {
   .wide-carousel .wp-block-image {
	 //margin-right: -8rem;
	 width: calc(45% + clamp(0.5rem, -2.75rem + 10.8333vw, 7rem));
	// outline: 3px solid yellow;
	 }
   } 
   
   .wide-carousel-alt .wp-block-image {
		min-width: 10%; /* full width */
		margin-right: 0;
		outline: 3px solid red;
	  }
	  
   .wide-carousel::after {
	   content: '';
	   width: 33%;
	   max-width: 20rem;
	   height: 100%;
	   position: absolute;
	   background:
		   linear-gradient(
			 to right,
			 hsla(0, 0%, 100%, 0) 0%,
			 hsla(0, 0%, 100%, 0.013) 11.3%,
			 hsla(0, 0%, 100%, 0.049) 21.5%,
			 hsla(0, 0%, 100%, 0.104) 30.8%,
			 hsla(0, 0%, 100%, 0.175) 39.3%,
			 hsla(0, 0%, 100%, 0.259) 47%,
			 hsla(0, 0%, 100%, 0.352) 54.1%,
			 hsla(0, 0%, 100%, 0.45) 60.5%,
			 hsla(0, 0%, 100%, 0.55) 66.4%,
			 hsla(0, 0%, 100%, 0.648) 71.9%,
			 hsla(0, 0%, 100%, 0.741) 77%,
			 hsla(0, 0%, 100%, 0.825) 81.8%,
			 hsla(0, 0%, 100%, 0.896) 86.4%,
			 hsla(0, 0%, 100%, 0.951) 91%,
			 hsla(0, 0%, 100%, 0.987) 95.5%,
			 hsl(0, 0%, 100%) 100%
		   );
	   top: 0;
	   right: 0;
	   
   }
   
   .client-list-section {
	   position: relative;
   }
   
   .client-list-cover {
	   position: absolute;
	   top: 0;
	   width: 100%;
	   height: 100%;
	   z-index: 1;
   }
   
   
   .client-list-cover {
	   opacity: 1;
	   transition: opacity 600ms ease;
   }
   
   .client-list-cover.is-hidden {
	   opacity: 0;
	   pointer-events: none;
   }
   
   @media (min-width: 72rem) {
	   .work-template-default .entry-content > .wp-block-paragraph{
		  // font-size: var(--wp--preset--font-size--medium);
		  // font-size: clamp(1.19rem, 0.61vi + 0.92rem, 1.56rem);
	   }
   }
   
   
   /* .ps-home-logo  > figure, .ps-home-logo > p{
	   border: 1px solid red;
   } */
