:root {
  --text-color: #333;
  --font: 'Libre Baskerville', serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  position: fixed; /* Prevent bounce scrolling on iOS */
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font);
  color: var(--text-color);
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS if needed */
}

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

.container {
  max-width: 90%;
  text-align: left;
  /* Ensure container doesn't exceed viewport height */
  max-height: 100vh;
  padding: 20px;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
}

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

ul.links li {
  margin: 0.5rem 0;
}

ul.links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 400;
  padding: 0.15rem 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  ul.links a {
    font-size: 1.5rem;
  }
}
