@import 'https://fonts.googleapis.com/css2?family=Palanquin:wght@400;600;700&display=swap';
@import "https://use.fontawesome.com/releases/v5.5.0/css/all.css";

body{
	background-color: white;
	font-family: 'Palanquin', sans-serif;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	color: #403c3d;
}

.header {
	height: auto;
	background-color: white;
	margin: 0 auto;
	top:0;
	position: fixed;
	width: 100%;
	display: block;
	transition: top 0.3s;
}

.header img {
	margin-top: 18px;
	margin-left: 15%;
	float: left;
}

.menu {
	margin-right: 15%;
	float: right;
}

.menu li {
	display: inline;
}

.menu li a {
	height: 20px;
	text-decoration: none;
	padding-left: 50px;
	color: #646464;
	font-weight: 600;
	font-size: 13px;
	display: inline-block;
}

.menu li a:hover {
	color: #eb4b52;
}

.menu li a.active {
	color: #eb4b52;
	font-weight: 700;
}

.bg {
	width: 100%;
	height: 550px;
	background-size: 100% auto;
	background-image: url("../images/project1.jpg");
	background-size: cover;
	background-position: top;
	padding-top: 110px;
	text-align: center;
}

.bg h1 {
	padding-top: 150px;
	padding-bottom: 15px;
	margin: 0 auto;
	max-width: 50%;
	color: white;
	font-weight: 700;
	font-size: 60px;
	line-height: 1.25;
}

.bg h5 {
	margin: 0 auto;
	max-width: 350px;
	color: white;
	font-weight: 400;
	line-height: 1.25;
	font-size: 20px;
	padding-bottom: 30px;
}

.mouse {
	position: absolute;
	transform: translate(-50%,-50%);
	margin-left: 50%;
	margin-top: 70px;
	width: 13px;
	height: 20px;
	border: 2px solid white;
	border-radius: 50px;
}

.mouse:before{
	content: "";
	position: absolute;
	width: 2px;
	height: 4px;
	background-color: white;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	animation: scroll 2s infinite;
}

@keyframes scroll {
	from {
		opacity: 1;
		top: 30%;
	}
	to{
		opacity: 0;
		top: 15px;
	}
}



.portfolio{
	width:100%;
	padding-top:50px;
	padding-bottom: 100px;
}

.container{
	width: 100%;
	margin:auto;
}

.portfolio .filter-btn{
	width:100%;
	text-align: center;
}
.portfolio .filter-btn ul{
	list-style: none;
	margin:0;
	padding:0;
}
.portfolio .filter-btn{
	padding:30px 0px;
}

.portfolio .filter-btn ul li{
	display: inline-block;
	border-radius: 50px;
	background-color: transparent;
	border: 2px solid #eb4b52;
	color: #eb4b52;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.25;
	font-size:15px;
	width: 125px;
	padding:10px;
	margin: 8px 10px;
}
.portfolio .filter-btn ul li.active{
	background-color:#eb4b52;
	color: white;
}

.items {
	height: auto;
	width: 73%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto auto auto auto;
	grid-gap: 2vh;
	grid-auto-flow: dense;
}

.container .items .img{
	max-width: 100%;
	max-height: 100%;
	overflow: hidden;
	grid-column-start: span 1;
	grid-row-start: span 1;
}

.img img {
	width: 100%;
	height: 100%;
}

.img1{
	overflow: hidden;
	grid-column-start: span 2;
	grid-row-start: span 2;
	max-height: 100%;
	max-width: 100%;
}

.img1 img {
	width: 100%;
	height: 100%;
}



.redrow {
	background-color: #eb4b52;
	padding-left: 13%;
	padding-right: 13%;
	height: auto;
	display: flex;
	-webkit-justify-content: space-around;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-align-items: stretch;
	align-items: stretch;
	margin: 0 auto;
	padding-top: 35px;
	padding-bottom: 10px;
}

.flex-item4 {
	text-align: center;
	background-color: #eb4b52;
	min-width: 200px;
	flex: 1;
	color: white;
	display: inline-block;
}

.flex-item4 h1 {
	color: #ef787c;
	font-size: 45px;
	font-weight: 700;
	line-height: 0;
}

.flex-item4 h6 {
	font-size: 16px;
	font-weight: 600;
	line-height: 0;
}



.client {
	background-color: #f1f1f2;
	height: auto;
	margin: 0 auto;
	padding-top: 25px;
	padding-bottom: 40px;
}

.testi {
	text-align: center;
	width: 73%;
	margin: 0 auto;
}

.testi h1 {
	font-size: 45px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: -15px;
	color: #eb4b52;
}

.testi h5 {
	font-size: 16px;
	font-weight: 400;
}

.flex-container3 {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	-webkit-justify-content: space-around;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-align-items: stretch;
	align-items: stretch;
	margin: 0 auto;
}

.flex-item6 {
	padding-top: 25px;
	padding-bottom: 25px;
	min-width: 200px;
	height: auto;
	margin: 15px;
	flex: 1;
}

.fa-user-circle {
	font-size: 50px;
	color: #eb4b52;
}

