@import url(https://db.onlinewebfonts.com/c/7655d129d0addb2f08a5c1dc994aaa4b?family=Brush+Script+MT+Italic);

@font-face {
	font-family: "Neue Haas Grotesk";
	src: url("https://mattl7.net/assets/fonts/Neue Haas Grotesk Display Pro 65 Medium.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}

body {
	background-image: url(/assets/stars.gif);
	margin: 0;
}

h1 {
	color: white;
	font-family: 'Comic Sans MS', sans-serif;
	font-size: 75px;
	font-weight: normal;
	margin: 0 auto;
	padding-top: 80px;
	text-align: center;
	width: 100%;
	animation: tilt 1s ease-in-out infinite alternate;
}

@keyframes tilt {
	from { rotate: -3deg; }
	to { rotate: 3deg;}
}

footer {
	color: white;
	font-family: 'Comic Sans MS', sans-serif;
	font-size: 16px;
	font-weight: normal;
	text-align: center;
	padding-bottom: 5px;
	width: 100%;
	padding: 20px 10px 0;
}

.container {
	background-color: rgba(0, 0, 0, 0.1);
	color: #fff;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	max-width: 1000px;
	min-height: 100vh;
}

.wrapper {
	align-items: center;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;

	width: 100%;
}

.grid {
	display: grid;
	grid-template-columns: repeat(4, 300px);
	grid-template-rows: 300px;
	gap: 40px;
}

.grid > a {
	color: inherit;
	text-decoration: none;
}

.cell {
	box-sizing: border-box;
	height: 300px;
	width: 300px;
	transition: transform 0.1s ease-in-out;
}

.cell:hover {
	transform: scale(1.05);
}

.eattheball {
	background-image: url('https://eattheball.neocities.org/tiles.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 200%;
	color: white;
	font-family: "Brush Script MT Italic", cursive;
	font-size: 65px;
	padding-top: 20px;
	text-align: center;
	-webkit-text-stroke: 0.8px #000;
}

.eattheball > div {
	filter: drop-shadow(0px 0px 10px #000000);
}

.eattheball-smiley {
	font-size: 175px;
	line-height: 1;
}

.dalek {
	color: #888;
	font-family: 'Times New Roman', Times, serif;
	font-size: 30px;
	text-align: center;
	background-image: url(https://dalekchan.online/index_files/__kino_and_hermes_kino_no_tabi_drawn_by_ouya_maboroshimori222.png);
	background-position: -375px;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 10px;
	text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 20px #fff, 0 0 20px #fff;
}

.mattl7 {
	background: url(https://mattl7.net/assets/images/site/tiles.png);
	background-size: 5em;
	font-family: "Neue Haas Grotesk";
	font-weight: bold;
	padding-top: 60px;
}

.sign {
	display: block;
	width: 275px;
	margin: 0 auto;
}

.sign-top {
	display: block;
	background-color: #000;
	height:8px;
}

.sign-stripe {
	background-color: #fff;
	display: block;
	height: 2px;
}
.sign-body {
	background-color: #000;
	display: flex;
	flex-direction: row;
	height: 60px;
	justify-content: space-between;
	padding-left: 15px;
}

.sign-arrow {
	aspect-ratio: 1 / 1;
	background-image: url(https://mattl7.net/assets/images/site/arrowstraight.svg);
	background-color: #000;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
	height: 100%;
	background-size: 80%;
	transform: rotate(180deg);
}
.sign { box-shadow: 5px 5px 8px 3px rgba(0, 0, 0, 0.5); }

.sign-text {
	color: #FFF;
	font-size: 50px;
	line-height: 1.2;
}
.sign-text + .sign-text { margin-right: auto }

.woshua {
	background: pink;
	box-sizing: border-box;
	color: #000;
	font-family: serif;
	font-size: 60px;
	font-weight: bold;
	padding: 10px 25px;
}

@media (width <= 1320px) {
	h1 {
		padding-bottom: 80px;
	}
  
	.grid {
		grid-template-columns: repeat(2, 300px); /* 2 columns */
		grid-template-rows: repeat(2, 300px); /* 2 rows */
	}
}

/* Small Screens: Convert to 1x4 grid */
@media (max-width: 650px) {
	h1 {
		padding-bottom: 80px;  
	}
  
	.grid {
		grid-template-columns: 300px; /* 1 column */
		grid-template-rows: repeat(4, 300px); /* 4 rows */
	}
}