/* homepage-specific styles */

/* Ensure percentage heights work in standards mode (doctype) */
html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    background: url('/assets/images/bg-animated-white.gif') 50% 0% no-repeat #000;
}


#home-container {
    /* use viewport-based min-height so the container fills the screen
       even when ancestors don't have explicit heights */
    min-height: 100vh;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

#home-content {
    display: flex;
    flex-direction: column;
    width: 300px;
    /* prefer filling the viewport; fall back to 600px on small viewports */
    min-height: 600px;
    min-height: 100vh;
    background-image: image-set('/assets/images/home-me.gif' 1x, '/assets/images/home-me@2x.gif' 2x);
    background-position: 50% 0;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

h1 {
    display: none;
}

nav {
    margin-top: auto;
    margin-bottom: .5rem;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    margin: 0 0 .5rem 0;
}

a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background: #000;
}

a:hover {
    background: #333;
}

p {
    margin: 0 0 .5rem 0;
    padding: 1rem;
    background: #000;
    font-size: .8rem;
}

@media (min-width: 767px) {
    nav {
        margin-bottom: 1.25rem;
    }
}