/* CSS Document */

/*
Name: itakephotos based on greyisgood
URL: https://itakephotos.eu/style2015.css
Description: itakephotos
Version: 3 (rebrand — greyscale, shared token system with grey.is / nutnut.uk / greyisgood.eu)
Author: mjc
Author URI: https://itakephotos.eu
*/

/* --- COLOUR TOKENS ---
   Shared system with grey.is / nutnut.uk / greyisgood.eu: strictly
   greyscale (no hue, no saturation, ever). Hue is not a factor —
   only how light or dark each stop is shifts on each load, and the
   gradient's angle. See the script at the end of the body. Values
   below are the no-JS fallback. */
:root {
  --c-angle: 160deg;
  --c-bg1: #f2f2f2;
  --c-bg2: #dedede;
  --c-bg3: #bfbfbf;
  --c-text-strong: #181818;
  --c-muted: #787878;
  --c-border: #a6a6a6;
  --c-border-hover: #333333;
  --font-light: 'Google Sans Flex', 'Google Sans', system-ui, Arial, sans-serif;
  --font-regular: 'Google Sans Flex', 'Google Sans', system-ui, Arial, sans-serif;
  --gutter: 30px;
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: var(--gutter);
  background: linear-gradient(var(--c-angle), var(--c-bg1) 0%, var(--c-bg2) 45%, var(--c-bg3) 100%) fixed;
  color: var(--c-text-strong);
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
}

#wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

#header {
  width: 100%;
  margin: 0 0 30px;
  padding: 30px;
  box-sizing: border-box;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  background-color: transparent;
}

#content {
  background: transparent;
  float: left;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

h1, h1 a, h1 a:visited {
  color: var(--c-text-strong);
  font: 28px/35px var(--font-regular);
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

p {
  color: var(--c-text-strong);
  max-width: 700px;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  padding: 1px;
}

a, a:link, a:active, a:visited {
  font-family: var(--font-regular);
  font-weight: 400;
  color: var(--c-text-strong);
  text-decoration: none;
  background-color: transparent;
  border-bottom: 1px solid var(--c-border);
}

a:hover,
#pages a:hover,
#header a:hover,
#notes a:hover,
#shows a:hover {
  font-family: var(--font-regular);
  text-decoration: none;
  color: var(--c-text-strong);
  background-color: rgba(0,0,0,.06);
  border-bottom-color: var(--c-border-hover);
}

a:focus-visible {
  outline: 2px solid var(--c-text-strong);
  outline-offset: 2px;
}

#foot {
  width: 100%;
  margin: 220px 4px 22px 0;
  padding: 0;
  color: var(--c-text-strong);
}

#foot a, #foot a:link, #foot a:active, #foot a:visited {
  font-family: var(--font-light);
  font-weight: 300;
  color: var(--c-text-strong);
  text-decoration: none;
  background-color: transparent;
  border-bottom: 1px solid var(--c-border);
}

#foot a:hover {
  font-family: var(--font-light);
  text-decoration: none;
  color: var(--c-text-strong);
  background-color: rgba(0,0,0,.06);
  border-bottom-color: var(--c-border-hover);
}

#box {
  padding: 0;
  height: auto;
  width: 900px;
  max-width: 100%;
  float: left;
  background-color: transparent;
  margin: 60px 0;
  clear: both;
  color: var(--c-text-strong);
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
@media screen and (max-width: 980px) {
  #wrap {
    width: 94%;
  }
  #header {
    position: fixed;
  }
}

@media screen and (max-width: 600px) {
  #header {
    position: relative;
  }
  #content {
    padding-top: 0;
  }
  #notes, #boxextrapic, #notespage {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #header {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
