/*
Theme Name: Uppercase Child
Theme URI: http://codesupply.co/themes/uppercase
Template: uppercase
Author: Code Supply Co.
Author URI: https://codesupply.co
Description: Personal Blog WordPress Theme with Dark Mode
Tags: two-columns,right-sidebar,custom-colors,editor-style,theme-options,featured-images,custom-menu,sticky-post,translation-ready
Version: 1.1.6.1678289707
Updated: 2023-03-08 15:35:07

*/

:root {
    --app-height: 100svh;
}

/* Animations */
@keyframes slide-in-left {
	0% {
        transform: translateX(-60px);
        opacity: 0;
    }
    
    100% {
    	transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-up {
	0% {
        transform: translateY(60px);
        opacity: 0;
    }
    
    100% {
    	transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scale-out {
	0% {
        transform: scale(1.3);
        opacity: 0;
    }
    
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bg-infinite-zoom {
    0%,
    100% {
    	transform: scale(1);
    }
    
    50% {
    	transform: scale(1.2);
    }
}


/* Header */
.cs-page-header-area .cs-page-header-item {
    overflow: hidden;
}
/* Logo anim in */
.cs-header__logo {
	/* opacity: 0;
    transform: scale(1.3);
    animation: scale-out 0.85s ease forwards 1s; */
}

.cs-header__logo img {
	max-width: 104px;
}

.lottie__logo {
    width: 104px;
    height: 48px;
}

.lottie-player {
    transform: scale(5);
}

@media (min-width: 1020px) {
    .lottie-player {
        transform: scale(5.5);
    }
}

.cs-header.cs-header-primary {
    position: absolute;
}

/*.category .cs-page-header-area,
.error404 .cs-page-header-area {
	max-height: 340px;
}*/

.category .cs-header.cs-header-secondary,
.error404 .cs-header.cs-header-secondary {
    display: none; 
}

@media (min-width: 1020px) {
    .admin-bar .cs-header.cs-header-primary {
        top: 0;
    }
    
    /*.category .cs-page-header-area,
    .error404 .cs-page-header-area {
		max-height: 420px;
	}*/
}

/* Layout changes - Make scrollable */
/*@media (min-width: 1020px) {
    .cs-page-header-area {
        position: static !important;
    }
    
    .cs-main-content {
        grid-template-columns: 1fr !important;
    }

    .cs-header.cs-header-primary {
        width: 100% !important;
    }
    
    .cs-posts-area__main {
        grid-template-columns: repeat(2, 1fr)!important;
    }
    
    .cs-content-area .cs-content-item {
    	margin-left: auto;
        margin-right: auto;
    }
}*/

/* Homepage */

/* Logo thef lab */
.logo-thef-labs-wrapper {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    
    display: none;
}

.logo-thef-labs-wrapper--labs {
	mix-blend-mode: overlay;
}

.logo-thef-labs-holder {
    position: absolute;
    width: 240px;
    display: flex;
    height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: none;
}

.logo-thef-labs--labs {
	position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
	height: 100%;
    width: auto;
}

.logo-thef-labs--slash {
   	position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
	height: 100%;
    width: auto;
}

@media (min-width: 1020px) {
    .logo-thef-labs-holder {
        width: 310px;
        height: 92px;
	}
    
    .logo-thef-labs-wrapper {
        width: 50%;
	}
}

/* Hero banner */
@media (min-width: 1020px) {
	.cs-page-header-area .cs-page-header-inner {
    	max-width: 100%;
    }
}

@media (min-width: 720px) {
    .cs-page-header-item {
	 	padding-bottom: 30px;
	}
}

/* Categories menu */
.cs-page-header-title .cs-entry__category:not(:first-child) {
	margin-top: 1rem;
}
.cs-page-header-title .cs-entry__category li:not(:last-child) {
    margin-right: 15px;
}

@media (max-width: 719px) {
	.cs-page-header-background:after {
		background: linear-gradient(180deg, rgba(0,0,0, 0) 0%, rgba(0,0,0,1) 100%);
		top: auto;
		height: 15vh;
	}
}

/* Home Post thumbnail - Hover effect */
.home .cs-entry-overlay .cs-overlay-background:after {
    background-color: #000;
    opacity: 0.45!important;
}

@media (min-width: 1020px) {
    .cs-posts-area__grid .cs-entry,
    .cs-entry__post-related .cs-entry {
    	position: relative;
    }
    
	.home .cs-entry-overlay .cs-overlay-background:after {
        /* background-color: #000;
        opacity: 0.2!important; */
        transition: all 0.5s ease;
    }
    
    .home .cs-posts-area__grid .cs-entry .wp-post-image,
    .cs-entry__post-related .cs-entry .wp-post-image {
        transition: all 0.5s ease;
        transform: scale(1.15);
    }
    
    .home .cs-posts-area:hover .cs-entry .wp-post-image {
    	filter: blur(3px);
    }
    
    .home .cs-posts-area__grid .cs-entry:hover .wp-post-image,
    .cs-entry__post-related .cs-entry:hover .wp-post-image {
    	transform: scale(1.25) rotate(3deg);
    	filter: blur(0);
    }
    
    .cs-posts-area__grid .cs-entry:hover .cs-overlay-background:after{
        opacity: 0.2 !important;
    }
}


/* Home page hero banner animations */
.home .cs-page-header-title .title__text,
.home .cs-page-header-title .title__description,
.title__categories .menu-item,
.post-categories .menu-item{
    opacity: 0;
    transform: translateX(0);
    animation: slide-in-left 0.85s ease forwards 1.1s;
}

.home .cs-page-header-title .title__text {
	animation-delay: 1.2s;
}

.home .cs-page-header-title .title__description {
	animation-delay: 1.3s;
}

.home .cs-page-header-title .title__categories .menu-item:nth-of-type(1),
.home .post-categories .menu-item:nth-of-type(1) {
	animation-delay: 1.4s;
}

.home .cs-page-header-title .title__categories .menu-item:nth-of-type(2),
.home .post-categories .menu-item:nth-of-type(2) {
	animation-delay: 1.5s;
}

.home .cs-page-header-title .title__categories .menu-item:nth-of-type(3),
.home .post-categories .menu-item:nth-of-type(3) {
	animation-delay: 1.6s;
}

.home .cs-page-header-title .title__categories .menu-item:nth-of-type(4),
.home .post-categories .menu-item:nth-of-type(4) {
	animation-delay: 1.7s;
}

.home .cs-page-header-title .title__categories .menu-item:nth-of-type(5),
.home .post-categories .menu-item:nth-of-type(5) {
	animation-delay: 1.8s;
}

.home .cs-page-header-title .title__categories .menu-item:nth-of-type(6),
.home .post-categories .menu-item:nth-of-type(6) {
	animation-delay: 1.9s;
}

/* Hero banner sections animations */
.cs-page-header-area {
	overflow: hidden;
}

.cs-page-header-background img {
	animation: bg-infinite-zoom 25s ease-in-out infinite;
}

/* Disable Home hero banner image animation */
.home .cs-page-header-background img {
	animation: none;
}

/* Home Hero banner image equal video proportion */
/*.home .cs-page-header-background img {
	position: absolute;
    top: 50%;
    left: 50%;
    max-width: unset;
    margin: auto;
    transition: opacity 0.5s;
    transform: translate(-50%, -50%);
}*/

.cs-page-header-inner .cs-entry__post-meta,
.cs-page-header-inner .cs-entry__title,
.cs-page-header-inner .cs-entry__prev-label,
.cs-page-header-inner .cs-entry__next-label {
    opacity: 0;
    transform: translateX(0);
    animation: slide-in-left 0.85s ease forwards 1.1s;
}

.cs-page-header-inner .cs-entry__title {
	animation-delay: 1.2s;
}

.cs-page-header-inner .cs-entry__prev-label {
	animation-delay: 1.3s;
}

.cs-page-header-inner .cs-entry__next-label {
	animation-delay: 1.4s;
}

/* Detail Article */
.cs-entry__prev-next-label a {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.7);
}

.cs-entry__prev-label a::before,
.cs-entry__next-label a::after {
	display: inline-block;
	font-size: 10px;
	color: #D9D9D9;
}

@media (max-width: 719px) {
	.cs-entry__prev-next-move {
		justify-content: space-between;	
	}
}

@media (min-width: 720px) {
	.cs-entry__next-label:not(:only-child) {
		margin-left: 34px;
	}
}

@media (min-width: 1280px) {
    .cs-entry__prev-label a:hover::before {
        transform: translateX(-5px) rotate(90deg);
    }

    .cs-entry__next-label a:hover::after {
        transform: translateX(5px) rotate(-90deg);
    }
}


/* Mobile Categories fix */
.cs-page-header-area {
	height: 100vh;
}

.admin-bar .cs-page-header-area {
	height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
	.cs-page-header-area {
		height: -webkit-fill-available;
	}
	
	.admin-bar .cs-page-header-area {
		/*height: calc(-webkit-fill-available - 46px);*/
		height: 100vh!important;
        min-height: 100vh;
        align-self: auto;
	}
    
    .cs-main-content {
        display: block;
        height: 100%;
		grid-auto-rows: 1fr auto;
    }
    
    html,
    body,
    .cs-site,
    .cs-site-inner,
    .cs-site-primary,
    .cs-site-content,
    .cs-main-content,
    .cs-page-header-area{
    	height: 100%!important;
    }
}

/* Fix Cursor Bug */
.cursor-2 .cursor-el2 {
	animation: none !important;
}

/* Remove pinterest on hover image post */
.wp-block-image .pk-pin-it {
	display: none!important;
}

/* Video loader */
.cs-video-wrapper {
	display: flex;
    align-items: end;
    justify-content: start;
}
.cs-video-wrapper .cs-video-loader {
	top: auto;
    left: auto;
    right: auto;
    position: relative;
    margin: 0;
    margin-left: 10px;
    margin-bottom: 10px;
    border: 0;
    animation: none;
    width: 32px;
    height: 32px;
}

.cs-video-wrapper .cs-video-loader::after {
	display: none;
}

.cs-video-wrapper .cs-video-loader::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
	background-image: url("data:image/svg+xml,%3C!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL --%3E%3C!-- Todo: add easing --%3E%3Csvg width='57' height='57' viewBox='0 0 57 57' xmlns='http://www.w3.org/2000/svg' stroke='%23fff'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(1 1)' stroke-width='2'%3E%3Ccircle cx='5' cy='50' r='5'%3E%3Canimate attributeName='cy' begin='0s' dur='2.2s' values='50;5;50;50' calcMode='linear' repeatCount='indefinite' /%3E%3Canimate attributeName='cx' begin='0s' dur='2.2s' values='5;27;49;5' calcMode='linear' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='27' cy='5' r='5'%3E%3Canimate attributeName='cy' begin='0s' dur='2.2s' from='5' to='5' values='5;50;50;5' calcMode='linear' repeatCount='indefinite' /%3E%3Canimate attributeName='cx' begin='0s' dur='2.2s' from='27' to='27' values='27;49;5;27' calcMode='linear' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='49' cy='50' r='5'%3E%3Canimate attributeName='cy' begin='0s' dur='2.2s' values='50;50;5;50' calcMode='linear' repeatCount='indefinite' /%3E%3Canimate attributeName='cx' from='49' to='49' begin='0s' dur='2.2s' values='49;5;27;49' calcMode='linear' repeatCount='indefinite' /%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.lottie-player svg {
    transform: unset !important;
}

.lottie__logo {
	width: 120px;
    overflow: hidden;
}

/* Fix home video scroll windows */
.cs-page-header-overlay,
.cs-page-header-background {
	overflow: hidden;
}

.cs-page-header-background__inner {
	overflow: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.5);
  border-radius: 20px;
  border: transparent;
}

/* Page not found */
.page-id-489 {
    height: 100vh!important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-id-489 .cs-site {
	height: auto!important;
}

.page-id-489 .cs-content-area {
	padding: 0;
}

.page-id-489 .cs-content-item {
    width: auto;
    margin: 0;
    padding: 0 30px;
}

.page-id-489 .cs-main-content {
	grid-template-columns: auto;
}

.page-id-489 .cs-header-secondary {
	display: none;
}

.page-id-489 .cs-page-header-area {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.page-id-489 .cs-page-header-inner,
.page-id-489 .cs-logo {
    display: none;
}

.page-id-489 .wp-block-buttons > .wp-block-button {
	margin: 0 auto;
}

.page-id-489 .logo-thef-labs {
    display: block;
	width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.page-id-489 .wp-element-button.wp-block-button__link {
    position: relative;
	background-color: transparent!important;
    border: 1px solid #C4C4C4!important;
    border-radius: 0;
    color: #fff!important;
    text-transform: unset;
    font-weight: 700;
    letter-spacing: 0;
    width: 130px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.35s ease;
}

.page-id-489 .logo-thef-labs,
.page-id-489 p,
.page-id-489 .wp-element-button {
    opacity: 0;
    transform: translateX(0);
    animation: slide-in-up 0.85s ease forwards 0.3s;
}

.page-id-489 p {
	animation-delay: 0.4s;
}

.page-id-489 .wp-element-button {
	animation-delay: 0.5s;
}

@media screen and (min-width: 992px) {
    .page-id-489 .wp-element-button.wp-block-button__link:hover {
    	background-color: #fff!important;
        border-color: #fff!important;
        color: #000!important;
    }
}

@media screen and (max-width: 490px) {
	.page-id-489 .entry-content br {
		display: none;
    }
    
    .page-id-489 .logo-thef-labs {
    	max-width: 200px;
    }
}

/* Rotate overlay mobile */
.rotate-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 0.75rem;
  display: none;
}

.rotate-mobile__icon {
	display: block;
    width: 70px;
    margin: 0 auto;
    margin-top: 15px;
}

.rotate-mobile__text {
	margin-top: 15px;
}

@media screen and (orientation:landscape) and (min-width: 319px) and (max-width: 991px) {
    html, body {
        overflow: hidden!important;
    }

    .rotate-mobile {
        display: flex;
    }
}