---
const title = "philip ruth";
const description = "Philip Matthew Ruth";
---

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content={description} />
    <link rel="icon" type="image/webp" href="/logo.webp" />
    <title>{title}</title>
  </head>
  <body>
    <div class="death-container">
      <img id="death-image" src="/death/death.webp" alt="Philip Matthew Ruth" />
      <div id="tribute-text" class="tribute">
        rip philip matthew ruth<br />
        february 8, 1967 – c. december 2, 2025
      </div>
      <div class="credit">
        gary wray<br />
        <em>waiting in line</em>, 2021
      </div>
    </div>
  </body>
</html>

<style>
  html,
  body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: black;
    color: white;
  }
  .death-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr 1fr;
  }
  img {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .tribute {
    grid-row: 2;
    grid-column: 2;
    justify-self: end;
    align-self: end;
    padding: 1.5rem;
    font-size: clamp(1.5rem, 4vmin, 3em);
    z-index: 10;
    text-align: right;
    color: white;
  }
  .credit {
    grid-row: 2;
    grid-column: 1;
    justify-self: start;
    align-self: end;
    padding: 1.5rem;
    z-index: 10;
    font-size: clamp(1.2rem, 3vmin, 2em);
    text-align: left;
    color: white;
  }
</style>
