/* ==============================================================================
Theme Name: Phlox Pro Child
Theme URI: http://phlox.pro/go/
Author: averta
Author URI: http://www.phlox.pro
Description: Phlox Pro Child Theme
Template: phlox-pro
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column,two-columns, three-columns, left-sidebar, right-sidebar
Text Domain: phlox-pro-child
================================================================================= */
body:is(.home) header .header-logo {
    opacity: 0;
}

header .header-logo:is(.visible) {
    opacity: 1;
}

body:is(.home) header .logo-wrapper{
   padding: 0;
    min-height: 72px;
}
body:is(.home) header  .header-logo {
    opacity: 1;
    position: absolute;
    top: 200px;
    inset-inline: 0;
    margin-inline: auto;
    width: 800px;
    transform:translateX(-50%);
    left:50%;
     margin-top:-37px; 
     
    
    
}

header .header-logo img {
    max-width: 183px;
    margin-inline: auto;
}

@media screen and (max-width: 850px) {
    body:is(.home) header  .header-logo {
        max-width:100%;
        margin-top:-35px; 
    }
    header .header-logo img{
        max-width:100%;
    }
}


header .header-logo:is(.visible) .hero-banner-logo {
    animation-name: fadeIn;
    animation-duration: 4s;
}
body:is(.home) header  .header-logo img {
    width: 100%;
    max-width: 510px;
} 

body:is(.home) header  .header-logo img:not(.banner-logo-img) {
    display: none;
}
.header-block {
    text-align: center;
    padding-block: 118px 232.1px;
    position: relative;
    z-index: 1;
}
.header-block .hero-banner-logo {
    opacity: 0;
    text-align: center;
}

.hero-banner-logo img {
    display: block;
    width: 100%;
    max-width: 510px;
    margin-inline: auto;
}

.header-block .field_header_title, .hero-banner-logo .field_header_title {
    margin-top: 99.8px;
    font-size: 139px;
    line-height: 99px;
    font-family: proxima-nova-light;
    font-weight: 100;
    letter-spacing: 33px;
    color: var(--white);
}

.header-block :is(.logo-field,.field_header_title,.field_subtitle) {
    opacity: 0 !important;
    visibility: hidden;
}

.header-block .field_subtitle, .hero-banner-logo .field_subtitle {
    margin-top: 78.9px;
    font-size: 46px;
    font-family: proxima-nova-light;
    font-weight: 100;
    line-height: 34px;
    letter-spacing: 10px;
    color: var(--white);
}

.header-block .body {
    max-width: 772px;
    margin-top: 71px;
    margin-inline: auto;
}

.header-block :is(.body,.field_link) {
    opacity: 0;
}

.header-block :is(.body,.field_link) {
    opacity: 0;
    transition: all 1s;
    transition-delay: 1s;
}
.header-block :is(.body,.field_link).animation-done {
    opacity: 1;
}
.header-block .body.animation-done {
    animation-name: fadeIn;
    animation-duration: 3s;
}
.header-block .field_image_upload {
    max-width: 540px;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(calc(100% - 175px));
}
.header-block .field_image_for_animation {
    max-width: 1010px;
    margin-inline: auto;
    padding-top: 146px;
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


.header-block .field_image_for_animation img {
    opacity: 0.2;
}
@media screen and (max-width: 1920px) {
    .header-block {
        padding-block: 30px 232.1px;
    }
  .header-block .field_image_upload {
        max-width: 280px;
        bottom: 0;
    }
        .header-block .field_image_for_animation {
        padding-top: 35px;
    }
        .header-block .field_image_for_animation img {
        max-height: 620px;
        object-fit: contain;
    }
}