* {
	font-family: 'Play', sans-serif;
	color: #eee
}

body {
	height: 100vh;
	margin: 0;
	background-color: #171717;
	font-size: 14px
}

text {font-size: 23px}

header {
	padding: 0.5rem;
	background-color: #222;

	display: grid;
	grid-gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))
}

main {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0.5rem;
	padding-bottom: 3.2rem
}

footer {
	padding: 0.5rem;
	background-color: #222;
	display: grid;
	grid-gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	width: 100%;
	position: fixed;
	bottom: 0
}

button, textarea, .card {
	background-color: #333;
	border: none;
	font-size: 1.5em;
	transition: all 0.3s;
	cursor: pointer;
	text-align: center
}

button:hover, textarea:active, .card:hover, .selected {
	transform: scale(1.042);
	background-color: #3e3e3e
}

button:focus {outline: 0}

textarea {resize: none}

.card {
	min-width: 256px;
	min-height: 120px;
	margin: 0.5rem;

	background-size: cover;
	border-radius: 7px 7px 5px 5px
}

.card:hover {box-shadow: 0 0 10px 2px #eeeeee82}

.cardHeader {filter: drop-shadow(4px 4px 4px #111)}

.name {
	color: #eee;
	background-color: #333;
	border-radius: 5px 5px 0 0;
	font-size: 14px;
	padding: 0 3px 0 3px
}

.price {
	color: #eee;
	background-color: #333;
	border-radius: 0 0 8px 0;
	font-size: 14px;
	padding: 0 3px 3px 3px;
	position: absolute
}

.previewHolder {
	background-color: #282e39;
	display: block;
	position: absolute;
	width: 646px;
	transition: all 0.5s
}

.hidden {display: none !important}

#buyWindow {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #222;

	display: grid;
	place-items: center;
	text-align: center;
	overflow-y: scroll;

	transition: opacity 0.3s
}

.warn {
	font-size: 1.2em;
	color: #ff3232
}


/* scroll shit */
::-webkit-scrollbar {
	width: 9px;
	height: 9px
}

::-webkit-scrollbar-button {
	width: 0;
	height: 0
}

::-webkit-scrollbar-thumb {
	background: #333;
	border-radius: 100px
}
::-webkit-scrollbar-thumb:hover {background: #777}

::-webkit-scrollbar-track {
	background: #222;
	border: 0 none #fff;
	border-radius: 0
}
::-webkit-scrollbar-track:hover {background: #333}

::-webkit-scrollbar-corner {background: transparent}
