/* ============================================================
   THEME FILE: change colours and fonts here.
   To restyle the whole site, edit these values or replace this
   file with another theme.css that defines the same variables.
   ============================================================ */

/* FONT: paste any Google Fonts @import here, then set --font below.
   (@import must stay at the very top of this file.) */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;800&display=swap");

/* YOUR OWN FONT FILES: each @font-face tells the browser where the file is.
   The url() path is relative to THIS file (theme.css). Adjust it so it matches
   where the .ttf actually sits in your repo, and match capitals exactly. */
@font-face{
  font-family:"Block Blueprint";
  src:url("fonts/block-blueprint-font/Blockblueprint-LV7z5.ttf") format("truetype");
  font-display:swap;
}
@font-face{
  font-family:"Hacked";
  src:url("fonts/hacked-font/Hacked-KerX.ttf") format("truetype");
  font-display:swap;
}

:root{
  /* Fonts. To use one of your own, put its font-family name first. */
  --font: "Block Blueprint", "SF Mono", Menlo, Consolas, monospace;
  --head: "Block Blueprint", var(--font);   /* headings. Try "Block Blueprint" instead */
  --body: var(--font);   /* paragraphs */

  /* Font sizes. Edit any of these to resize text across the whole site.
     rem units: 1rem is normal text size. clamp(small, scales-with-screen, large)
     lets a heading shrink on phones and grow on big screens. */
  --size-body:           1.2rem;                      /* paragraphs and most text */
  --size-logo:           1.5rem;                      /* "Code for Community" in the header */
  --size-nav:            1.1rem;                      /* header links */
  --size-hero-title:     clamp(2rem, 3.4vw, 4rem);  /* big headline, desktop */
  --size-hero-title-mobile: clamp(2rem, 6.5vw, 4rem); /* big headline, phones */
  --size-hero-text:      1.2rem;                        /* paragraph under the headline */
  --size-section-title:  clamp(1.6rem, 3.6vw, 3rem); /* section headings */
  --size-subheading:     1.7rem;                      /* smaller headings in sections */
  --size-page-title:     clamp(1.9rem, 4.5vw, 3.2rem); /* sign-up page headings */
  --size-footer-title:   clamp(1.4rem, 3vw, 2rem);    /* "Get in touch" */

  /* Layout: edge spacing, and the widest the content gets on big screens */
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --max-width: 1700px;   /* widest the page content gets on big screens */

  /* Colours */
  --hero-bg:  #ffffff;   /* first screen (header + hero text) */
  --hero-muted:#444444;  /* intro paragraph in the hero */
  --bg-dark:  #101010;   /* black sections: hero text, outcomes, footer */
  --light:    #f5f5f5;   /* off-white sections and text on dark */
  --soft:     #e6e6e6;   /* light grey section (how it works) */
  --charcoal: #2a2a2a;   /* dark grey section (get involved) */
  --dark:     #111111;   /* headings on light sections, button text */
  --text:     #1a1a1a;   /* body text on light sections */
  --accent:   #ffffff;   /* buttons and highlights on dark. Try any colour! */
  --line:     #555555;   /* timeline line and divider lines */
  --btn-hover:#dcdcdc;   /* button hover colour */
  --muted-on-dark:#d4d4d4; /* intro paragraph on dark */
  --footer-text:#bdbdbd;   /* footer text */
}
