/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.portfolio-filters {
	text-align: center;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
}
.filter-btn {
	padding: 10px 15px;
	border: 1px solid var(--e-global-color-secondary);
	color: var(--e-global-color-secondary);
	background: transparent;
	cursor: pointer;
}
.filter-btn.active , .filter-btn.hover {
	background: red;
	color: white;
}
.portfolio-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill , minmax(350px, 1fr));
}
.portfolio-item {
	background: #111;
	color: white;
	cursor: pointer;
	padding: 20px;
}
.portfolio-thumb img {
	width: 100%;
	height: auto;
}
#portfolio-popup {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}
.popup-content {
	position: relative;
	max-width: 800px;
	background: #000;
	width: 80%;
	overflow: auto;
}
#popup-close {
	position: absolute;
	top: -30px;
	right: 0;
	font-size: 30px;
	color: #fff;
	cursor: pointer;
}
#popup-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
h3.portfolio-title {
    font-size: 24px;
    margin: 0 0 15px;
}
.portfolio-thumb img {
    margin: -20px -20px 20px;
    width: calc(100% + 40px);
    max-width: initial;
    height: 250px;
    object-fit: cover;
}
.portfolio-category {
    font-size: 18px;
    color: var(--e-global-color-secondary);
    text-transform: uppercase;
    margin: 15px 0;
    letter-spacing: 4px;
}
div#popup-video-container {padding-top: 56.6%;position: relative;}