@font-face {
	font-family: 'Prata';
	src: url(../fonts/Prata-Regular.ttf);
}

@font-face {
	font-family: 'Asap';
	src: url(../fonts/Asap-Regular.ttf);
}

@font-face {
	font-family: 'Asap-Bold';
	src: url(../fonts/Asap-SemiBold.ttf);
}

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

header, article, footer {
	/*width: 1236px;*/
	padding: 20px 15vw;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

article {
	padding: 0;
	margin: 20px 15vw;
}

.navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
    flex: 1 0 auto;
}

.menu-trigger {
	width: 24px;
	height: 22px;
	display: none;
}

header {
	padding-top: 66px;
}

header h1 {
	padding-top: 133px;
	padding-bottom: 199px;
    max-width: 869px;
    line-height: 50px;
    font-size: 33px;
}

header .menu {
	text-align: right;
	font-size: 15px;
	font-family: 'Asap', sans-serif;
}

header .menu li {
    list-style-type: none;
    display: inline-block;
    margin: 0 30px;
}

header .menu li a.active {
	color: #00bfa5;
	text-decoration: line-through;
}

header .menu li a {
	color: inherit;
}

header .menu li a:hover {
	color: #00bfa5;
	text-decoration: none;
}

header .menu li a span {
	position: relative;
  	display: block;
  	cursor: pointer;
}

header .menu li a span:before, header .menu li a span:after {
	content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    top: 12px;
    background: #00bfa5;
}

header .menu li a span:before {
    left: -0.5px;
}

header .menu li a span:after {
	right: 2.5px;
	background: #00bfa5;
	transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

header .menu li a span:hover:before {
	background: #00bfa5;
	width: 100%;
	transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

header .menu li a span:hover:after {
	background: transparent;
	width: 100%;
	transition: 0s;
}

header .mobile-menu-wrapper {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9;
}

header .mobile-menu-wrapper.active {
    display: block;
}

header .mobile-menu-wrapper .menu-trigger {
    top: 30px;
    right: 30px;
    position: absolute;
}

header .mobile-menu.menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
    padding: 30vh 0;
}

header .mobile-menu.menu li {
    display: block;
    text-align: center;
    font-size: 29px;
}

.modal-button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: #50565f;
    align-items: flex-start;
    text-decoration: none;
    transition: color 0.2s ease-in;
}

.modal-button:hover {
	text-decoration: none;
	color: #00bfa5;
}

.img-item img {
    width: 652px;
    height: 432px;
    background-size: cover;
    border-radius: 0;
}

.img-container {
	position: relative;
	width: 652px;
    height: 432px;
	overflow: hidden;
}

.img-item {
	position: absolute;
	top: 0;
	left: 0;
}

.img-item img {
	-webkit-transition: 0.6s ease;
	transition: 0.6s ease;
}

.img-container:hover .img-item img {
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

h1 {
	font-size: 41px;
	line-height: 55px;
	color: #50565f;
}

h1 span {
	color: #00bfa5;
}

article {
	margin-bottom: 90px;
	display: flex;
	justify-content: space-between;
	color: #50565f;
	align-items: flex-start;
}

article:last-child {
	margin-bottom: 0px;
}

article div {
    flex: 0 0 30%;
	line-height: 24px;
}

article div .item {
	font-size: 25px;
    line-height: 36px;
}

article div hr {
	margin-top: 14px;
	margin-bottom: 18px;
	width: 80px;
	color: #c0cad1;
	margin-left: 0;
}

article div .date {
	font-size: 13px;
	color: #b0b9bf;
	font-family: 'Asap', serif;
}

article div .category {
	font-size: 17px;
	font-family: 'Asap', serif;
	margin-bottom: 0;
}

article div .image {
	width: 652px;
	height: 432px;
	background-image: url(../img/projects/project_1.jpg);
	background-size: cover;
	border-radius: 0;
}

article div .image#first {
	background-image: url(../img/projects/project_1.jpg);
}

article div .image#second {
	background-image: url(../img/projects/project_2.jpg);
}

article div .image#third {
	background-image: url(../img/projects/project_3.jpg);
}

article div .image#fourth {
	background-image: url(../img/projects/project_4.jpg);
}

.mid {
	padding: 90px 0;
	background-color: #f0f3f3;
}

.last article {
	padding-top: 200px;
	padding-bottom: 200px;
}

.last h1 {
	font-size: 35px;
	line-height: 55px;
	color: #50565f;
}

.last h1 span {
	color: #00bfa5;
	text-decoration: underline;
}

.last h1 span a {
	color: #00bfa5;
}

footer {
	color: #b0b9bf;
	font-size: 13px;
    position: relative;
}

footer div {
	position: relative;
	flex: 1 1 100%;
}

footer img {
	display: inline-block;
	margin-bottom: 18px;
}

footer p {
	font-size: 13px;
	font-family: 'Asap-Regular', sans-serif;
}

footer .linked-in-logo {
	margin-right: 10px;
}

