.wp-block-hero-home {
background-image: url(//kuchenmeister.de/wp-content/themes/kuchenmeister-theme/assets/images/home-hero-background.webp);
background-size: 100% 100%;
margin-bottom: 4em;
position: relative;
}
.wp-block-hero-home .container {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: calc(100vh - var(--header-height));
}
.wp-block-hero-home img {
object-fit: contain;
}
.wp-block-hero-home img:nth-child(1) {
max-height: 50%;
max-width: 24%;
position: absolute;
bottom: 30px;
left: -50px;
z-index: 1;
}
.wp-block-hero-home img:nth-child(2) {
max-height: 50%;
max-width: 24%;
position: absolute;
left: 20%;
bottom: 10px;
}
.wp-block-hero-home img:nth-child(3) {
max-height: 75%;
max-width: 35%;
position: absolute;
right: 8%;
bottom: 100px;
}
.wp-block-hero-home img:nth-child(4) {
max-height: 50%;
max-width: 20%;
position: absolute;
right: 0;
bottom: -20px;
}
.wp-block-hero-home h1 {
font-family: 'Calibri';
margin: 0;
max-width: 8.5em;
margin-top: 6vh;
padding-bottom: 26vh;
width: 45%;
}
.wp-block-hero-home form {
padding: 3.5em 0;
text-align: center;
}
.wp-block-hero-home input {
border: none;
border-radius: 4px;
box-shadow: 3px 3px 4px #00000029;
font-size: 1.25em;
min-width: 40%;
padding: 0.5em 0.75em;
position: relative;
z-index: 9;
}
@media (max-width: 992px) {
.wp-block-hero-home {
background-image: none;
background-color: #FFD100;
}
.wp-block-hero-home img {
display: none;
}
.wp-block-hero-home img:nth-child(2) {
display: block;
max-height: 100%;
max-width: 50%;
object-fit: contain;
left: unset;
right: 0;
}
.wp-block-hero-home h1 {
margin-top: 0.5em;
padding-bottom: 0;
}
.wp-block-hero-home form {
text-align: left;
}
}
@media (max-width: 768px) {
.wp-block-hero-home .container {
min-height: initial;
}
.wp-block-hero-home img:nth-child(2) {
display: none;
}
.wp-block-hero-home h1 {
max-width: 100%;
text-align: center;
width: 100%;
}
.wp-block-hero-home form {
text-align: center;
}
} .wp-site-blocks:not(.block-editor-block-list__layout) .wp-block-hero-home h1,
.wp-site-blocks:not(.block-editor-block-list__layout) .wp-block-hero-home h1 .letter {
opacity: 0;
}
.wp-site-blocks:not(.block-editor-block-list__layout) .wp-block-hero-home img {
transform: translateX(105vw);
}
.wp-site-blocks:not(.block-editor-block-list__layout) .wp-block-hero-home form {
opacity: 0;
}