/* latin */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  src: url(vt232.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}

body {
	
	margin: 0;
	padding: 0;
	background-color: #121212;
	
	
	font-family: 'VT323';
	color: #12dcaf;
	overflow-x:hidden;
	overflow-y:scroll;

	transition: background-color 300ms;
	background-image: url('//computers.baffa.tec.br/images/scanlines.png');

}

header {
	text-align: center;
	padding: 20px;
	background-color: #1e1e1e;
	border-bottom: 2px solid #444;
}

header h1 {
	margin: 0;
	font-size: 2.5rem;
}

header h1 a.menu_title, header h1 a.menu_title:link, header h1 a.menu_title:visited{
	text-decoration: none;
	color: #12dcaf;
	transition: 0.5s;
}

header h1 a.menu_title:hover {
    color: #00ea2c;
    text-decoration: none;
	transition: 0.5s;
}

header p {
	font-size: 1.5rem;
	margin: 5px 0;
	color: #bbbbbb;
}

.nav {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 10px;
}

.nav button {
	background-color: #2a2a2a;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	color: #12dcaf;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background-color 0.5s;
	background-image: url('//computers.baffa.tec.br/images/scanlines.png');
	font-family: 'VT323';
}

.nav button:hover {
	background-color: #204e2e;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 20px;
	padding: 20px;
}

.game-card {
	background-color: #1e1e1e;
	border: 1px solid #333;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

.game-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.game-card img {
	width: 100%;
	height: auto;
	display: block;
}

.game-card h2 {
	margin: 15px;
	font-size: 1.3rem;
	color: #12dcaf;
}

.game-card p {
	margin: 0 15px 15px;
	color: #bbbbbb;
	font-size: 1.0rem;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.modal-content {
	background-color: #1e1e1e;
	padding: 20px;
	border-radius: 10px;
	width: 80%;
	max-width: 600px;
	color: #ffffff;
	text-align: center;
}

.modal-content img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 20px;
}

.modal-content h2 {
	margin-top: 0;
}

.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 1.5rem;
	cursor: pointer;
}

.todolist {
	max-width: 600px;
	margin: 20px auto;
	padding: 20px;
	background-color: #1e1e1e;
	color: #bbbbbb;
	border-radius: 8px;
}

.todolist h2 {
	color: #ffffff;
	text-align: center;
}

.todolist ul {
	list-style: none;
	padding: 0;
}

.todolist ul li {
	margin: 5px 0;
	padding: 10px;
	background-color: #2a2a2a;
	border-radius: 5px;
	color: #ffffff;
}

footer {
	text-align: center;
	padding: 10px;
	background-color: #1e1e1e;
	border-top: 2px solid #444;
	color: #bbbbbb;
	font-size: 0.8rem;
}

footer a {
	color: #62dafb;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}