﻿@import url(https://fonts.googleapis.com/css?family=Abel);
@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans&subset=latin,latin-ext);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);


body {
    background-color: #414141;
    color: #fff;
    font-family: 'Inconsolata', monospace;
    font-size: 93%;
    font-weight: normal;
    margin: 0;
}

#game {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    /* width: 100%;
    height: 100%; */
}

#jsspeccyMM6,
#jsspeccyVendelin,
#jsspeccySibenice,
#jsspeccyCosmo,
#jsspeccyWurm
{
    width: 100%;
    margin: auto;
}

.jsspeccy-block-mm6,
.jsspeccy-block-vendelin,
.jsspeccy-block-sibenice,
.jsspeccy-block-cosmo,
.jsspeccy-block-wurm {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    filter: sepia(100%) hue-rotate(100deg) saturate(30%);
}
.jsspeccy-block-mm6 {
    background-image: url("./images/mm6zijescr.png");
}
.jsspeccy-block-vendelin {
    background-image: url("./images/vendelinscr.png");
}
.jsspeccy-block-sibenice {
    background-image: url("./images/sibenicescr.png");
}
.jsspeccy-block-cosmo {
    background-image: url("./images/cosmoscr.png");
}
.jsspeccy-block-wurm {
    background-image: url("./images/wurmscr.png");
}

a:link,
a:visited,
a:active {
    color: rgb(204, 204, 204);
    text-decoration: none;
}

a:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.right {
    text-align: right;
}

.hide {
    display: none;
}

img:hover,
.projgallery img:hover,
.projgallery div:hover,
.gamegallery img:hover {
    filter: grayscale(0%);
}

img {
    filter: sepia(100%) hue-rotate(100deg) saturate(30%);
}

.titlefoto{
    float: left;
    max-height: 110px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.projgallery {
    min-width: 200px;
    max-width: 32.5%;
    /*min-height: 200px;*/
    font-family: 'Inconsolata', monospace;
    
    background-color: #414141;
    border-radius: 5px;
    border: 1px rgb(10, 10, 10);
    margin: 5px;
    float: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.projgallerydesc {
    height: 80px;
    max-height: 100px;
    display: flex;
    justify-content: center;
    align-items: left;
    text-align: left;
    padding: 10px;
    font-size: large;
}

.projgallery img {
    min-width: 200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    object-fit: fill;
    filter: sepia(100%) hue-rotate(100deg) saturate(30%);
}

.gamegallery img {
    min-width: 200px;
    max-width: 100%;
    filter: sepia(100%) hue-rotate(100deg) saturate(30%);
    border-radius: 10px;
    padding: 1px;
}

.gamegallery {

    height: 100%;
    border-radius: 10px;
    border: 1px solid rgb(255, 187, 1);

}

.videogallery {
    min-width: 250px;
    width: 32.5%;
    max-height: 30%;
    min-height: 300px;
    height: auto;
    background-color: #414141;
    border-radius: 5px;
    border: 1px rgb(10, 10, 10);
    margin: 5px;
    float: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.videogallery iframe {
    width: 100%;
    height: 450px;
}

nav {
    display: table;
    table-layout: fixed;
    width: 75%;
    margin: 0 auto;
}

h1 {
    color: rgb(255, 187, 1);
}

h2 {
    font-family: 'Inconsolata', monospace;
    color:rgb(0, 255, 239);
}

#menu {
    width: 100%;
    min-height: 35px;
    background-color: #000;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
}

#menu a {
    background-color: inherit;
    color: rgb(187, 187, 187);
}

ul#topnav {
    display: table-row;
    padding: 0;
    overflow: hidden;
    position: relative;
    bottom: 0;
}

ul#topnav li {
    list-style-type: none;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

ul#topnav li a {
    display: block;
    padding: 8px;
    text-decoration: none;
}


ul#topnav li a:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

ul#topnav li>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


