/* 
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
*/
#header{
    position: fixed;
    top:0;
    right: 0;
    z-index: 999;
    transform: translateY(0);
    transition: transform 600ms ease, box-shadow 600ms ease;
    will-change: transform;
}

/* caché = on le remonte */
#header.hidden-header{
  transform: translateY(-110%);
}

/* visible + ombre quand sticky */
#header.active-header{
  box-shadow: 0px 5px 10px rgba(0,0,0,.2);
}

/* IMPORTANT : éviter le "saut" de la page (le header fixed sort du flow) */
@media screen and (max-width: 767px){
    main{
      padding-top: var(--header-h, 153px);
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px){
    main{
        padding-top: var(--header-h, 126px);
    }
}
main{
  padding-top: var(--header-h, 145px);
}
