@font-face {
	font-family: Consolas;
	src: url('../fonts/CONSOLA.TTF') format('truetype');
}

@keyframes blink {
	50% {
		visibility: hidden;
	}
}

@keyframes scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-100% - var(--gap)));
	}
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	
	color: #D6D6D6;
	background-color: #141414;
	font-family: Consolas;
}

form {
	background-color: #D6D6D6;
}

textarea {
	width: 100%;
	min-height: 10em;
	resize: none;
	
	box-sizing: border-box;
	border-radius: 2px;
}

.navigation-bar {
	position: sticky;
	top: 0;
	max-width: 100%;
	z-index: 100;
}

.navigation-bar ul {
  list-style-type: none;
  overflow: hidden;
  border-bottom:0.05em solid #444444;
}

.navigation-bar ul li {
  float: left;
  border-left: 0.05em solid #444444;
}

.navigation-bar ul li:nth-child(6) {
  float: left;
  border-left: 0.05em solid #444444;
  border-right: 0.05em solid #444444;

}

.navigation-bar ul li a {
  display: block;
  text-align: center;
  padding: 1em 3em;
  text-decoration: none;
  color: #444444;
  transition: 0.2s;
}

.navigation-bar ul li.selected a {
	font-weight: bold;
	color: #D6D6D6;
}

.web-ring {
	float: right;
	padding: 1em 0.5em 0em 0em;
	display: flex;
}

.web-ring a {
	padding: 0em 0.25em 0em 0.25em;
}

ul li a:hover {
	color: #D6D6D6;
}

.logo {
	line-height: 85%;
	font-weight: boldest;
	font-size: 1.25em;
	
	display: block;
	text-align: center;
	padding: 0.4em 1em;
}

.header {
	padding: 4em 0em 6em 0.75em;
	font-size: 2em;
}

.text-cursor::after {
	display: inline-block;
	content: "▮";
	animation: blink 1s steps(1) infinite;
}

.marquee {
	font-size: 1.2em;

	--gap: 1rem;
	display: flex;
	overflow: hidden;
	user-select: none;
	gap: var(--gap);
	list-style-type: none;
}

.marquee-content {
	flex: 0 0 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-width: 100%;
	gap: var(--gap);
	list-style-type: none;
	width: max-content;
	
	animation: scroll 30s linear infinite;
}

.seperator {
	width: 100%;
	height: 1.25em;
	overflow: hidden;

	background: repeating-linear-gradient(
		110deg,
		transparent 0 8px,
		#444444 8px 9.5px
	);
}

.main {
	padding: 1em 2em; 
	font-size: 1.2em;

}

.main ul li a{
	color: #E2E800;
}

.main h2 {
	color: #E2E800;
	padding-bottom: 0.5em;
}

.main ul {
	margin-top: -1em;
	margin-left: 1em;
	margin-bottom: 1em;
	
	font-size: 0.9em;
}

.main p {
	padding-bottom: 1em;
}

.main img {
	float: right;
	object-fit: contain;
	margin: auto;
	height: 50%;
	
	align-content: center;
	
	margin-top: -2em;
	height: 20em;
	border-bottom: 4px solid #E2E800;
}

.main-02 {
	padding: 1em 2em; 
	font-size: 1.2em;
}

.main-02 h2 {
	margin-top: 1em;
	color: #E2E800;
	padding-bottom: 0.5em;
}

.main-02 p {
	padding-bottom: 1em;
}

.main-02 img {
	float: left;
	object-fit: contain;
	margin-right: 1em;
	
	height: 15em;
	border-bottom: 4px solid #E2E800;

}

.education-slot {
	display: flow-root;
	
	border: 2px solid #444444;
	border-radius: 2em;
	
	padding: 0.5em 1em;
	margin: 1em 0em;
	
}

.education-slot h5 {
	font-size: 1.01em;
	
}

.education-slot ul{
	padding: 0em 1em;
	
}

.fit {
	display: flex; 
	justify-content: space-around; 
	padding-top: 1.5em; 
	padding-bottom: -1em;
}

.flex {
	display:flex;
	padding: 0;
}

.split {
	min-height: 100vh;
	overflow-x: hidden;
	
	padding: 1em;
}

.left {
	left: 0;
	width: 35%;
	
	border-right: 1px solid #444444;
	
	
}

