/*
Theme Name: Ortho Clinic Schlei
Theme URI: 
Author: Aflinxh & Alexander Lechner
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: josephine
Text Domain: ortho-clinic-schlei
Tags:
*/

/* FONT FAMILIES */
@font-face {
  font-family: "Brandon Text";
  src: url("assets/fonts/brandon/Brandon-Text-Web-Regular.woff2")
      format("woff2"),
    url("assets/fonts/brandon/Brandon-Text-Web-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brandon Text";
  src: url("assets/fonts/brandon/Brandon-Text-Web-Bold.woff2") format("woff2"),
    url("assets/fonts/brandon/Brandon-Text-Web-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --theme--mod--typography_font_family_global: "Brandon Text", sans-serif;
  --theme--mod--typography_font_family_supplemental: "Brandon Text", sans-serif;
  --theme--mod--typography_font_family_alternative: "Brandon Text", sans-serif;
}

/* FONT SIZES CONFIGURATIONS */
:root {
  --fs-h1: 4.375rem; /* 70px / 16 */
  --fs-h2: 2.4375rem; /* 39px / 16 */
  --fs-h3: 1.5625rem; /* 25px / 16 */
  --fs-h4: 1.375rem; /* 22px / 16 */
  --fs-p: 1.1875rem; /* 19px / 16 */
}

html.fs-large {
  --fs-h1: 4.375rem; /* 70px / 16 */
  --fs-h2: 2.8125rem; /* 45px / 16 */
  --fs-h3: 2.1875rem; /* 35px / 16 */
  --fs-h4: 1.875rem; /* 30px / 16 */
  --fs-p: 1.5625rem; /* 25px / 16 */
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 2.8125rem; /* 45px / 16 */
    --fs-h2: 1.875rem; /* 30px / 16 */
    --fs-h3: 1.5625rem; /* 25px / 16 */
    --fs-h4: 1.25rem; /* 20px / 16 */
    --fs-p: 1.0625rem; /* 17px / 16 */
  }

  html.fs-large {
    --fs-h1: 2.8125rem; /* 45px / 16 */
    --fs-h2: 2.1875rem; /* 35px / 16 */
    --fs-h3: 2.1875rem; /* 35px / 16 */
    --fs-h4: 1.75rem; /* 28px / 16 */
    --fs-p: 1.375rem; /* 22px / 16 */
  }
}

:where(h1) {
  font-size: var(--fs-h1) !important;
}
:where(h2) {
  font-size: var(--fs-h2) !important;
}
:where(h3) {
  font-size: var(--fs-h3) !important;
}
:where(p) {
  font-size: var(--fs-p) !important;
}

.wp-site-blocks p {
  font-size: var(--fs-p) !important;
}
