/***********************
 * CSS Resets
 ***********************
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}



/************************
 * Custom Styles
 ************************
*/
body {
  padding-bottom: 50px;
}

a {
  color: #d37474;
  text-decoration: none;
}

.menu {
  position: fixed;
  top:0;
  width: 100%;
  background: #777;
  font-color: black;
  color: black;
  text-decoration: none;
}
.menu a {
  color: black;
}


.menu header {
  width: 100%;
  height: 25px;
  display: flex;
  text-align: center;
  justify-content: flex-end;
}
.menu header h1 {
  padding-top: 5px;
  width: 100%;
}

.exit {
  width: 25px;
  background-color: red;
  color: black;
  border: 1px solid black;
}

.menu div {
  display: inline;
  padding: 3px 0 3px 10px;

}



.menu div::first-letter {
  text-decoration: underline;
}


@media (max-width: 499px) {
	body {
		margin: 10% 10% 0 10%;
		line-height: 12px;
		font-family: 'Scope One, serif';
		background-color: #ddd;
		font-size: 16px;
	}

	.vim {
		display: none;
	}

	h1, h2 {
		font-size: 20px;
		padding: 10px 5px;
		font-family: 'Roboto', sans-serif;
	}


	.str {
		padding: 5px 0 5px 0;
		margin: 5px 0 5px 0;
	}

	.skills { 
		line-height: 1.3; 
		width: 400px;
	}

	.skillList {
		display: inline;
		margin: 0; 
	}

	.skills .skillList span {
		position: relative;
	}
}


/*************************
 * Media Queries
 * ***********************
*/

@media (min-width: 500px) {
  h1.vim {
    padding-top: 40px;
  }

	body {
		background: black;
		color: #eee;
		font-family: "Inconsolata", monospace;

	}

	.str {
		color: red;
	}

	.code {
		color: #66ffff;
	}

	li {
		list-style: none;
	}


	hr {
		display: none;
	}

	a:hover {
		color: #aaa;
	}

	.comment,
	h2 {
		color: #3355ff;
	}

	.cmd {
		outline: none;
		background: black;
		font-family: "Inconsolata", monospace;
		color: #eee;
		border: none;
		display: block;
	}

	h2:before {
		content: "// ";
	}


	.str:before,
	.str:after {
		content: '"';
	}

	.statusline {
		width: 100%;
		height: 50px;
		position: fixed;
		bottom: 0;
		background: black;
	}

	.topline {
		background: white;
		color: black;
	}

	.cursor-location {
		float:right;
		width: 10%;
	}

	.filename {
		width: 80%:
	}

	.environment {
		display: flex;
	}

	.resume {
		width: 100%;
	}


	#contact-form {
    padding-top: 40px;
		width: 50% - 5px;
		display: none;
		padding-bottom: 300px;
		margin-left: 5px;
		border-left: 5px solid gray;
	}


	#contact-form > * {
		margin-left: auto;
		margin-right: auto;
		width: 300px;
		padding: 10px;;
		display: block;
	}

	#contact-form > input,
	#contact-form > textarea {
		background: #222;
		color: #999;
		border: #AAA;
		line-height: 20px;
		box-sizing: border-box;         /* For IE and modern versions of Chrome */
		-moz-box-sizing: border-box;    /* For Firefox                          */
		-webkit-box-sizing: border-box;
	}


	#contact-form [type='submit'] {
		border: 1px solid #ddd;
		border-radius: 2px;
	}

	/* Change autofill background color in webkit browsers */

	input:-webkit-autofill,
	input:-webkit-autofill:hover, 
	input:-webkit-autofill:focus {
		-webkit-text-fill-color: #999;
	}

	br + input,
	br + h2 {
		margin-bottom: 5px;
	}

}

@media not print {
	h2 span,
	h1 span,
	li,
	a {
		line-height: 18px;
	}
	.print {
		display: none;
	}

  .tab {
    padding-left: 20px;
  }
}


@media only print {
  .menu {
    display: none;
  }

  h2,
  .comment,
  .str {
    color: black;
  }

  body {
    font-family: 'Tinos', serif;
  }

  h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
  }

  
  h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
  }

  h1,h2 {
    padding: 5px 0 5px 0;
  }

  a {
    text-decoration: underline;
    color: #ddd;
  }

  hr {
    display: none;
  }

  .links {
    width: 35%;
    float: right;
    padding-left: 10px;
    padding-top: 5px;
    margin-bottom: 20px;
  }

  
  .vim {
    display: none;
  }



  /* remove added content for print view */

  .str:before,
  .str:after,
  h2:before {
    content: none;
  }

   
}
