/*
Theme Name: Text
Template: twentytwentyfive
Version: 1.0
Description: Tema personalitzat per al projecte TEXT by BaseTIS
Author: TEXT Team
*/
:root {
  --font-family: "Campton";
}

html {
  box-sizing: border-box;
}

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

main,
.has-global-padding {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================
   TIPOGRAFÍA CAMPTON (.otf)
   ========================================= */

/* 1. BOOK (Texto Normal - 400) */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 1.1 BOOK ITALIC */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-BookItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* 2. MEDIUM (500) */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 3. SEMI BOLD (600) */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 4. BOLD (700) */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 5. BLACK (900) */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Light (300) */
@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-family);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
}

button,
input,
select,
textarea,
.wp-block-button__link {
  font-family: var(--font-family);
}