@import url('https://fonts.googleapis.com/css2?family=Roboto&amp;display=swap');

@font-face 
{
  font-family: 'icomoon';
  src:  url('../webfonts/icomoon34ef.eot?u4bs5o');
  src:  url('../webfonts/icomoon34ef.eot?u4bs5o#iefix') format('embedded-opentype'),
        url('../webfonts/icomoon34ef.ttf?u4bs5o') format('truetype'),
        url('../webfonts/icomoon34ef.woff?u4bs5o') format('woff'),
        url('../webfonts/icomoon34ef.svg?u4bs5o#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;  
}

.cf:before,
.cf:after 
{
	content: ' ';
	display: table;
}

.cf:after 
{
	clear: both;
}

html 
{
	overflow-y: scroll; 
}

body,
html 
{
	font-size: 100%;
	margin: 0;
	padding: 0;
}

body
{
  display: grid;
	grid-template-columns: 1;
  grid-template-rows: auto;
  
  justify-content: center;
  align-items: center;

	color: #000;
	background: #ffffff;

	font-family: Roboto, Arial;
	font-size: 1em;
	font-weight: 600;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* logo header and tagline */
.header 
{	  
	width: 90%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.header .logo
{  
	width: "100%";
	max-width: 40em;
	margin-top: 1%;
}

.header .tagline
{  
	margin-top: 0.9em;
	margin-bottom: 1.4em;
	padding: 0;
	text-align: center;
	line-height: 1.4em;
	width: 100%;
}

/* nav bar */
nav 
{
	width: 90%;
	margin-left: 5%;
  padding-top: 2%;
	text-align: center;
	cursor: pointer;
}

nav a 
{
	text-decoration: none;
}

/* icon kit */
.icon
{
	font-family: 'icomoon';	
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	text-align: center;
	text-transform: none;	
	-webkit-font-smoothing: antialiased;
	cursor: pointer;
}

.icon-nav
{
	font-size: 2em;
	padding: 0.30em;
  color:#FE0000;
}

.icon-instagram:after 
{
  content: "\ea92";
}

.icon-facebook:after 
{	
  content: "\ea91";
}

.icon-twitter:after 
{
  content: "\ea96";
}

.icon-youtube::after
{
  content: "\ea9d";
}

.icon-email:after
{
	content: "\ea0c";
}

/* The Rest */
.game_container
{
  display: flex;
  flex-wrap: wrap;
}

.game
{
  position: relative;
  margin: 0 auto;
  margin-bottom: 5%;
}

.game-image
{
  width: 90%;
  max-width: 500px;
  margin-left: 5%;  
  border-radius: 8px;
  transition: 0.5s;
}

.game-text
{
  position: absolute;
  width: 80%;
  height: 84%;
  top: 0;
  left: 5%;
  padding: 5%;
  background: rgb(25, 25, 25);
  opacity: 0.0;
  color:#fff;
  font-size: 1em;
  border-radius: 8px; 
  transition: 0.5s;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.game-text h3
{
  color: #ffffff;
  font-size: 1.3em;
  font-weight: bold;
}

.game-text p
{
  color: #ffffff;
  font-size: 1em;
  font-weight: normal;
}

.game-text:hover,
.game-text:focus,
.game-text:active 
{
  opacity: 0.85;  
}


@media screen and (max-width: 50em) 
{
  /* adding a background color is a great way to debug which size is which */ 
  /* body
  {
    background-color:rgb(238, 136, 11);
  } */
   
  .game-text h3
  {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
  }
  
  .game-text p
  {
    color: #ffffff;
    font-size: 1em;
    font-weight: normal;
  }
}

@media screen and (max-width: 40em) 
{
  /* body
  {
    background-color:rgb(1, 185, 53);
  } */

  .game-text h3
  {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
  }
  
  .game-text p
  {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: normal;
  }
}

@media screen and (max-width: 25em)
{
  /* body
  {
    background-color: aqua;
  } */

  .game-text h3
  {
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
  }
  
  .game-text p
  {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: normal;
  }
}

@media screen and (max-width: 20em)
{
  /* body
  {
    background-color: rgb(190, 8, 193);
  } */

  .game-text h3
  {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
  }
  
  .game-text p
  {
    color: #ffffff;
    font-size: 0.7em;
    font-weight: normal;
  }
}