/*
Theme Name: Hohendorf Bau
Theme URI: https://hohendorf-baugmbh.de/
Author: Hohendorf Bau GmbH
Description: Custom block theme for Hohendorf Bau GmbH.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: hohendorf-bau
Tags: full-site-editing, block-patterns, custom-logo, editor-style
*/

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.hb-site-header {
    position: relative;
    z-index: 100;
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.hb-site-header.is-scrolled {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.hb-site-header.is-scrolled a {
    color: #111111 !important;
}

.hb-section {
    box-sizing: border-box;
}

.hb-container {
    width: min(100% - 3rem, 1440px);
    margin-inline: auto;
}

@media (max-width: 781px) {
    .hb-container {
        width: min(100% - 2rem, 1440px);
    }
}
