body {
    background: black;
    margin: 0;
}

video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

ul {
    list-style-type: none;
    padding: 0;
    position: absolute;
    top: 50%;
    margin-top: -337px;
    right: 50px;
    width: 300px;
}

li {
    float: left;
}

img {
    width: 300px;
}

/* MAC WINDOW */

@font-face {
    font-family: Chicago;
    src: url('https://dl.dropbox.com/s/ueoh9twyvz4bwkr/ChicagoFLF.ttf?dl=0');
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

#flex-grid-center {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: center;
}

#window {
    position: absolute;
    top: 50px;
    left: 50px;
    background: white;
    color: black;
    border: 1px solid black;
    width: 400px;
    border-radius: 1px;
    box-shadow: 1px 1px 0 black;
    font-family: Chicago;
    z-index: 2;
}

#window #windowheader {
    text-align: center;
    border-bottom: 1px solid black;
    width: 100%;
    position: relative;
    cursor: grab;
}

#window #windowheader #bars-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;
    justify-content: center;
    margin: 3px 1px 2px 1px;
    position: relative;
}

#window #windowheader #bars-container .bar {
    margin-bottom: 1px;
    border-bottom: 1px solid black;
    width: 100%;
}

#window #windowheader #close {
    width: 13px;
    height: 13px;
    position: absolute;
    top: -1px;
    left: 7px;
    background: white;
    padding: 1px;
    z-index: 2;
    cursor: pointer;
}

#window #windowheader #close #inner {
    width: 100%;
    height: 100%;
    border: 1px solid black;
}

#window #windowheader #title {
    display: inline;
    position: absolute;
    top: -3px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    box-sizing: none;
    padding: 0 6px;
    background: white;
    font-size: .8em;
    height: 100%;
    *white-space: nowrap;
    overflow: hidden;
}

#window p {
    padding: 0 10px;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1300px) {

    ul {
        list-style-type: none;
        padding: 0;
        position: absolute;
        top: 50%;
        margin-top: -287px;
        right: 50px;
        width: 250px;
    }

    img {
        width: 250px;
    }
}

@media screen and (max-width: 1000px) {

    #window {
        display: none;
    }

    ul {
        top: auto;
        margin-top: 0;
        left: 0;
        right: auto;
        width: 100%;
    }

    li {
        float: none;
    }

    img {
        position: relative;
        width: 80%;
        left: 10%;
    }
}