/*

very yellow/; ffd900
xp2   = #f0523c
panf  = #eb9f27
hp5   = #31b25f
hp5_2 = #2da357 legible hp5 for strokes
fp4_2 = #1b97c6
fp4   = #2a7dab
3200  = #9583b6
mgiv  = #e394b4

ink   = #27221f
mid   = #797573
low   = #CaC8C6
paper = #fefefd

*/

/* reset */

* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* font */

@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('font/AlteHaasGrotesk_Bold.woff2') format('woff2'),
        url('font/AlteHaasGrotesk_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('font/AlteHaasGrotesk.woff2') format('woff2'),
        url('font/AlteHaasGrotesk.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
  background: #fffdfb;
  font-family: 'Alte Haas Grotesk';
  font-weight: normal;
  font-style: normal;
  line-height: 1.4;
  /* letter-spacing: 0.6px; looks better but gets too tight on mobile :( */
}

html { scroll-snap-type: y mandatory; } /* body won't work ¯\_(ツ)_/¯ */
body { scroll-snap-type: y mandatory; } /* although it will in safari?! */

section {
  min-height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
}

section.big-pic {
  padding: 3rem;
  position: relative;
  background-size: cover;
  background-image: url('/jpg/in-a-tree-2-arrow-small.jpg');
  background-position: center right;
  background-repeat: no-repeat;
	cursor: pointer; /* scroll hint, meret's idea */
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffd900;
}

section.info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #31b25f;
  font-size: 1.5rem;
  padding: 3rem;
}

section.info h2,
section.info p,
section.info ul {
  width: 55rem;
  max-width: 100%;
}

section.info h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #31b25f;
  margin-bottom: 0.25rem;
}

section.info p,
section.info ul {
  margin-bottom: 1.5rem;
}

section.info ul li {
	list-style: none;
	position: relative;
	padding-left: 2.75rem;
}

section.info li::before {
  content: "•";
	position: absolute;
	top: 2.5px;
	font-size: 1.25rem;
	text-align: center;
  display: inline-block;
	width: 1.25rem; /* same as icon */
  left: 0rem; /* line up bullets with icon centres */
}

section.info a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

section.info a:hover {
  text-decoration: underline;
}

section.info .icon {
  height: 1.25rem;
  width: 1.25rem;
  margin: 0 1.5rem -0.125rem 0;
}



@media (max-width: 600px) {
  section.big-pic {
    background-image: url('/jpg/in-a-tree-3-arrow-tight.jpg');
    background-size: cover;
    background-position: center;
  }

  section.info {
    font-size: 1.125rem; /* smaller, 75% size */
    padding: 2rem; /* tighter */
  }

  section.info h2 {
    font-size: 1.5rem;
  }

  section.info .icon {
    height: 1.125rem;
    width: 1.125rem;
    margin: 0 1.25rem -0.125rem 0;
  }

}
