@font-face {
    font-family: 'Akbar';
    src: url(../assets/akbar.ttf) format("truetype");
}

body {
  min-height: 100vh;
  font-family: 'Akbar', sans-serif;
  text-align: center;
  color: #ededed;
  background-image: url(../assets/backgrounds/media.jpg) ;
  background-position: center center;
  background-repeat:  no-repeat;
  background-attachment: fixed;
  background-size:  cover;
  background-color: #999;
}

section, footer {
  display: block;
  margin-top: 100px;  
}

section:first-of-type {
  margin-top:50px;
}

footer {
  padding-top: 50px;
  padding-bottom: 50px; 
}

h1, h2, h3 {
  margin-bottom: 30px;
}

h1 {
  font-size: 3em;
}

p{
  font-size: 1.5em;
  line-height: 2em;
  text-shadow: -2px 2px #2b2b2b;
}

a, a:visited {
  color: white;
  outline: none;
  border: none;
  text-decoration: none;
  text-shadow: -2px 2px #2b2b2b;
  -webkit-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
  -webkit-transform: opacity;
  transform: opacity;
}

a:hover {
  opacity: 1;
  color:white;
  text-shadow: -2px 2px black;
}

p a, ul a {
  opacity: 0.8;
  border-bottom: dashed 2px;
}

footer a {
  opacity: 0.8;
}

ul {
  list-style: none;
  font-size: 2em;
}

ul li {
  display: inline-block;
  width:30%;
}

.content {
  margin: 0 auto;
  padding:25px;
  max-width: 1024px;
  background-color: rgba(0,0,0,0.5);
}

.hidden {
  position: absolute;
  clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
  clip: rect(1px, 1px, 1px, 1px);
}
.trailer {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.trailer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#widget {
  position:fixed;
  top:0; right:0; bottom:0; left:0;
  width: 100vw;
  height: 100vh;
  margin: 0; padding: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 10;
}

#widget iframe {
  width: 550px; height: 260px;
  margin-top:30vh;
  padding: 0px; border: 0px;
  background-color: #f2f2f2;
  -moz-border-radius: 10px;
  webkit-border-radius: 10px;
  border-radius: 10px; /* future proofing */
  khtml-border-radius: 10px; /* for old Konqueror browsers */
}

.storeLinks a {
  display: inline-block;
  opacity: 0.7;
}

.storeLinks a:hover {
  opacity: 1;
}

.gamelogo {
  margin-top:50px;
  margin-bottom:50px;
}

.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
}

.gallery a,
.trailer {
    overflow: hidden;
    border:2px dashed rgba(255,255,255,0.8);
}

.gallery a:hover,
.trailer:hover {
  border-color: rgba(255,255,255,1); 
}

.gallery img {
  max-width: 100%;
  height: auto;
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  -webkit-transform: scale3d(1.01, 1.01, 1);
  transform: scale3d(1.01, 1.01, 1);
}

.gallery a:hover img {
  transform: scale3d(1.1,1.1,1);  
}

footer svg {
  margin: 30px 0px 30px 0px;
}

#ratings {
  max-width: 800px;
  margin:0 auto;
  margin-top:100px;
}

#ratings img {
  vertical-align: top;
  max-width: 15%;
  max-height: 100px;
}
/*DESKTOP*/
@media only screen and (min-width: 768px) {
  .storeLinks a  {
    width: 32%;
  }

  .gamelogo {
    max-width: 50%;
  }

  .gallery a {
    float: left;
    width: 48%;
    margin: 0.5%
  }
  .gallery::after {
      content: "";
      clear: both;
      display: table;
  }
}

/*MOBILE*/
@media only screen and (max-width: 767px) {
  nav {
    display: none;
  }
  .storeLinks a {
    width: 90%;
  }

  .gamelogo {
    max-width: 90%;
  }

  .gallery a {
    max-width: 100%;
    margin:0 auto;
    margin-top: 15px;
  }

  #humbleWidget {
    min-height: 50px;
  }
}

