@font-face
{
    font-family: minecraft;
    src: url('minecraft.otf') format('opentype');
}

*
{
    font-family: minecraft, monospace;
	text-shadow: 3px 3px 1px rgba(0, 0, 0, 0.5);
}

@keyframes bg-scroll
{
    0%
    {
        background-position-x: 0px;
    }
    100%
    {
        background-position-x: 64px;
    }
}

html, body
{
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 100%;
}

body
{
    background-image: url('dirt64dark.png');
    color: white;
    animation: bg-scroll 0.5s linear infinite;
}

#container
{
    display: flex;
    flex-flow: column;
    min-height: 100%;
    width: 80%;
    margin: auto;
    box-shadow: 0px 0px 20px black;
    background-image: url('dirt64.png');
    padding-left: 26px;
    padding-right: 26px;
    font-size: 22px;
    padding-bottom: 20px;
}

#heading
{
    text-align: center;
    font-size: 48px;
    margin-bottom: 0px;
}

.subheading
{
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

a, a:visited
{
    text-decoration: underline;
    color: lightblue;
}

a:hover
{
    text-decoration: underline;
    color: pink;
}

#downloads
{
    border: 4px solid white;
    background-image: url('dirt64dark.png');
    padding: 10px;
    overflow-y: scroll;
    margin-bottom: 16px;
    max-height: 360px;
    background-attachment: local;
}

.downloads-separator
{
    border: 1px solid white;
}

.screenshot
{
    box-shadow: 0px 0px 25px black;
    min-width: 256px;
    max-width: 256px;
    min-height: 192px;
    max-height: 192px;
}

#screenshots
{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

#footer
{
    margin-top: 70px;
    font-size: small;
    text-align: center;
}

@media only screen and (max-width: 480px)
{
    .subheading
    {
        text-align: center;
        margin: 0px;
    }
    
    #screenshots
    {
        display: flex;
        flex-direction: column;
    }
    
    .screenshot
    {
        margin: 0 auto;
        margin-bottom: 15px;
    }
}
