﻿.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

.col-13 {
    width: 12.5%;
}

[class*="col-"] {
    float: left;
    padding: 15px;
    /*border: 1px solid red;*/
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.content {
    padding-top: 130px;
}

a {
    text-decoration: none;
}

.hormenu li {
    display:inline;
    padding-right: 20px;
}

@font-face {
    font-family: 'RobotoThin'; /*a name to be used later*/
    src: url('../fonts/Roboto-Thin.ttf'); /*URL to font*/
}

.gameSeparator {
    color: lightgray;
    opacity: 1.0;
    margin: 0;
    padding: 0;
    height: 5px;
    margin-top: 0px;
    width: 100%;
}

.hor {
    float: left;
}

#body {
    background-color: #161616;
    color: #EAEAEA;
}

.preview {
    height: auto;
    max-width: 740px;
    margin: 20px;
    border-radius: 5px;
}

.gameDescription {
    font-size: 1.2em;
    padding: 20px;
}

.mepic {
    max-width: 740px;
}

.gamepreview {
    background-color: #cccccc; /* Used if the image is unavailable */
    height: 400px; /* You must set a specified height */
	position: relative;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

.gamepreviewdescription {
    opacity: 0;
    display: block;
    text-align: center;
    justify-content: center;
    padding-top: 125px;
    padding-bottom: 110px;
    font-family: RobotoThin;
    transition-duration: 0.4s;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1.0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 1.0));
    text-shadow: 2px 2px 4px #000000;
}

.gamepreviewdescriptiontitle {
    font-size: 80px;
}

.gamepreviewdescriptionsubtitle {
    font-size: 30px;
}

.gamepreview:hover .gamepreviewdescription {
    opacity: 1.0;
    transition-duration: 0.4s;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1.0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 1.0));
}

.nodecorationlink {
    text-decoration: none;
}

@media only screen and (max-width: 699px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }

    .gamepreview {
        height: 150px; /* You must set a specified height */
		position: relative;
    }

    .gamepreviewdescription {
        opacity: 1.0;
		display: block;
		text-align: center;
		justify-content: center;
		padding-top: 50px;
		padding-bottom: 20px;
        font-family: RobotoThin;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.0));
		text-shadow: 2px 2px 4px #000000;
    }

    .gamepreviewdescriptiontitle {
        font-size: 30px;
    }

    .gamepreviewdescriptionsubtitle {
        display: none; 
    }

    .gamepreview:hover .gamepreviewdescription {
        opacity: 1.0;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    }

    .preview {
        max-width: 100%;
        margin: 0px;
        margin-bottom: 20px;
    }

}
