:root {
  --main-bg-color: #101112;
  --text-color: #bbbbbb;
}

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

body {
  background-color: var(--main-bg-color);
  font-family: "Courier Prime", monospace;
  color: var(--text-color);
  overflow: hidden
}

a {
  text-decoration: none;
}

.home-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.home {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  line-height: 1.5;
  text-align: center;
  height: 100%;
  overflow: hidden;
}

.home-name {
  font-family: "Kaushan Script", cursive;
  font-size: calc(4rem + 2vw);
}

.home-tagline {
  font-size: calc(1rem + 2vw);
  font-style: italic;
}

.home-social {
  font-size: 2rem;
}

.social-icon {
  width: 1.3em;
  height: 1.3em;
  stroke: var(--text-color);
  stroke-width: 1.5;
  fill: none;
  margin-top: 5px;
}

#type-taglines {
  display: inline-block;
  min-height: calc(6rem + 2vw);
  font-size: calc(1rem + 2vw);
}

.caret {
  color: var(--main-bg-color);
  border-left: 1ch solid green;
}

.home-cv {
  font-size: calc(1rem + 2vw);
}

.home-name svg {
  width: calc(150px + 45vmax);
}

.home-name svg text {
  stroke: var(--text-color);
  animation: stroke-text 8s infinite alternate;
}

@keyframes stroke-text {
  0% {
    stroke-dasharray: 0 50%;
    stroke-dashoffset: 20%;
    fill: var(--text-color);
    stroke-width: 0;
  }

  100% {
    stroke-dasharray: 50% 0;
    stroke-dashoffset: -20%;
    fill: var(--main-bg-color);
    stroke-width: 3;
  }
}

.underlined-link {
  color: var(--text-color);
  vertical-align: top;
  position: relative;
}

.underlined-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: var(--text-color);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.underlined-link:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
