/*
color pallate
#F7FFF7 - ALMOST WHITE
#343434 - DARK GREY - ALMOST BLACK
#2F3061 - BLUE DARK
#FFE66D - YELLOW
#A1C6D7 - BLUE LIGHT
*/



/*global
***************************/
html{
	box-sizing: border-box;
}
*, *:before, *:after{
	box-sizing: inherit;
}
body{
	color: #343434;
	margin: 0;
	font-family: font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	line-height: 1.5;

}
b{
	color: #A1C6D7;
}
img{
	width: 300px;
}
a{
	color: #FFE66D;
}
a:hover{
	text-decoration: none;
}
.wrap {
	max-width: 800px;
	width: 85%;
	margin: 0 auto;
	padding: 60px 0;
}
h1{
	font-size: 100px;
	line-height:1;
}
h2{
	font-size: 40px;
}

h1 , h2{
	font-family: 'Caveat', cursive;
	font-weight: 400;
	margin: 0;
}

h3{
	margin-bottom: 0;
}

.item h3 + p{
	font-style: italic;
}

.item h3 ~ p{
	margin: 0;
}

.divider > section{
	border-bottom: 1px dashed #343434;
	padding: 25px 0;
}

.divider > section:last-of-type{
	border-bottom: none;
}

/*profile
***************************/
header{
	background: #2F3061;
	color: #F7FFF7;
	}

/*projects
***************************/
.project{
	background-color: #F7FFF7;
}
.project-item{
	overflow: hidden;
	
}

.project-item h3{
	margin-top: 0;
}

 h4{
	background-color: #2F3061;
	color: #F7FFF7;

}
	/*work experience
***************************/
.work-experience{
	background-color: #A1C6D7;
}


/*education
***************************/
.education{
	background-image: url(../images/joanna-kosinska-unsplash.jpg);
	background-size: cover;
	background-position: top right;
	padding-bottom: 100px;
}
.education p{
	width: 60%;
}


/*contact
***************************/
footer{
	background-color: #343434;
	color: #F7FFF7;
}

.contact-list{
	list-style-type: none;
	padding: 0;
}

.contact-list a{
	padding: 20px;
	display: inline-block;
}

/*media
***************************/
@media screen and (min-width: 750px){

header{
	text-align: center;
}

footer{
	text-align: center;
}

.project-item img{
	float: left;
	margin-right: 20px;
}

.job{
	display: grid;
	grid-template-columns: 1fr 2fr;
	column-gap: 20px;
}
.contact-list{
	display: flex;
	justify-content: center;
}
}

@media screen and (max-width: 749px){

h1{
	font-size: 75px;
	line-height: 0.9;
	margin-bottom: 20px
}

h2{
	line-height: 1;
}

.contact-list a{
	padding: 5px;
}
}
