/* Case Analytics, LLC landing page. A rebuild of the original Bootstrap 4
   "cover" template without Bootstrap or jQuery: the page used only the
   layout, so the few rules it needs live here. */

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

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

body {
  display: flex;
  justify-content: center;
  color: #fff;
  background: #333 url("images/edificios-sky.jpg") center / cover no-repeat;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

a { color: #fff; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.cover-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 42em;
  min-height: 100%;
  padding: 1rem;
  margin: 0 auto;
}

/* Header */
.masthead { margin-bottom: auto; padding-bottom: 2rem; }
.masthead-brand { margin: 0; font-size: 1.75rem; font-weight: 500; line-height: 1.2; }
.nav-masthead { display: flex; justify-content: center; }
.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  border-bottom: .25rem solid transparent;
}
.nav-masthead .nav-link:hover, .nav-masthead .nav-link:focus { border-bottom-color: rgba(255, 255, 255, .25); }
.nav-masthead .nav-link + .nav-link { margin-left: 1rem; }
.nav-masthead .active { color: #fff; border-bottom-color: #fff; }
@media (min-width: 48em) {
  .masthead { display: flex; justify-content: space-between; align-items: center; }
}

/* Cover: bare text over the sky. The photograph is cropped to the sky band
   (images/edificios-sky.jpg) and the text column kept narrow so the lines stay
   inside it at any width; the shadow does the rest. */
.cover {
  align-self: center;
  max-width: 15em;
  padding: 0 .5rem;
  font-size: 1.0625rem;
  text-shadow: 0 .08rem .25rem rgba(0, 0, 0, .9), 0 0 1.5rem rgba(0, 0, 0, .6);
}
.cover p { margin: 0 0 .9rem; }
.cover p:last-child { margin-bottom: 0; }
@media (min-width: 48em) {
  /* The sky band is wider on a landscape screen; let each phrase keep one line. */
  .cover { max-width: 19em; }
}

/* Footer: small and tight; it is a credit line, not content. */
.mastfoot { margin-top: auto; padding-top: 2rem; font-size: .8rem; line-height: 1.35; color: rgba(255, 255, 255, .6); }
.mastfoot p { margin: 0 0 .25rem; }
.mastfoot .credit { font-size: .72rem; color: rgba(255, 255, 255, .45); }
