/* photobucket-trial - mirrors the yashmoitra.com layout */

:root {
  --ink: #000;
  --rule: #d0d0d0;
  --muted: #6b6b6b;
  --page: #fff;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

/* Home: two columns split by a vertical rule */

.shell {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 70px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

.intro {
  text-align: right;
}

.intro h1 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 0 6px;
}

.intro .subtitle {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 24px;
  color: var(--muted);
  font-style: italic;
}

.intro p {
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 18px;
}

.rule {
  background: var(--rule);
  width: 1px;
  height: 100%;
  min-height: 380px;
  justify-self: center;
}

.albums {
  list-style: none;
  margin: 0;
  padding: 0;
}

.albums li { margin: 0 0 25px; }

.albums a {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
}

.albums a:hover { text-decoration: underline; }

.albums a .arrow {
  font-size: 12px;
  vertical-align: super;
  margin-left: 2px;
}

/* Album page */

body.album {
  display: block;
  padding: 72px 48px;
}

.album-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.back {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.back:hover { text-decoration: underline; }

.album-head {
  margin: 28px 0 8px;
}

.album-head h1 {
  font-size: 34px;
  font-weight: 400;
  margin: 0;
}

.album-head .meta {
  font-size: 15px;
  color: var(--muted);
  margin: 8px 0 0;
  font-style: italic;
}

hr.divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.frame {
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8b8b8;
  font-size: 14px;
  font-style: italic;
}

.caption {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

footer {
  margin-top: 64px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .rule { display: none; }
  .intro { text-align: left; }
  body.album { padding: 40px 24px; }
}
