@font-face {
	font-family: "ChakraPetch_B";
	src: url(../fonts/ChakraPetch-Bold.ttf) format("truetype");
}

@font-face {
	font-family: "ChakraPetch";
	src: url(../fonts/ChakraPetch.ttf) format("truetype");
}

@font-face {
	font-family: "Code";
	src: url(../fonts/Code.ttf) format("truetype");
}

body {
	margin-left: 12%;
	margin-right: 12%;
	margin-top: 32px;
	margin-bottom: 32px;
	overflow-x: hidden;
	overflow-y: scroll;
	font-family: ChakraPetch;
	color: #efefef;
	background-color: black;
	background-image: url(../img/screen_filter_1.png);
	background-repeat: repeat;
	background-size: 2px;
	background-attachment: fixed;
}

.bgScreen {
	background-color: black;
	background-image: url(../img/screen_filter_1.png);
	background-repeat: repeat;
	background-size: 2px;
	background-attachment: fixed;
}

hr {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	border: none;
	border-top: double 6px rgba(255, 255, 255, 0.3);
}

p {
	font-family: ChakraPetch;
	font-size: 14px;
	text-align: justify;
	color: white;
}

a {
	color: white;
	text-decoration: underline;
}

h1 {
	font-size: 48px;
	font-family: ChakraPetch_B;
}

h2 {
	margin-top: 40px;
}

h3 {
	font-size: 20px;
	font-family: ChakraPetch;
	margin-bottom: 6px;
	margin-top: 16px;
}

table {
	border-collapse: collapse;
	margin: 20px auto;
}

th,
td {
	border: 2px solid rgba(255, 255, 255, 0.3);
	padding: 8px;
	text-align: left;
}

th,
td b {
	font-family: ChakraPetch_B;
	letter-spacing: 1px;
}

input[type="text"] {
	box-sizing: border-box;
	height: 42px;
	width: 300px;
	margin: 6px;
	padding: 10px 16px;
	font-size: 16px;
	border: none;
	border-radius: 4px;
	font-family: ChakraPetch_B;
}

input:focus {
	outline: none;
}

.inputText {
	box-sizing: border-box;
	height: 120px;
	width: 100%;
	max-width: 360px;
	margin: 12px;
	padding: 10px 16px;
	font-size: 16px;
	border: none;
	resize: none;
	border-radius: 4px;
	font-family: ChakraPetch_B;
}

.inputText:focus {
	outline: none;
}

.locked {
	pointer-events: none;
	cursor: default;
	opacity: 0.4;
}

/* ----------------------------- BUTONS ----------------------------- */

.mainButton {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	height: 42px;
	padding: 10px 16px;
	font-size: 16px;
	cursor: pointer;
	background-color: rgb(83, 83, 83);
	color: #fff;
	border: none;
	margin: 6px 2px;
	border-radius: 4px;
	font-family: ChakraPetch_B;
	text-decoration: none;
	text-shadow: -2px 2px 0px rgba(0, 0, 0, 0.3);
	transform: scale(1);
	transition: 0.04s;
}

.mainButton:hover {
	transition: 0s;
	box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 0.8);
}

.mainButton:active {
	transform: scale(0.95);
}

.mainButton img {
	height: 20px;
	margin-right: 8px;
	vertical-align: middle;
	transform: translateY(-1px);
	filter: drop-shadow(-2px 2px 0px rgba(0, 0, 0, 0.3));
}

.mbSmall {
	height: 32px;
	padding: 4px 6px;
	font-size: 14px;
}

.mbSmall img {
	height: 12px;
	margin-right: 8px;
}

.buttonDark {
	color: black;
	text-shadow: -2px 2px 0px rgba(255, 255, 255, 0.8);
}

.buttonDark img {
	filter: brightness(0%) drop-shadow(-2px 2px 0px rgba(255, 255, 255, 0.8));
}

.buttonStart {
	border-top-left-radius: 22px;
	border-bottom-left-radius: 22px;
}

.buttonEnd {
	border-top-right-radius: 22px;
	border-bottom-right-radius: 22px;
}

/* ----------------------------- CODE BOXES ----------------------------- */

#codeBox {
	display: none;
}

.textBox {
	text-align: justify;
}

.codeArea {
	width: 100%;
	resize: none;
	overflow: hidden;
	background-color: #202020;
	background-repeat: no-repeat;
	background-position: top 6px right 6px;
	background-size: auto 12px;
	box-shadow: 0px -2px rgba(255, 255, 255, 0.3);
	color: #d4d4d4;
	border: none;
	border-radius: 6px;
	font-family: Code;
	font-size: 14px;
	font-weight: 100;
}

.codeHTML {
	color: #ffcfbf;
	background-image: url(../img/codeBg_HTML.png);
	background-color: #391e0f;
	box-shadow: 0px -2px rgba(255, 121, 103, 0.8);
}

.codeCSS {
	color: #bff4ff;
	background-image: url(../img/codeBg_CSS.png);
	background-color: #0b222a;
	box-shadow: 0px -2px rgba(103, 204, 255, 0.8);
}

.codeJS {
	color: #ffeabf;
	background-image: url(../img/codeBg_JS.png);
	background-color: #252309;
	box-shadow: 0px -2px rgba(255, 220, 103, 0.8);
}

textarea:focus {
	outline: none;
}

/* ----------------------------- GENERIC ----------------------------- */

.tagsBox {
	position: fixed;
	bottom: 0px;
	right: 0px;
	left: 0px;
	padding: 6px;
	background-color: black;
	background-image: url(../img/screen_filter_1.png);
	background-repeat: repeat;
	background-size: 2px;
	background-attachment: fixed;
}

/* ----------------------------- ANIMATIONS ----------------------------- */

.animFadeIn {
	animation: animFadeIn 1s ease-in-out forwards;
}

@keyframes fadeInANIM {
	0% {
		transform: translateY(16px);
		opacity: 0;
	}

	100% {
		transform: translateY(0px);
		opacity: 1;
	}
}

@keyframes blinkANIM {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}