header:not(.fixed-header) .custom-header {
    background: transparent !important;
}

.fixed-header .custom-header {
    padding: 0 !important;
}

.custom-header {
    transition: all .3s ease-in-out ;
    -webkit-transition: all .3s ease-in-out 
}

_tytul { margin:-50px;}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-300MYMEZWP"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-300MYMEZWP');
</script>