ul#topnav li>ul>li {
    font-size: 120%;
    float: left;
    display: inline;
    padding-right: 5px;
}

#container {
    width: 100%;
    margin-top: 48px;
}

#pageheader {
    display: table;
    width: 80%;
    margin: auto;
}

.sectionblok {
    width: 100%;
    border-top: 1px solid antiquewhite;
    border-bottom: 1px solid antiquewhite;
    padding: 50px 0;
    margin: auto;
}

.section {
    width: 80%;
    padding: 20px 0;
    margin: auto;
}

.pageitem {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 15px;
    padding-top: 15px;
}

.pageitem h1 {
    font-size: 250%;
    font-weight: normal;
    color: rgb(255, 187, 1);
    margin: 0;
    text-align: left;
}

.pageitem h2 {
    font-size: 180%;
    background-color: inherit;
    color:rgb(0, 255, 239);
    margin-top: 0;
}

.pageitem p {
    padding: 0;
    margin: 1em 0;
    font-size: 115%;
    line-height: 175%;
}

.pageitem a {
    text-decoration: none;
}

.pageitem .col {
    padding: 0 2% 0 1%;
}

.col {
    display: table-cell;
}

#footer {
    background-color: #000;
    display: table;
    width: 100%;
    margin-bottom: 15px;
    padding: 30px;
    text-align: left;
    font-size: 100%;
    color: rgb(0, 255, 239);
}

#footer p {
    text-align: left;
    padding: 30px;
}

#credits {
    display: table;
    table-layout: fixed;
    width: 100%;
    font-size: 12px;
    color: #777;
    line-height: 100%;
    text-align: center;
}

#show-menu {
    display: none;
}

.open,
.close {
    background-color: inherit;
    color: #fff;
    text-align: right;
    font-weight: normal;
    font-size: 1.5em;
    padding: 0;
    position: absolute;
    top: 10%;
    right: 5%;
    display: none;
}


/* start make items responsive */
@media screen and (max-width : 1024px) {

    /* menu */
    ul#topnav {
        display: none;
    }

    .hide,
    .open {
        display: block;
    }


    #show-menu:checked~.open {
        display: none;
    }

    #show-menu:checked~.close {
        font-size: 1.6em;
        display: block;
    }

    #show-menu:checked~ul#topnav {
        display: block;
        position: absolute;
        top: 100%;
        right: 0%;
        width: 100%;
        margin: 0;
        margin-bottom: 1%;
        overflow: visible;
    }

    ul#topnav li {
        display: block;
        text-align: center;
        margin: 0;
        background-color: #000;
        padding: 1% 0;
    }

    ul#topnav li a {
        display: block;
        padding-right: 0%;
        padding-bottom: 5px;
        text-decoration: none;
    }

    ul#topnav li a:hover {
        text-decoration: none;
    }


    ul#topnav li>ul {
        display: table;
        float: none;
        table-layout: fixed;
        margin: 0 auto;
    }

    ul#topnav li>ul>li {
        padding-left: 10px;
    }

    /* other items */
    .pageitem h2 {
        font-size: 120%;
    }

    .pageitem p {
        padding: 0;
        line-height: 150%;
        font-size: 99%;
    }

    .pageitem .col {
        padding: 0 3% 0 2%;
    }


    div#slider {
        display: none;
    }

    .titlefoto{
        max-height: 170px;
    }
    .projgallery {
        width: 100%;
        min-width: 100%;
    }

    .projgallery img {
        width: 100%;
    }

    .videogallery {
        float: left;
        width: 100%;
        min-width: 100%;
    }

    .gamegallery img {

        min-width: 98%;
        max-width: 98%;
    }


}

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

    .col {
        float: left;
        margin: auto;
        width: 100%;
        margin-bottom: 10%;
    }

    #credits p {
        text-align: center;
        margin-bottom: -10%;
    }
}

/* end make items responsive */