/*
 Theme Name:   Astra Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Astra Child Theme
 Author:       Nathaelle Lambert - Scriptales solutions
 Author URI:   https://scriptales.fr
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* @media (min-width: 921px) {
  .ast-theme-transparent-header #masthead {
    position: fixed;
    top: 0; z-index: 10000;
    transition: background-color 0.3s ease;
    background-color: transparent;
  }
} */

.ast-theme-transparent-header #masthead {
    position: fixed;
    top: 30; z-index: 10000;
    transition: background-color 1s ease, top 1s ease;
    background-color: transparent;
}

.ast-theme-transparent-header #masthead .custom-logo {
    width: 100px;
}

.ast-theme-transparent-header #masthead.scrolled {
    position: fixed !important;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.ast-theme-transparent-header #masthead.scrolled .custom-logo {
    max-width: 80px;
    width: 80px;
}

.ast-theme-transparent-header #masthead #ast-desktop-header .main-navigation .main-header-menu .menu-item-has-children .submenu {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.ast-builder-menu-1 .main-header-menu .sub-menu li {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.ast-builder-menu-1 .main-header-menu .sub-menu li:hover {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

/* .ast-container {
  max-width: 2000px;
  padding-left: 0;
  padding-right: 0;
} */