/*
Theme Name: PolyCaravan (Hello Elementor Edit)
Theme URI: https://www.polycaravan.com
Description: Added a free theme builder for Hello Elementor.
Author: Felix Caraballo
Author URI:  https://www.polycaravan.com
Template: hello-elementor
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 2.0.0
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready, theme-options
Text Domain: hello-elementor-child
*/

/* GENERAL STYLES */
.pointer {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

a {
	color: var(--e-global-color-secondary);
	transition: color 0.5s;
}

a:hover {
	color: var(--e-global-color-accent);
}

::selection {
	background-color: var(--e-global-color-secondary);
}

.scrollTop:hover svg path{
	fill: var(--e-global-color-secondary);
}

/* HEADER */
.bottomShadow {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.fadeIn {
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.fadeIn.show {
  opacity: 1;
  pointer-events: auto;
}

.fadeOut {
  opacity: 1;
  pointer-events: auto;
}

.fadeOut.hide {
  opacity: 0;
  pointer-events: none;
}

.glass {
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
}

/*Marquee*/
.marquee {
  white-space: nowrap;
}

.marquee-wrap {
  position: absolute;
  animation: move-left-to-right linear 20s infinite;
}

/* use this one to move from left to right direction */
@keyframes move-left-to-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* use this one to move from right to left direction */
@keyframes move-right-to-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.fas.fa-search {
	padding: 0 0 5px 0 !important;
}
.elementor-65 .elementor-element.elementor-element-30b389ca .hfe-search-icon-toggle input[type=search] {
	max-width: 200px;
}

/* FREE MOBILE NAV MENU ANIMATION */
@media (max-width: 767px) {
  /* Define custom properties for the animation */
  .hfe-nav-menu__toggle {
    --gap: 0.25em;
    --weight: 0.05em;
    --width: 1.5em; /* Adjusted for better visibility */
    position: relative;
    width: 1.5em;
    height: 1.5em;
    color: white;
    transition: color 0.3s ease-in-out;
  }

  /* Hide the default SVG icon */
  .hfe-nav-menu-icon svg {
    display: none;
  }

  .hfe-nav-menu__toggle:before,
  .hfe-nav-menu__toggle:after,
  .hfe-nav-menu__toggle .burger-line {
    content: "";
    height: var(--weight);
    width: var(--width);
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + var(--gap)));
    transition: all 0.3s ease-in-out;
  }

  .hfe-nav-menu__toggle:before {
    transform: translate(-50%, -50%) rotate(0);
  }

  .hfe-nav-menu__toggle:after {
    transform: translate(-50%, calc(-50% - var(--gap))) rotate(0);
  }

  .hfe-nav-menu__toggle .burger-line {
    transform: translate(-50%, -50%);
  }

  .hfe-nav-menu__toggle[aria-expanded="true"]:before {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .hfe-nav-menu__toggle[aria-expanded="true"]:after {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .hfe-nav-menu__toggle[aria-expanded="true"] .burger-line {
    opacity: 0;
  }

  /* Extra line to complete the burger icon */
  .hfe-nav-menu__toggle .burger-line {
    content: "";
    height: var(--weight);
    width: var(--width);
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
  }

  /* Change color on hover */
  .hfe-nav-menu__toggle:hover {
    color: var(--e-global-color-secondary);
  }
}

/* PRO MOBILE NAV MENU ANIMATION  */




/*BLOG POST*/
.tpg-post-holder {
	border-radius: 15px;
}

.tpg-post-holder .rt-img-holder {
	border-radius: 10px 10px 0 0;
}

.single-post #content {
	margin-top: 50px;
	margin-bottom: 50px;
}

blockquote {
	background: none !important;
	color: var(--e-global-color-secondary);
	border-left: 4px var(--e-global-color-secondary) solid;
	padding: 15px !important;
}

blockquote a,
.reader-text-block__paragraph a {
	color: var(--e-global-color-secondary);
	font-weight: bold;
}

.entry-content>* {
	margin-bottom: 0;
}

.entry-content a {
	font-weight: bold;
	color: var(--e-global-color-secondary);
}

.entry-content a:hover {
	color: var(--e-global-color-accent) !important;
}

.attachment-post-thumbnail {
	display: none;
}

.entry-title {
	font-weight: 500 !important;
	font-size: 22px;
}

.entry-content {
	width: 95% !important;
}

.entry-content {
	line-height: normal;
}

.entry-content p {
	font-size: 16px;
}

@media only screen and (min-width: 1024px) {

	/*Blog Desktop*/
	.entry-content {
		width: 70% !important;
	}

	.entry-title,
	h1 {
		font-size: 30px;
		min-height: 77px;
	}

	h2,
	h3 {
		font-size: 22px;
	}

	h4,
	h5 {
		font-size: 18px;
	}
}

/*Portfolio*/
#portfolio-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
}

.portfolio-tab {
  border: none;
  background: #263238 !important;
  cursor: pointer;
}

.portfolio-tab.active, .portfolio-tab:hover {
  background: #993333;
  color: #fff;
  border-color: #263238;
}