@font-face {
  font-family: 'Lab Grotesque';
  src: url('fonts/LabGrotesque-Regular.woff2') format('woff2'),
       url('fonts/LabGrotesque-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lab Grotesque';
  src: url('fonts/LabGrotesque-Medium.woff2') format('woff2'),
       url('fonts/LabGrotesque-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lab Grotesque';
  src: url('fonts/LabGrotesque-Bold.woff2') format('woff2'),
       url('fonts/LabGrotesque-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Lab Grotesque', sans-serif;
  font-weight: 400;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  color: #1414FF;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

a:active {
  opacity: 0.4;
}

main {
  text-align: left;
  padding: 2rem;
}

main p {
  font-size: 28px;
  line-height: 125%;
}

main p + p {
  margin-top: 48px;
}

.copy-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  color: #000;
  vertical-align: middle;
  transition: opacity 0.2s ease;
}

.copy-btn:hover {
  opacity: 0.8;
}

.copy-btn:active {
  opacity: 0.4;
}

.copy-btn svg {
  display: inline;
  vertical-align: middle;
  transition: opacity 0.15s ease;
}

.copy-btn {
  opacity: 0.6;
}

/* Fade in on load */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fadeIn 1.2s ease both;
}

@media (max-width: 600px) {
  main p {
    font-size: 24px;
  }

  main p + p {
    margin-top: 36px;
  }

  .copy-btn svg {
    width: 22px;
    height: 22px;
  }
}