.right {
	right: 0;
	width: 65%;
	background-color: #D6D6D6;
	color: #141414;
	
	line-height: 2.5;
	border-left: 1px solid #444444;
}

.right p, label {
	background-color: #D6D6D6;
	color: #141414;
}

.right a {
	color: #979797;
	background-color: #E2E800;
	padding: 0.25em 0.5em;
}

.right a:hover {
	color: #444444;
	font-weight: bold;
	
	transition: 0.2s;
}

.right input, button, textarea {
	background-color: #979797;
	color: #141414;
	
	padding: 0.5em;
	
	border: 0.1em solid #444444;
	border-radius: 2px;
	
}

.right input {
	min-width: 15em;
	
}

.project-row {
	padding: 1em 2em; 
	font-size: 1.2em;
	
	display: flex;
	justify-content: space-evenly;
	align-items: stretch;
}

.project-row button {
	background-color: #141414;
	color: #D6D6D6;
	
	padding: 0.5em 2em;
	
	border-radius: 2em;
	
	font-size: 1em;
	
	transition: 0.3s;
}

.project-row button.pressed {
	background-color: #E2E800;
	color: #141414;
	border-color: #E2E800;
	
	transition: 0.3s;
}

.project-card {
	border-left: 1px solid #444444;
	border-right: 1px solid #444444;
	
	width: 32%;
	min-height: 20em;
	padding: 0.5em;
	
	display: flex;
	flex-direction: column;
	
	transition: 0.25s;
	transform: scale(1);
}


.project-card h4 {
	padding-bottom: 0.5em;
}

.project-card img{
	flex-shrink: 0;
	width: 100%;
	height: auto;
}

.project-card a {
	align-self: flex-end;
	margin-top: auto;
	
	color: #E2E800;
}

.project-card:hover {
	transform: scale(1.05);
	transition: 0.25s;
}

.project-card:hover h4 {
	color: #E2E800;
}

.blog-card {
	padding: 0.5em 1em;
	min-height: 15em;
	
	border: 2px solid #444444;
	border-radius: 2em;
	
	margin-bottom: 1em;
	
	transition: 0.2s;
}

.blog-card.hidden {
	display: none;
}

.blog-card img {
	float: right;
	object-fit: contain;
	margin: 0.25em 1em;
	
	height: 10em;
	border-bottom: 4px solid #E2E800;
}

.blog-card p {
	padding: 1em 0em;
}

.blog-card:hover {
	transform: scale(1.01);
	
	transition: 0.2s;
}

.blog-redirect {
	text-decoration: none;
}

.toggle {
	cursor: pointer;
}

@media screen and (max-width: 780px) {
	h1 {
		font-size: 0.8em;
	}
	
	h5 {
		font-size: 0.75em;
	}
	
	.main {
		padding: 1em;
	}
	
	.main img {
		float: right;
		object-fit: contain;
		margin: auto;
		height: 50%;
		
		align-content: center;
	
		margin-top: 0em;
		height: 10em;
		border-bottom: 4px solid #E2E800;
	}
	
	.main-02 img {
		float: right;
		object-fit: contain;
		margin: auto;
		height: 50%;
		width: 100%;
		
		align-content: center;
	
		margin-top: 0em;
		height: 10em;
		border-bottom: 4px solid #E2E800;
		margin-bottom: 2em;
	}
	
	.navigation-bar ul {
		display: flex;
		flex-wrap: wrap;
	}
	
	
	.navigation-bar ul li a {
		padding: 0.6em 0.3em;
		font-size: 0.7em;
	}
	
	.logo {
		display: none;
	}
	
	.web-ring {
		width: 100%;
		justify-content: center;
		padding: 0.5em 0;
	}
	
	
	.marquee {
		font-size: 0.85em;
		gap: 0.75rem;
	}
	
	.marquee-content {
		flex: 0 0 100%;
		min-width: 100%;
		gap: 0.75rem;
		flex-wrap: nowrap;
	}
	
	.fit {
		justify-content: space-between;
		gap: 0.5em;
		margin: 0;
	}
	
	.fit ul {
		width: calc(50% - 0.5em);
		margin: 0;
		padding: 0 0.5em;
		
		font-size: 0.75em;
	}
	
	.project-row {
	display: grid;
	}
	
	.project-card {
		width: 100%;
	}
	
	.right, .left {
		font-size: 0.8em;
	}
	
	.blog-card img {
		width: 100%;
	}
}