﻿:root {
    --bg: #313942;
    --ghost: #528cce;
    --heading: #e7ebf2;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    font-family: 'Montserrat', sans-serif;
}

main {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    text-align: center;
}

h1 {
    color: var(--heading);
    font-size: 12.5rem;
    letter-spacing: 0.10em;
    margin: 0.025em 0;
    text-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

    h1 > span {
        animation: spooky 2s alternate infinite linear;
        color: var(--ghost);
        display: inline-block;
    }

h2 {
    color: var(--heading);
    margin-bottom: 0.40em;
}

p {
    color: #ccc;
    margin-top: 0;
}

@keyframes spooky {
    from {
        transform: translateY(0.15em) scaleY(0.95);
    }

    to {
        transform: translateY(-0.15em);
    }
}