.back {
	background-image: url(../img/arrow-up.svg);
	width: 16px;
	height: 29px;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
}

.back:before {
	display: none;
}

section .modal {
	padding-right: 0 !important;
}

section .modal-dialog {
    max-width: none;
    margin: 0;
}

section .modal-header {
	max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-bottom: none;
    display: block;
    position: relative;
	padding-top: 66px;
	min-height: 0;
}

section .modal-header button {
    position: absolute;
    top: 30px;
    right: 30px;
}

section .modal-header > img {
	position: absolute;
	top: 30px;
	left: 30px;
}

.modal-body {
	padding-top: 84px;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.modal-body h2, .modal-body p {
    text-align: center;	
}

.modal-body h2 {
	font-size: 41px;
	line-height: 55px;
    margin-bottom: 13px;
}

.modal-body .modal-description {
	margin: 0 auto;
	margin-bottom: 78px;
}

.modal-body p {
	font-family: 'Asap', sans-serif;
	font-size: 19px;
	line-height: 29px;
	color: #6d7882;
	max-width: 660px;
}

.modal-body div:not(.image) {
	display: block;
	text-align: left;
	max-width: 883px;
	padding: 0;
	margin: 0 auto;
}

.modal-body h3 {
	text-align: left;
	font-size: 27px;
	font-family: 'Prata', sans-serif;
	margin-bottom: 23px;
}

.modal-body h4 {
	font-size: 19px;
	font-family: 'Prata', sans-serif;
	color: #50565f;
	margin: 20px 0;
}

.modal-body div p {
	text-align: left;
	font-size: 15px;
	line-height: 27px;
	margin-bottom: 70px;
}

.modal-body ul {
	font-size: 15px;
	line-height: 27px;
	font-family: 'Asap-Regular', sans-serif;
	list-style-type: none;
	margin-bottom: 70px;
}

.modal-body ul b {
	font-family: 'Asap-Bold', sans-serif;
}

.modal-body ul > li {
  	text-indent: -5px;
}

.modal-body ul > li:before {
  	content: "-";
  	text-indent: -5px;
  	padding-right: 20px;
}

.modal-body .image {
	background-color: #f0f3f3;
    height: 470px;
    width: 100%;
    margin-bottom: 63px;
}

.modal-body .image#modal-tar-img {
	height: 580px;
	background-image: url(../img/tar/header-img.jpg);
}

.modal-body .image#modal-tar-img2 {
	background-image: url(../img/tar/p1-img.jpg);
}

.modal-body .image#modal-tar-img3 {
	background-image: url(../img/tar/p2-img.jpg);
}

.modal-body .image#modal-tar-img4 {
	background-image: url(../img/tar/p3-img.jpg);
}

.modal-body .image#modal-tar-img5 {
	background-image: url(../img/tar/p4-img.jpg);
}

.modal-body .image#modal-tar-img6 {
	background-image: url(../img/tar/p5-img.jpg);
}

.modal-body .image#modal-tar-img7 {
	background-image: url(../img/tar/p6-img.jpg);
}

.modal-body .image#modal-ta-img {
	background-image: url(../img/ta/header-img.jpg)
}
.modal-body .image#modal-ta-img1 {
	background-image: url(../img/ta/p1-img.jpg);
}

.modal-body .image#modal-ta-img2 {
	background-image: url(../img/ta/p2-img.jpg);
}

.modal-body .image#modal-ta-img3 {
	background-image: url(../img/ta/p3-img.jpg);
}

.modal-body .image#modal-ta-img4 {
	background-image: url(../img/ta/p4-img.jpg);
}

.modal-body .image#modal-ta-img5 {
	background-image: url(../img/ta/p5-img.jpg);
}

.modal-body .image#modal-ta-img6 {
	background-image: url(../img/ta/p6-img.jpg);
}

.modal-body .image#modal-ta-img7 {
	background-image: url(../img/ta/p7-img.jpg);
}

.modal-body .image#modal-ta-img8 {
	background-image: url(../img/ta/p8-img.jpg);
}

.modal-body .image#modal-ta-img {
	height: 568px;
}

.modal-body .ul-paragraph {
	margin-bottom: 10px;
}

.modal-content .footer {
	max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-bottom: none;
    display: block;
    position: relative;
	min-height: 0;
	font-family: 'Prata', sans-serif;
	font-size: 21px;
}

.modal-content .footer .right {
    position: absolute;
    top: 0;
    right: 30px;
}

.modal-content .footer .left {
	position: absolute;
	top: 0;
	left: 30px;
}

.modal-content .footer p {
	font-family: 'Asap', sans-serif;
	text-align: center;
	font-size: 13px;
	color: #b0b9bf;
}

.close path {
	transition: all 0.2s ease;
	fill: black;
}

.close:hover path {
	fill: #00bfa5;
}

.linked-in-logo path {
	transition: all 0.2s ease;
	fill: #B0B9BF;
}

.linked-in-logo:hover path {
	fill: #0077b5;
}

