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

* {
  margin: 0;
}

@font-face {
  font-family: "Syne";
  src: url("fonts/Syne-Regular.8228227e09.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
}

@font-face {
  font-family: "Syne";
  src: url("fonts/Syne-Italic.4777a69b90.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
  font-weight: 400 800;
}

:root {
  --background: #222347;
  --text: #9b8cff;
  --accent: #b9afff;
  --cursor: #4e9a6d;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--background);
  color: var(--text);
  cursor: none;
  font-family: "Syne", sans-serif;
}

a {
  color: inherit;
  cursor: none;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(24px, 15vw) minmax(0, 75vw) minmax(24px, 10vw);
  grid-template-rows: 15vh auto 5vh;
}

.intro {
  grid-column: 2;
  grid-row: 2;
  color: #8f80ff;
  font-size: min(8vh, 8vw);
  font-weight: 545;
  line-height: 1.08;
}

.emphasis,
.contact-link {
  color: var(--accent);
  position: relative;
  transition: color 160ms ease, font-weight 160ms ease;
}

.emphasis:hover,
.contact-link:hover {
  color: #cbc5ff;
  font-weight: 650;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.08em;
  background: currentColor;
}

.pictogram {
  display: inline-block;
  height: 0.85em;
  width: auto;
  vertical-align: -0.08em;
}

.pictogram-computer {
  height: 1.18em;
}

.pictogram-cog {
  height: 0.72em;
}

.pictogram-bulb {
  height: 0.95em;
}

.pictogram-hands {
  height: 0.9em;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cursor);
  pointer-events: none;
}

@media (max-width: 620px) {
  body {
    overflow: auto;
  }

  .page {
    grid-template-columns: 4vw minmax(0, 1fr) 4vw;
    grid-template-rows: 10vh auto 10vh;
  }

  .intro {
    font-size: min(8vh, 9vw);
  }
}
