html,
body {
  height: 100%;
}
body {
  background-color: #94e8f0;
  margin: 0;
  color: #4e5961;
  font-family: "Montserrat", cursive;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: none;
  min-width: 315px;
  font-size: 22px;
}
header,
footer,
article,
section,
nav,
figure,
aside {
  display: block;
}
* {
  box-sizing: border-box;
}

@font-face {
  font-family: "MyFont";
  src: url("fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyFont";
  src: url("fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* Apply font to elements */
body {
  font-family: "MyFont", sans-serif;
}

#header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  left: 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-width: 0 0 1px;
  text-align: right;
  height: 50px;
}

.navref {
  line-height: 50px;
}

.navref,
.navref:visited {
  text-decoration: none;
  color: #4e5961;
}
.navref:hover {
  text-decoration: none;
  color: #aaaaaa;
}

.logoref {
  float: left;
  text-decoration: none;
}

#header_inside {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

#footer {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 50;
  left: 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-width: 1px 0 0 0;
  height: 40px;
  opacity: 0.9;
}

#footer a {
  width: 100%;
  height: 30px;
  text-decoration: none;
}

h1 {
  padding: 5px 0 0 0;
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
}
h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: normal;
  text-align: center;
}
h3 {
  margin-top: 8px;
  font-size: 1.25rem;
  text-align: center;
}

.hover_img a {
  position: relative;
}
.hover_img a span {
  position: absolute;
  display: none;
  z-index: 99;
}
.hover_img a:hover span {
  display: block;
}

#wrapper {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: table;
  margin: 70px auto 0;
}

.bigcloud {
  background-color: #ffffff;
  border-radius: 10px;
  margin: 0 auto 50px;
}

.bigcloud ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  width: 100%;
  gap: 12px;
  padding: 12px;
}

.bigcloud ul,
.bigcloud ul li {
  margin: 0;
  border: 0;
}

.bigcloud ul li {
  width: 100%;
  display: inline-block;
  position: relative;
  vertical-align: top;
}

.bigcloud ul li p {
  margin: 0 0 10px 0;
  vertical-align: top;
  font-size: 1rem;
}

.bigcloud ul li a {
  width: 100%;
  position: relative;
  display: inline-block;
}

.bigcloud ul li a:hover:before {
  content: "";
  display: block;
  background: url("images/play.png"); /* your background */
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 10px;
  background-size: contain;
  background-position: center;
}

.gameimg {
  border-radius: 10px;
  width: 100%;
  height: 200px;
  display: block;
  height: auto;
}

.newimg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 20%;
  height: 20%;
}

@media (max-height: 700px) {
  #header {
    position: absolute;
  }
}
