
#websiteContainer {
	width: 980px;
	height: 95vh;
	max-height: 900px;
	min-height: 520px;

	display: grid;
	grid-template-areas:
		"header"
		"mainContent";

	grid-template-columns: auto;
	grid-template-rows: 220px auto;

	gap: 12px;

	position: absolute;
	inset: 0;
	margin: auto;
}


#mainContent {
  	min-height: 360px;
	display: flex;
	flex-direction: column;
	gap: 100px
}

.container {
	display: flex;
  	justify-content: center;
  	align-items: center;
	min-height: 150px;
}

@media (max-width: 768px) {
	#websiteContainer {
		width: 100%;
		margin: 0 auto;
		padding: 10px;
		grid-template-areas:
			"header"
			"mainContent";
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		gap: 10px;
	}
}

.img-square, .img-vertical, .img-horizontal {
	position: absolute;
}

.img-border {
	/* From https://css.glass */
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(10px);
}

.img-border-blue {
	border: 10px solid rgba(45, 186, 233, 0.651);
}

.img-border-green {
	border: 10px solid rgba(42, 155, 98, 0.651);
}

.img-square { width:120px; height:120px; }

.img-vertical { width:100px; height:140px; }

.img-horizontal { width:140px; height:100px; }

.corner-top-left { top: -30%; left:-32px; transform: rotate(-25deg); }
.corner-top-right { top:-30%; right:-32px; transform: rotate(25deg); }
.corner-bottom-left { bottom:-30%; left:-32px; transform: rotate(-25deg); }
.corner-bottom-right { bottom:-30%; right:-32px; transform: rotate(25deg); }

.title-img { position:absolute; width:260px; height:auto; max-height:160px; pointer-events:none; left:50%; }

.corner-top-center { top:0; left:50%; transform: translate(-50%, -60%); }
.corner-bottom-center { top:80%; left:43%; }
.corner-left-center { left:0; top:50%; transform: translate(-60%, -50%); }
.corner-right-center { right:0; top:50%; transform: translate(60%, -50%); }

@media (max-width: 1024px) {
	.title-img { width:200px; max-height:120px; }
}

@media (max-width: 1024px) {
	.title-img { width:200px; max-height:120px; }
}

@media (max-width: 768px) {
	.title-img { width:140px; max-height:80px; }
	.img-square { width:36px; height:36px; }
	.img-vertical { width:28px; height:56px; }
	.img-horizontal { width:72px; height:36px; }
}

@media (max-width: 1024px) {
	.game-window { min-height:140px; }
	.game-window__inner { gap:14px; padding:12px; }
	.game-window__img img { width:112px; height:112px; flex:0 0 112px; }
	.game-window__text h2 { font-size:1.2rem; }
	.game-window__text p { font-size:0.95rem; }
}

@media (max-width: 800px) {
	.game-window { min-height:120px; }
	.game-window__inner { flex-direction:row; gap:12px; padding:10px; }
	.game-window__img img { width:84px; height:84px; flex:0 0 84px; }
	.game-window__text h2 { font-size:1.05rem; }
	.game-window__text p { font-size:0.9rem; }
	.img-square { width:36px; height:36px; }
	.img-vertical { width:28px; height:56px; }
	.img-horizontal { width:72px; height:36px; }
}

.scale-on-hover {
	transition: transform 240ms cubic-bezier(.2,.8,.2,1);
	will-change: transform;
	transform-origin: center center;
}
.scale-on-hover:hover,
.scale-on-hover:focus {
	transform: scale(1.75);
	z-index: 10;
}

