/*
Theme Name: Bluebird Days Landing
Theme URI: https://tandemdesignlab.com
Author: Tandem Design Lab
Author URI: https://tandemdesignlab.com
Description: Temporary one page landing theme for Bluebird Days while the full site is built in staging. Logo, editable text (Appearance → Customize → Landing Page) and the brand blue background.
Version: 1.0.0
Requires PHP: 7.4
License: none
Text Domain: bd-landing
*/

:root {
  --primary-font: -apple-system, "Helvetica Neue", Arial, sans-serif;
  --primary-font-weight: 200;
  --secondary-font: "Italiana", serif;

  --dark-blue: #0D204F;
  --blue: #5C70C6;
  --white: #FFF;
  --light-gray: rgba(255,255,255,.5);
  --yellow: #F7DD7A;

  --content-width: 760px;
  --default-margin: 50px;
}

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

html, body { margin: 0; padding: 0; min-height: 100%;}

body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--blue); color: var(--white);
  font-family: var(--primary-font); font-weight: var(--primary-font-weight); font-size: 20px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--white); text-underline-offset: 4px;}
a:hover { color: var(--yellow);}
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px;}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;}

.landing {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: var(--content-width); max-width: calc(100% - 32px); margin: 0 auto; padding: calc(var(--default-margin) * 2) 0;
  text-align: center;
}

.landing-logo {
  margin: 0 0 var(--default-margin);
  img { display: block; width: auto; height: auto; max-height: 160px; max-width: min(320px, 100%);}
  .site-title { font-family: var(--secondary-font); font-size: 56px; line-height: 1.1; color: var(--white); text-decoration: none;}
}

.landing-title {
  font-family: var(--secondary-font); font-weight: 400; font-size: 56px; line-height: 1.2; color: var(--white);
  margin: 0 0 calc(var(--default-margin) / 2); text-wrap: balance;
}

.landing-text {
  text-wrap: pretty;
  p { margin: 0 0 calc(var(--default-margin) / 3);}
  p:last-child { margin-bottom: 0;}
  strong { font-weight: 700;}
}

.landing-button {
  display: inline-block; margin-top: var(--default-margin); padding: 12px 30px;
  border: 1px solid var(--white); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
  transition: ease-in-out all .2s;
}
.landing-button:hover { background: var(--white); color: var(--blue);}

.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding: 25px 16px; text-align: center; font-size: 14px; color: var(--light-gray);
}

@media (max-width: 767px) {
  body { font-size: 18px;}
  .landing-title, .landing-logo .site-title { font-size: 40px;}
  .landing-logo img { max-height: 120px;}
}
