@font-face {
	font-family: custom1;
	src: url('/webfonts/Linoleo Script.ttf');
}

@font-face {
	font-family: custom2;
	src: url('/webfonts/neon_pixel-7.ttf');
}

html {
	font-size: 1px;
	-webkit-tap-highlight-color: transparent;
}

body {
	position: fixed;
	width: 100%;
	height: 100%;
	margin: 0;
	background-color: black;
	color: #26f4bc;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: custom1, custom2, sans-serif, Arial;
}

#network, #neural-network {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	filter: blur(3px);
	filter: blur(3pt);
}

.center-section {
	margin-top: -15vh;
}

a, a:visited {
	color: currentColor;
	text-decoration: none;
}

.link {
	font-size: 60rem;
	margin: 20px 5px;
	padding: 5px 10px;
	font-family: custom2, custom1, sans-serif, Arial;
}

.link a {
	display: flex;
}

.link .icon {
	color: #176871;
}

.link a:hover .icon {
	color: #f46026;
}

.link:nth-child(odd){
	direction: rtl;
}

.link .texts {
	text-align: center;
	width: 100%;
}

.link:nth-child(odd) .texts {
	margin-right: 30rem;
}

.link:nth-child(even) .texts {
	margin-left: 30rem;
}

.link span.broken {
	animation-name: broken-glitch;
	animation-duration: 6s;
	animation-delay: 0s;
	animation-iteration-count: infinite;
}

.link a:hover .texts {
	color: #f46026;
}

.link a:hover .texts span {
	animation: none !important;
}

.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	font-size: 40rem;
	padding: 5px;
	text-decoration: none;
	color: #00b7ff;
	display: flex;
	justify-content: space-around;
}

.footer .bi {
	font-size: 0.7em;
}

.modal {
	visibility: hidden;
	transition: 0.5s;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	z-index: 5;
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 35rem;
	font-family: custom2, sans-serif, Arial, Helvetica;
}

.modal .wrapper {
	position: relative;
}

.modal .close {
	position: absolute;
	top: -25rem;
	right: 0;
	cursor: pointer;
	color: red;
}

.modal .title {
	font-size: 1.5em;
	text-decoration: underline;
}

.modal .body {
	white-space: pre-line;
	line-height: 1.3;
}

.modal .body code {
	font-size: 0.7em;
	background: rgba(64, 64, 64, 0.36);
	outline: 1px solid;
	padding: 2px;
	user-select: all;
}

.modal.show {
	opacity: 1;
	visibility: visible;
}

@keyframes broken-glitch {
	0% { opacity: 1; }
	6% { opacity: 0.4; }
	15% { opacity: 0.4; }
	25% { opacity: 0.7; }
	50% { opacity: 1; }
	55% { opacity: 0.8; }
	60% { opacity: 1; }
	70% { opacity: 0.4; }
	90% { opacity: 0.4; }
	100% { opacity: 1; }
}

@media only screen and (min-width: 2000px)
{
	html {
		font-size: 1.5px;
	}
}

@media only screen and (max-width: 800px)
{
	#network, #neural-network {
		filter: blur(2pt);
	}
}

@media only screen and (max-width: 400px)
{
	html {
		font-size: 0.25vw;
	}
}