:root {
	--bg-color: #383F41;
	--dark-bg-color: #242424;
	--bright-green: #3ed249;
	--dark-green: #23a528;
	--purple: #a548eb;
	--dark-purple: #6924b1;
	--pink: #ff5373;
	--dark-pink: #cd304d;
	--bright-text: #d4d4d4;
}

body {
	background-color: var(--bg-color);
	color: var(--bright-text);
	font-family: Tahoma, sans-serif;
	text-align: left;
	padding-left: 1rem;
	padding-right: 1rem;
}


h1 {
	text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

h2 {
	text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

h3 {
	text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

.pixel-image {
	image-rendering: pixelated;
}


.container-projects {
	text-decoration: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 16px;
	margin-top: 1rem;
}

.container-projects img {
	width: 100%;
	max-width: 300px;
	border: 2px solid white;
	border-radius: 6px;
	image-rendering: pixelated;
}

.container-projects a {
	text-decoration: none;
}

.container-projects img:hover {
	transform: scale(1.2);
	box-shadow: 2px 2px 6px #000;
}


.info-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.info-overlay:target {
	display: flex;
}

.card {
	background-color: var(--dark-bg-color);
	border: 3px solid var(--dark-green);
	padding: 2rem;
	border-radius: 1rem;
	width: 90%;
	max-width: 300px;
	box-shadow: 2px 2px 6px #000;
	position: relative;
}

.card a {
	text-decoration: none;
	color: var(--bright-text);
}

.card img {
	max-width: 30px;
	border: none;
}

.card img:hover {
	transform: scale(1.2);
	box-shadow: none;
}

.close-button {
	position: absolute;
	top: 1rem;
	right: 1rem;
	text-decoration: none;
	font-weight: bold;
	color: var(--dark-pink);
}

footer {
	padding: 20px;
	align-content: center;
	text-align: center;
	background-color: var(--dark-bg-color);
	border-radius: 10px;
}

.social-media {
	margin-bottom: 10px;
}

.social-media a {
	margin: 5px;
	text-decoration: none;
}

.social-media img {
	width: 50px;
	height: 50px;
}

.social-media img:hover {
	transform: scale(1.2);
}
