html, body {
  padding: 0;
  margin: 0;
  color: #222222;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Source Sans Pro', sans-serif;
}

body {
  padding: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  box-sizing: border-box;
  max-width: 1280px;
  z-index: 100;
}

header h2 {
  font-family: 'Roboto Slab', sans-serif;
  background-color: white;
  color: black;
  margin: 0;
  padding: 0 1rem 0 2rem;
  font-size: 2rem;
  font-weight: lighter;
  text-align: right;
  line-height: 2.5rem;
  display: inline-block;
}

header h2 a {
  color: black;
  text-decoration: none;
}

header h2 a:hover,
header h2 a:active,
header h2 a:focus,
header h2 a:visited {
  color: black;
}

a {
  color: darkred;
  transition: color 0.15s linear;
}

a:active,
a:focus {
  color: red;
}

a:hover {
  color: cyan;
}

a:visited {
  color: burlywood;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin: 0.5rem 1rem;
  font-size: 1.5rem;
}

nav ul li a {
  font-family: 'Roboto Slab', sans-serif;
  color: #222;
  text-decoration: none;
  border-bottom: 0.25rem #222 solid;
}

nav ul li a:active,
nav ul li a:focus,
nav ul li a:visited {
  color: #222;
}

nav ul li a:hover {
  color: #666;
  border-bottom: 0.5rem #666 double;
}

