/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	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;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* Custom styles */

body {
  font-size: 20px;
  line-height: 1.15em;
  font-family: Helvetica, Arial, sans-serif;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

section {
  padding: 100px 20px;
  min-height: 70vh;
  min-height: calc(80vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Palette: https://colorhunt.co/palette/252860 */
section:nth-child(4n+1) {
  background-color: #75cfb8;
}

section:nth-child(4n+2) {
  background-color: #bbdfc8;
}

section:nth-child(4n+3) {
  background-color: #f0e5d8;
}

section:nth-child(4n+4) {
  background-color: #ffc478;
}

h1 {
  font-size: 100px;
  font-size: calc(min(14vw, 130px));
  line-height: 1.15em;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
}

li {
  padding-left: 10px;
  border-left: 2px solid black;
  margin-bottom: 20px;
}

h2 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: calc(min(8vw, 80px));
  line-height: 1.15em;
}

em {
  font-style: italic;
}

a {
  text-decoration: underline;
  color: black;
}

a:hover {
  text-decoration: none;
  color: #666;
}

.small {
  font-size: 16px;
  line-height: 1.15em;
}

.large {
  font-size: 32px;
  line-height: 1.15em;
}
