/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	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.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.6
	Stable tag: 3.4.6
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

.card-hover{
    width:330px;
    height:500px;
    overflow:hidden;
    position:relative;
    padding-left: 0;
    padding-right: 0;
    border-radius: 15px;
}

.card-slider{
    display:flex;
    align-items:center;
    width:100%;
    transition:transform .6s ease;
    height: 100%;
}

.card-hover:hover .card-slider {
    transform:translateX(-70px);
    
}

.card-texto{
    display: flex;
    width:480px;
    flex:0 0 400px;
    box-sizing:border-box;
}

.container-content {
    transition:transform .6s ease;
    transform:translateX(330px);
    position: absolute;
    top: 0px;
    height: 100%;
    width: 70%;
    padding: 30px 0 10px 20px;
}

.card-hover:hover .container-content {
    transform:translateX(90px);
}

.card-name {
    padding: 0 0 10px 20px;
}

.card-hover:hover .card-name {
   animation: fadeOutAndHide 0.8s forwards;
}

@keyframes fadeOutAndHide {
  from {
    opacity: 1;
    display: block;
  }
  to {
    opacity: 0;
    display: none;
  }
}
