/*
Theme Name:        Life
Text Domain:       life
Version:           1.2.0
Description:       Boxed Portfolio WordPress Theme
Requires at least: 6.0
Requires PHP:      7.0
Tags:              portfolio
Author:            Pixelwars
Author URI:        https://themeforest.net/user/pixelwars
Theme URI:         https://themeforest.net/user/pixelwars/portfolio
License:           ThemeForest License
License URI:       https://themeforest.net/licenses
Domain Path:       /languages
*/


/*
    Do not remove any of the commented text above as it is used by the theme for proper function!
*/


/* CONTENT ALIGNMENT STYLE */
.aligncenter, 
.alignnone, 
.alignright, 
.alignleft {
    display: block;
	margin: 1.6em auto;
	clear: both;
}

.aligncenter:first-child, 
.alignnone:first-child, 
.alignright:first-child, 
.alignleft:first-child {
	margin-top: 0;
}

.wp-caption {
	margin-bottom: 1.6em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption-text {
	color: #aaaaaa;
	font-size: 11px;
	letter-spacing: .04em;
	padding: 0.8em 0 0;
}

.aligncenter .wp-caption-text {
	text-align: center;
}

/* TABLETS */
@media screen and (min-width: 768px) {
	.alignnone {
		margin: 3em 0; 
	}
	
	.aligncenter {
		margin: 2em auto; 
	}
	
	.alignright {
		float: right;
		margin: 12px 0 28px 34px;
	}
	
	.alignleft {
		float: left;
		margin: 12px 34px 28px 0;
	}
	
	.alignright,
	.alignleft {
		max-width: 50%;
	}
	
	.alignright .wp-caption-text,
	.alignleft .wp-caption-text {
		max-width: 230px;
	}
}

/* DESKTOPS MEDIUM */
@media screen and (min-width: 1400px) { 
	.is-post-media-overflow .layout-fixed .aligncenter:not(.full),
	.is-post-media-overflow .layout-fixed .media-wrap,
	.is-post-media-overflow .layout-fixed .owl-carousel,
	.is-post-media-overflow .layout-fixed .gallery {
		max-width: 166%;
		width: 166%;
		margin-left: -33%;
	}
	
	.is-post-media-overflow .layout-fixed .alignright,
	.is-post-media-overflow .layout-fixed .alignleft {
		max-width: 66%;
	}
	
	.is-post-media-overflow .layout-fixed .alignright {
		margin-right: -33%;
	}
	
	.is-post-media-overflow .layout-fixed .alignleft {
		margin-left: -33%;
	}
}


/* Plugin: "Top 10 - Popular Posts" */

.tptn_counter {
	display: none;
}

/* Plugin: "Top 10 - Popular Posts" */

/* Fullscreen video */
.video-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;   /* keep video covering entire screen */
	z-index: -2;         /* behind everything */
}

/* Dark overlay for opacity */
.video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(244,244,244,0.95); /* adjust 0.7 = darkness */
	z-index: -1;
}

.site-footer .site-info {
	position: relative;
}

/* egg begin */
.waves {
    position: absolute;
    bottom: 0;
    transform: rotate(0deg);
}
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}
/* egg end */