.flex-item6 h3 {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.flex-item6 h4 {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: -25px;
}

.flex-item6 h6 {
	font-size: 14px;
	font-weight: 600;
	line-height: 0;
	margin-bottom: 15px;
}

.fa-star{
	color: #fedb41;
}




.kontak {
	width: 100%;
	height: auto;
	background-image: url("../images/kontak.png");
	background-size: cover;
	background-position: left;
	text-align: center;
	padding-bottom: 85px;
}

.kontak h1 {
	max-width: 450px;
	width: 50%;
	color: white;
	padding : 75px 0px 50px 0px;
	margin: 0 auto;
	font-size: 45px;
	font-weight: 700;
	line-height: 1.5;
}

.button5 a{
	text-decoration: none;
	color: white;
}

.button5 {
	display: inline-block;
	border-radius: 50px;
	background-color: #eb4b52;
	border: 2px solid #eb4b52;
	color: white;
	font-weight: 600;
	text-align: center;
	font-size: 15px;
	padding: 10px;
	width: 200px;
	transition: all 0.5s;
	cursor: pointer;
}

.button5 span {
	cursor: pointer;
	display: inline-block;
	position: relative;
	transition: 0.5s;
}

.button5 span:after {
	content: '\00bb';
	position: absolute;
	opacity: 0;
	top: 0;
	right: -20px;
	transition: 0.5s;
}

.button5:hover span {
	padding-right: 20px;
}

.button5:hover span:after {
	opacity: 1;
	right: 0;
}


.footer {
	height: auto;
	margin: 0 auto;
	color: white;
	background-color: #403c3d;
	padding : 18px 0px 5px 0px;
	text-align: center;
}

.text4 {
	font-weight: 600;
	line-height: 0.5;
}

.menufooter {
	margin: 0 auto;
}

.menufooter li {
	display: inline;
}

.menufooter li a {	
	text-decoration: none;
	padding-right: 50px;
	color: white;
	font-weight: 600;
	font-size: 13px;
	display: inline-block;
}

.menufooter li a:hover {
	color: #eb4b52;
}

.menufooter li a.active {
	color: #eb4b52;
	font-weight: 700;
}

.sosmed {
	text-align: center;
	border-bottom: 1px solid white;
	width: 95%;
	margin: 0 auto;
}

.sosmed img {
	padding: 5px 10px 15px 10px;
	width: 23px;
	height: auto;
	border: 0;
}

.footer p {
	text-align: center;
	margin-top: 10px;
	font-size: 10pt;
}


#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 50px;
  height: 50px;
  font-size: 14px;
  border: none;
  outline: none;
  background-color: #eb4b52;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 100px;
}

#myBtn:hover {
  background-color: white;
  color: #eb4b52;
}

.clr {
	clear: both;
}



@media (min-width:1081px) and (max-width:1195px) {
	.bg h1 {font-size: 55px;}
	.sosmed {width: 90%;}
}

@media (min-width:900px) and (max-width:1080px) {
	.bg h1 {font-size: 55px;}
	.mouse {display: none;}
	.flex-item4 {min-width: 150px;}
	.sosmed {width: 88%;}
}

@media (min-width:700px) and (max-width:899px) {
	.bg h1 {font-size: 45px;}
	.mouse {display: none;}
	.flex-item4 {min-width: 250px;}
	.portfolio .filter-btn{ width:50%; margin: 0 auto;}
	.sosmed {width: 85%;}
}

@media (min-width:400px) and (max-width:699px) {
	.header img {margin-top: 18px; margin-left: 10%; float: left; width: 50px; height: auto;}
	.menu {	margin-right: 10%;float: right;}
	.menu li a {padding-left: 13px;	font-size: 12px;}
	.bg {padding-top: 150px;}
	.bg h1 {text-align: center; padding-top: 125px; max-width: 73%; font-size: 40px;}
	.bg h5{text-align: center; padding-top: 15px;max-width: 70%;}
	.mouse {display: none;}
	.redrow {padding-top: 50px;padding-bottom: 50px;}
	.testi h1 {font-size: 40px;}
	.flex-item6{padding-top: 5px; padding-bottom: 5px;}
	.kontak h1{font-size: 40px; width: 50%;}
	.text4 {display: none;}
	.menufooter li a {text-decoration: none; padding-right: 15px;}
	.sosmed {width: 83%;}
}

@media (max-width:399px) {
	.header img {margin-top: 18px; margin-left: 8%; float: left; width: 45px; height: auto;}
	.menu {	margin-right: 8%;float: right;}
	.menu li a {padding-left: 13px;	font-size: 12px;}
	.bg {padding-top: 75px;}
	.bg h1 {text-align: center; padding-top: 150px; max-width: 73%; font-size: 40px;}
	.bg h5{text-align: center; padding-top: 15px;max-width: 70%;}
	.mouse {display: none;}
	.items {width: 80%;}
	.redrow {padding-top: 50px;padding-bottom: 50px;}
	.testi h1 {font-size: 40px;}
	.flex-item6{padding-top: 3px; padding-bottom: 3px;}
	.kontak h1{font-size: 40px; width: 50%;}
	.text4 {display: none;}
	.menufooter li a {font-size: 12;text-decoration: none; padding-right: 15px;}
	.footer p {	margin-top: 5px;font-size: 8pt;}
	.sosmed {width: 83%;}
}