
/*
* Base structure
*/

html,
body {
	height: 100%;
}

body {
	font-family: 'Lora', serif;
	font-weight: 400;
	font-size: 30px;

	color: #151515;
	line-height: 45px;
	letter-spacing: 0.43px;

	text-align: left;
	-webkit-font-smoothing: antialiased;
	
	background-color: #FCF8F2;
}


h1, h2, h3, h4, h5 {
	line-height: 1.6em;
}


h1 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 40px;
	
	letter-spacing: 1.42px;
	margin-top: 25px;
}

h2 {
	font-weight: 700;
	font-size: 30px;
	opacity: 0.89;
	letter-spacing: 1.07px;
}

h3 {
	font-size: 32px;
}

h4 {
	font-size: 20px;
}

h1 + h3 {
	margin-top: 0px;
}

h1 + h4 {
	margin-top: -20px;
}

h5 {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	letter-spacing: 1.5px;
}

p {
    margin: 0 0 25px;
}

/* Links */
a,
a:focus,
a:hover {
	color: #151515;
}

a.underlined, li a {
	padding-bottom: 2px;
	border-bottom: 1px dashed #402D1F;
	text-decoration: none;
}

li a{
	transition: .1s margin-left ease-out;
}

li a:hover {
	margin-left: 6px;
	transition: .12s margin-left ease-out;
}

a:focus, a:hover, a.underlined:focus, a.underlined:hover, li a:focus, li a:hover{
	color: #F07B52;
	border-bottom: 1px dashed #F07B52;
	text-decoration: none;
}

ul {
	list-style: none;
	padding-left: 0;
}

li {
	padding: 10px 0;
}

ul.company-links {
	margin-top: 50px;
}


/*
* About
*/

#about {
	background-color: #ffffff;
}

.content {
	width: 40%;
	margin: 120px auto;
}

/*
* Work
*/

#work {
    background-color: #FCF8F2;
    padding: 100px 0;
    background: linear-gradient(90deg, #F0F1EC 50%, #FCF8F2 50%);
}

.work-left {
	width: 70%;
	margin: 40px auto 90px;
}

.work-right {
	width: 40%;
	margin: 40px auto 90px 130px;
}

.work-right ul.company-links {
	margin-top: 0;
}

.work-left {
	text-align: right;
	margin-top:200px;
}


.small {
	font-size: 14px;	
	letter-spacing: 0.23px;
}

.minus {
	margin-top: -15px;
} 


/*
* Cover
*/

.cover {
	padding: 0 20px;
}
.cover .btn-lg {
	padding: 10px 20px;
	font-weight: bold;
}

.cover-text {
	padding-bottom: 160px;
}

/*
* Box
*/

.box {
	float: left;
	display: inline-block;
	padding-right: 20px;  
}

.portrait {
	width:150px;
	height:140px;
	background: url('../images/portrait.png') no-repeat -18px;
	background-size: 141px 140px;
}
.portrait::after{
	position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
	content:url('../images/portrait-winks.png');
}
.portrait:hover {
	background: url('../images/portrait-winks.png') no-repeat -18px;
	background-size: 141px 140px;
}


/*
* Affix and center
*/

/*
@media (min-width: 992px) {
	.masthead, .mastfoot, .cover-container {
		width: 700px;
	}
}
*/

@media (max-width: 1300px) {
	.content {
		width: 60%;
	}
}

@media (max-width: 1300px) {
	.work-left, .work-right {
		width: 65%;
		margin: 40px auto 90px;
	}
}

@media (max-width: 780px) {
	body {
		font-size: 20px;
		line-height: 36px;
		
		text-align: center;
	}

	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 28px;
	}

	.content {
		width: 75%;
		text-align: left;
	}

	.box {
		display: block;
		width: 100%;
	}

	.cover-text {
		padding-bottom: 60px;
	}

	#work {
    	background: #FCF8F2;
    	padding: 50px 0 75px;
	}	

	.work-left, .work-right {
		width: 75%;
		text-align: left;
	}

	ul.company-links {
		padding-top: 20px;
	}

	.row-wrapper {
		padding: 15px;
	}
}

@media (max-width: 500px) {
	h2 {
		font-size: 25px;
	}
	.minus {
		margin-top: -10px;
	}
}