@font-face {
  font-family: "Arial Narrow";
  src: url("typefaces/Arial Narrow/arialnarrow.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Arial Narrow";
  src: url("typefaces/Arial Narrow/arialnarrow_italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Arial Narrow";
  src: url("typefaces/Arial Narrow/arialnarrow_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Arial Narrow";
  src: url("typefaces/Arial Narrow/arialnarrow_bolditalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

:root {
  --page-padding: 24px;
  --ticker-height: 32px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
  font-family: "Arial Narrow", Arial, sans-serif;
}

body,
button,
input,
textarea,
select {
  font-family: inherit;
}

body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(
    to top,
    #50ffdf 0%,
    #cafff5 24%,
    #ffffff 50%,
    #ffffff 100%
  );
}

.portfolio-page {
  isolation: isolate;
  position: relative;
  width: 100vw;
  height: calc(100vh - var(--ticker-height));
  height: calc(100dvh - var(--ticker-height));
  overflow: hidden;
  padding: var(--page-padding);
}

.intro-stage {
  position: relative;
  width: 800px;
}

.intro {
  position: relative;
  z-index: 2;
  width: 800px;
  max-width: none;
  font-size: 20px;
  line-height: 1.8;
}

.intro p {
  margin: 0;
}

.intro-line {
  display: block;
  white-space: nowrap;
}

.intro-line--justify {
  text-align: justify;
  text-align-last: justify;
}

.intro-line--contact {
  word-spacing: 4px;
}

.intro a {
  text-decoration: underline;
}

.dove-image {
  position: absolute;
  z-index: 1;
  top: 200px;
  left: 260px;
  width: 190px;
  height: auto;
  pointer-events: none;
}

.car-stage {
  position: absolute;
  z-index: 0;
  top: 365px;
  left: 390px;
  width: 474px;
  pointer-events: none;
}

.car-roof-image {
  display: block;
  width: 100%;
  height: auto;
}

.frame-image {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 5px;
  width: 270px;
  height: auto;
  pointer-events: none;
}

.link-name {
  color: #0000ee;
}

.link-illustration {
  color: #00e5ff;
}

.link-design {
  color: #ff1493;
}

.link-print {
  color: #ff6a00;
}

.link-projects {
  color: #ffd400;
}

.link-reading {
  color: #00d95a;
}

.intro .link-contact {
  display: inline-block;
  color: #ff0033;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  line-height: 1;
}

.ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--ticker-height);
  overflow: hidden;
  background: #000000;
  color: #ffffff;
}

.ticker-text {
  display: inline-block;
  min-width: 100%;
  margin: 0;
  padding-left: 100%;
  font-size: 20px;
  font-style: italic;
  line-height: var(--ticker-height);
  white-space: nowrap;
  animation: ticker-scroll 15s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}
