@font-face {
  font-family: 'TTCommonsPro';
  src: url('./fonts/TTCommonsPro-Regular.woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'TTCommonsPro';
  src: url('./fonts/TTCommonsPro-Medium.woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'TTCommonsPro';
  src: url('./fonts/TTCommonsPro-SemiBold.woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'TTCommonsPro';
  src: url('./fonts/TTCommonsPro-Bold.woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Reckless';
  src: url('./fonts/Reckless-LightItalic.woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Reckless';
  src: url('./fonts/Reckless-RegularItalic.woff2');
  font-weight: 400;
  font-display: swap;
}

body {
  background: #E1CFBF;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  font-family: 'TTCommonsPro';
  color: #242424;
}

h1 {
  font-size: 32px;
  font-weight: 400;
}
h2 {
  font-size: 24px;
  font-weight: 400;
}
p {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.site {
  padding: 16px;
  max-width: 700px;
  margin: 0 auto;
  flex: 1;
}

nav.primary {
  padding: 16px 0;
  margin-bottom: 48px;
}

.quote {
  margin-bottom: 32px;
}

.title {
  margin-bottom: 32px;
}

.italic {
  font-family: 'Reckless';
  font-style: italic;
}

.subtitle {
  margin-bottom: 32px;
}

.video {
  position: relative;
  clip-path: path('M0 296 C0,296,0,0,296,0 L518, 0 L518,296 Z');
  margin-bottom: 16px;
}
.video:before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: black;
  opacity: 0.6;
}
.video video {
  display: block;
  max-width: 100%;
  height: auto;
}
.video .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-family: 'Reckless';
  color: white;
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
}
.video .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video .overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.video.playing .play,
.video.playing:before {
  display: none;
}
.video.playing {
  clip-path: none;
}

footer {
  background-color: black;
  padding: 16px 0;
}
footer p {
  font-size: 16px;
  color: white;
  text-align: center;
}

@media screen and (min-width: 550px) {
  .video {
    clip-path: path('M0 398 C0,398,0,0,398,0 L700, 0 L700,398 Z');
  }
}
