/**
Disclaimer: This website was hastily made because I wanted to have one, it is not to be taken as a prime example of my work.
*/

@font-face {
	font-family: "Droid Sans Mono";
	src: url(./fonts/droid_sans_mono.ttf);
}

body {
	margin: 0;
	background: #081415;
	font-family: "Poppins";
	color: white;
	padding-top: 75px;
}

.inner {
	max-width: 630px;
	margin: auto;
	padding: 0 15px;
}

.title {
	font-size: 62px;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 55px;
}

.category {
	margin-bottom: 55px;
}

.category .heading {
	font-size: 42px;
	font-family: "Rockwell", "Roboto Slab";
	font-weight: bold;
	line-height: 1;
	margin-top: 30px;
}

.category .title {
	font-size: 28px;
	font-family: "Rockwell", "Roboto Slab";
	font-weight: normal;
	line-height: 1;
	margin-top: 40px;
	margin-bottom: 0;
}

.category .description {
	font-size: 18px;
	margin: 15px 0;
	color: #95f9e3;
}

.category .buttons {
	margin: 7px -7px;
	display: flex;
}

.category .button {
	text-decoration: none;
	color: white;
	padding: 6px 12px;
	background: #296b75;
	display: block;
	border-radius: 5px;
	margin: 0 7px;
	transition: background ease 0.2s;
}

.category .button:hover {
	background: #3c919e;
	text-decoration: none;
}

.category a {
	color: #dac68e;
	text-decoration: none;
}

.category a:hover {
	text-decoration: underline;
}

.category code {
	display: block;
	font-size: 18px;
	font-family: "Droid Sans Mono", monospace;
	padding: 15px;
	border-radius: 15px;
	margin: 15px 0;
	background: #202020;
}

.mono {
	font-family: "Droid Sans Mono", monospace;
}

.category img {
	max-width: 100%;
	border-radius: 15px;
	user-select: none;
	-webkit-user-drag: none;
	margin: 15px 0;
	display: block;
	box-sizing: border-box;
}

.category img.border {
	padding: 15px;
	background: #202020;
}

.category img.icon {
	height: 26px;
	display: inline-block;
	/* padding-right: 12px; */
	margin: 0;
	border-radius: 0;
	transition: opacity 0.3s ease;
}

.category img.icon:hover {
	opacity: 0.7;
}

.category .icon-label {
	display: flex;
	width: fit-content;
	align-items: center;
	color: white;
	/* margin-bottom: 12px; */
}

.category.socials {
	display: flex;
	gap: 20px;
}

.category .icon-label:hover {
	color: #dac68e;
}

@media screen and (max-width: 400px) {
	body {
		text-align: center;
	}

	.title {
		font-size: 42px;
	}

	.category .heading {
		font-size: 36px;
	}

	.category .title {
		font-size: 24px;
	}

	.buttons {
		justify-content: center;
	}

	.category img.icon {
		padding: 0;
	}

	.category .icon-label {
		margin: auto;
	}
}

::selection {
	background: #624158;
}
