:root {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* background: #f7f7f7; */
  color: rgba(0, 0, 255, 0.8);
}
html,
body {
  height: 100dvh;
  width: 100dvw;
  box-sizing: border-box;
  overflow: auto;
  margin: 0;
  padding: 0;
}
body {
  font-family: monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url("public/favicon/jakubkanna-landscape.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-size='24'%3E%F0%9F%8C%BC%3C/text%3E%3C/svg%3E")
      8 8,
    auto;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .wrapper {
  visibility: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 16px;
  letter-spacing: 0.08em;
  background: #ffffff;
  color: rgba(0, 0, 255, 0.8);
  z-index: 9999;
}

body.is-loading .page-loader {
  display: flex;
}

a:hover,
a:focus-visible {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 32 32'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-size='24'%3E%F0%9F%8C%B8%3C/text%3E%3C/svg%3E")
      8 8,
    auto;
}

.wrapper {
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  padding: 24px;
  padding-bottom: clamp(200px, 30vw, 360px);
}

h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: normal;
}

.role {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 15%,
    #000 85%,
    transparent
  );
  width: 250px;
  margin-bottom: 24px;
  margin-top: 24px;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  animation: marquee 14s linear infinite;
}

.marquee-item {
  display: inline-block;
  padding: 0;
  margin: 0;
  line-height: 1.4;
}
.marquee,
.marquee-track {
  padding: 0;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  line-height: 1.4;
}

a {
  color: inherit;
  line-height: 1.4;
  display: inline-block;
}

a:hover,
a:focus-visible {
  color: rgba(15, 15, 15, 1);
  text-decoration: underline;
  background-color: #eeff87;
  border-radius: 999px;
  text-transform: uppercase;
}

::selection {
  background: #eeff87;
  color: rgba(15, 15, 15, 1);
}

::-moz-selection {
  background: #eeff87;
  color: rgba(15, 15, 15, 1);
}

.bio {
  margin-top: 32px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-content {
  line-height: 1.5;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.bio-content.is-collapsed {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 70%,
    transparent 100%
  );
}

.bio-toggle {
  align-self: flex-start;
  border: none;
  background: #eeff87;
  color: rgba(15, 15, 15, 1);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.bio-toggle:hover,
.bio-toggle:focus-visible {
  background: rgba(15, 15, 15, 1);
  color: #eeff87;
  outline: none;
}

@media (max-width: 640px) {
  .wrapper {
    gap: 12px;
    padding: 18px;
    padding-bottom: clamp(200px, 30vw, 360px);
  }

  h1 {
    font-size: 20px;
  }

  .role {
    font-size: 15px;
  }

  div {
    font-size: 14px;
  }
}
