/*
Theme Name: All-on-4 Berlin
Version: 1.0.0
Text Domain: all-on-4
*/

body {
    overflow-x: hidden;
}

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/open-sans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/open-sans-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/raleway-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('assets/fonts/raleway-900.woff2') format('woff2');
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
    --a4-font-body: 'Open Sans', sans-serif;
    --a4-font-heading: 'Raleway', sans-serif;

    --a4-color-text: #6c6d74;
    --a4-color-heading: #2d2e33;
    --a4-color-primary: #e74922;
    --a4-color-primary-hover: #cc3713;
    --a4-color-muted: #adadad;
    --a4-color-bg-muted: #f7f7f7;
    --a4-color-border: #e5e5e7;

    --a4-container-max: 1200px;
    --a4-container-padding: 20px;

    --a4-radius-button: 10px;

    --a4-bp-s: 640px;
    --a4-bp-m: 960px;
    --a4-bp-l: 1400px;
}

/* ==========================================================================
   Base / reset
   ========================================================================== */

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

html {
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--a4-color-text);
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    background: #fff;
}

a {
    color: var(--a4-color-heading);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #09090a;
    text-decoration: underline;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0;
    font-family: var(--a4-font-heading);
    color: var(--a4-color-heading);
}

h1 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--a4-color-primary);
}

h3 {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--a4-color-muted);
}

h4 {
    font-size: 30px;
    line-height: 1.2;
    font-family: var(--a4-font-body);
    font-weight: 500;
}

h5 {
    font-size: 18px;
    line-height: 1.2;
    font-family: var(--a4-font-body);
    font-weight: 800;
}

p {
    margin: 0 0 20px 0;
}

@media (min-width: 960px) {
    h1 { font-size: 56px; }
    h2 { font-size: 44px; }
    h3 { font-size: 36px; }
}
