/*
Theme Name: Web-Crossing Block Theme
Theme URI: https://www.web-crossing.com
Author: Web-Crossing GmbH
Author URI: https://www.web-crossing.com/team/
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webxfse
Details URI: https://blockswordpress.cloud08.webhome.at/web-crossing-block-theme-changelog
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

input,
button,
textarea,
select {
  font: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 100px;
}

/* If a headline breaks, break it balanced */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-blocks-webx-blocks-fake-heading {
  text-wrap: balance;
}

body {
  min-height: 100vh;
}

/* Media responsive */
img,
picture,
svg,
video {
  max-width: 100%;
}

/* pretty text wrap to prevent orphaned words and a max-width of 60 characters for paragraphs, list items and figcaptions */
p,
li,
figcaption {
  text-wrap: pretty;
}

.fake-heading-h1 {
  font-size: var(--wp--preset--font-size--xx-large);
}
.fake-heading-h2 {
  font-size: var(--wp--preset--font-size--x-large);
}
.fake-heading-h3 {
  font-size: var(--wp--preset--font-size--large);
}
.fake-heading-h4 {
  font-size: clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 0.767), 1.5rem);
}
.fake-heading-h5 {
  font-size: var(var(--wp--preset--font-size--medium));
}
.fake-heading-h6 {
  font-size: var(--wp--preset--font-size--small);
}
