/* RESET CSS */
/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section
{
    display: block;
}
body
{
    line-height: 1;
}
ol, ul
{
    list-style: none;
}
blockquote, q
{
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after
{
    content: '';
    content: none;
}
table
{
    border-collapse: collapse;
    border-spacing: 0;
}


/* ------------------------------------------------------Font definition */
@font-face
{
    font-family: Serif-Gothic-Black;
    src: url(font/serif_gothic_black.ttf);
}

@font-face
{
    font-family: Compacta-Light;
    src: url(font/compacta_light.ttf);
}

/* ------------------------------------------------------CSS */
body
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #F0F0F0;
    background-color: #000000;
}

#master-container
{
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
}

.image-container
{
    display: block;
    position: relative;
    border: 1px solid #FFFFFF;
}

#title, #slogan, #credits
{
    display: flex;
    position: absolute;
    flex-direction: column;
}

#title
{
    top: 2.5%;
    left: 50%;
    transform: translate(-50%);
    flex-direction: row;
    align-items: baseline;
    text-align: center;
    font-family: Serif-Gothic-Black, Arial, sans-serif;
    text-shadow: #AB6E2C 0.125vw 0.1vh, #AB6E2C -0.1vw 0.1vh, #AB6E2C 0.1vw -0.1vh, #AB6E2C -0.1vw -0.1vh;
}

#title :first-child, #title :last-child
{
    font-size: 120%;
}
#title :nth-child(3)
{
    transform: translate(-5%) scaleX(0.85);
}
#title :nth-child(4)
{
    transform: translate(-10%) scaleX(0.85);
}
#title :nth-child(5), #title :nth-child(6)
{
    transform: translate(-12.5%) scaleX(1.1);
}
#title :nth-child(7)
{
    transform: translate(-20%);
}
#title :nth-child(8)
{
    transform: translate(-10%);
}

#slogan
{
    top: 55.5%;
    left: 50%;
    transform: translate(-192%) scaleX(0.9);
    font-family: Serif-Gothic-Black, Arial, serif;
    line-height: 0.85;
    letter-spacing: -0.3vw;
}

#slogan :nth-child(3)
{
    font-size: 120%;
    font-style: italic;
}

#credits
{
    bottom: 3.75%;
    left: 50%;
    width: 175%;
    transform: translate(-50%, 0) scaleX(0.6);
    text-align: center;
    font-family: Compacta-Light, monospace;
    color: #AFAFAF;
    white-space: pre;
    line-height: 0.9;
}

@media screen and (min-width: 901px)
{
    #master-container
    {
        flex-direction: row;
    }
}

@media screen and (min-width: 501px)
{
    .image-container
    {
        height: 99.5vh;
        font-size: 2vh;
    }

    img
    {
        display: block;
        height: inherit;
        margin-left: auto;
        margin-right: auto;
    }

    #title
    {
        font-size: 360%;
    }

    #slogan
    {
        transform: translate(-180%) scaleX(0.9);
        font-size: 240%;
    }

    #credits
    {
        font-size: 150%;
    }
}

@media screen and (max-width: 500px)
{
    img
    {
        width: 100%;
    }

    #title
    {
        font-size: 11vw;
    }

    #slogan
    {
        transform: translate(-175%) scaleX(0.9);
        font-size: 7.25vw;
    }

    #credits
    {
        bottom: 4.5%;
        font-size: 5vw;
        line-height: 0.8;
    }
}
