:root {
  --bg: #f9f9f9;
  --fg: #ffffff;
  --muted: #ffffff;
  --accent: #ffffff;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: url("images/bg2.jpg");
  background-size: cover;
  background-position: center bottom -350px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--fg);
  font-family: 'Times New Roman', Times, serif;
  display: grid;
  place-items: center;
}

main {
  padding: 24px;
  width: min(72ch, 92vw);
  line-height: 1.55;
  letter-spacing: 0.1px;
}

h1 {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.10rem 0 0.95rem 0;
}

h2 {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0.35rem 0 0.25rem 0;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  text-align: center;
  hyphens: auto;
  margin: 0 0 0.5rem 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

a:hover {
  border-bottom-color: var(--accent);
}

.content {
  position: relative;
  overflow: hidden;

  animation: fade-in 15000ms ease-out forwards;
  opacity: 0;


  margin-bottom: -400px;

  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(0, 0, 0, 0.10), transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(160deg, #917885, #6e555c);

  box-shadow:
    0 14px 28px rgba(184, 153, 153, 0.22),
    inset 0 0 28px rgba(255, 255, 255, 0.15),
    inset 0 0 38px rgba(0, 0, 0, 0.12);

  border-radius: 24px 12px 30px 16px;

  clip-path: polygon(3% 1%,
      97% 5%,
      100% 10%,
      98% 96%,
      92% 100%,
      6% 98%,
      0% 90%,
      2% 7%);

  transform: rotate(-0.7deg) skewX(-0.4deg);
}

.content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    repeating-linear-gradient(35deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 2px,
      transparent 5px),
    repeating-linear-gradient(-25deg,
      rgba(0, 0, 0, 0.025) 0px,
      rgba(0, 0, 0, 0.025) 1px,
      transparent 1px,
      transparent 6px);

  opacity: 0.65;
}

.content::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px 10px 24px 12px;
  clip-path: polygon(4% 2%,
      96% 4%,
      99% 12%,
      97% 95%,
      91% 99%,
      7% 97%,
      1% 88%,
      3% 8%);
}

.section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.links {
  margin-top: 0.90rem;
}

.dot {
  color: var(--muted);
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  body {
    background-position: center top;
    background-attachment: fixed;
    overflow-x: auto;


    place-items: start center;
  }

  main {

    margin-top: 0;
    padding-top: 12px;
  }

  .content {
    margin-bottom: 0;
  }
}