@import "text";
@import "blocks";
@import "images";
@import "special";

@import "fontawesome/fontawesome";
@import "fontawesome/brands";
@import "fontawesome/regular";
@import "fontawesome/solid";


@font-face {
	font-family: "Fira";
	src: url("/assets/fonts/FiraCode-Bold.woff2") format("woff2");
	font-weight: bold;
}

@font-face {
	font-family: "Fira";
	src: url("/assets/fonts/FiraCode-Light.woff2") format("woff2");
	font-weight: light;
}

@font-face {
	font-family: "Fira";
	src: url("/assets/fonts/FiraCode-Medium.woff2") format("woff2");
	font-weight: medium;
}

@font-face {
	font-family: "Fira";
	src: url("/assets/fonts/FiraCode-Regular.woff2") format("woff2");
	font-weight: normal;
}

:root {
	// Misc colors
	--bgColor: #121212;
	--lightBgColor: #3a3f46;
	--fgColor: #ebebeb;
	--metaColor: #6199bb;
	--lightMetaColor: #638c86;
	--linkColor: #e4dab3;
	--codeBgColor: var(--lightBgColor);
	--codeFgColor: var(--fgColor);

	// Main colors
	--grey: #696969;

	// Accent colors, used only manally
	--green: #a2c579;
	--magenta: #ad79c5;
	--orange: #e86a33;
	--yellow: #e8bc00;
	--pink: #fa9f83;
}

::selection,
::-moz-selection {
	color: var(--bgColor);
	background: var(--metaColor);
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	scrollbar-color: var(--metaColor) var(--bgColor);
	scrollbar-width: auto;
	background: var(--bgColor);
}

body {
	font-family: "Fira";
	font-size: 1.6rem;
	line-height: 1.35;
	max-width: 64rem;
	margin: auto;
	overflow-wrap: break-word;
	background: var(--bgColor);
	color: var(--fgColor);
}

main {
	margin-top: 2ex;
	overflow-wrap: break-word;
}

hr.footline {
	border: 1pt solid;
}

hr {
	border: 1pt dashed;
}

iframe {
	max-width: 90%;
}

.wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.footContainer {
	padding-top: 0;
	padding-bottom: 1em;
	padding-left: 1em;
	padding-right: 1em;
}

@media (max-width: 650px) {
	.wrapper {
		margin: 1rem;
	}
}
