/* Global variables */
:root,
::backdrop {
  /* Set fonts */
  --sans-font: "Roboto", sans-serif;
  --mono-font: Courier, monospace;
  
	--standard-border-radius: 5px;
	--small-text: 0.8125rem;

  /* Color scheme */
  --bg: #fff;
  --accent-bg: #F2F6FA;
  --text: #212121;
  --text-light: #969CA3;
	--light1: #888E95;
  --light2: #969CA3;
	--light3: #FAFCFF;
	--light4: #F5F8FB;
  --border: #DDE3EA;
  --accent: #109C83;
	--danger: #B83636;
  --red: #D25E5E;
  --brown: #CB8068;
	--yellow: #f1d99b;
	--blue: #617DB2;
	--green: #109C83;
  --disabled: #eff3f8;
	
	/* Word slider */
  --s: 4;
  --h: 40;
  --speed: 1.25s;
	
}

/* Dark theme */
:root.dark {
	--bg: #212121;
	--accent-bg: #2B2B2B;
	--text: #DCDCDC;
  --border: #373737;
	--light4: #2B2B2B;
  --disabled: #575757;
}

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

/* Reset default appearance */
textarea,
select,
input,
progress {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

html {
  /* Set the font globally */
  font-family: var(--sans-font);
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

/* Make the body a nice central block */
body {
  color: var(--text);
  background-color: var(--bg);
  font-size: 0.95rem;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 1fr min(64rem, 96%) 1fr;
  margin: 0;
}

body > * {
  grid-column: 2;
}

/* Make the header bg full width, but the content inline with body */
body > header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 0;
  grid-column: 1 / -1;
}

/* Add a little padding to ensure spacing is correct between content and header > nav */
main {
  padding-top: 1.5rem;
}

body > footer {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding: 1.8rem 0.5rem 1rem 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
