@font-face 
{
    font-family: WorkSans;
    src: url(./WorkSans.ttf);
}

@font-face 
{
    font-family: PaytoneOne;
    src: url(./PaytoneOne.ttf);
}

html
{
    height: 100%;
}

body
{
    margin: 0;
    overflow-x: hidden;
    background-color: #375762;
    font-family: WorkSans;
    color: #1C2123;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body a
{
    color: #1C2123;
}

#header
{
    position: absolute;
    top: 0px;
    width: 100%;
    height: max(10vh, 65px);
    z-index: 1;
    text-align: center;
    background-color: #DCE3E6;
    font-size: max(2vh, 13px);
}

#header span
{
    display: block;
    margin-top: max(1.3vh, 10px);
}

#header h1
{
    margin: 0;
    font-family: PaytoneOne;
    margin-top: min(-0.4vh, -6px);
}

#content
{
    position: absolute;
    left: 20%;
    top: 1vh;
    width: 60%;
    min-height: 100%;
    z-index: 0;
    padding-bottom: 7vh;
    box-sizing: border-box;
    background-color: white;
}

#mainImage
{
    width: 100%;
}

#content p, #content ul
{
    padding: 0.7vmin 5vmin;    
}

#content ul
{
    list-style-position: outside;
    margin-left: 1vw;
}

#content ul li:first-child,
#content ul li:nth-child(2)
{
    margin-right: 35vw;    
}

#content ul li
{
    margin-bottom: 2vh;
}

br
{
    height: 300px;
}

@media (max-aspect-ratio: 1/1.1) 
{
    body.mobileBrowser
    {
        font-size: 3.5vmin;
    }

    #header
    {
        font-size: 3.2vw;
        height: 15.2vw;
    }

    #header span
    {
        margin-top: min(8vw, 6px);
    }    

    #header h1
    {
        margin-top: min(-0.4vh, -4px);        
    }

    #content
    {
        left: 5%;
        width: 90%;
        top: 8vw;
    }    

    #content ul
    {
        margin-left: 3vw;
    }
}

#debug
{
    position: absolute;
    left: 0px;
    bottom: 0px;
    background-color: #666;
    z-index: 100;
    padding: 10px;
}

#debug button
{
    margin-bottom: 10px;
}

#debug button.selected
{
    background-color: #888;
}