/*
Theme Name: Trulign Placeholder
Author: Trulign
Description: A quiet, centered-logo landing page for the first Trulign website.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: trulign-placeholder
*/

:root {
  color-scheme: light;
  --trulign-ivory: #f5f3ed;
  --trulign-forest: #1a442a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--trulign-ivory);
  color: var(--trulign-forest);
}

body {
  font-family: system-ui, sans-serif;
}

.trulign-placeholder {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 5vw, 5rem);
}

.trulign-mark {
  width: min(100%, 36rem);
  margin: 0;
  font-size: 1rem;
  line-height: 1;
}

.trulign-mark img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep the logo centered below WordPress's toolbar when an editor is logged in. */
body.admin-bar .trulign-placeholder {
  min-height: calc(100vh - 32px);
  min-height: calc(100svh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .trulign-placeholder {
    min-height: calc(100vh - 46px);
    min-height: calc(100svh - 46px);
  }
}
