/*
Theme Name: Yellow Room
Template: generatepress
Version: 1.0
*/

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

@font-face {
    font-family: 'Satoshi';
    src: url('./fonts/satoshi-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --yr-canvas: #FAF7F2;
    --yr-ink: #111111;
    --yr-yellow: #FFC629;
    --yr-gray: #E7E3DC;

    --yr-font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--yr-canvas);
    color: var(--yr-ink);
    font-family: var(--yr-font);
}

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

/* Primary navigation CTA */
.main-navigation .yr-nav-cta > a {
    background: var(--yr-yellow);
    color: var(--yr-ink);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 16px;
    border-radius: 3px;
    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.main-navigation .yr-nav-cta > a:hover,
.main-navigation .yr-nav-cta > a:focus {
    background: var(--yr-ink);
    color: var(--yr-canvas);
}

/* Hide the default page title on the homepage */
.home .entry-header {
    display: none;
}

/* Full-bleed Yellow Room sections inside the contained page canvas */
.yr-full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}