/* CSS Document */

/*
Name: itakephotos based on greyisgood
URL: https://itakephotos.eu/style2015.css
Description: itakephotos
Version: 2 (modernized)
Author: mjc
Author URI: https://itakephotos.eu
*/

@font-face {
  font-family: 'MisoLight';
  src: url('fontface/miso/miso-light-webfont.woff2') format('woff2'),
       url('fontface/miso/miso-light-webfont.woff') format('woff'),
       url('fontface/miso/miso-light-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MisoRegular';
  src: url('fontface/miso/miso-webfont.woff2') format('woff2'),
       url('fontface/miso/miso-webfont.woff') format('woff'),
       url('fontface/miso/miso-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MisoBold';
  src: url('fontface/miso/miso-bold-webfont.woff2') format('woff2'),
       url('fontface/miso/miso-bold-webfont.woff') format('woff'),
       url('fontface/miso/miso-bold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-text: #000;
  --color-bg-from: #f2f2f2;
  --color-bg-to: #e6e6e6;
  --font-light: 'MisoLight', 'MisoRegular', system-ui, Arial, sans-serif;
  --font-regular: 'MisoRegular', 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(180deg, var(--color-bg-from), var(--color-bg-to)) fixed;
  color: var(--color-text);
  font-family: var(--font-light);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
}

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

#header {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0 30px 0 0;
  clear: both;
  z-index: 1;
  position: fixed;
}

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

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

p {
  color: var(--color-text);
  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);
  color: var(--color-text);
  text-decoration: none;
  background-color: transparent;
}

a:hover,
#pages a:hover,
#header a:hover,
#notes a:hover,
#shows a:hover {
  font-family: var(--font-regular);
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-text);
}

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

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

#foot a, #foot a:link, #foot a:active, #foot a:visited {
  font-family: var(--font-light);
  color: var(--color-text);
  text-decoration: none;
  background-color: transparent;
}

#foot a:hover {
  font-family: var(--font-light);
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-text);
}

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

/************************************************************************************
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;
  }
}
