﻿
html
{
    margin: 0px;
}

body
{
    margin: 0px;
    font-size: 11.5pt;
    background: #eee;
    color: #222;
    font-family: Raleway, Helvetica, sans-serif;
}

a, a:hover, a:focus
{
	text-decoration: none;
    color: rgb(95, 112, 206);
    font-weight: bold;
}

/* HEADER
 ***********/
.header
{
    background:url('./resources/header.jpg'); 
    background-position: center; 
    height: 450px; 
    text-align: center; 
    padding: 10px; 
    font-size: 120%;
    background-size: cover;
}

.header a
{
    color: #fff;
}

.headerText
{
    display: inline-block;
    background-color: #000000b8; 
    border-radius: 8px; 
    border-style: none; 
    color: #fff; 
    padding: 10px; 
    margin-top: 200px;
}

/* MENU 
***********************************/
#menuIcon
{
    display: block;
}

.menu
{
    font-size: 16pt;
    background: #eee;
    padding: 0px 10px 0px 10px;
    z-index: 5;
    width: 100%;
}


.menu a
{
    color:rgb(95, 112, 206);
} 

img.icon
{
    /*background-color:rgb(95, 112, 206);*/
    color: #888;
    border-radius: 18px;
    background-color: #222;
    width: 36px;
    padding: 4px;
    margin: 2px;
}

#links 
{
    display: none;
}

#links ul
{
    padding: 0;
    margin: 0;
}
#links li
{
    display: block;
}
#links li#logo
{
    display: none;
}

.button
{
    background: #344b86;
    padding: 10px 20px;
    border-radius: 15px;
    border: 0px none; 
    font-size: 16pt;
    color: #fff;
    text-shadow: 0 0 0;
    text-decoration: none;
}

a.button, a.button:hover
{
    color: #fff;
    font-weight: normal; 
}

/* Content 
*********************************/
.content
{
    margin: auto;
    background: url('./resources/heroTransparent.png') no-repeat fixed left bottom;
}

/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_blog_layout */
.mainColumn
{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.sideColumn
{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
}

.columns:after
{
    content: "";
    display: table;
    clear: both;
}



/* List and previews
 ************************/
.list
{
    max-width: 1600px; 
    margin: auto;
}

.list .mainColumn
{
    padding-top: 20px;
}

section
{
  margin: 0 0 10px 0;
  background-color: #fff;
  border-radius: 10px;
  min-height: 300px; 
  text-align: justify; 
  font-size: 12pt; 
  padding: 0px;
}

section img
{
  width: 100%;
  padding-bottom: 5px;
}

.gameImage
{
  background-repeat: no-repeat;
  background-position: center;
  height: 30%;
  background-size: cover;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  display: flex;
  align-items: flex-end;
}
.gameDesc
{
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 15px;
}

section span
{
    background-color: #222;
    color: #fff;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

section h2
{
  font-size: 24px;
  color: rgb(46, 163, 209);
  text-align: left;
}

.items
{
    padding: 0px;
    margin-bottom: 190px;
}

b
{
  font-weight: bold; 
  color:#eee;
}

/* Single Page
 *****************************/
.single
{
    padding-bottom: 100px;
    max-width: 1200px;
    margin: auto;
}

.single .mainArticle
{
    background-color: #fffc;
    padding: 20px 10px 20px 10px;
    text-align: justify;
    color: #222;
}

.single .mainArticle img
{
    display: block;
    margin: auto;
    width: 100%;
    max-width: 100%;
}

.single .mainArticle h1, .single .mainArticle h2, .single .mainArticle h3
{
    font-weight: bold;
}

.single .mainArticle h2
{
    padding-top: 30px;
    padding-bottom: 20px;
    color:rgb(177, 55, 92);
}

.single .mainArticle h3
{
    padding-top: 20px;
    padding-bottom: 10px;
    color:rgb(206, 126, 95);
}

.single .mainArticle .writtenBy
{
    color: #888;
    font-style: italic;
}

.single .mainArticle .categories
{
    margin-bottom: 20px;
}

.single .mainArticle .category
{
    display: inline-block;
    margin-right: 5px;
    background-color: #444;
    color: #fff;
    padding: 3px 7px 3px 7px;
    border-radius: 3px;
}

.single .mainArticle p
{
    padding-top: 10px;
    padding-bottom: 10px;
}


/* Navigation
 *****************************/
.listNavigation
{
    font-size: 14pt;
    text-align: center;
}


/* Widgets
**************************/
.widget
{
    background-color: #fffd;
    border-radius: 20px;
    padding: 20px;
    margin: 0px 0px 20px 0px;
}

.widget h2
{
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
    font-weight: bold;
}

.widget img.friend
{
    width: 36px;
    border-radius: 18px;
}

/* Footer
 *************************/
.footer
{
    height: 250px;
    background-color: #aaa;
    background: repeat center url('./resources/deer.jpg'); 
    background-position-y: 75%; 
    text-align: center; 
    padding: 30px; 
    padding-top: 80px;
    color: #fff;
}


/* MEDIA REQUEST / DESKTOP CONFIG
 ***********************************/
@media screen and (max-width: 700px) 
{
    .content
    {
        background-image: none;
    }
}

@media screen and (min-width: 700px)
{
    /* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_blog_layout
     * 2 column blog template */
    .mainColumn
    {
        float: right;
        width: 66%;
    }

    .sideColumn
    {
        float: right;
        width: 33%;
    }

    .columns:after
    {
        content: "";
        display: table;
        clear: both;
    }

    .single .mainArticle
    {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* .single .mainArticle img
    {
        max-width: 90%;
    } */
}



/* Hide the links inside the navigation menu (except for logo/home) */
@media screen and (min-width: 900px) 
{
    .mainColumn
    {
        width: 75%;
    }

    .sideColumn
    {
        width: 25%;
    }

    .single .mainArticle
    {
        padding-left: 30px;
        padding-right: 30px;
    }

    /* .single .mainArticle img
    {
        max-width: 80%;
    } */

	#links 
	{
		display: inline;
    } 

    #links li, #links li#logo
    {
        display:inline-block;
        margin-right: 50px;
    }
    .items
    {
        display: grid;
        grid-template-columns: 49% 49%;
        grid-gap: 1% 2%;    
    }
    .gameImage
    {
        height: 70%;
    }

    .items section
    {
        width: 100%;
        /*display: inline-block;*/
    }
    .items .gameDesc
    {
        max-width: 1000px;
        margin: auto;
    }

    #menuIcon
    {
        display: none;
    }
}

@media screen and (min-width: 1200px) 
{
    .content
    {
        width: 100%;;
    }
    .items
    {
        display: grid;
        grid-template-columns: 32% 32% 32%;
        grid-gap: 1% 2%;
    }
}