hr.rotated {
  border: 0;
  color: #222;
  display: block;
  height: 26px;
  height: 1.625rem;
  margin-right: auto;
  margin-left: auto;
  background-size: 100% 26px;
  background-size: 100% 1.625rem;
  background-image: linear-gradient(to bottom,transparent 1px,transparent 11px,#222 11px,#222 15px,transparent 15px,transparent 26px);
  width: 50vw;
  transform: rotate3d(0, 0, 1, -17deg);
}

hr {
  border: 0;
  color: #222;
  display: block;
  height: 26px;
  height: 1.625rem;
  margin-right: auto;
  margin-left: auto;
  background-size: 100% 26px;
  background-size: 100% 1.625rem;
  background-image: linear-gradient(to bottom,transparent 1px,transparent 11px,#222 11px,#222 15px,transparent 15px,transparent 26px);
  width: 20vw;
}

blockquote {
  font-family: 'Playfair Display', serif;
  display: block;
  text-align: center;
  margin: 1rem auto;
  background-color: #f4f4f4;
  border: 1px solid #cdcdcd;
  border-radius: 2px;
  padding: 1rem 2rem;
  width: 80%;
}

blockquote .by {
  font-weight: bold;
  text-align: right;
}

main, footer {
  font-size: 1.25rem;
  padding-left: 1rem;
}

main ul,
main p {
  font-weight: lighter;
  width: 80%;
  margin: 1em auto;
}

main h4 {
  width: 80%;
  margin: 1em auto;
}

section.impression-placeholder {
  padding-top: 6rem;
}

section.impression {
  background-color: white;
  background-size: cover;
  background-position: 28% center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow-x: hidden;
}

section.impression picture.impression {
  max-height: calc(100vh - 4rem);
}

section.impression img.selfie {
  position: absolute;
  max-width: min(720px, calc(100vw - 6rem));
  max-height: calc(100vh - 4rem);
  mix-blend-mode: multiply;
  transform: translateY(0rem) translateX(2rem);
}

section.impression img.couple {
  position: absolute;
  max-width: min(720px, calc(100vw - 6rem));
  max-height: calc(100vh - 4rem);
  mix-blend-mode: multiply;
  transform: translateY(2rem) translateX(-2rem);
}

.with-big-header {
  position: relative;
  padding-top: 9rem;
}

.with-big-header h3.big-header {
  font-family: 'Playfair Display', serif;
  position: absolute;
  /*transform: rotate3d(0, 0, 1, -17deg);*/
  top: 0;
  z-index: -1;
  font-size: 8rem;
  line-height: 8rem;
  margin: 0.5rem;
  color: #ccc;
  font-weight: lighter;
}

.with-big-header h3.big-header:before {
  width: 50%;
  height: 0.25rem;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  background: #aaa;
  content: " ";
}

.with-big-header h3.big-header:after {
  width: 50%;
  height: 0.25rem;
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-block;
  background: #ddd;
  content: " ";
}

section.social {
  text-align: center;
  margin-top: 1rem;
}

section.social a {
  display: inline-block;
  margin: 0 0.5rem;
}

section.social img {
  width: 2rem;
  height: 2rem;
}

.clip-text {
	max-width: 60rem;
	margin: auto;
  background-color: #666;
  color: white;
  text-align: center;
  transition: background-color 0.5s ease-in-out;
  padding-top: 2rem;
}

section.jpmorgan .jpmorgan-clip-text {
  clip-path: polygon(13% 6%, 90% 9%, 94% 93%, 7% 91%);
}

section.compass .compass-clip-text {
  clip-path: polygon(3% 0, 98% 10%, 90% 95%, 11% 95%);
}

section.eventxtra-2 .eventxtra-2-clip-text {
  clip-path: polygon(3% 11%, 98% 1%, 90% 95%, 11% 95%);
}

section.eventxtra-1 .eventxtra-1-clip-text {
  clip-path: polygon(3% 0, 98% 10%, 90% 95%, 11% 95%);
}

section.ikky .ikky-clip-text {
  clip-path: polygon(3% 11%, 98% 1%, 90% 95%, 11% 95%);
}

section.jpmorgan .jpmorgan-clip-text.revealed {
  background-color: #321b0f;
}

section.eventxtra-1 .eventxtra-1-clip-text.revealed,
section.eventxtra-2 .eventxtra-2-clip-text.revealed {
  background-color: #cf2f2f;
}

section.ikky .ikky-clip-text.revealed {
  background-color: #24add1;
}

section.compass .compass-clip-text.revealed {
  background-color: #00beee;
}

.clip-text h5 {
  margin: auto;
  font-size: 2rem;
  font-weight: lighter;
  width: 80%;
}

.clip-text h4 {
  font-size: 8rem;
  font-family: 'Playfair Display', serif;
  margin: auto;
  width: 90%;
}

section.ikky .ikky-clip-text img {
  clip-path: polygon(75% 1%, 84% 20%, 100% 53%, 100% 100%,  0 100%, 0 46%, 18% 9%);
	width: 100%;
}

section.eventxtra-1 .eventxtra-1-clip-text img {
	clip-path: polygon(20% 0%, 72% 0%, 100% 19%, 100% 100%, 50% 100%, 0 100%, 0 43%);
	width: 100%;
}

section.eventxtra-2 .eventxtra-2-clip-text img,
section.compass .compass-clip-text img,
section.jpmorgan .jpmorgan-clip-text img {
  clip-path: polygon(32% 1%, 84% 20%, 100% 53%, 100% 100%,  0 100%, 0 46%, 18% 9%);
  width: 100%;
}

footer {
  padding: 2rem 0;
  text-align: center;
}

@media only screen and (min-width: 960px) {
  section.impression {
    /*background-image: url(/assets/background-full.jpg);*/
  }
}

@media only screen and (min-width: 720px) and (max-width: 960px) {
  section.impression {
    /*background-image: url(/assets/background-1280w.jpg);*/
  }
}

@media only screen and (max-width: 720px) {
  section.impression {
    /*background-image: url(/assets/background-960w.jpg);*/
  }
}

@media only screen and (max-width: 480px) {
  header nav ul {
    padding-left: 1rem;
  }

  header h2 {
    padding: 0 0.5rem 0 0;
  }
}

@media only screen and (max-width: 960px) {
  .clip-text h5 {
    font-size: 1.5rem;
  }

  .clip-text h4 {
    font-size: 5rem;
  }
}

@media only screen and (max-width: 480px) {
  .clip-text h5 {
    font-size: 1rem;
  }

  .clip-text h4 {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 320px) {
  header {
    padding: 1rem;
  }

  .clip-text h5 {
    font-size: 1rem;
  }

  .clip-text h4 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 720px) {
  header nav {
    display: none;
  }

  .with-big-header {
    padding-top: 5rem;
  }

  .with-big-header h3.big-header {
    font-size: 5rem;
    line-height: 5rem;
  }

  main ul {
    width: auto;
  }

  main p,
  main h4 {
    width: 100%;
  }

  blockquote {
    width: 100%;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
  }
}

a#tracking-status {
  display: block;
  width: 0;
  line-height: 0;
  margin: 0 auto;
  padding: 0;
  text-decoration: none;
}

a#tracking-status.unloaded::before {
  content: "\1F648";
}

a#tracking-status.loaded::before {
  content: "\1F440";
}
