@font-face {
    font-family: "Montserrat";
    src: url(fonts/Montserrat.ttf) format("truetype");
}

li
{
    margin-left: 1em
}

@font-face {
    font-family: "Playfair";
    src: url(fonts/Playfair.ttf) format("truetype");
}

*
{
    margin: 0px;
    padding: 0px;
}

body
{
    width: 100%;
    height: 100%;
    text-align: center;
    display: inline-block;
    background: #111111;
    color: white;
}

h1
{
    #font-family: Playfair, serif;
    font-family: Montserrat, sans-serif;
    font-size: 5em;
}

h2
{
    #font-family: Playfair, serif;
    font-family: Montserrat, sans-serif;
    font-size: 2.2em;
}

p, td
{
    /*font-family: Courier, monospace;*/
    font-family: Montsterrat, sans-serif;
    line-height: 1.4;
    margin-bottom: 0.7em;
    font-size: 1.15em;
}

.back-arrow
{
    width: 2em;
    height: 2em;
    position: absolute;
    top: 5em;
    left: 5em;
}

.spacer
{
    margin-bottom: 1em;
}

.bigspacer
{
    margin-bottom: 2em;
}

.l
{
    text-align: left;
}

.c
{
    text-align: center;
}

.r
{
    text-align: right;
}

.m5
{
    margin: 5em;
}

.w50
{
    width: 50%;
}

.w100
{
    width: 100%;
}

.mw100
{
    max-width: 100%;
}

.mh100
{
    max-height: 100%;
}

.h100
{
    height: 100%;
}

header
{
    /*background: #1e1e1e;*/
    padding-top: 3em;
    padding-bottom: 2em;
}

header li
{
    display: inline-block;
}

header img
{
    vertical-align: middle;
    width: 30px;
    height: 30px;
    padding: 5px;
}

.section.first
{
    margin-top: 5em;
}

.section
{
    width: calc(100% - 5em - 5em);
    background: #1e1e1e;
    min-height: 30em;
    display: flex;
    margin-left: 5em;
    margin-right: 5em;
    margin-bottom: 5em;
    box-sizing: border-box;
}

.section > *
{
    flex: 1;
    overflow: hidden;
    box-sizing: border-box;
}

.section table
{
    margin: 1em;
    text-align: right;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.section table td
{
    padding: 0.2em;
}

.section img
{
    max-height: 100%;
    width: auto;
}

.code
{
    background-image: url("img/code.png");
    background-size: cover;
}

.headset
{
    background-image: url("img/vr_headset.jpg");
    background-size: cover;
}

@media (max-width: 960px), (orientation:portrait) {
    
	.section {
        display: inline-block;
    }
	
    .section .w50 {
        width: 100%;
    }

    header img
    {
        width: 90px;
        height: 90px;
        padding: 25px;
    }

    .back-arrow
    {
        top: 14em;
    }
}

footer
{
    text-align: middle;
    width: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
}


.thumbnail
{
    display: inline-block;
    width: 256px;
    height: 256px;
    margin-left: 1.3em;
    margin-right: 1.3em;
    margin-bottom: 2.6em;
    vertical-align: middle;
    box-sizing: border-box;
    position: relative;
}

.thumbnail img
{
    width: 100%;
    height: 100%;
}


.thumbnail p
{
    display:none;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    font-size: 2.2em;
    margin: 0;
    padding-top: calc(50% - 0.9em);
    box-sizing: border-box;
}

a
{
    color: white;
    text-decoration: underline;
}

.thumbnail:hover p
{
    display:block;
}

.thumbnail:hover
{
    border: 5px solid white;
}
