* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 1em;
  padding-bottom: env(safe-area-inset-bottom, 20px);
  background: black;
  color: #e898bd;
  font: 1.2em/1.62 verdana, arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: auto;
  overflow-y: auto;
}

h1, h2, h3 {
  margin: 5px 0;
  text-align: center;
  line-height: 1.2;
  color: #e898bd;
}

h1 {
  text-shadow: -0.03em -0.03em 2px fuchsia, 0.03em 0.03em 2px fuchsia;
  letter-spacing: 2px;
}

.title-part1, .title-part2 {
  display: inline-block;
}

h3 a {
  color: #acecff;
}

.image-section, .links-section {
  text-align: center;
  margin: 10px 0;
}

a {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  color: inherit;
}

img {
  display: block;
  max-width: 60%; 
  max-height: calc(100dvh - 150px); 
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 5px #2a171b, 0 0 10px 5px rgba(240, 40, 152, 0.6), 0 0 15px 10px rgba(232, 152, 189, 0.4);
  margin: 0 1.5rem;
}

.image-section h2 {
  margin-top: 10px;
  color: #e898bd;
}

.highlight-link {
  color: #acecff;
}

tap-, or-, click- {
  display: none;
}

@media (max-width: 499px) {
  tap- {
    display: inline;
  }
}

@media (min-width: 500px) {
  click- {
    display: inline;
  }
}

@media (orientation: portrait) {
  .title-part2 {
    margin-top: -0.1em; /* Negative margin to reduce spacing between lines */
  }
}

@media (orientation: landscape) {
  body {
    padding: 0.5em;
  }
  img {
    max-height: calc(100dvh - 190px);
  }
  h3 {
    line-height: 1;
  }
  .links-section {
    margin-bottom: 10px;
  }
  .image-section, .links-section:last-child {
    margin-bottom: 0;
  }
  h1 :where(br) {
    display: none;
  }
}