.dribble-logo path {
	transition: all 0.2s ease;
	fill: #B0B9BF;
}

.dribble-logo:hover path {
	fill: #ea4c89;
}

footer div a:hover {
	text-decoration: none;
}

footer div.logos {
	margin-bottom: 17px;
}

/*.modal-content .footer div {
	display: flex;
	justify-content: space-around;
	padding: 0;
}*/

.modal-content .footer div a {
	color: #191f28;
	font-size: 17px;
	text-decoration: none;
	display: block;
	position: relative;
}

.modal-content .left:before {
	left: -40px;
	transform: rotate(180deg);
	top: -6px;
}

.modal-content .right:before {
	right: -40px;
	top: -3px
}

.modal-content .footer div a:before {
	content: url(../img/long-arrow-right.png);
	width: 30px;
	height: 30px;
	position: absolute;
}

@media only screen 
  and (max-device-width: 1366px) {

	h1 {
		font-size: 25px;
		padding: 0 25px 0 30px;
		line-height: normal;
	}
	.navigation {
		padding: 0 25px 0 30px;
	}
	header, article, footer {
		padding: 0;
	}
	article {
		flex-direction: column-reverse;
	}
	header .menu li {
	    margin: 0 15px;
	    padding-top: 1em;
	}
	.modal-body .image#modal-tar-img, .modal-body .image#modal-ta-img {
    	height: 400px;
	}
	.modal-content .image {
	    height: 378px;
	    min-height: 0;
	    width: 100%;
	}
}

@media only screen 
  and (max-device-width: 812px) { 

	header, article, footer {
		/*width: 340px;*/
	}
	header {
		padding-top: 30px;
	}
	header h1 {
	    padding-top: 106px;
    	padding-bottom: 176px;
		font-size: 25px;
		line-height: 33px;
	}
	header .menu  {
		display: none;
	}
    header .menu.mobile-menu  {
        display: block;
    }
    .mobile-menu-wrapper .menu-trigger {
        display: none;
    }
    .mobile-menu-wrapper.active .menu-trigger {
        display: block;
    }
	.menu-trigger {
		display: block;
	}
	article {
		position: relative;
	}
	article .img {
		height: 260px;
		width: 100%;
		margin-bottom: 40px;
		background-color: rgba(241, 101, 109, 0.2);
	}
	article .img .image {
   		height: 100%;
   		width: 100%;
	}
	article div .item {
		font-size: 21px;
		line-height: 29px;
	}
	article div. hr {
	    margin-top: 14px;
    	margin-bottom: 14px;
	}
	article div .category {
		font-size: 15px;
		line-height: 24px;
	}
	article div .date {
		font-size: 13px;
		line-height: 24px;
	}
	.last h1 {
		font-size: 25px;
		line-height: 33px;
	}
	.last h1 span {
	    display: block;
	    margin-top: 40px;
	}
	.last h1 span a {
	    color: #00bfa5;
	}
	.last article {
		padding: 120px 60px 160px 0px;
	}
	.last article p {
		font-size: 25px;
	}
	footer {
		padding: 0 30px;
	}
	article .text {
		padding: 0 30px 110px;
	}
	.modal-body {
		padding: 0;
	}
	.modal-body > p {	
		padding: 15px 40px 0;
	}
	.modal-content header {
		padding-top: 0;
	}
	.modal-body div:not(.image) {
		padding: 0 30px;
	}
	.modal-content .navigation {
		padding: 30px;
		margin-bottom: 73px;
	}
	.modal-content h1 {
	    font-size: 25px;	
	    line-height: 55px;
	}
	.modal-content article p {
		padding: 0 30px;
	}
	.modal-content .image {
		height: 190px;
		min-height: 0;
		width: 100%;
	}
	.modal-content article h2 {
		margin-top: 30px;
		font-size: 21px;
		padding: 0 30px;
	}
	.modal-content .footer p {
		text-align: center;
		width: 100%;
		margin-top: 30px;
	}
	.modal-body .image#modal-tar-img,
	.modal-body .image#modal-ta-img {
		height: 200px;
	}
	.modal-button {
		display: block;
		margin-bottom: 20px
	}
	.modal-button div.text {
		padding-bottom: 0;
	}
	.modal-button div.image {
	    background-repeat: no-repeat;
	    background-size: contain;
	    background-color: #f0f3f3;
	    background-position: center;
	    max-height: 100%;
	    max-width: 100%;
	}
	.modal-body .modal-title {
		margin-top: 120px;
		font-size: 27px;
		font-family: 'Prata', sans-serif;
		line-height: 40px
	}
	.modal-body .modal-description {
		font-size: 15px;
		font-family: 'Asap', sans-serif;
		line-height: 23px;
	}
	.mid article {
		margin: 0;
		margin-bottom: 50px;
	}
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
	.modal-body .image#modal-tar-img, .modal-body .image#modal-ta-img {
    	height: 400px;
	}
	.modal-content .image {
	    height: 378px;
	    min-height: 0;
	    width: 100%;
	}
}