﻿/* =========================================================
   ANAHATA - FONT GENERAL
   Font, colori e sfondi comuni a tutto il sito
   ========================================================= */

:root {
    /* =====================================================
       FONT SIZE
       ===================================================== */

    --font-x-small: 12px;
    --font-small: 14px;
    --font-medium: 16px;
    --font-large: 20px;
    --font-x-large: 24px;
    /* =====================================================
       FONT SIZE FOR MENU-LANGUAGE-BRAND-BRAND-SUBTITLE
       ===================================================== */
    
    --font-menu: 14px;
    --font-language: 12px;
    --font-brand: 14px;
    --font-brandsub: 10px;

    /* =====================================================
       FONT FAMILY - VALORI ESISTENTI
       ===================================================== */

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
    /* =====================================================
       COLORS - PALETTE ESISTENTE
       ===================================================== */

    --paper: #f4f0e8;
    --paper-2: #eee8dd;
    --ink: #27362e;
    --text: #3f443f;
    --muted: #888b84;
    --green: #183528;
    --line: rgba(39, 54, 46, .28);
    /* =====================================================
       LAYOUT - VALORE ESISTENTE
       ===================================================== */

    --page-pad: clamp(22px, 7.8125vw, 150px);
}


/* =========================================================
   FONT SIZE
   ========================================================= */

--font-logo: 23.2px;
--font-logo-subtitle: 9.28px;

.font-x-small {
    font-size: var(--font-x-small);
}

.font-small {
    font-size: var(--font-small);
}

.font-medium {
    font-size: var(--font-medium);
}

.font-large {
    font-size: var(--font-large);
}

.font-x-large {
    font-size: var(--font-x-large);
}


/* =========================================================
   FONT FAMILY
   ========================================================= */

.font-serif {
    font-family: var(--serif);
}

.font-sans {
    font-family: var(--sans);
}


/* =========================================================
   FONT COLOR
   ========================================================= */

.font-ink {
    color: var(--ink);
}

.font-text {
    color: var(--text);
}

.font-muted {
    color: var(--muted);
}

.font-green {
    color: var(--green);
}


/* =========================================================
   BACKGROUND COLOR
   ========================================================= */

.bg-paper {
    background-color: var(--paper);
}

.bg-paper-2 {
    background-color: var(--paper-2);
}

.bg-ink {
    background-color: var(--ink);
}

.bg-text {
    background-color: var(--text);
}

.bg-muted {
    background-color: var(--muted);
}

.bg-green {
    background-color: var(--green);
}


/* =========================================================
   MENU FONT SIZE
   ========================================================= */

.menu-font {
    font-size: var(--font-menu);
}

.menu-language {
    font-size: var(--font-language);
}


/* ============================================================
   BRAND - MENU GENERAL
   ============================================================ */

/* BRAND PRINCIPALE */

.menu-brand,
.menu-brand-white {
    font-size: var(--font-brand);
    display: inline-flex;
    width: max-content;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

/* BRAND SOTTOTITOLO */

.menu-brand-sub,
.menu-brand-sub-white {
    font-size: var(--font-brandsub);
    margin-top: 8px;
    letter-spacing: 1.82px;
}

/* COLORI NORMALI */

.menu-brand,
.menu-brand-sub {
    color: var(--ink);
}

/* COLORI BIANCHI */

.menu-brand-white,
.menu-brand-sub-white {
    color: #ffffff;
}



/* =========================================================
        BRAND GENERAL
   ========================================================= */

.brand {
    display: inline-flex;
    width: max-content;
    flex-direction: column;
    align-items: center;
    color: var(--ink);
    line-height: 1;
}

.brand-mark {
    font-family: var(--serif);
    font-size: 23px;
    margin-bottom: 7px;
}

.brand-name {
    font-family: var(--serif);
    font-size: clamp(14px, 1.15vw, 21px);
    letter-spacing: 5.88px;
    padding-left: 5.88px;
}

.brand-subtitle {
    margin-top: 8px;
    font-size: 7px;
    letter-spacing: 1.82px;
}

.brand-name-white {
    font-family: var(--serif);
    font-size: clamp(14px, 1.15vw, 21px);
    letter-spacing: 5.88px;
    padding-left: 5.88px;
    color: white;
}

.brand-subtitle-white {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 1.82px;
    color: white;
}

.brand-name {
    font-size: 14px;
}


/* =========================================================
   SITE MASTER - BRAND
   ========================================================= */

.site-master-brand {
    transform: translateY(0px);
}


