/*
  Moderne homepage voor edwinkolpa.nl
  De bestaande afbeeldings- en paginapaden zijn ongewijzigd gebleven.
*/

:root {
  background: #000;
  color-scheme: dark;
  font-family: "Gill Sans", "Gill Sans MT", Arial, Verdana, sans-serif;
}

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

html {
  margin: 0;
  min-height: 100%;
  background: #000;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

/*
  Houdt ook de achtergrond achter de pagina zwart wanneer iPadOS
  de pagina tijdens overscroll tijdelijk uitrekt.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #6b9aad;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #fff;
}

.site-shell {
  width: min(960px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 36px;
  text-align: center;
}

.site-header {
  position: relative;
}

.shaumbra-mark {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tagline {
  margin: 8px 0 52px;
  color: #999;
  font-size: 9px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.5;
}

.year-gallery {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 80px));
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.year-gallery a {
  display: block;
  background: #000;
  outline-offset: 3px;
  overflow: hidden;
}

.year-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 80 / 650;
  object-fit: cover;
}

/*
  De rollover wordt met een klein modern script uitgevoerd.
  Daardoor wordt ook de geanimeerde GIF betrouwbaar teruggezet.
*/
.year-gallery a:hover,
.year-gallery a:focus-visible {
  background: #000;
}

.site-footer {
  padding: 54px 0 0;
  font-size: 9px;
  letter-spacing: 2px;
}

@media (max-width: 720px) {
  .site-shell {
    width: min(960px, calc(100% - 16px));
    padding-top: 8px;
  }

  .tagline {
    margin-bottom: 28px;
    font-size: 8px;
    letter-spacing: 2px;
  }

  .year-gallery {
    gap: 2px;
  }

  .site-footer {
    padding-top: 32px;
  }
}

