:root {
  --font-size: calc(16px + (22 - 16) * (100vw - 375px) / (1440 - 375));
  --font-body: "Replace Sans S", -apple-system, BlinkMacSystemFont, sans-serif;

  --color-dim: #666666;
  --color-gray: rgba(0,0,0,0.1);
  --color-purple: #926EE8;
}

/*
========================
BASE
========================
*/

body {
  background: white;
  color: black;
}

/*
========================
FADE IN
========================
*/

@keyframes fadein {
    from {
        opacity:0;
        transform: translateY(0.5em);
    }
    to {
        opacity:1;
        transform: translateY(0);
    }
}
@-moz-keyframes fadein {
    /* Firefox */
    from {
        opacity:0;
        transform: translateY(0.5em);
    }
    to {
        opacity:1;
        transform: translateY(0);
    }
}
@-webkit-keyframes fadein {
    /* Safari and Chrome */
    from {
        opacity:0;
        transform: translateY(0.5em);
    }
    to {
        opacity:1;
        transform: translateY(0);
    }
}
@-o-keyframes fadein {
    /* Opera */
    from {
        opacity:0;
        transform: translateY(0.5em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
========================
TYPOGRAPHY
========================
*/

html {
  font-size: var(--font-size);
}

body {
  font-family: var(--font-body);
  line-height: 1.325;
}

h1 {
  font-family: "Replace Serif M", "Times", "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1;

  text-box: trim-both cap alphabetic;
}

.dim {
  color: var(--color-gray);

  transition: 0.2s color cubic-bezier(0.5,0,0,1);
}

h1:hover .dim {
  color: black;
}

/*
========================
LAYOUT
========================
*/

.content {
  align-items: center;
  display: flex;
  flex-direction: column; 
  height: calc(100vh - 10vw);
  justify-content: center;
  margin: 5vw;
  text-align: center;

  grid-gap: 1.25em;
}