/* 
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 */

.elementor-widget-theme-post-content h2,
.elementor-widget-text-editor h2 {
	margin-top: 1.5rem;
    margin-bottom: 1rem;
	font-family: "Montserrat", Sans-serif;
    font-size: 1.953rem;
    font-weight: 600;
}

@media (min-width: 768px) {
	.elementor-widget-theme-post-content h2,
	.elementor-widget-text-editor h2 {
		font-size: 2.441rem;
	}
}

.elementor-widget-text-editor h3,
.elementor-widget-theme-post-content h3 {
	margin-top: 1.5rem;
    margin-bottom: 1rem;
	font-family: "Montserrat", Sans-serif;
    font-size: 1.563rem;
    font-weight: 600;
}

@media (min-width: 768px) {
	.elementor-widget-text-editor h3,
	.elementor-widget-theme-post-content h3 {
		font-size: 1.953rem;
	}
}

.elementor-widget-text-editor h3:first-child {
	margin-top: 0;
}

.elementor-widget-text-editor p:last-of-type,
.elementor-tab-content p:last-of-type {
	margin-bottom: 0;
}

.btn-phrase a {
	position: relative;
	z-index: 1;
	overflow: hidden;
	
}
.btn-phrase a:before {
	transition: color .3s ease;
	content: "";
	z-index: -1;
	position: absolute;
	height: 150%;
	top: -25%;
	left: 0;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(0);
	border-radius: 0 80px 80px 0;
	background-color: #fff;
}

.btn-phrase a:hover:before {
	animation : hoverWave 1.2s cubic-bezier(.25,.25,.5,1.4) 0s both;
}

@keyframes hoverWave {
	90% {
			transform: scaleX(.8);
			border-radius: 0 80px 80px 0;
	}
	100% {
			transform: scaleX(1);
			border-radius: 0;
	}
}

.arrow-btn:hover svg {
	-webkit-animation: bounce-x 1s cubic-bezier(0.59, 0.01, 0.28, 1) infinite 0s forwards;
	-o-animation: bounce-x 1s cubic-bezier(0.59, 0.01, 0.28, 1) infinite 0s forwards;
	animation: bounce-x 1s cubic-bezier(0.59, 0.01, 0.28, 1) infinite 0s forwards;
	-webkit-transform: translate3d(0, -30%, 0);
	transform: translate3d(0, -30%, 0);
}

.bounce-icon:hover .icon-arrow-right-alt:before,
.bounce-icon:hover .sc_button_simple:after {
	-webkit-animation: bounce-x 1s cubic-bezier(0.59, 0.01, 0.28, 1) infinite 0s forwards;
	-o-animation: bounce-x 1s cubic-bezier(0.59, 0.01, 0.28, 1) infinite 0s forwards;
	animation: bounce-x 1s cubic-bezier(0.59, 0.01, 0.28, 1) infinite 0s forwards;
	-webkit-transform: translate3d(0, -30%, 0);
	transform: translate3d(0, -30%, 0);
  }

@keyframes bounce-x {
  0% {
    -webkit-transform: translate3d(-30%, 0, 0);
    transform: translate3d(-30%, 0, 0); }
  50% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); }
  100% {
    -webkit-transform: translate3d(-30%, 0, 0);
    transform: translate3d(-30%, 0, 0); }
}

.custom-overlay .elementor-flip-box__front .elementor-flip-box__layer__overlay {
	background-color: transparent;
	background-image: linear-gradient(180deg, #FFFFFF00 0%, rgba(12, 56, 81, 0.4) 100%);
}