@font-face {
    font-family: 'ModernPictogramsNormal';
    src: url('../fonts/modernpics-webfont.eot');
    src: url('../fonts/modernpics-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/modernpics-webfont.woff') format('woff'),
         url('../fonts/modernpics-webfont.ttf') format('truetype'),
         url('../fonts/modernpics-webfont.svg#ModernPictogramsNormal') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BasierSquare';
    src: url('../fonts/basiersquare-regular-webfont.eot');
    src: url('../fonts/basiersquare-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/basiersquare-regular-webfont.woff2') format('woff2'),
         url('../fonts/basiersquare-regular-webfont.woff') format('woff'),
         url('../fonts/basiersquare-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@-webkit-keyframes scaleIn {
	0% {
		opacity: 0;
		-webkit-transform: scale(0.98);
	}
	
	100% {
		opacity: 1; 
		-webkit-transform: scale(1.0);
	}
}

@keyframes scaleIn {
	0% {
		opacity:0;
		transform: scale(0.98);
	}
	
	100% {
		opacity:1;
		transform: scale(1.0);
	}
}

.scaleIn {
	-webkit-animation-name: scaleIn;
	animation-name: scaleIn;
}

.animated {
	-webkit-animation: .8s ease;
	animation: .8s ease;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

body {
  background: url('../images/grey-er.png') repeat #444 fixed /* #043d5d */;
	font-family: 'BasierSquare', Helvetica, Arial, sans-serif;
	color: #222;
	overscroll-behavior-y: none;
}

a {
	color: #0581bc;
	text-decoration: none; 
	transition: color .2s ease-out;
}

a:hover {
	color: /* #aaa */ /* #ff3500 */ #BF6963;
	transition: color .2s ease-out;
}

#wrapper {
  width: 82%;
  max-width: 1000px;
  margin: 0.625rem auto;
  padding: 1.5625rem;
  background-color: #fff;
  box-shadow: rgba(0,0,0,0.4) 0 0 24px;
  -webkit-animation: 0.8s ease 0.5s both scaleIn;
  animation: 0.8s ease 0.5s both scaleIn;
}

header {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  font-weight: 300;
  overflow: hidden;
}

h1 {
	font: 4.5rem 'Bitter', cursive;
	color: #600;
}

header #personal-info {
  margin: 1.562rem 0;
}

#contact {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

#contact li {
  display: grid;
  grid-template-columns: 2fr 10fr;
  align-items: center;
  margin-bottom: 0.625rem;
  font-size: 0.9em;
}

#contact li span,
#contact li svg {
  display: flex;
  justify-content: center;
  width: 1.5625rem;
}

#contact li span {
  font-family: 'ModernPictogramsNormal';
  font-size: 1.5em;
}

#contact li svg {
  height: 1.0625rem;
}

@media (min-width: 1300px) {
  #wrapper {
  	width: 60%;
  /* 	min-width: 825px; */
  	margin: 1.5625rem auto;
  	overflow: hidden;
  	padding: 3.125rem 1.5625rem 1.5625rem;
  }
  
  header {
    flex-direction: row;
    justify-content: space-between;
  }
  
  /*
  ul {
  	float: left;
  	left: 50%;
  	position: relative;
  	padding-top: 0;
  	margin-bottom: 25px;
  }
  
  ul li {
  	float: left;
  	right: 50%;
  	position: relative;
  	padding: 0 23px;
  	font-size: .9em;
  }
  */
  
  #college-info {
      float: left;
  }
  
  #personal-info {
  	float: right;
  	width: 30%;
  	margin-top: 10px;
  }
  
  img {
  	margin: 0 0 25px 35px;
  	border-radius: 3px;
  	box-shadow: rgba(0,0,0,0.2) 0 0 12px;
  	border: 5px #fff solid;
  }
  
  ul {
  	
  }
  
  #contact li {
  	margin-bottom: 10px;
  	font-size: 0.9em;
  }
  
  #contact li span,
  #contact li svg {
    margin-right: 10px;
    float: left;
    width: 25px;
    text-align: center;
  }
  
  #contact li span {
  	margin-top: 1px;
  }
  
  #contact li svg {
    display: inline;
    height: 17px;
    margin-top: 4px;
  }
  
  /*
  ul li a {
  	color: #0581bc;
  	text-decoration: none;
  }
  
  ul li a:hover {
  	color: #aaa;
  }
  */
  
  em {
  	font-family: 'BasierSquare', sans-serif;;
  	font-weight: bold;
  }
  
  header {
  	margin: 0 0 50px 50px;
  	line-height: 24px;
  	font-weight: 300;
  	overflow: hidden;
  }
  
  h1 {
  	font: 72px 'Bitter', cursive;
  	color: #600;
  }
  
  main {
  	float: right;
  	width: 90%;
  	clear: both;
  }
  
  section {
  	margin-bottom: 25px;
  	overflow: hidden;
  }
  
  section h2 {
  	font: 28px 'Bitter', cursive;
  	color: #600;
  	margin-bottom: 35px;
  	padding-bottom: 5px;
  	border-bottom: 1px dotted #ccc;
  	width: 80%;
  }
  
  .job {
  	overflow: hidden;
  	clear: both;
  	margin-bottom: 15px;
  }
  
  .job-info {
  	margin-left: 15px;
  	float: left;
  	width: 28%;
  }
  
  .company {
  	font-weight: 600;
  }
  
  .company,
  .job-description h3 {
      margin-bottom: 5px;
  }
  
  .duration {
  	font-size: 12px;
  	line-height: 21px;
  	color: #aaa;
  }
  
  .job-description {
  	margin-left: 10%;
  	float: left;
  	width: 50%;
  }
  
  .job-description ul {
    list-style-type: disc;
    margin-left: 17px;
  }
  
  .job-description li {
  	font-size: 14px;
  	line-height: 20px;
  	margin-bottom: 5px;
  	color: #888;
  }
  
  .languages li {
  	float: left;
  	margin-left: 3%;
  	height: 18px;
  }
  
  footer {
  	width: 84%;
  	clear: both;
  	margin-top: 50px;
  }
  
  footer p {
  	font-size: 0.7em;
  	text-align: center;
  	line-height: 1.6
  }
}