html {
    height: 100%;
}

body { 
	background: url(img/bg.jpeg);
    background-attachment: fixed;
    background-position: top; 
    height: 100%;
    font-family: 'News Cycle', sans-serif;
	margin: 0px auto;
    color: #222;
}

.nowloading {
	background: #FFFFFF;
    background-color: rgba(255,255,255,0.7);
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

noscript {
	background: #FFFFFF;
    background-color: rgba(255,255,255,0.7);
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.body2 {
    margin: 0px auto;
	background: #FFFFFF;
    background-color: rgba(255,255,255,0.7);
	min-height: calc(100% - 50px);
    overflow: overlay;
	max-width: 1082px;
	position: relative;
    top: 25px;
	box-shadow: 0px 0px 100px #000000;
    display: none;
}

a.nav {
	background-color: #EEEEEE;
}
a:link{
	text-decoration: none;
    font-weight: 700;
	color: #000;
}
a:visited{
	text-decoration: none;
    font-weight: 700;
	color: #000;
}

a:hover {
    color: #444;
    text-shadow: 0px 0px 2px #FFF;
}

.heading {
	background: url(img/banner2.png) no-repeat;
	height: 180px;
    margin: 0 10px;
    text-align: center;
    display: none;
    background-position: center;
    background-size: contain;
}

@media screen and (max-width: 560px) {
    .heading {
        height: 130px;
    }
}

@media screen and (max-width: 400px) {
    .heading {
        height: 90px;
    }
}

img.center {
	display: block;
	margin: 0px auto;
}

.textcenter {
	text-align: center;
}

.italic {
    font-style: italic;
}

.section {
    width: 100%;
    text-align: center;
}

#navbar {
    font-size: 24px;
    margin: 0px auto;
    text-align: center;
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 3; 
}

@media screen and (max-width: 400px) {
    #navbar {
        font-size: 20px;
    }

    .section > .title {
        font-size: 30px;
    }
}

#navbartable {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(auto, auto);
    grid-gap: 2px;
}

@media screen and (max-width: 560px) {
    #navbartable {
        grid-template-columns: repeat(3, 1fr);
    }
}

.td-nav {
    cursor: pointer;
    display: none;
}

.nav  {
    opacity: .5;
    background-color: #000000;
    color: #FFFFFF;
}

.nav:hover {
    opacity: .8;
}

#home, #music, #web, #game, #video, #about {
    display: none;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}


.inline-block, .overlay-image {
    display: inline-block;
    cursor: pointer;
    width: 350px;
    height: 350px;
    margin: 30px;
    box-shadow: 0px 0px 5px #000000;
    z-index: 1;
    background-size: 100%;
    background-repeat: no-repeat;
}

.overlay-image {
    position: absolute;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -webkit-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
}

.overlay-image:hover {
    opacity: 0;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .inline-block, .overlay-image {
      width: 300px;
      height: 300px;
      margin: 20px;
    }
}

@media screen and (max-width: 680px) {
    .inline-block, .overlay-image {
      width: 250px;
      height: 250px;
      margin: 15px;
    }
}

@media screen and (max-width: 560px) {
    .home-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .inline-block, .overlay-image {
      width: 350px;
      height: 350px;
    }
}

@media screen and (max-width: 400px) {
    .inline-block, .overlay-image {
      width: 300px;
      height: 300px;
      margin: 10px 15px;
    }
}

@media screen and (max-width: 340px) {
    .inline-block, .overlay-image {
      width: 250px;
      height: 250px;
    }
}

#overlaygame {
    clear: both;
    /*left: 88px;
    bottom: 6px;*/
}
#overlayweb {
    clear: right;
}
.title {
    font-size: 36px;
    margin: 10px 0;
}

.content {
    margin: 0px 5%;
    font-size: 18px;
}

.content2 {
    margin: 0px 5%;
    font-size: 18px;
    display: grid;
}

.content3 {
    margin: 0px 5%;
    font-size: 18px;
}

#my-face {
    width: 200px;
    height: 200px;
    background: url(img/it_me.jpg);
    margin-right: 15px;
    grid-column-start: 1;
}

#about-content {
    text-align: left;
    grid-column-start: 2;
}

#about-content p.single-image {
    text-align: center;
}

@media screen and (max-width: 560px) {
    #my-face {
        margin: 0 auto 15px;
    }

    #about-content {
        grid-column-start: 1;
    }
}

#video .title {
    margin-bottom: 15px;
}

.video-container {
    display: grid;
    margin-bottom: 20px;
}

.videoframe {
    grid-column-start: 1;
}

.videodescription {
    margin-left: 20px;
    grid-column-start: 2;
    text-align: left;
}

@media screen and (max-width: 960px) {
    .videodescription {
        grid-column-start: 1;
        margin-left: 0;
    }

    .videoframe iframe {
        width: 100%;
        max-width: 560px;
    }

    .videodescription .big {
        display: block;
    }
}

.big {
    font-size: 23px;
    text-align: center;
    font-weight: 700;
}

#game-navbar {
    margin: 0px auto;
    text-align: center;
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 3;
    margin-bottom: 15px;
}

#game-navbartable {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(auto, auto);
    grid-gap: 2px;
}

@media screen and (max-width: 800px) {
    #game-navbartable {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 560px) {
    #game-navbartable {
        grid-template-columns: repeat(1, 1fr);
    }
}

.td-game-nav {
    cursor: pointer;
    height: 50px;
    line-height: 50px;
}

.game-nav  {
    opacity: .8;
    background-color: #222;
    color: #FFFFFF;
}

.game-nav:hover {
    opacity: 1;
}

.gamescreen {
    margin-bottom: 20px;
}

.gamedescription {
    margin-left:20px;
    text-align: left;
}

.gamebody .big {
    margin-bottom: 15px;
}

.gamebody img {
    max-width: 100%;
}

#pf, #ska, #utdg, #op {
    display: none;
}

.div-release {
    display: grid;
    margin-bottom: 20px;
}

.musicbox {
    height: 200px;
    width: 200px;
    grid-column-start: 1;
    margin: 0 auto;
}

.div-release > .musictitle {
    display: none;
    font-size: 20px;
    margin-bottom: 10px;
}

.musicdescription {
    text-align: left;
    font-size: 16px;
    margin-left: 20px;
    grid-column-start: 2;
}

.musictitle {
    font-weight: 700;
    font-size: 23px;
}

@media screen and (max-width: 560px) {
    .div-release .musictitle {
        display: block;
    }

    .musicdescription {
        grid-column-start: 1;
        margin-left: 0;
        margin-top: 10px;
    }

    .musicdescription .musictitle {
        display: none;
    }
}

.musicbox-iframe {
    border: 0;
    width: 200px;
    height: 200px;
}

.musicgenre {
    font-style: italic;
}

.web-screenshot {
    max-width: 100%;
}