.ha-block {
    background-size: cover;
    background-position: top;
    color: #fff;
    padding: 0;
    height: 37vw;
}

.ha-block.with-bg {
    background-color: #FFFFFF;
}

.ha-inner {
    max-width: 80vw;
    margin: 0 auto;
    position: relative;
    height: 100%;
    padding: 40px 0;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ha-block.bottom .ha-inner {    
    justify-content: flex-end;
}

.ha-block.no-image {
    height: auto;
    
}

.ha-headline {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 4px 5px #000000;
    padding: 50px 0 0;
}

.ha-block.no-image .ha-headline {
    color: #000000;
    text-shadow: 4px 5px #e7e7e7;
}

.ha-tagline {
    font-size: 2rem;
/* Hide animated lines/tagline initially to prevent flash-of-unstyled-text */
.ha-line,
.ha-tagline {
    visibility: hidden;
}
    font-family: 'Cinzel';
    font-weight: 600;
    text-shadow: 4px 7px 9px #000000;
    padding: 0 0 50px 0;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1365px) {
    .ha-inner {
        max-width: 70vw;
    }
    .ha-headline {
        font-size: 2.5rem;
        padding-top: 20px;
    }
    .ha-tagline {
        font-size: 1.25rem;
        padding-bottom: 20px;
    }
    
}

@media (max-width: 1024px) {
    .ha-inner {
        max-width: 90vw;
    }
    .ha-headline {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .ha-inner,
    .ha-block.bottom .ha-inner {
        justify-content: center;
    }
    .ha-headline {
        padding: 0;
        margin: 0;
        line-height: 1.6;
    }
    .ha-tagline {
        display: none;
    }
}

@media (max-width: 500px) {
    .ha-inner {
        padding: 15px 0;
    }
    .ha-headline {
        font-size: 1.5rem;
        line-height: 2rem;
        text-shadow: 5px 0px 10px #000000;
    }
}