
:root {
  --wine:       #8A0B2D;
  --ink:        #0a0a0a;
  --paper:      #f3eee6;
  --paper-deep: #ece4d7;
  --bluegrey:   #3f3d56;
  --teal:       #26b7a0;
  --serif: "Playfair Display", Georgia, serif;
  --mono:  "Source Code Pro", "SFMono-Regular", Menlo, monospace;
}

* {
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

p {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 1.3vw;
  line-height: 1.7;
}

span {
  background: var(--ink);
  color: var(--paper);
  padding: 1px 6px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.3s ease-in-out;
}

h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 10vw;
  line-height: 1.0;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.55;
}

a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
}

.content {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 80px;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding-bottom: 80px;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(243, 238, 230, 0.85), rgba(243, 238, 230, 0));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  z-index: -1;
}

.header-inner {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 16px 0 0 0;
}

.header a {
  text-decoration: none;
}

.about {
  padding-top: 40px;
  margin-bottom: 150px;
  display: flex;
  flex-direction: column;
}

.about h1 {
  z-index: 10;
  position: relative;
}

.about_txt {
  margin-top: 150px;
  margin-bottom: 150px;
  width: 100%;
}

.skills {
  width: fit-content;
  margin: 0 0 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.skills h3 {
  margin-bottom: 16px;
}

.skills-sublabel {
  margin-top: 32px;
}

.skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-chips span {
  font-family: var(--mono);
  font-size: 1.3vw;
  padding: 1px 6px;
}

.link {
  margin-bottom: 150px;
}

.link a {
  display: inline-block;
  font-size: 22px;
  padding: 16px 28px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--ink);
  text-decoration: none;
}

.link a::after {
  content: " ↗";
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer a {
  text-decoration: none;
  color: var(--ink);
}

.header-inner a:first-child h3,
.footer a:nth-child(1) h3 {
  font-size: 14px;
}

.header-inner a:first-child h3::before,
.footer a:nth-child(1) h3::before {
  content: "← ";
}

/* ─── Atemlos ─────────────────────────────────────────── */

.atemlos .about img {
  max-height: 60%;
  max-width: 60%;
  margin-left: 150px;
  z-index: 1;
  position: relative;
}

#qrcode {
  max-width: 40%;
  max-height: 40%;
  margin-left: 300px;
}

/* ─── tWalk ───────────────────────────────────────────── */

#gif {
  max-height: 25%;
  max-width: 25%;
  margin-left: 150px;
  z-index: 1;
  position: relative;
}

#screendesign {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
}

.screendesign {
  width: 100%;
  max-width: 100%;
}

.twalk #screendesign {
  flex-direction: row;
}

.twalk .screendesign {
  flex: 1;
}

/* ─── Yama ────────────────────────────────────────────── */

.yama .about > img {
  max-height: 60%;
  max-width: 60%;
  margin-left: 150px;
  z-index: 1;
  position: relative;
}

/* ─── Responsive ──────────────────────────────────────── */

@media screen and (min-width: 1960px) {
  h1 {
    font-size: 192px;
  }
  p {
    font-size: 25px;
  }
  h3,
  a {
    font-size: 13px;
  }
  .content,
  .header-inner {
    max-width: 1800px;
  }
}

@media screen and (max-width: 1260px) {
  p {
    font-size: 1.5vw;
  }
  .skills-chips span {
    font-size: 1.5vw;
  }
  .atemlos .about img,
  .yama .about > img {
    max-width: 70%;
    max-height: 70%;
  }
  #qrcode {
    max-width: 50%;
    max-height: 50%;
    margin-left: 150px;
  }
  #gif {
    max-width: 35%;
    max-height: 35%;
  }
}

@media screen and (max-width: 920px) {
  p {
    font-size: 1.6vw;
  }
  .skills-chips span {
    font-size: 1.6vw;
  }
}

@media screen and (max-width: 760px) {
  p {
    font-size: 14px;
  }
  h1 {
    font-size: 60px;
    hyphens: auto;
  }
  .skills-chips span {
    font-size: 14px;
  }
  .skills {
    width: 100%;
    margin: 0 0 150px;
  }
  .atemlos .about img,
  .yama .about > img {
    max-width: 80%;
    max-height: 80%;
    margin-left: 80px;
  }
  #qrcode {
    max-width: 70%;
    max-height: 70%;
    margin-left: 60px;
  }
  #gif {
    max-width: 40%;
    max-height: 40%;
    margin-left: 80px;
  }
  .link a {
    font-size: 14px;
    padding: 10px 16px;
  }
  .twalk #screendesign {
    flex-direction: column;
    align-items: center;
  }
  .twalk .screendesign {
    width: 80%;
    max-width: 80%;
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 40px;
  }
  .content,
  .header-inner {
    max-width: 95%;
  }
  .about_txt {
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .about,
  .link,
  .skills {
    margin-bottom: 60px;
  }
  .atemlos .about img,
  .yama .about > img {
    max-width: 70%;
    max-height: 70%;
    margin-left: 20px;
  }
  #qrcode {
    margin-left: 40px;
  }
  #gif {
    max-width: 70%;
    max-height: 70%;
    margin-left: 20px;
  }
  .twalk .screendesign {
    width: 90%;
    max-width: 90%;
  }
}

@media screen and (max-width: 376px) {
  .atemlos .about img,
  .yama .about > img {
    max-width: 90%;
    max-height: 90%;
    margin-left: 20px;
  }
  #qrcode {
    margin-left: 20px;
  }
  #gif {
    max-width: 90%;
    max-height: 90%;
    margin-left: 0;
  }
}

@media screen and (max-width: 380px) {
  h1 {
    font-size: 28px;
  }
  .atemlos .about img,
  .yama .about > img {
    max-width: 90%;
    margin-left: 0;
  }
  #qrcode {
    margin-left: 0;
  }
  #gif {
    margin-left: 0;
  }
  #atemlos-link {
    font-size: 11px;
    padding: 10px 14px;
  }
}
