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

/* === SHRINK HEADER - solo logo === */

/* Container: stringe in altezza on scroll */
header.elementor-location-header .elementor-element-7271dd72.e-con {
    transition: padding 0.35s cubic-bezier(.4, 0, .2, 1),
                min-height 0.35s cubic-bezier(.4, 0, .2, 1);
}

header.elementor-location-header .elementor-element-7271dd72.e-con.elementor-sticky--effects {
    --padding-block-start: 5px !important;
    --padding-block-end: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    --min-height: 60px !important;
    min-height: 60px !important;
}

/* Logo: scala al 70% */
header.elementor-location-header .elementor-widget-theme-site-logo img {
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    transform-origin: left center;
    will-change: transform;
}

header.elementor-location-header .elementor-element-7271dd72.elementor-sticky--effects .elementor-widget-theme-site-logo img {
    transform: scale(0.7);
}