/* * Welcome on WebCraft CSS */

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: black;
  overflow: hidden;
}

.wrapper {
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

#screen-size {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  font-size: 20px;
  color: white;
  z-index: 10;
  background: darkblue;
  opacity: .1;
  font-family: monospace;
}

header {
  width: 100%;
  position: absolute;
  top: 0;
  font-size: 46px;
  color: darkcyan;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: monospace;
	z-index: 10;
	/* margin: auto; */
}

.catalog {
  position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	overflow: auto;
	box-sizing: border-box;
  padding: 80px 29px;
	background: black;
	scrollbar-width: none; /* Firefox */
}

.catalog ::-webkit-scrollbar {
	width: 0px;
	background: transparent; /* make scrollbar transparent */
}

footer {
  width: 100%;
  height: 60px;
  position: absolute;
  bottom: 0;
	/* margin: auto; */
  color: darkcyan;
  font-family: monospace;
  display: flex;
  justify-content: center;
  align-items: center;
	z-index: 1000;
	background: black;
}

.app {
	margin: auto;
  width: 300px;
  /* width: 30%; */
  min-width: 240px;
  height: 220px;
	margin: 20px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  flex-direction: column;
  background: darkslategrey;
  box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0),
    0px 0px 10px 0px rgba(255, 255, 255, 0.5) inset;
    background-size: cover;
  transition: .05s;
	z-index: 100;
}

.app:hover {
  box-shadow: 0px 0px 12px 2px rgba(255, 255, 255, .8),
    0px 0px 6px 0px rgba(255, 255, 255, 0) inset;
}
.app.hidden {
  /* opacity: 0; */
  display: none;
}

.app > a {
	color: #111;
  font-family: monospace;
	font-size: 26px;
	background: rgba(240, 248, 255, .7);
	padding: 10px 26px 10px 12px;
  transition: .1s;
}

.app > a:hover {
  color: blue;
	background: rgba(247, 210, 142, .9);
}

#game34 {
  background-image: url('/34/cover.jpg');
}

#randomyoutube {
  background-image: url('/images/randomyoutube.jpg');
}

#colorfulant {
  background-image: url('/images/colorfulant.jpg');
}

#colorfulrain {
  background-image: url('/images/colorfulrain.jpg');
}

#gruz2022 {
  background-image: url('/gruz2022/gruz2022.png');
}

#load {
  background-image: url('/load/cover.jpg');
}

#game49 {
  background-image: url('/49/cover.png');
}

#wildhoney {
  background-image: url('/wildhoney/cover.jpg');
}

#flatsphere {
  background-image: url('/flatsphere/cover.jpg');
}

footer a, footer > span {
	color: aqua;
	padding: 16px 10px;
	transition: .2s;
	text-decoration: none;
}

footer > a:hover {
  color: blue;
	background: rgba(247, 210, 142, .9);
	text-decoration: underline;
}

@media screen and (max-width: 960px) {
  header {
    font-size: 66px;
  }

  #screen-size {
    font-size: 26px;
  }
  
  .catalog {
    padding: 160px 20px;
  
  }
}

/* End */