/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
*/

main {
    margin-top: -160px;
}

.elementor a{
	color: white
}

.height-533 {
    height: 533px;
}

.subtitles-left-plus {
    max-width: 160px;
    border-bottom: solid 1px #ffffff55;	
    transition: all 0.3s ease-in-out;
}

.subtitles-left-plus:hover {
    max-width: 200px;
}

.subtitles-left-plus::before {
    content: "+";
    color: var(--e-global-color-primary);
    position: absolute;
    bottom: -1px;
    opacity: 0;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.subtitles-left-plus:hover::before {
    opacity: 1;
    display: inline-block;
}

.subtitles-left-plus .elementor-heading-title {
    transition: all 0.5s ease-in-out;
}

.subtitles-left-plus:hover .elementor-heading-title {
    margin-left: 0.5rem;
}

.subtitle-underline:hover {
    transition: width 1s ease-in-out;
    width: 200px;
}

.subtitles-right-plus .elementor-heading-title::after {
    content: "+";
    color: var(--e-global-color-primary);
    position: absolute;
    bottom: -4px;
    margin-left: 1rem;
    opacity: 0;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.subtitles-right-plus .elementor-heading-title:hover::after {
    opacity: 1;
    display: inline-block;
}

.text-blur {
    filter: blur(3px);
    -webkit-filter: blur(3px);
    will-change: filter;
}

.cursor-pointer {
    cursor: pointer;
}

nav.elementor-nav-menu--dropdown li.menu-item {
    display: flex;
    justify-content: center;
}

/* Layout das Colunas */

.portfolio-filters {
    font-size: 22px;
    font-weight: 200;
    line-height: 32px;
    text-transform: uppercase;
    list-style: none;
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin: 2rem 0;
}

.portfolio-filter {
    margin: 0;
}

.portfolio-filter.is__active,
.portfolio-filter:hover {
    color: var(--e-global-color-primary);
    cursor: pointer;
    font-weight: 300;
}

.portfolio-filter::before {
    content: "+";
    display: inline-block;
    width: 1.5rem;
    margin-left: -1rem;
    position: relative;
    opacity: 0;
    font-size: 22px;
    transition: opacity 0.3s ease;
}

.portfolio-filter.is__active::before {
    content: "+";
    color: var(--e-global-color-primary);
    opacity: 1;

}

.portfolio-item-group{
	margin-bottom: 1.2rem;
}

.portfolio-item {
    position: relative;
    width: 100%;
    height: 45rem;
    overflow: hidden;
}

.portfolio-item a.post-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-item-title{
	display:none;
	font-size: 14px;
    font-weight: 200;
    line-height: 14px;
    text-transform: lowercase;
    list-style: none;
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}		

/* Overlay centralizado */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 18px;
}

.overlay h3{
	text-align: center;
	font: normal normal 200 46px Poppins;
	line-height: 32px;
	letter-spacing: 0px;
	color: #FFFFFF;
	text-shadow: 0px 0px 26px #00000080;
	opacity: 1;
	padding: 0 1rem;
	border-bottom: solid 1px #ffffff;
	text-transform: lowercase;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* Layout das colunas */
.portfolio-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.portfolio-column {
    width: 50%;
}

img.portfolio-img{
	object-fit: cover;
	height: 100% !important;
	width: 100%;
}


.portfolio-loading {
    width: 100%;
    height: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;

}

.loader {
    display: none;
    width: 20px;
    aspect-ratio: 1;
    /* border-radius: 50%; */
    background: var(--e-global-color-primary);
    box-shadow: 0 0 0 0 #0004;
    animation: l1 1s infinite;
	z-index: 100;
}

@keyframes l1 {
    100% {
        box-shadow: 0 0 0 30px #0000
    }
}

#footer-to-top-mobile {
	display: none !important;
}

/* MOBILE */

@media only screen and (max-width: 1024px) {
    main {
        margin-top: -200px;
    }
	
	
	.subtitles-left-plus::before {
    	content: " ";
		opacity: 0;
	}
	
	.subtitles-right-plus .elementor-heading-title::after {
		content: " ";
		opacity: 0;
	}
	
	.services-type.no-decoration{
		margin-bottom:0 !important;
	}
	.elementor a.no-decoration:hover{	
		text-decoration: none;
	}
	
	/** Porfólio **/
	.portfolio-item{
		height: 24rem;
	}
	
	.portfolio-item-title{
		display:inline;
		font-size: 1rem;
	}		
	
	.portfolio-item-group .overlay{
		display:none;
	}
}


@media only screen and (max-width: 768px) {
    .portfolio-column {
        width: 100%;
    }
	
	.height-533 {
    	height: 195px;
	}
	
	#footer-to-top-desktop {
		display: none !important;
	}
	#footer-to-top-mobile {
		display: flex !important
	}
	
	/** Porfólio **/
	.portfolio-filters{
		margin: .6rem 0;
    	padding-left: 2rem;
	}
	
	.portfolio-columns{
		gap: 5px
	}
	
	.portfolio-item{
		height: 180px;
		width: 180px;
	}
	
	.portfolio-item-title{
		display:inline;
		font-size: 14px;
	}		
	
	.portfolio-filters {
    	font-size: 16px;
		font-weight: 200;
		line-height: 20px;
		z-index:100;
	}
}
