@font-face {
  /* font family Laila, licensed under the Open Font License http://scripts.sil.org/OFL */
  font-family: 'Laila';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Laila Regular'), local('Laila-Regular'), url(laila.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    color: #fff;
    background: #000;
    text-align: center;
    font-family: "Laila", serif;
    text-shadow: 1px 1px 3px rgba(227, 218, 159, 0.34);
}

/* make it all vertical align in the middle */
div.outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
div.middle {
    display: table-cell;
    vertical-align: middle;
}
div.inner {
    display: block;
    margin: 0 auto;
    /* bit of hack, but prevents the image from "hitting the ceiling" */
    padding-top: 4px;
}

img {
    animation: fadein 5s ease-in-out;
    max-width: 95%;
    max-height: 53vh;
    border: 2px solid #333;
}

h1, h2, h3 {
    animation: fadein 4s ease-in-out;
    animation-fill-mode: both;
}
h1 {
    font-size: 2.5em;
    animation-delay: 3s;
}
h2 {
    animation-delay: 4.5s;
    font-weight: 400;
}
h3 {
    color: #ccc;
    text-shadow: 1px 1px 3px rgba(227, 218, 159, 0.6);
    animation-delay: 7s;
}

span {
    margin: .3em;
}


@media screen and (max-height: 420px) {
    h1 {
        font-size: 2em;
    }
}
@media screen and (min-height: 801px) {
    img {
        max-height: 70vh;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
