/* Global styles
------------------- */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
}
a {
	color: #EF233C;
}
a:hover {
	text-decoration: none;
}
h1,h2 {
	font-family: 'Caveat', cursive;
	font-size: 400;
}
h1 {
	font-size: 80px;
}
h2 {
	margin-top: 0;
	font-size: 40px;
}
h3 {
	margin: 0;
}
.uppercase {
	text-transform: uppercase;
}
/*.head-background {
	background-image: url(../images/unsplash.jpg);
}*/
.content-wrap {
	max-width: 950px;
	margin: 0 auto;
	padding: 25px;
	overflow: auto;
	/*padding: 60px 50px; */
}
.col-narrow {
	width: 30%;
	float: left;

}
.col-wide {
	width: 70%;
	float: left;
	padding-left: 20px;

}
.btn {
	text-decoration: none;
	background: #EF233C;
	color: white;
	padding: 10px;
	display: inline-block;
}

/* Header and Footer 
----------------------*/
header, footer {
	background: #2B2D42;
	color: #8D99AE;
}

/* header */
.profile-img {
	border-radius: 50%;
}
header h1, header h2 {
	color: #EDF2F4;
	margin: 0;
}
header {
	padding-top: 50px;
	position: relative;
}
.download {
	position: absolute;
	bottom: 0;
	right: 0;
	
}
/* Footer */
footer {
	
	text-align: center;
}
.contact-info a {
	margin: 5px;
	color: white;
	padding: 5px;
}
.contact-info a:first-of-type {
	padding-left: 0;
	
}
.contact-info a + a {
	padding-left: 0;
	
}

.link a:first-of-type {
	content: "\1F4E7";
}
.fa {
    padding-left: 5px;
    font-size: 30px;
    width: 40px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}
.fa:hover {
    opacity: 0.7;
}
.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}
.fa-instagram {
  background: #125688;
  color: white;
}
.fa-skype {
  background: #00aff0;
  color: white;
}

/* Navigation
----------------------*/

nav {
	text-align: center;
	background: #EDF2F4;
	position: fixed;
	top: 0;
	width: 100%;
}
nav a {
	display: inline-block;
	padding: 15px 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
}

/* Work Experience
----------------------*/
.work {
	background: #EDF2F4;
}
h3 ~ p {
	margin: 0; 
}
.job-description {
	margin-bottom: 25px;
}

.job-description p:first-of-type {
	margin-top: 0;
}

/* Education
----------------------*/
.education {
	background: linear-gradient(rgba(141, 153, 174, 0.8),rgba(141, 153, 174, 0.5)),
                 url(../images/toronto.jpg) no-repeat fixed;
    background-size: cover;
}
p + h3 {
	margin-top: 30px;
}

/* Media Queries for Responsive */
@media only screen and (max-width: 580px) {
	h1 {
		font-size: 3.5em;
	}
	h2 {
		font-size: 2.5em;
	}
	nav {
	    display: none;
	}
	header h1, header h2 {
	color: #EDF2F4;
	margin: 0;
	text-align: center;
}
.col-narrow {
	width: 100%;
	text-align: center;
	padding-left: 0;
}
.col-wide {
	width: 100%;
	text-align: center;
}
p + p {
	padding-bottom: 15px;
}
h3 {
	padding-bottom: 5px;
}
.job-description {
	margin: 0;
}
.profile-img {
	border-radius: 50%;
}
.col-narrow p:first-of-type {
	font-weight: bold;
}
.work h2:first-of-type {
	text-decoration: underline;
	text-align: center;
}
.education h2:first-of-type {
	text-decoration: underline;
	text-align: center;
} 

}
