/* Google Fonts utility classes */
.hina-mincho-regular {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-flex-regular {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "GRAD" 0,
    "XOPQ" 96,
    "XTRA" 468,
    "YOPQ" 79,
    "YTAS" 750,
    "YTDE" -203,
    "YTFI" 738,
    "YTLC" 514,
    "YTUC" 712;
}



body {
  margin: 0;
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  text-align: center;
  background: #1c222a;
  color: #ffffe6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: calc(100vw - 320px); /* 160px left + 160px right */
  padding-left: 160px;
  padding-right: 160px;
  overflow-x: hidden;
}

header, footer {
  text-align: center;
  background: #1c222a;
  width: 100%;
}

header h1 {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-size: clamp(3rem, 13vw, 10rem);
  margin: 32px 0 16px 0;
  line-height: 1.05;
  letter-spacing: -1px;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  padding: 0 2vw;
  text-align: center;
}


@media (max-width: 600px) {
  header h1 {
    font-size: clamp(2rem, 12vw, 3.5rem);
    margin: 20px 0 10px 0;
    padding: 0 3vw;
  }
}

h2, h3 {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
}

h2 {
  font-size: 2.5rem;
  margin: 1.5em 0 1em 0;
  font-weight: 700; /* Make h2 bold */
}

h3 {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-size: 1.3rem; /* Make h3 a bit smaller */
  margin: 1.2em 0 0.5em 0;
}

main.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.artwork {
  margin-bottom: 30px;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artwork-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.artwork img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 32px auto 40px auto;
  max-width: 900px;
  width: 100%;
  text-align: left;
}

.artist-photo {
  width: 160px;
  height: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
}

.about-text {
  flex: 1;
}

.skyscraper {
  position: fixed;
  top: 0;
  width: 160px;
  height: 780px;
  z-index: 1;
  object-fit: cover;
  transition: opacity 0.3s;
}

.skyscraper-left {
  left: 0;
}

.skyscraper-right {
  right: 0;
}

@media (max-width: 900px) {
  .skyscraper {
    display: none;
  }
  body {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
    overflow-x: auto;
  }
}

@media (max-width: 700px) {
  main.gallery, .artwork {
    max-width: 98vw;
  }
  .artwork img {
    max-width: 98vw;
  }
  .about {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .about-text {
    width: 100%;
  }
}

.button,
a.button {
  display: inline-block;
  padding: 0.6em 1.4em;
  background: #181e23;
  color: #ffffe6;
  border: 2px solid #ffffe6;
  border-radius: 8px;
  font-family: "News Cycle", sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: pointer;
  margin: 0.5em 0;
}

.button:hover,
a.button:hover {
  background: #ffffe6;
  color: #181e23;
  border: 2px solid #181e23;
}

.mincho-link {
  font-family: "Hina Mincho", serif;
  color: #ffffe6;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 400;
  transition: color 0.2s;
}

.mincho-link:hover {
  color: #e0d6b8;
  text-decoration: underline;
}

.separator {
  padding-bottom: 20px; /* Top and bottom padding, adjust as needed */
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto; /* Center the image if not already */
}

.selector h2 {
  position: relative;
  padding-bottom: 8px;
}

.selector h2.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px; /* height of the custom border */
  background-image: url('images/temp_separator.jpg'); /* use your image path */
  background-repeat: no-repeat;
  background-size: contain;
}

#about-text-en, #about-text-de {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#about-text-p {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1.15em;
  font-weight: 400;
  color: #ffffe6;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.cv {
  margin-top: 2em;
  margin-bottom: 2em;
  font-family: "Roboto Flex", sans-serif;
  font-size: 1em;
}