/*
	* Personal website of Jordan Bechek
	* File: main.css
*/

:root {
	--main-text-color: #E6E6E6;
	--accent-color: #1AB423;

	  scrollbar-color: rgba(26, 180, 35, 0.7) #152839;
	  scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 1px;
    background: transparent;
}

::-webkit-scrollbar-thumb { background: var(--accent-color); }

::selection      { background: rgba(26, 180, 35, 0.5); }
::-moz-selection { background: rgba(26, 180, 35, 0.5); }

@font-face {
    font-family: bp;
    src: url("../fonts/bp_mono/BPmono.ttf") format("truetype"),
    	 url("../fonts/bp_mono/BPmono.eot") format("eot"),
    	 url("../fonts/bp_mono/BPmono.woff") format("woff"),
    	 url("../fonts/bp_mono/BPmono.svg") format("svg");
}

@keyframes typing {
	from { width: 0 }
	to   { width: 64% }
}

@keyframes blink-caret {
	from, to { border-color: transparent }
	50% { border-color: #1AB423; border-color: var(--accent-color); }
}

.fade-in { display: none; }

div.typed {
	overflow: hidden;
	border-right: .1em solid rgba(26, 180, 35, 0.3);
	white-space: nowrap;
	letter-spacing: .15em;
	animation: 
		typing 1.5s steps(16, end)/*,
	    blink-caret .4s step-end infinite;*/;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	background-color: #152839;
	font-family: bp;
	color: var(--main-text-color);
}

a {
	text-decoration: none;
	color: var(--accent-color);
	font-weight: 500;
}

div#container {
	min-height: 100%;
	position: relative;
}

div.wrapper {
	width: 65%;
	max-width: 760px;
	text-align: left;
	margin: auto;
}

div#wrapper-intro { padding-top: 60px; }
div#wrapper-main  { padding-bottom: 60px; }

div#name {
	font-size: 40px;
	margin-bottom: 15px;
	letter-spacing: 2px;
	width: 500px;
}

span.attribute { font-size: 17px; }

div.section { padding-top: 40px; }

div.section-title {
	font-size: 24px;
	margin-bottom: 16px;
}

div.section-title span { color: var(--accent-color); }

div.section p {
	line-height: 21px;
	font-size: 16px;
	margin-top: 0;
}

div.project, div.app {
	display: flex;
	margin-bottom: 24px;
}

div.project-video {
	border: 2px var(--main-text-color) solid;
	border-radius: 6px;
	margin-right: 20px;
}

div#ft-video-container {
	width: 229px;
	height: 224px;
}

div#chess-video-container {
	width: 229px;
	height: 265px;
}

div#mc-video-container {
	width: 320px;
	height: 180px;
}

div.app-img { margin-right: 20px; }

div.app-links {
	text-align: right;
	padding-right: 10px;
}

div.project-title, div.app-title {
	font-size: 20px;
	margin-bottom: 12px;
}

a.disabled { cursor: not-allowed; }

div#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 15px;
}

div#copyright {
	text-align: right;
	margin-right: 5px;
	color: #999;
	font-size: 10px;
}

@media only screen and (max-width: 760px) {
	div.wrapper { width: 92%; }
}

@media only screen and (max-width: 600px) {
	div.project, div.app { display: block; }
	div.project-title, div.app-title { margin-top: 16px; }
}

@media only screen and (max-width: 400px) {
	div#name { font-size: 36px; }
	span.attribute { font-size: 14px; }
	div#wrapper-intro { padding-top: 30px; }
	div#copyright { text-align: center; }
}
